hppa: Fix clone exit syscall argument passing (BZ#21512)
[glibc.git] / ChangeLog
blob1accc21fb51122b2df69989372e5cb47ad67ba02
1 2017-07-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         [BZ #21512]
4         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument
5         passing to syscall exit.
7 2017-07-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro.
10         (HWCAP_JSCVT, HWCAP_LRCPC): Likewise.
12 2017-07-16  John David Anglin  <danglin@gcc.gnu.org>
14         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller
15         if _dl_fixup fails.
17         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation.
18         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise.
19         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise.
20         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
22         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack
23         offset for r19 load.
25         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.
27         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset.
28         Use .cfi_def_cfa_offset instead of .cfi_offset.  Don't record stack
29         pointer offset.  Correct PIC register offset.  Don't mention frame
30         related instructions in epilogue.
31         (PUSHARGS_1): Correct offset.
32         (PUSHARGS_2): Likewise.
33         (PUSHARGS_3): Likewise.
34         (PUSHARGS_4): Likewise.
35         (PUSHARGS_5): Likewise.
36         (PUSHARGS_6): Likewise.
37         (POPARGS_1): Don't mention register restore.
38         (POPARGS_2): Likewise.
39         (POPARGS_3): Likewise.
40         (POPARGS_4): Likewise.
41         (POPARGS_5): Likewise.
42         (POPARGS_6): Likewise.
43         * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention
44         copy of PIC register.
45         (LOAD_PIC): Likewise don't mention restore.
46         (DO_CALL): Fix CFA offset.  Use .cfi_def_cfa_offset instead of
47         .cfi_offset.  Don't record stack pointer offset.  Correct PIC register
48         offset.  Don't mention frame related instructions in epilogue.
50         * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry.
52         * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces.
54         [BZ 20098]
55         * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New.
56         (_dl_lookup_address): Return address if it is not consistent with
57         being a linker defined function pointer.  Likewise, return address
58         if address and function descriptor addresses are not accessible.
60 2017-07-16  Siddhesh Poyarekar  <siddhesh@sourceware.org>
62         * po/libc.pot: Regenerate.
64 2017-07-15  John David Anglin  <danglin@gcc.gnu.org>
66         [BZ locale/19838]
67         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size.
69         * nptl/allocatestack.c (allocate_stack): Align old and new guard
70         addresses to page boundaries when the stack grows up.
72         * sysdeps/hppa/math-tests.h: New.
74 2017-07-14  DJ Delorie  <dj@redhat.com>
76         [BZ #21654]
77         * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
78         alignment not char alignment.
79         (__merge_grp): Likewise.
81 2017-07-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
82             Florian Weimer  <fweimer@redhat.com>
84         * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
85         * libio/wmemstream.c (open_wmemstream): Likewise.
86         * nptl/tst-memstream.c: New.
88 2017-07-12  Jiong Wang  <jiong.wang@arm.com>
90         * sysdeps/arm/dl-machine.h (elf_machine_load_address):  Also strip bit 0
91         of pcrel_address under Thumb mode.
93 2017-07-12  Akhilesh Kumar <akhilesh.k@samsung.com>
95         [BZ #21207]
96         * locale/iso-639.def: Add Fiji Hindi (hif).
98 2017-07-12  John David Anglin  <danglin@gcc.gnu.org>
100         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
102 2017-07-12  H.J. Lu  <hongjiu.lu@intel.com>
104         * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
105         -fstack-protector-all.
107 2017-07-11  Chris Leonard <cjl@sugarlabs.org>
109         [BZ #20496]
110         * locale/iso-639.def: Add AwajĂșn / Aguaruna (agr).
112 2017-07-11  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
114         * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
115         to iterate over all possible object suffixes.  Add a comment
116         explaining the use of sysdep-CFLAGS instead of CFLAGS.
118 2017-07-11  H.J. Lu  <hongjiu.lu@intel.com>
120         [BZ #12189]
121         * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
122         (tests): Add tst-ssp-1 if -fstack-protector works.
123         * debug/fortify_fail.c: Include <stdbool.h>.
124         (_fortify_fail_abort): New function.
125         (__fortify_fail): Call _fortify_fail_abort.
126         (__fortify_fail_abort): Add a hidden definition.
127         * debug/stack_chk_fail.c: Include <stdbool.h>.
128         (__stack_chk_fail): Call __fortify_fail_abort, instead of
129         __fortify_fail.
130         * debug/tst-ssp-1.c: New file.
131         * include/stdio.h (__libc_message_action): New enum.
132         (__libc_message): Replace int with enum __libc_message_action.
133         (__fortify_fail_abort): New hidden prototype.
134         * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
135         * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
136         with enum __libc_message_action.  Call BEFORE_ABORT only if
137         action includes do_backtrace.
138         (__libc_fatal): Update __libc_message call.
140 2017-07-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
142         [BZ #21738]
143         * manual/llio.texi (RWF_NOWAIT): New item.
144         * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
145         Add RWF_NOWAIT check.
146         * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
148 2017-07-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
150         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
151         Support running on kernels without PTRACE_SINGLEBLOCK.
153 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
155         [BZ #21742]
156         * elf/Makefile (dl-routines): Move dl-conflict to ...
157         (rtld-routines): Here.
159 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
161         [BZ #21741]
162         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
163         (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
164         in libc.so.
166 2017-07-09  John David Anglin  <danglin@gcc.gnu.org>
168         * sysdeps/hppa/fpu/libm-test-ulps: Update.
170         [BZ #21016]
171         * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
172         Fix typo.
173         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
174         bits/types/struct_timespec.h.
175         (PTHREAD_MUTEX_INITIALIZER): Revise define.
176         (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
177         (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
178         (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
179         (PTHREAD_RWLOCK_INITIALIZER): Likewise.
180         (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
181         (PTHREAD_COND_INITIALIZER): Likewise.
182         Remove old definitions.
183         * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
184         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
185         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
186         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
187         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
188         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
190 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
192         * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
193         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
194         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
195         * sysdeps/x86_64/multiarch/memset.c: Likewise.
196         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
197         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
198         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
199         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
200         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
201         * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
202         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
203         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
204         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
205         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
206         * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
207         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
209 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
211         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
213 2017-07-09  Helge Deller  <deller@gmx.de>
215         [BZ #21049]
216         * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
217         up to avoid clobbering r26.
219 2017-07-08  Andreas Schwab  <schwab@linux-m68k.org>
221         * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
222         profiled objects.
224 2017-07-06  DJ Delorie  <dj@redhat.com>
226         * manual/tunables.texi: Add missing @end deftp.
228 2017-07-06  Florian Weimer  <fw@deneb.enyo.de>
230         * resolv/tst-resolv-basic.c (test_bug_21295): New function.
231         (do_test): Call it.
233 2017-07-06  DJ Delorie  <dj@redhat.com>
235         * config.make.in: Enable experimental malloc option.
236         * configure.ac: Likewise.
237         * configure: Regenerate.
238         * manual/install.texi: Document it.
239         * INSTALL: Regenerate.
240         * malloc/Makefile: Likewise.
241         * malloc/malloc.c: Add per-thread cache (tcache).
242         (tcache_put): New.
243         (tcache_get): New.
244         (tcache_thread_freeres): New.
245         (tcache_init): New.
246         (__libc_malloc): Use cached chunks if available.
247         (__libc_free): Initialize tcache if needed.
248         (__libc_realloc): Likewise.
249         (__libc_calloc): Likewise.
250         (_int_malloc): Prefill tcache when appropriate.
251         (_int_free): Likewise.
252         (do_set_tcache_max): New.
253         (do_set_tcache_count): New.
254         (do_set_tcache_unsorted_limit): New.
255         * manual/probes.texi: Document new probes.
256         * malloc/arena.c: Add new tcache tunables.
257         * elf/dl-tunables.list: Likewise.
258         * manual/tunables.texi: Document them.
259         * NEWS: Mention the per-thread cache.
261 2017-07-06  Joseph Myers  <joseph@codesourcery.com>
263         * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
264         * misc/tst-tsearch.c (TIMEOUT): Remove.
265         * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
266         * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
267         * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
268         * string/tst-cmp.c (TIMEOUT): Define to 600.
270 2017-07-06  Matthew Krupcale  <mkrupcale@matthewkrupcale.com>
272         [BZ #21715]
273         * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
274         on definition.
276 2017-07-06  Florian Weimer  <fweimer@redhat.com>
277             H.J. Lu  <hongjiu.lu@intel.com>
279         [BZ #21609]
280         * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
281         (gen-as-const-headers): Add rtld-offsets.sym.
282         * sysdeps/x86_64/dl-tls.c: New file.
283         * sysdeps/x86_64/rtld-offsets.sym: Likwise.
284         * sysdeps/x86_64/tls_get_addr.S: Likewise.
285         * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
286         * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
287         (TI_OFFSET_OFFSET): Likwise.
289 2017-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
291         [BZ# 21697]
292         * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
294 2017-07-05  Florian Weimer  <fweimer@redhat.com>
296         * resolv/Makefile (tests-internal): Add tst-resolv-threads.
297         (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
298         * resolv/tst-resolv-threads.c: New file.
300 2017-07-05  Florian Weimer  <fweimer@redhat.com>
302         support: Add resolver testing mode which does not patch _res.
303         * support/resolv_test.h (struct resolv_redirect_config): Add
304         disable_redirect, server_address_overrides.
305         * support/resolv_test.c (make_server_sockets_for_address): New
306         function.
307         (resolv_test_start): Call it.
309 2017-07-05  Florian Weimer  <fweimer@redhat.com>
311         * support/namespace.h (struct support_chroot_configuration)
312         (struct support_chroot): Define.
313         (support_chroot_create, support_chroot_free): New functions.
314         * support/support_chroot.c: New file.
315         * support/Makefile (libsupport-routines): Add support_chroot.
316         * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
317         (path_resolv_conf): Remove definitions.
318         (chroot_env): New variable.
319         (prepare): Call support_chroot_create.
320         (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
321         (special_test_callback, do_test): Likewise.
323 2017-07-05  Florian Weimer  <fweimer@redhat.com>
325         Add subtest to check isolation of multiple loopback addresses.
326         * support/tst-support-namespace.c (test_localhost_bind): New function.
327         (do_test): Call it.
329 2017-07-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
331         * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
332         * libio/libioP.h (_IO_enable_locks): Declare.
333         * libio/Versions (_IO_enable_locks): New symbol.
334         * libio/genops.c (_IO_enable_locks): Define.
335         (_IO_old_init): Initialize flags2.
336         * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
337         * libio/ferror.c (_IO_ferror): Likewise.
338         * libio/fputc.c (fputc): Likewise.
339         * libio/putc.c (_IO_putc): Likewise.
340         * libio/getc.c (_IO_getc): Likewise.
341         * libio/getchar.c (getchar): Likewise.
342         * libio/ioungetc.c (_IO_ungetc): Likewise.
343         * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
344         * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
345         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
347 2017-07-04  Florian Weimer  <fweimer@redhat.com>
349         [BZ #21542]
350         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
351         two if no accurate information is available.
352         * posix/tst-sysconf-empty-chroot.c: New file.
353         * posix/Makefile (tests): Add it.
355 2017-07-04  Florian Weimer  <fweimer@redhat.com>
357         * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
358         server and sort list counts.  Fix improper check for empty search
359         path (completely missing domain name) leading to assertion failure
360         in update_from_conf.
361         * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
362         hostname member.
363         (run_res_init): Set host name if requested.
364         (test_cases): Update.
366 2017-07-04  Joseph Myers  <joseph@codesourcery.com>
368         * scripts/build-many-glibcs.py (Context.checkout): Default
369         binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
370         kernel version to 4.12.
372 2017-07-04  Florian Weimer  <fweimer@redhat.com>
374         * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
375         list management and the role of free_list_start.
376         (decrement_at_index): Put zero at the end of the free list.
377         (__resolv_conf_attach): Fix bogus assert.
378         * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
379         (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
381 2017-07-03  Florian Weimer  <fweimer@redhat.com>
383         resolv: Introduce free list for resolv_conf index slosts.
384         * resolv/resolv_conf.c (struct resolv_conf_array): Change element
385         type to uintptr_t.
386         (struct resolv_conf_global): Add free_list_start member.
387         (resolv_conf_get_1): Check for free list entry.
388         (decrement_at_index): Put freed slot on the free list.
389         (__resolv_conf_attach): Obtain new slot from the free list.
390         * resolv/tst-resolv-res_ninit.c: New file.
391         * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
392         (tests-special): Add mtrace-tst-resolv-res_ninit.out.
393         (generated): Add mtrace-tst-resolv-res_ninit.out,
394         tst-resolv-res_ninit.mtrace.
395         (mtrace-tst-resolv-res_ninit.out): Add target.
397 2017-06-30  Florian Weimer  <fweimer@redhat.com>
399         [BZ #984]
400         Reload /etc/resolv.conf if has been changed on disk.
401         * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
402         (__resolv_conf_load, __resolv_conf_get_current): Declare.
403         * resolv/resolv_conf.c (struct resolv_conf_global): Add
404         conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
405         (__resolv_conf_get_current): New function.
406         (__resolv_conf_allocate): Do not initialize initstamp.
407         (freeres): Deallocate global->conf_current.
408         * resolv/resolv.h (RES_NORELOAD): Define.
409         * resolv/res_debug.c (p_option): Add RES_NORELOAD.
410         * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
411         * resolv/resolv_context.c (replicated_configuration_matches): New.
412         (maybe_init): Call it.  Use __resolv_conf_get_current to obtain
413         the current configration.
414         * resolv/res_init.c (__res_initstamp): Remove variable definition.
415         (has_preinit_values): New function.
416         (__resolv_conf_load): Renamed from __res_vinit.  Drop res_state
417         parameter and do not call __resolv_conf_attach.
418         (__res_vinit): Reimplement based __resolv_conf_load.
419         (res_options): Handle no-reload.
420         * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
421         (lock): Remove.
422         (res_int): Do not update __res_initstamp.
423         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
424         RES_NORELOAD.
425         (test_cases): Test no-reload.
426         (special_test_call_res_init): Remove.
427         (special_test_callback): Rely on automated reloading.  Add tests
428         for no-reload.
430 2017-06-30  Florian Weimer  <fweimer@redhat.com>
432         Mirror the entire resolver configuration in struct resolv_conf.
433         * resolv/resolv_context.h (__resolv_context_nameserver_count)
434         (__resolv_context_nameserver): New functions.
435         (__resolv_context_sort_count, __resolv_context_sort_entry):
436         Likewise.
437         * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
438         resolv_context parameter.
439         (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
440         (addrsort): Switch to struct resolv_context.
441         * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
442         (struct resolv_conf): Add nameserver_list, nameserver_list_size,
443         sort_list, sort_list_size, options, retrans, retry, ndots members.
444         * resolv/resolv_conf.c (same_address_v4, same_address_v6)
445         (same_address): New functions.
446         (resolv_conf_matches): Compare the new array members.
447         (__resolv_conf_allocate): Allocate and copy the new array members.
448         (update_from_conf): Copy the entire configuration.
449         * resolv/res_init.c (struct nameserver_list, struct sort_list):
450         Define using dynarray.
451         (struct resolv_conf_parser): Add nameserver_list, sort_list,
452         template members.
453         (resolv_conf_parser_init): Add preinit argument.  Initialize the
454         new members.
455         (resolv_conf_parser_free): Deallocate the new arrays.
456         (allocate_address_v4): New function.
457         (res_setoptions): Switch to struct resolv_conf_parser * parameter.
458         (res_vinit_1): Drop res_state parameter.  Write all parsed date to
459         the parser object instead.  Use allocate_address_v4 to allocate
460         IPv4 addresses.
461         (__res_vinit): Adjust.
462         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
463         extended name server list.
464         (test_cases): Adjust.
466 2017-06-30  Florian Weimer  <fweimer@redhat.com>
468         [BZ #19569]
469         [BZ #21475]
470         Support an arbitrary number of search domains.
471         * resolv/resolv_context.h (__resolv_context_search_list): New.
472         * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
473         search_list_size members.
474         * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
475         (__resolv_conf_allocate): Allocate and and copy search list.
476         (update_from_conf): Copy the search list.
477         * resolv/res_init.c (struct search_list): Define using dynarray.
478         (struct resolv_conf_parser): Define.
479         (resolv_conf_parser_init, resolv_conf_parser_free)
480         (domain_from_hostname): New functions.
481         (res_vinit_1): Add struct resolv_conf_parser * parameter.  Use
482         struct search_list to collect search list entries.  Call
483         domain_from_hostname to obtain the fallback domain name.
484         (__res_vinit): Create and destroy parser object.  Pass search list
485         to __resolv_conf_allocate.
486         * resolv/res_query.c (__res_context_search): Use
487         __resolv_context_search_list to obtain search list entries.
488         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
489         from extended resolver context.
490         (test_cases): Update.
492 2017-06-30  Florian Weimer  <fweimer@redhat.com>
494         Add extended resolver state/configuration (struct resolv_conf).
495         * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
496         * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
497         * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
498         (__res_vinit): Call __resolv_conf_allocate and
499         __resolv_conf_attach.
500         * resolv/resolv_context.h (struct resolv_context): Add conf member
501         of type struct resolv_conf.
502         * resolv/resolv_context.c (maybe_init): Get initstamp from struct
503         resolv_conf.  Update conf member after initialization.
504         * resolv/Makefile (routines): Add resolv_conf.
505         * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
506         Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
507         [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
508         _u._ext.__glibc_reserved.
510 2017-06-30  Florian Weimer  <fweimer@redhat.com>
512         [BZ #21668]
513         Introduce temporary resolver contexts (struct resolv_conf).
514         * resolv/resolv-internal.h (__res_context_mkquery)
515         (__res_context_searchl __res_context_query, __res_context_send)
516         (__res_context_hostalias): Declare.
517         (__res_nopt): Switch to struct resolv_context.
518         * resolv/res_use_inet6.h: New file.
519         * resolv/resolv_context.h: Likewise.
520         * resolv/resolv_context.c: Likewise.
521         * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
522         Renamed from res_gethostbyname2.  Use struct resolv_context.
523         (res_gethostbyname2): New function.  Implement using
524         res_gethostbyname2_context.
525         (res_gethostbyaddr_context): Renamed from res_gethostbyaddr.  Use
526         struct resolv_context.
527         (res_gethostbyaddr): New function.  Implement using
528         res_gethostbyaddr_context.
529         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
530         resolv_context.
531         * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
532         _nss_dns_gethostbyname3_r.  Use struct resolv_context.
533         (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
534         (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
535         (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
536         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
537         (_nss_dns_getnetbyaddr_r): Likewise.
538         * resolv/res-close.c (res_thread_freeres): Call
539         __resolv_context_freeres.
540         * resolv/res_libc.c (__res_maybe_init): Remove function.  Moved to
541         maybe_init in resolv/resolv_context.c.
542         * resolv/res_mkquery.c (__res_context_mkquery): Rename from
543         res_nmkquery.  Use struct resolv_context.
544         (context_mkquery_common): New function.
545         (res_nmkquery, res_mkquery): Use it.
546         (res_nopt): Switch to struct resolv_context.
547         * resolv/res_query.c (__res_context_querydomain): Renamed from
548         __libc_res_nquerydomain.  Use struct resolv_context.
549         (__res_context_query): Renamed from __libc_res_nquery.  Use struct
550         resolv_context.
551         (context_query_common): New function.
552         (res_nquery, res_query): Use it.
553         (__res_context_search): Renamed from __libc_res_nsearch.  Use
554         struct resolv_context.
555         (context_search_common): New function.
556         (res_nsearch, res_search): Use it.
557         (__res_context_querydomain): Rename from __libc_res_nquerydomain.
558         Use struct resolv_context.
559         (context_querydomain_common): New function.
560         (res_nquerydomain, res_querydomain): Use it.
561         (__res_context_hostalias): Rename from res_hostalias.  Use struct
562         resolv_context.
563         (context_hostalias_common): New function.
564         (res_hostalias, hostalias): Use it.
565         * resolv/res_send.c (__res_context_send): Renamed from
566         __libc_res_nsend.  Use struct resolv_context.
567         (context_send_common): New function.
568         (res_nsend, res_send): Use it.
569         * resolv/Makefile (routines): Add resolv_context.
570         * resolv/Versions (libc): Export __resolv_context_get,
571         __resolv_context_get_preinit, __resolv_context_get_override,
572         __resolv_context_put.  Remove __res_maybe_init.
573         (libresolv): Export __res_context_query, __res_context_search,
574         __res_context_hostalias.  Remove __libc_res_nquery,
575         __libc_res_nsearch.
576         * include/resolv.h (__res_maybe_init, __libc_res_nquery)
577         (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
578         (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
579         (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
580         prototypes.
581         * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
582         * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
583         from __nss_hostname_digits_dots.  Use struct resolv_context.
584         (__nss_hostname_digits_dots): New function.
585         * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
586         struct resolv_context object.  Call new function
587         __nss_hostname_digits_dots_context.
588         * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
589         * nss/getnssent_r.c (__nss_setent): Likewise.
590         * nscd/aicache.c (addhstaiX): Use struct resolv_context,
591         __resolv_context_disable_inet6 and __resolv_context_enable_inet6
592         instead of direct _res manipulation.
593         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
595 2017-07-03  Florian Weimer  <fweimer@redhat.com>
597         * resolv/tst-resolv-res_init-skeleton.c
598         (special_tests_count, special_test_call_res_init)
599         (special_test_callback, special_test_thread_func)
600         (run_special_test_on_thread, special_test): Define.
601         (do_test): call special_test.
602         (test_init_names): Fix typo.
604 2017-07-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
606         * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
607         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
609 2017-07-01  Florian Weimer  <fweimer@redhat.com>
610             H.J. Lu  <hongjiu.lu@intel.com>
612         [BZ #21696]
613         * posix/sched_cpucount.c: Don't include <limits.h>.
614         (__sched_cpucount): Use __builtin_popcount.
616 2017-07-01  Ramana Radhakrishnan  <ramana.gcc@googlemail.com>
618         * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
619         Fix typo.
621 2017-06-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
623         * include/math.h (__signbitf128): Define as hidden.
624         * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
625         Reimplement without builtins.
626         * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
627         (__builtin_signbitf128): Define to __signbitf128.
628         * sysdeps/powerpc/bits/floatn.h: Likewise.
629         * sysdeps/x86/bits/floatn.h: Likewise.
631 2017-06-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
633         * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
634         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
635         * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
636         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
637         * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
638         * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
639         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
640         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
642         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
643         * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
644         * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
645         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
646         fcntl_common and add check for F_GETOWN.
647         (__libc_fcntl): Use SYSCALL_CANCEL macro.
648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
649         use default implementation.
651 2017-06-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
653         * elf/dl-tunables.h (tunable_is_name): Move from...
654         * elf/dl-tunables.c (is_name): ... here.
655         (parse_tunables, __tunables_init): Adjust.
656         * manual/tunables.texi: Document glibc.tune.cpu.
657         * sysdeps/aarch64/dl-tunables.list: New file.
658         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
659         cpu_list): New type.
660         (cpu_list): New list of CPU names and their MIDR.
661         (get_midr_from_mcpu): New function.
662         (init_cpu_features): Override MIDR if necessary.
664         * sysdeps/aarch64/multiarch/ifunc-impl-list.c
665         (__libc_ifunc_impl_list): Unconditionally select thunderx
666         routine for testing.
668 2017-06-30  H.J. Lu  <hongjiu.lu@intel.com>
670         [BZ #21120]
671         * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
672         * sysdeps/generic/malloc-alignment.h: Here.  New file.
673         * sysdeps/i386/malloc-alignment.h: Likewise.
674         * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
676 2017-06-30  Florian Weimer  <fweimer@redhat.com>
678         * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
679         variable.
680         (test_file_contents): Use it.
682 2017-06-30  Florian Weimer  <fweimer@redhat.com>
684         * resolv/res_init.c (res_setoptions): Remove source argument.
685         (res_vinit_1): Adjust.
687 2017-06-30  Florian Weimer  <fweimer@redhat.com>
689         * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
691 2017-06-30  Florian Weimer  <fweimer@redhat.com>
693         * resolv/res_data.c: Reformat to GNU style.
694         (res_close): Update comments.
696 2017-06-30  Florian Weimer  <fweimer@redhat.com>
698         * resolv/res_data.c (res_query, res_search, res_querydomain)
699         (hostalias): Move to ...
700         * resolv/res_Send.c (res_query, res_search, res_querydomain)
701         (hostalias): here.
703 2017-06-30  Florian Weimer  <fweimer@redhat.com>
705         * resolv/res_data.c (res_isourserver, res_send): Move to ...
706         * resolv/res_send.c (res_isourserver, res_send): here.
708 2017-06-30  Florian Weimer  <fweimer@redhat.com>
710         * resolv/res_debug.c (_res_opcodes): Rename ...
711         (res_opcodes): ... as compatibility symbol.
712         (fp_nquery): Use res_opcodes.
713         * include/resolv.h (_res_opcodes): Remove declaration.
715 2017-06-30  Florian Weimer  <fweimer@redhat.com>
717         * include/resolv.h (res_pquery): Remove declaration.
718         * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
719         functions.
720         (_res_opcodes): Remove variable.
721         * resolv/res_debug.c (do_section): Receive pfcode instead of
722         statp.
723         (res_pquery): Rename ...
724         (fp_nquery): to this function.  Skip unnecessary _res
725         initialization.
726         (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
728 2017-06-30  Florian Weimer  <fweimer@redhat.com>
730         * resolv/res_debug.h: Remove file.
731         * resolv/README: Adjust.
733 2017-06-30  Florian Weimer  <fweimer@redhat.com>
735         * resolv/res_end.c (DEBUG): Remove macro and preprocessor
736         conditionals.
737         (Aerror, Perror): Remove function definitions.
739 2017-06-30  Florian Weimer  <fweimer@redhat.com>
741         * resolv/res_data.c (res_mkquery): Move ...
742         * resolv/res_mkquery.c (res_mkquery): to here.
744 2017-06-30  Florian Weimer  <fweimer@redhat.com>
746         * resolv/res_mkquery.c: Reformat to GNU style.
747         (T_OPT): Remove definition.  It is present in the header file.
749 2017-06-30  Florian Weimer  <fweimer@redhat.com>
751         * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
752         conditionals.
754 2017-06-30  Florian Weimer  <fweimer@redhat.com>
756         * support/support_capture_subprocess_check.c
757         (support_capture_subprocess_check): Report actual exit status.
759 2017-06-30  Florian Weimer  <fweimer@redhat.com>
761         [BZ #19570]
762         * resolv/res_send.c (nameserver_offset): New function.
763         (__libc_res_nsend): Use it to implement RES_ROTATE.
764         (get_nsaddr): Add assert with name server
765         range check.
766         * resolv/Makefile (xtests): Add tst-resolv-rotate.
767         (tst-resolv-rotate): Link against libpthread.
768         * resolv/tst-resolv-rotate.c: New file.
770 2017-06-29  Joseph Myers  <joseph@codesourcery.com>
772         [BZ #21457]
773         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
774         [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
775         [__WORDSIZE == 64] (MC_PC): Likewise.
776         [__WORDSIZE == 64] (MC_NPC): Likewise.
777         [__WORDSIZE == 64] (MC_Y): Likewise.
778         [__WORDSIZE == 64] (MC_G1): Likewise.
779         [__WORDSIZE == 64] (MC_G2): Likewise.
780         [__WORDSIZE == 64] (MC_G3): Likewise.
781         [__WORDSIZE == 64] (MC_G4): Likewise.
782         [__WORDSIZE == 64] (MC_G5): Likewise.
783         [__WORDSIZE == 64] (MC_G6): Likewise.
784         [__WORDSIZE == 64] (MC_G7): Likewise.
785         [__WORDSIZE == 64] (MC_O0): Likewise.
786         [__WORDSIZE == 64] (MC_O1): Likewise.
787         [__WORDSIZE == 64] (MC_O2): Likewise.
788         [__WORDSIZE == 64] (MC_O3): Likewise.
789         [__WORDSIZE == 64] (MC_O4): Likewise.
790         [__WORDSIZE == 64] (MC_O5): Likewise.
791         [__WORDSIZE == 64] (MC_O6): Likewise.
792         [__WORDSIZE == 64] (MC_O7): Likewise.
793         [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
794         __MC_NGREG if [__USE_MISC].
795         [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
796         [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
797         [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
798         Define fields using __ctx.
799         [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag.  Define fields
800         using __ctx.
801         [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
802         (REG_PSR): Define only for [__USE_MISC].
803         (REG_PC): Likewise.
804         (REG_nPC): Likewise.
805         (REG_Y): Likewise.
806         (REG_G1): Likewise.
807         (REG_G2): Likewise.
808         (REG_G3): Likewise.
809         (REG_G4): Likewise.
810         (REG_G5): Likewise.
811         (REG_G6): Likewise.
812         (REG_G7): Likewise.
813         (REG_O0): Likewise.
814         (REG_O1): Likewise.
815         (REG_O2): Likewise.
816         (REG_O3): Likewise.
817         (REG_O4): Likewise.
818         (REG_O5): Likewise.
819         (REG_O6): Likewise.
820         (REG_O7): Likewise.
821         [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
822         [__WORDSIZE == 64] (REG_FPRS): Likewise.
823         (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
824         (gregset_t): Define using __NGREG.
825         (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
826         __SPARC_MAXREGWINDOW if [__USE_MISC].
827         (struct rwindow): Rename to struct __rwindow.  Define fields using
828         __ctx.
829         (rw_fp): Define only for [__USE_MISC].
830         (rw_rtn): Likewise.
831         (gwindows_t): Remove struct tag.  Define fields using __ctx and
832         __SPARC_MAXREGWINDOW.
833         (MAXFPQ): Define only for [__USE_MISC].
834         (struct fpq): Rename to struct __fpq.  Define fields using __ctx.
835         (struct fq): Rename to struct __fq.  Define fields using __ctx.
836         (FPU_REGS_TYPE): Define only for [__USE_MISC].
837         (FPU_DREGS_TYPE): Likewise.
838         (V7_FPU_FSR_TYPE): Likewise.
839         (V9_FPU_FSR_TYPE): Likewise.
840         (V9_FPU_FPRS_TYPE): Likewise.
841         [__WORDSIZE == 64] (fpregset_t): Remove struct tag.  Define fields
842         using __ctx.
843         [__WORDSIZE != 64] (fpregset_t): Likewise.
844         [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
845         [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
846         [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
847         Rename field filler to __glibc_reserved1.
848         * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
849         (MC_FILLER): Remove.
851 2017-06-29  Florian Weimer  <fweimer@redhat.com>
853         * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
854         Adjust format string.
855         * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
856         dependency.
858 2017-06-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
860         * sysdeps/posix/spawni.c (__spawni_child): New function.
861         (__spawni): Rename to __spawnix.
863 2017-06-29  Florian Weimer  <fweimer@redhat.com>
865         * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
866         Use it to make the temporary copy at the start of the work buffer.
867         (process_arg): Adjust call to group_number.
869 2017-06-29  Florian Weimer  <fweimer@redhat.com>
871         * stdio-common/vfprintf.c (printf_positional): Use struct
872         scratch_buffer to allocate backing storage for the args_value,
873         args_size, args_type arrays.
875 2017-06-29  Florian Weimer  <fweimer@redhat.com>
877         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
878         scratch_buffer.
880 2017-06-29  Florian Weimer  <fweimer@redhat.com>
882         * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
883         wchar_t builds.
885 2017-06-29  Florian Weimer  <fweimer@redhat.com>
887         * stdio-common/tst-vfprintf-mbs-prec.c: New file.
888         * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
890 2017-06-29  Florian Weimer  <fweimer@redhat.com>
892         * stdio-common/tst-vfprintf-user-type.c: New file.
893         * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
895 2017-06-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
897         * posix/tst-spawn2.c (do_test): Use libsupport.
898         * posix/tst-spawn3.c (do_test): Likewise.
900 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
902         * math/gen-tgmath-tests.py (Tests.__init__): Define
903         __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
905         * math/tgmath.h: Include <bits/libc-header-start.h> and
906         <bits/floatn.h>.
907         (__TGMATH_F128): New macro.
908         (__TGMATH_CF128): Likewise.
909         (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
910         (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
911         (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
912         (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
913         (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
914         (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
915         (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
916         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
917         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
918         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
919         (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
920         (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
921         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
922         (__TGMATH_BINARY_REAL_IMAG): Likewise.
923         (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
924         [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
925         * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
926         _FloatNx types if the corresponding HUGE_VAL macros are defined.
928         * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
929         * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
930         complex arguments.
932         [BZ #21687]
933         * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
934         (totalorder): Use it.
935         (totalordermag): Likewise.
936         * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
937         totalorder and totalordermag.
938         * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
939         totalordermag in arguments of calls to those functions.
940         (NCALLS): Change to 134.
942         * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
943         cast to return type argument.
944         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
945         (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
946         (llrint): Likewise.
947         (lround): Likewise.
948         (llround): Likewise.
949         (ilogb): Likewise.
950         (llogb): Likewise.
951         (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
952         (ufromfp): Likewise.
953         (fromfpx): Likewise.
954         (ufromfpx): Likewise.
956         [BZ #21607]
957         * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
958         [LDBL_MANT_DIG > DBL_MANT_DIG].
959         * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
960         * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
961         * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
962         * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
963         * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
964         * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
965         * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
966         * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
967         * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
968         * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
969         * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
970         * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
971         * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
972         * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
973         * math/test-tgmath.c: Include <float.h>.
974         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
975         DBL_MANT_DIG].
976         * math/test-tgmath2.c: Include <float.h>.
977         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
978         DBL_MANT_DIG].
980         * math/gen-tgmath-tests.py: New file.
981         * math/Makefile [PYTHON] (tests): Add test-tgmath3.
982         [PYTHON] (generated): Add test-tgmath3.c.
983         [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
984         [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
986         * configure.ac (AS): Require binutils 2.25 or later.
987         (LD): Likewise.
988         * configure: Regenerated.
989         * sysdeps/s390/configure.ac (AS): Remove version check.
990         * sysdeps/s390/configure: Regenerated.
991         * sysdeps/x86_64/configure.ac (AS): Remove version check.
992         * sysdeps/x86_64/configure: Regenerated.
993         * manual/install.texi (Tools for Compilation): Document
994         requirement for binutils 2.25 or later.
995         * INSTALL: Regenerated.
997 2017-06-28  H.J. Lu  <hongjiu.lu@intel.com>
999         [BZ #14995]
1000         * configure.ac: Allow gold 1.14 or above to configire glibc
1001         * configure: Regenerated.
1003 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
1005         [BZ #21457]
1006         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
1007         struct tag.
1008         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
1009         Likewise.
1010         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
1011         Likewise.
1012         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
1013         Declare struct type with __ctx.
1014         [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
1015         tag.
1016         (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
1017         and regs field name.
1019 2017-06-27  Joseph Myers  <joseph@codesourcery.com>
1021         * elf/loadtest.c (OUT): Define using do { } while (0).
1023         * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
1024         (DO_NUMBER_SPACEPAD): Likewise.
1026 2017-06-27  Prakhar Bahuguna  <prakhar.bahuguna@arm.com>
1028         * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
1029         sysdep_routines.
1030         * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
1031         __memchr_neon.
1032         Add ifunc definitions for __memchr_neon and __memchr_noneon.
1033         * sysdeps/arm/armv7/multiarch/memchr.S: New file.
1034         * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
1035         * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
1037 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1039         * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
1040         Use vector and cu21 instruction.
1041         * sysdeps/s390/multiarch/utf8-utf16-z9.c:
1042         Add __to_utf8_loop_vx_cu in ifunc resolver.
1044 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1046         * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
1047         Use vector and cu24 instruction.
1049 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1051         * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
1052         Use vector and cu42 instruction.
1053         * sysdeps/s390/multiarch/utf16-utf32-z9.c:
1054         Add __to_utf16_loop_vx_cu in ifunc resolver.
1056 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1058         * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
1059         Use vector and cu41 instruction.
1060         * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
1061         in ifunc resolver.
1063 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1065         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1066         Add vxd, vxe, gs flag.
1067         * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
1068         HWCAP_S390_GS capability.
1069         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1070         (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
1072 2017-06-27  H.J. Lu  <hongjiu.lu@intel.com>
1074         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
1075         the first 32 bytes before checking size when size >= 32 bytes.
1076         Replace vpmovmskb/subl/jnz with vptest/jnc.
1078 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1080         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
1081         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
1083 2017-06-27  Florian Weimer  <fweimer@redhat.com>
1085         Work around test timeouts with ICMP rate limiting on localhost.
1086         * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
1087         function.
1088         (do_test): Call it.
1090 2017-06-27  Florian Weimer  <fweimer@redhat.com>
1092         Call _res_hconf_init from __res_vinit.
1093         * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1094         * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
1095         (NEED__RES): Define.
1096         * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
1097         (NEED__RES): Define.
1098         * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
1099         * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1100         * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
1101         (NEED__RES): Define.
1102         * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
1103         _res_hconf_init.
1104         * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
1105         * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
1106         * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
1107         _res_hconf_init.
1109 2017-06-26  Joseph Myers  <joseph@codesourcery.com>
1111         * sysdeps/ia64/Implies: Add ieee754/float128.
1112         * sysdeps/ia64/bits/floatn.h: New file.
1113         * sysdeps/ia64/float128-abi.h: Likewise.
1114         * manual/math.texi (Mathematics): Document support for _Float128
1115         on ia64.
1116         * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1117         Makefile variable.
1118         * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1119         * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1120         * sysdeps/ia64/fpu/sfp-machine.h: New file.  Based on libgcc.
1121         * sysdeps/ia64/math-tests.h: New file.
1122         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1123         based on TEST_COND_binary128 for [__ia64__].
1124         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1125         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1127         [BZ #21457]
1128         * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1129         ucontext_t.
1130         * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1131         * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1132         * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1133         * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1134         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1135         ucontext): Likewise.
1136         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1137         Likewise.
1138         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1139         Likewise.
1140         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1141         Likewise.
1142         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1143         Likewise.
1144         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1145         Likewise.
1146         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1147         Likewise.
1148         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1149         Likewise.
1150         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1151         ucontext): Likewise.
1152         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1153         Likewise.
1154         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1155         Likewise.
1156         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1157         Likewise.
1158         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1159         Likewise.
1160         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1161         Likewise.
1162         * sysdeps/powerpc/powerpc32/backtrace.c (struct
1163         rt_signal_frame_32): Likewise.
1164         * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1165         Likewise.
1166         * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1167         kernel_rt_sigframe): Likewise.
1168         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1169         Likewise.
1170         * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1171         Likewise.
1172         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1173         Likewise.
1174         * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1175         (__profil_counter): Likewise.
1176         * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1177         (SIGCONTEXT): Likewise.
1178         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1179         kernel_rt_sigframe): Likewise.
1180         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1181         kernel_rt_sigframe): Likewise.
1182         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1183         Likewise.
1184         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1185         Likewise.
1186         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1187         (__start_context): Likewise.
1188         * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1189         Likewise.
1190         * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1191         Likewise.
1192         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1193         Likewise.
1195         * sysdeps/i386/Implies: Add ieee754/float128.
1196         * sysdeps/x86_64/Implies: Likewise.
1197         * sysdeps/x86/bits/floatn.h: New file.
1198         * sysdeps/x86/float128-abi.h: Likewise.
1199         * manual/math.texi (Mathematics): Document support for _Float128
1200         on x86_64 and x86.
1201         * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1202         (math_opt_barrier): Do not put _Float128 values in floating-point
1203         registers.
1204         (math_force_eval): Likewise.
1205         [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1206         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1207         to Makefile variable.
1208         * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1209         * sysdeps/x86/fpu/sfp-machine.h: Likewise.  Based on libgcc.
1210         * sysdeps/x86/math-tests.h: New file.
1211         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1212         * math/libm-test-getpayload.inc (getpayload_test_data): Use
1213         XFAIL_FLOAT128_PAYLOAD.
1214         * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1215         * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1216         * math/libm-test-totalordermag.inc (totalordermag_test_data):
1217         Likewise.
1218         * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1219         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1220         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1221         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1222         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1223         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1224         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1225         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1228 2017-06-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1230         [BZ #21512]
1231         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1232         syscall instead of jump to _exit.
1233         (CLONE_VM_BIT): Remove unused define.
1234         (CLONE_VM): Likewise.
1235         (CLONE_THREAD_BIT): Likewise.
1236         (CLONE_THREAD): Likewise.
1237         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1238         (CLONE_VM): Remove unused define.
1239         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1240         (CLONE_VM): Remove unused define.
1241         (CLONE_THREAD): Likewise.
1242         * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1243         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1244         syscall instead of jump to _exit.
1245         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1246         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1247         (CLONE_VM): Remove unused define.
1248         (CLONE_THREAD): Likewise.
1249         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1250         (CLONE_VM): Remove unused define.
1251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1252         Likewise.
1253         (CLONE_VM): Remove unused define.
1254         (CLONE_THREAD): Likewise.
1255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1256         Likewise.
1257         (CLONE_VM): Remove unused define.
1258         (CLONE_THREAD): Likewise.
1259         * sysdeps/unix/sysv/linux/sh/clone.S  (__clone): Likewise.
1260         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1261         (CLONE_VM): Remove unused define.
1262         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1263         (CLONE_VM): Remove unused define.
1264         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1265         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1266         (CLONE_VM): Remove unused define.
1267         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1268         * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1270 2017-06-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1271             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1273         * manual/math.texi (Mathematics): Mention the enabling of float128
1274         for powerpc64le.
1275         * sysdeps/powerpc/bits/floatn.h: New file.
1276         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1277         * sysdeps/powerpc/fpu/math_private.h:
1278         (__ieee754_sqrtf128): New inline override.
1279         * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1280         * sysdeps/powerpc/powerpc64le/Makefile: New file.
1281         * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1282         * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1283         * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1285         Updated.
1286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1287         Likewise.
1288         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1289         New file.
1291 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1293         * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1294         * sysdeps/powerpc/powerpc64le/configure: Update.
1296 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1297             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1299         * INSTALL: Regenerate.
1300         * manual/install.texi (Recommended Tools for Compilation): Mention
1301         the powerpc64le-specific requirement in the manual.
1302         * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1303         for the compiler features required for building float128.
1304         * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1306 2017-06-26  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1308         * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1309         before comparing with another char.
1311 2017-06-25  Rical Jasan  <ricaljasan@pacific.net>
1313         * manual/math.texi: Fix a grammatical error.
1315 2017-06-24  Florian Weimer  <fweimer@redhat.com>
1317         [BZ #21295]
1318         * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1320 2017-06-24  Dmitry Bilunov  <kmeaw@kmeaw.com>
1322         [BZ #21295]
1323         * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1324         Append addresses at the end of the list.
1326 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1328         [BZ #21666]
1329         * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1330         (loc2): Likewise.
1331         (locs): Likewise.
1333 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1335         [BZ #16637]
1336         inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1337         * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1338         digits between colons.
1339         * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1341 2017-05-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1342             Juan Manuel Torres Palma  <jmtorrespalma@gmail.com>
1344         * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1345         (__sched_get_prioriry_min): Likewise.
1346         * include/sys/mman.h (__mmap): Likewise.
1347         (__mmap64): Likewise.
1348         (__munmap): Likewise.
1349         (__mprotect): Likewise.
1350         * include/termios.h (__tcsetattr): Likewise.
1351         * include/time.h (__nanosleep): Use hidden_proto instead of
1352         libc_hidden_proto.
1353         * posix/nanosleep.c (__nanosleep): Likewise.
1354         * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1355         __sched_get_priority_min, and __sched_get_priority_max under
1356         GLIBC_PRIVATE.
1357         * nptl/allocatestack.c (__free_stacks): Use internal definition for
1358         libc symbols.
1359         (change_stack_perm): Likewise.
1360         (change_stack_perm): Likewise.
1361         (allocate_stack): Likewise.
1362         * sysdeps/posix/gethostname.c: Likewise.
1363         * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1364         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1365         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1366         * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1367         (__pthread_key_delete): Likewise.
1368         (__pthread_detach): Likewise.
1369         (__pthread_cancel): Likewise.
1370         (__pthread_mutex_trylock): Likewise.
1371         (__pthread_mutexattr_init): Likewise.
1372         (__pthread_mutexattr_settype): Likewise.
1373         * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1374         create alias for exported one.
1375         * nptl/pthread_join.c (pthread_join): Likewise.
1376         * nptl/pthread_detach.c (pthread_detach): Likewise.
1377         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1378         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1379         * nptl/pthread_create.c: Change static requirements for pthread
1380         symbols.
1381         * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1382         for internal definition.
1383         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1384         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1385         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1386         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1387         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1388         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1389         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1390         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1391         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1392         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1393         Likewise.
1394         * nptl/pthread_self.c (__pthread_self): Likewise.
1395         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1396         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1397         * misc/mmap.c (__mmap): Add internal symbol definition.
1398         * misc/mmap.c (__mmap64): Likewise.
1399         * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1400         * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1401         (__mmap64): Likewise.
1402         * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1403         Add __uname.
1405 2017-06-23  Joseph Myers  <joseph@codesourcery.com>
1407         * sysdeps/i386/fpu/libm-test-ulps: Update.
1408         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1410         * libm-test-support.c (check_float_internal): Clear exceptions at
1411         end of function.
1412         (check_int): Likewise.
1413         (check_long): Likewise.
1414         (check_bool): Likewise.
1415         (check_longlong): Likewise.
1416         (check_intmax_t): Likewise.
1417         (check_uintmax_t): Likewise.
1419         * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1420         Do not declare.
1421         * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1422         __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1423         redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1425 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1427         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1428         Replace movzbl and orl with movb.
1430 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1432         * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1433         (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1434         and HUGE_VAL_FNx.
1435         (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1436         Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1437         are in math.h, to avoid having to list the _FloatN and _FloatNx
1438         variants as well.  Likewise for the cabs functions.
1439         (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1440         ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1441         Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1442         come from TS 18661-3, since this section explicitly states that
1443         these functions come from BSD.
1444         (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1445         truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1446         roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1447         llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1448         fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1449         ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1450         (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1451         remainderfNx.
1452         (Setting and modifying single bits of FP values): Document
1453         copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1454         nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1455         canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1456         setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1457         (Floating-Point Comparison Functions): Document totalorderfN,
1458         totalorderfNx, totalordermagfN, totalordermagfNx.
1459         (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1460         fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1461         fdimfN, fdimfNx, fmafN, fmafNx.
1462         (Complex Numbers): Document the complex types: _FloatN complex and
1463         _FloatNx complex.
1464         (rojections, Conjugates, and Decomposing of Complex Numbers):
1465         Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1466         cargfN, cargfNx, cprojfN, cprojfNx.
1467         * manual/math.texi (Mathematics): Mention that the _FloatN and
1468         _FloatNx variants of the math functions come from TS 18661-3,
1469         unless otherwise stated.
1470         (Predefined Mathematical Constants): Document the _FloatN and
1471         _FloatNx variants of the macros prefixed with M_.
1472         (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1473         tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1474         ccosfNx, ctanfN, ctanfNx.
1475         (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1476         acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1477         (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1478         exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1479         log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1480         llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1481         hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1482         clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1483         cpowfNx.
1484         (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1485         tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1486         asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1487         casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1488         (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1489         lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1490         j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1491         ynfN, ynfNx.
1493 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1495         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1497 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1499         * resolv/res_libc.c: Reformat to GNU style.
1501 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1503         * resolv/resolv-internal.h (__res_initstamp): Declare.
1504         * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1505         It is implied by the declaration.
1506         * resolv/res_libc.c (__res_initstamp): Remove declaration.
1508 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1510         [BZ #21662]
1511         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1512         Use only 24 bits of the register before the subtraction.
1513         * string/test-memcmp.c (check1): Check with different lengths.
1515 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1517         * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1518         $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1520 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1522         * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1523         Enable generation of float128 entries on the error table.
1525 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1527         * include/float.h: Include libc-header-start.h to get the
1528         definition of __GLIBC_USE.
1530 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1532         * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1533         rearranged code and doubles float types.
1535 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
1537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1538         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1540 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1542         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1543         to errno, and simplify remaining related code.
1545 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1547         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1548         PPC_FEATURE2_SCV.
1549         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1550         and darn.
1552 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1554         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1555         the implementation-specific function name and remove unneeded macros
1556         definition.
1557         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1558         function name if not defined and pass as parameter to macros
1559         accordingly.
1561 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1563         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1564         (libm-sysdep_routines): Add s_llroundf-ppc64.
1565         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1566         (__llroundf): Define as strong alias of __llround.
1567         (llroundf):  Define as weak alias of __llround.
1568         (__lroundf): Define as strong alias of __llround.
1569         (lroundf):  Define as weak alias of __llround.
1570         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
1571         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1574         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1575         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1576         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1578 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
1580         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1581         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1583         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1584         (MATH_TESTS_TG): New macro.
1585         (SNAN_TESTS_float128): Likewise.
1586         (ROUNDING_TESTS_float128): Likewise.
1587         (EXCEPTION_TESTS_float128): Likewise.
1588         (SNAN_TESTS): Define using MATH_TESTS_TG.
1589         (ROUNDING_TESTS): Likewise.
1590         (EXCEPTION_TESTS): Likewise.
1592         * sysdeps/ieee754/float128/float128_private.h
1593         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1594         pass it to SET_RESTORE_ROUNDF128.
1596         * sysdeps/ieee754/float128/float128_private.h: Include
1597         <ieee754.h>.
1599         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1600         typeof to argument passed to __builtin_types_compatible_p.
1601         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1603         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1604         <errno.h>.
1605         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1606         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1607         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1608         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1609         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1610         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1611         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1612         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1613         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1614         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1615         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1616         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1617         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1618         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1619         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1620         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1621         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1622         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1623         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1624         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1625         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1626         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1628         * sysdeps/ieee754/float128/strtof128_l.c: Include
1629         <bits/types/locale_t.h> instead of <xlocale.h>.
1630         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1631         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1633 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1635         * benchtests/scripts/benchout_strings.schema.json: New file.
1636         * benchtests/scripts/compare_strings.py: New file.
1638         * benchtests/bench-memcpy-large.c: Include json-lib.h.
1639         (do_one_test): Print json.
1640         (do_test): Likewise.
1641         (test_main): Likewise.
1642         * benchtests/bench-memcpy-random.c: Include json-lib.h.
1643         (do_one_test): Print json.
1644         (do_test): Likewise.
1645         (test_main): Likewise.
1646         * benchtests/bench-memcpy.c: Include json-lib.h.
1647         (do_one_test): Print json.
1648         (do_test): Likewise.
1649         (test_main): Likewise.
1651         * benchtests/json-lib.h: Include inttypes.h.
1652         (json_attr_int, json_attr_int, json_element_string,
1653         json_element_int, json_element_uint): New functions.
1654         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1655         json_element_string, json_element_int, json_element_uint): New
1656         functions.
1658 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1660         * manual/arith.texi (Remainder Functions): Describe remainder as
1661         primary and drem as an alternative name.  Change the comment on
1662         remainder to ISO, since it is defined in ISO C99.
1664 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1666         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1667         macro expansion.
1668         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1670 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
1672         [BZ #21533]
1673         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1674         201706L for Unicode 10.0.
1676 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
1678         [BZ #21657]
1679         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1680         on node-local addresses.
1681         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1683 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1685         * intl/loadmsgcat.c: Remove alloca support.
1686         (_nl_load_domain): Use calloc instead of alloca.
1688 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1690         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1691         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1692         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1693         alloc_buffer_create_failure.
1694         * malloc/Versions (__libc_alloc_buffer_alloc_array)
1695         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1696         (__libc_alloc_buffer_copy_string)
1697         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1698         * malloc/alloc_buffer_alloc_array.c: New file.
1699         * malloc/alloc_buffer_allocate.c: Likewise.
1700         * malloc/alloc_buffer_copy_bytes.c: Likewise.
1701         * malloc/alloc_buffer_copy_string.c: Likewise.
1702         * malloc/alloc_buffer_create_failure.c: Likewise.
1703         * malloc/tst-alloc_buffer.c: Likewise.
1705 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1708         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1709         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1710         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1711         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1712         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1713         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1714         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1715         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1716         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1717         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1718         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1719         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1720         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1721         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1722         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1723         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1724         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1725         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1726         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1727         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1728         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1729         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1730         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1731         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1732         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1733         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
1734         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1735         "locale-defines.h".
1736         (UPDATE_STRNCMP_COUNTER): New.
1737         (SECTION): Likewise.
1738         (GLABEL): Likewise.
1739         (LABEL): Likewise.
1740         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1741         for libc.a.
1743 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
1745         [BZ #21622]
1746         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1747         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1748         __USE_MISC].
1749         (SA_NODEFER): Likewise.
1750         (SA_RESETHAND): Likewise.
1752 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1754         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1755         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1756         Remove security_level on all fields.
1757         * manual/tunables.texi: Replace ifunc with hwcaps.
1758         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1759         Renamed to ..
1760         (TUNABLE_CALLBACK (set_hwcaps)): This.
1761         (init_cpu_features): Updated.
1762         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1763         data_cache_size, data_cache_size and non_temporal_threshold to
1764         unsigned long int.
1765         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1766         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1767         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
1768         use DEFAULT_STRLEN.
1770 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1772         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1773         asprintf to construct an absolute pathname.
1775 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1777         * misc/tst-preadvwritev2-common.c: New file.
1778         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1779         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1781 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1783         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1784         annotation.
1785         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1787 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1789         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1790         hidden __GI__dl_argv symbol.
1792 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1794         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1795         to parse addresses with IPv6 scope IDs.
1797 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1799         Add the __inet_pton_length helper function.
1800         * resolv/resolv-internal.h (__inet_pton_length): Declare.
1801         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1802         Add length argument.
1803         (__inet_pton): New function.
1804         (inet_pton4): Add length argument.
1805         (hex_digit_value): New function.
1806         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
1807         memmove and memset to fill :: gap.
1808         * resolv/Makefile (tests, tsts-static, tests-internal): Add
1809         tst-inet_pton.
1810         * resolv/tst-inet_pton.c: New file.
1811         * support/Makefile (libsupport-routines): Add xmprotect.
1812         * support/xunistd.h (xmprotect): Declare.
1813         * support/xmprotect.c: New file.
1815 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1817         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1818         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1819         (call_gai, check_ai): New functions.
1820         (expect_failure, expect_success): Use them.  Add logging.
1822 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1824         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1825         (sysdep_routines): Add memchr_power8.
1826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1827         (memchr): Add __memchr_power8 to list of memchr functions.
1828         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1829         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1830         (memchr): Add __memchr_power8 to ifunc list.
1831         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1833 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1835         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1836         (__llrintf): Define as strong alias of __llrint.
1837         (llrintf):  Define as weak alias of __llrint.
1838         (__lrintf): Define as strong alias of __llrint.
1839         (lrintf):  Define as weak alias of __llrint.
1840         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
1841         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1842         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
1843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1845 2017-06-20  Zack Weinberg  <zackw@panix.com>
1847         * bits/signum-generic.h: Renamed from bits/signum.h.
1848         Add proper multiple include guard and misuse check.
1849         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1850         Move definition of SIGIO to "archaic names for compatibility" section.
1851         * bits/signum.h: New file which just includes bits/signum-generic.h.
1852         * sysdeps/unix/bsd/bits/signum.h
1853         * sysdeps/unix/sysv/linux/bits/signum.h
1854         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1855         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1856         * sysdeps/unix/sysv/linux/mips/bits/signum.h
1857         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1858         Just include <bits/signum-generic.h> and then add or adjust
1859         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1861         * signal/Makefile: Install bits/signum-generic.h.
1862         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1864         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1865         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1867         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1868         * sysdeps/unix/sysv/linux/Makefile: Run it.
1870 2017-06-20  Zack Weinberg  <zackw@panix.com>
1872         * locale/xlocale.h: Rename to...
1873         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
1874         Only define struct __locale_struct and __locale_t, not locale_t.
1875         * locale/bits/types/locale_t.h: New file; define locale_t here.
1876         * locale/Makefile (headers): Update to match.
1878         * include/xlocale.h: Delete wrapper.
1879         * include/bits/types/__locale_t.h: New wrapper.
1880         * include/bits/types/locale_t.h: New wrapper.
1882         * ctype/ctype.h, include/printf.h, include/time.h
1883         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1884         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1885         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1886         Correct outdated comments regarding the standardization status of
1887         the functions that take locale_t arguments.
1889         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1890         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1891         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1892         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1893         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1894         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1895         Don't include xlocale.h. If necessary, include locale.h instead.
1897         * stdlib/strtold_l.c: Unconditionally include wchar.h.
1899         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1900         * include/monetary.h, include/stdlib.h, include/time.h
1901         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1902         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1903         * locale/localeinfo.h, locale/newlocale.c
1904         * locale/nl_langinfo_l.c, locale/uselocale.c
1905         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1906         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1907         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1908         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1909         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1910         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1911         * string/strings.h, string/strncase.c, string/strxfrm_l.c
1912         * sysdeps/ieee754/float128/strtof128_l.c
1913         * sysdeps/ieee754/float128/wcstof128.c
1914         * sysdeps/ieee754/float128/wcstof128_l.c
1915         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1916         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1917         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1918         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1919         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1920         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1921         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1922         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1923         * sysdeps/x86_64/strcasecmp_l-nonascii.c
1924         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1925         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1926         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1927         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1928         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1929         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1930         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1931         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1932         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1933         Change all uses of __locale_t to locale_t.
1935 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1937         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1938         for !__OFF_T_MATCHES_OFF64_T.
1939         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1940         implementation based on open64.
1941         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1942         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1944 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1946         * elf/dl-tunables.list: Move x86 specific tunables to ...
1947         * sysdeps/x86/dl-tunables.list: Here.  New file.
1949 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
1951         [BZ #21635]
1952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1953         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1954         * conform/data/signal.h-data (uc_mcontext): XFAIL for
1955         powerpc32-linux.
1956         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
1958         [BZ #21634]
1959         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
1960         (conformtest-xfail-conds): New variable.
1961         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
1962         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
1964 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1966         * benchtests/powf-inputs: Add reduced trace from wrf.
1968 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1969             Erich Elsen  <eriche@google.com>
1971         * elf/dl-tunables.list (tune): Add ifunc,
1972         x86_non_temporal_threshold,
1973         x86_data_cache_size and x86_shared_cache_size.
1974         * manual/tunables.texi: Document glibc.tune.ifunc,
1975         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
1976         and glibc.tune.x86_non_temporal_threshold.
1977         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
1978         * sysdeps/x86/cpu-tunables.c: Likewise.
1979         * sysdeps/x86/cacheinfo.c
1980         (init_cacheinfo): Check and get data cache size, shared cache
1981         size and non temporal threshold from cpu_features.
1982         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
1983         New.
1984         [HAVE_TUNABLES] Include <unistd.h>.
1985         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
1986         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
1987         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
1988         IFUNC selection, data cache size, shared cache size and non
1989         temporal threshold.
1990         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
1991         shared_cache_size and non_temporal_threshold.
1993 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1995         * benchtests/README: Describe workload feature.
1996         * benchtests/bench-skeleton.c (main): Add support for
1997         benchmarking traces from workloads.
1999 2017-06-20  Zack Weinberg  <zackw@panix.com>
2001         * string/string.h (__mempcpy_inline): Delete.
2002         * sysdeps/x86_64/multiarch/mempcpy.c
2003         * sysdeps/x86_64/multiarch/stpcpy.c:
2004         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
2005         before including string.h.
2007 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
2009         * benchtests/Makefile (bench-math): Add powf.
2010         * benchtests/powf-inputs: New file.
2012 2017-06-20  Zack Weinberg  <zackw@panix.com>
2014         * bits/string.h, string/bits/string.h
2015         * sysdeps/aarch64/bits/string.h
2016         * sysdeps/m68k/m680x0/m68020/bits/string.h
2017         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
2018         * sysdeps/x86/bits/string.h: Delete file.
2020         * string/string.h: Don't include bits/string.h.
2021         * string/bits/string3.h: Rename to bits/string_fortified.h.
2022         No need to undef various symbols that the removed headers
2023         might have defined as macros.
2024         * string/Makefile (headers): Remove bits/string.h, change
2025         bits/string3.h to bits/string_fortified.h.
2026         * string/string-inlines.c: Update commentary.  Remove definitions
2027         of various macros that nothing looks at anymore.  Don't directly
2028         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
2029         compiler-predefined macros.
2030         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
2031         _is_ defined, provide internal hidden alias __strncat.
2032         * include/string.h: Declare internal hidden alias __strncat.
2033         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
2034         not defined.
2035         * include/bits/string3.h: Rename to bits/string_fortified.h,
2036         update to match above.
2038         * sysdeps/i386/string-inlines.c: Define compat symbols for
2039         everything formerly defined by sysdeps/x86/bits/string.h.
2040         Make existing definitions into compat symbols as well.
2041         Remove some no-longer-necessary messing around with macros.
2043         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2044         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2045         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2046         * sysdeps/s390/multiarch/mempcpy.c
2047         No need to define _HAVE_STRING_ARCH_mempcpy.
2048         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
2050         * sysdeps/i386/i686/multiarch/strncat-c.c
2051         * sysdeps/s390/multiarch/strncat-c.c
2052         * sysdeps/x86_64/multiarch/strncat-c.c
2053         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
2055 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
2057         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
2058         (LDBL_DIG): Likewise.
2059         (LDBL_MIN_EXP): Likewise.
2060         (LDBL_MIN_10_EXP): Likewise.
2061         (LDBL_MAX_EXP): Likewise.
2062         (LDBL_MAX_10_EXP): Likewise.
2063         (LDBL_MAX): Likewise.
2064         (LDBL_MIN): Likewise.
2065         (LDBL_EPSILON): Likewise.
2066         (FLT_ROUNDS): Change standard from ISO to C90.
2067         (FLT_RADIX): Likewise.
2068         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
2069         (FLT_DIG, DBL_DIG): Likewise.
2070         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
2071         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
2072         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
2073         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
2074         (FLT_MAX, DBL_MAX): Likewise.
2075         (FLT_MIN, DBL_MIN): Likewise.
2076         (FLT_EPSILON, DBL_EPSILON): Likewise.
2078 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2080         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
2081         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
2082         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
2083         * sysdeps/mips/math-tests.h
2084         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
2085         conditional code.
2087 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2089         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
2090         It cannot change while __libc_setlocale_lock is acquired.
2092 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2094         * elf/rtld.c (audit_list_string): New variable.
2095         (audit_list): Update comment.
2096         (struct audit_list_iter): Define.
2097         (audit_list_iter_init, audit_list_iter_next): New function.
2098         (dl_main): Use struct audit_list_iter to process audit modules.
2099         (process_dl_audit): Call dso_name_valid_for_suid.
2100         (process_envvars): Set audit_list_string instead of calling
2101         process_dl_audit.
2103 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2105         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
2106         (dso_name_valid_for_suid): New function.
2107         (handle_ld_preload): Likewise.
2108         (dl_main): Call it.  Remove alloca.
2110 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2112         [BZ #21625]
2113         * posix/sys/wait.h (strust rusage forward declaration): Change
2114         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
2115         !__USE_XOPEN2K].
2116         (wait3): Likewise.
2118         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2119         * configure: Regenerated.
2120         * manual/install.texi (Tools for Compilation): Document
2121         requirement for GCC 4.9 or later.
2122         * INSTALL: Regenerated.
2124 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2126         [BZ #21624]
2127         CVE-2017-1000366
2128         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2129         __libc_enable_secure.
2131 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2133         [BZ #21539]
2134         * NEWS: Mention s390 ptrace request changes.
2135         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2136         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2137         PTRACE_SETFPREGS): Remove enum constant.
2138         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2139         Remove defines.
2140         (PTRACE_SINGLEBLOCK): New enum constant.
2141         (PT_STEPBLOCK): New define.
2142         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2143         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2144         PTRACE_TE_ABORT_RAND): New enum constant and define.
2145         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2146         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2147         New file.
2148         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
2150 2017-06-16  Florian Weimer  <fweimer@redhat.com>
2152         * resolv/res_init.c (res_vinit_1): Use getline to read from the
2153         configuration file.
2154         (__res_vinit): Adjust.
2156 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2158         * resolv/res_init.c (res_vinit_1): New function.
2159         (__res_vinit): Call it.  Handle file open and memory allocation
2160         failures.
2161         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2162         erno from __res_maybe_init failure.
2163         (_nss_dns_gethostbyname4_r): Likewise.
2164         (_nss_dns_gethostbyaddr2_r): Likewise.
2165         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2166         (_nss_dns_getnetbyaddr_r): Likewise.
2168 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2170         * resolv/res_init.c: Reformat to GNU style.
2172 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2174         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2175         (is_sort_mask): New function.
2176         (__res_vinit): Use it.
2178 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2180         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2181         conditionals.
2183 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2185         * resolv/res-close.c: New file.
2186         * resolv/res_init.c (__res_iclose, res_nclose)
2187         (res_thread_freeres): Remove definitions.
2188         * resolv/Makefile (routines): Add res-close.
2190 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2192         * resolv/res_randomid.c: New file.
2193         * resolv/res_init.c (res_randomid): Remove definition.
2194         * resolv/Makefile (routines): Add res_randomid.
2196 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2198         * include/resolv.h (__res_vinit): Declare as hidden.
2199         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2200         * resolv/res_libc.c (res_init): Likewise.
2202 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2204         [BZ #21457]
2205         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2206         _libc_xmmreg): Use __ctx in defining field.
2208         [BZ #21597]
2209         * signal/signal.h (siginterrupt): Make declaration conditional on
2210         [__USE_XOPEN_EXTENDED || __USE_MISC].
2212         [BZ #21584]
2213         * signal/signal.h: Make includes of <bits/sigstack.h> and
2214         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2215         __USE_MISC].
2216         (sigaltstack): Make declaration conditional on
2217         [__USE_XOPEN_EXTENDED || __USE_MISC].
2219         [BZ #21575]
2220         * resource/bits/types/struct_rusage.h: New file.
2221         * include/bits/types/struct_rusage.h: Likewise.
2222         * bits/resource.h (struct rusage): Include
2223         <bits/types/struct_rusage.h> instead of defining here.
2224         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2225         Likewise.
2226         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2227         Likewise.
2228         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2229         Likewise.
2230         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2231         Likewise.
2232         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2233         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2234         Include <bits/types/struct_rusage.h>
2236 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2238         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2240 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2242         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2244 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2246         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2248 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2250         [BZ #21537]
2251         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2252         Check SHARED instead of PIC.
2253         (SYSCALL_PIC_SETUP): Add missing semicolons.
2254         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2255         Check SHARED instead of PIC.
2256         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2257         (__makecontext_ret): Adjust code to jump to exit.
2259 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
2261         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2262         Simplify code by always using SVC 0 instead of EX.
2263         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2265 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
2267         * elf/Versions (ld): Remove _dl_out_of_memory.
2269 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
2271         * timezone/private.h: Update from tzcode 2017b.
2272         * timezone/tzfile.h: Likewise.
2273         * timezone/tzselect.ksh: Likewise.
2274         * timezone/zdump.c: Likewise.
2275         * timezone/zic.c: Likewise.
2276         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2277         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2278         * time/tzset.c (SECSPERDAY): New macro.
2280 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2282         * manual/string.texi (strdup): Complete header and standards
2283         annotation.
2284         (strncpy): Likewise.
2286 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2288         * manual/arith.texi (FP_NAN): Add or complete header and standard
2289         annotations.
2290         (FP_INFINITE): Likewise.
2291         (FP_ZERO): Likewise.
2292         (FP_SUBNORMAL): Likewise.
2293         (FP_NORMAL): Likewise.
2294         (SNAN): Likewise.
2295         (SNANL): Likewise.
2296         (totalorderf): Likewise.
2297         (totalorderl): Likewise.
2298         (totalordermagf): Likewise.
2299         (totalordermagl): Likewise.
2300         (_Complex_I): Likewise.
2301         (I): Likewise.
2303 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2305         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2306         standard annotation.
2307         (ARGP_HELP_SHORT_USAGE): Likewise.
2308         (ARGP_HELP_SEE): Likewise.
2309         (ARGP_HELP_LONG): Likewise.
2310         (ARGP_HELP_PRE_DOC): Likewise.
2311         (ARGP_HELP_POST_DOC): Likewise.
2312         (ARGP_HELP_DOC): Likewise.
2313         (ARGP_HELP_BUG_ADDR): Likewise.
2314         (ARGP_HELP_LONG_ONLY): Likewise.
2315         (ARGP_HELP_EXIT_ERR): Likewise.
2316         (ARGP_HELP_EXIT_OK): Likewise.
2317         (ARGP_HELP_STD_ERR): Likewise.
2318         (ARGP_HELP_STD_USAGE): Likewise.
2319         (ARGP_HELP_STD_HELP): Likewise.
2321 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2323         * manual/Makefile: Generate summary.texi with summary.pl.  Force
2324         use of the C locale.  Update Perl dependency comment.
2325         * manual/header.texi: Update reference to summary.awk.
2326         * manual/macros.texi: Refer authors to `summary.pl --help'.
2327         * manual/summary.awk: Remove file.
2328         * manual/summary.pl: New file.  Generate summary.texi, and check
2329         for @standards-related syntax errors.
2330         * manual/argp.texi: Convert header and standards @comments to
2331         @standards.
2332         * manual/arith.texi: Likewise.
2333         * manual/charset.texi: Likewise.
2334         * manual/conf.texi: Likewise.
2335         * manual/creature.texi: Likewise.
2336         * manual/crypt.texi: Likewise.
2337         * manual/ctype.texi: Likewise.
2338         * manual/debug.texi: Likewise.
2339         * manual/errno.texi: Likewise.
2340         * manual/filesys.texi: Likewise.
2341         * manual/getopt.texi: Likewise.
2342         * manual/job.texi: Likewise.
2343         * manual/lang.texi: Likewise.
2344         * manual/llio.texi: Likewise.
2345         * manual/locale.texi: Likewise.
2346         * manual/math.texi: Likewise.
2347         * manual/memory.texi: Likewise.
2348         * manual/message.texi: Likewise.
2349         * manual/pattern.texi: Likewise.
2350         * manual/pipe.texi: Likewise.
2351         * manual/process.texi: Likewise.
2352         * manual/resource.texi: Likewise.
2353         * manual/search.texi: Likewise.
2354         * manual/setjmp.texi: Likewise.
2355         * manual/signal.texi: Likewise.
2356         * manual/socket.texi: Likewise.
2357         * manual/startup.texi: Likewise.
2358         * manual/stdio.texi: Likewise.
2359         * manual/string.texi: Likewise.
2360         * manual/sysinfo.texi: Likewise.
2361         * manual/syslog.texi: Likewise.
2362         * manual/terminal.texi: Likewise.
2363         * manual/threads.texi: Likewise.
2364         * manual/time.texi: Likewise.
2365         * manual/users.texi: Likewise.
2367 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2369         * manual/macros.texi (@standards): New macro.  Provide placeholder
2370         for header and standards annotations.
2371         (@standardsx): New macro.  Likewise, for lists of @*x elements.
2373 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2375         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2376         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2377         rule.
2378         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2379         sync_file_range.
2381          * support/support_test_main.c (support_test_main):  Use optstring
2382          member for option string in getopt_long.
2383          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2384          (CMDLINE_OPTSTRING): New define.
2385          * support/test-driver.h (test_config): Add optstring member.
2387 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2389         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2390         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2391         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2392         Check USE_AS_STRPBRK instead of STRPBRK_P.
2393         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2394         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2395         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2396         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2397         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2398         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2399         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2400         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2401         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2402         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2403         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2404         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2405         and "#endif".
2407 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2409         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2410         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2412 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2414         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2415         strcat-sse2.
2416         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2417         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2418         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2419         * sysdeps/x86_64/multiarch/strcat.S: Removed.
2420         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2422 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2423             Erich Elsen  <eriche@google.com>
2425         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2426         memcmp-sse2.
2427         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2428         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2429         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2430         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2431         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2432         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2434 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2435             Erich Elsen  <eriche@google.com>
2437         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2438         memset-sse2-unaligned-erms, and memset_chk-nonshared.
2439         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2440         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2441         Update comments.
2442         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2443         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2444         * sysdeps/x86_64/multiarch/memset.c: Likewise.
2445         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2446         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2447         * sysdeps/x86_64/multiarch/memset.S: Removed.
2448         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2449         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2450         (__memset_chk_erms): New function.
2452 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2454         * configure.ac(--enable-tunables): Enable by default.
2455         * configure: Regenerate.
2456         * NEWS: Mention change.
2457         * manual/install.texi (enable-tunables): Adjust documentation.
2458         * INSTALL: Regenerate.
2460 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2462         [BZ #18988]
2463         * benchtests/thread_create-inputs: New file.
2464         * benchtests/thread_create-source.c: Likewise.
2465         * support/xpthread_attr_setguardsize.c: Likewise.
2466         * support/Makefile (libsupport-routines): Add
2467         xpthread_attr_setguardsize object.
2468         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2469         * benchtests/Makefile (bench-pthread): Add thread_create.
2470         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2471         then mprotect the required area.
2472         (guard_position): New function.
2473         (setup_stack_prot): Likewise.
2475 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
2476             Erich Elsen  <eriche@google.com>
2477             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2479         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2480         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2481         mempcpy_chk-nonshared and memmove_chk-nonshared.
2482         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2483         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2484         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
2485         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2486         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2487         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2488         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2489         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2490         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2491         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2492         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2493         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2494         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2495         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2496         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2497         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2498         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2499         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2500         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2501         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2502         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2503         (__mempcpy_chk_erms): New function.
2504         (__memmove_chk_erms): Likewise.
2505         (__memcpy_chk_erms): New alias.
2507 2017-06-14  Florian Weimer  <fweimer@redhat.com>
2509         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2510         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2512 2017-06-14  Zack Weinberg  <zackw@panix.com>
2514         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2515         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
2516         defined, don't declare anything other than the E-constants.
2518         * include/errno.h: Change conditional for exposing internal
2519         declarations to (not _ISOMAC and not __ASSEMBLER__).
2520         * bits/errno.h: Remove logic for __need_Emath.  Document
2521         requirements for a port-specific bits/errno.h.
2523         * sysdeps/unix/sysv/linux/bits/errno.h
2524         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2525         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2526         * sysdeps/unix/sysv/linux/mips/bits/errno.h
2527         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2528         Add multiple-include guard and check against improper inclusion.
2529         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
2530         constants are defined as simple integer literals.  Consistent
2531         formatting.
2532         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
2533         enum __error_t_codes if __ASSEMBLER__ is not defined.
2534         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2536         * argp/argp.h, string/argz.h: Don't define __need_error_t before
2537         including errno.h.
2538         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2539         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2540         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2541         * sysdeps/x86_64/fpu/s_cosf.S
2542         * sysdeps/x86_64/fpu/s_sincosf.S
2543         * sysdeps/x86_64/fpu/s_sinf.S:
2544         Just include errno.h; don't define __need_Emath or include
2545         bits/errno.h directly.
2547 2017-06-14  Zack Weinberg  <zackw@panix.com>
2549         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2550         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2551         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2553         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2554         for IOV_MAX.
2555         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2556         Don't install bits/uio.h.
2557         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
2558         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
2559         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2561         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2562         and __need_IOV_MAX.  Don't define IOV_MAX at all.
2563         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2565         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2566         Include bits/types/struct_iovec.h, not bits/uio.h.
2567         Use __ssize_t, not ssize_t, in function prototypes.
2568         Don't use hard TAB for double space after period in comments.
2570 2017-06-14  Alan Modra  <amodra@gmail.com>
2572         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2573         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2574         refsym and sym parameters.  Adjust callers.
2575         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2576         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2577         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2578         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2579         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2580         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2581         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2582         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2583         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2584         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2585         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2586         Likewise.
2587         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2588         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2589         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2590         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2591         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2592         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2593         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2594         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2595         (_dl_reloc_overflow): Increase buffser size.  Formatting.
2596         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2597         Delete reloc param, add refsym and sym.  Check optimized plt
2598         call stubs for localentry:0 functions.  Adjust callers.
2599         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2600         and sym parameters.  Adjust callers.
2601         (_dl_reloc_overflow): Move attribute.
2602         (_dl_error_localentry): Declare.
2603         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
2604         refsym and sym to elf_machine_fixup_plt.
2605         * elf/testobj6.c (preload): Call printf.
2607 2017-06-14  Alan Modra  <amodra@gmail.com>
2609         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2610         (NOPS, ENTRY_3): New macros.
2611         (ENTRY): Rewrite.
2612         (ENTRY_TOCLESS): Define.
2613         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2614         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2615         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2616         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2617         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2618         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2619         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2620         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2621         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2622         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2623         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2624         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2625         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2626         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2627         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2628         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2629         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2630         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2631         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2632         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2633         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2634         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2635         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2636         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2637         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2638         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2639         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2640         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2641         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2642         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2643         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2644         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2645         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2646         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2647         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2648         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2649         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2650         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2651         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2652         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2653         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2654         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2655         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2656         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2657         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2658         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2659         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2660         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2661         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2662         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2663         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2664         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2665         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2666         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2667         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2668         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2669         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2670         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2671         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2672         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2673         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2674         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2675         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2676         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2677         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2678         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2679         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2680         Likewise.
2681         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2682         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2683         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2684         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2685         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2686         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2687         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2688         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2689         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2690         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2691         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2692         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2693         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2694         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2695         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2696         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2697         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2698         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2699         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2700         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2701         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2702         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2703         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2704         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2705         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2706         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2707         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2708         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2709         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2710         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2711         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
2712         add nop when SHARED.
2713         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2714         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2715         define.
2716         (ENTRY_TOCLESS): Define.
2717         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2718         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2719         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2721 2017-06-14  Alan Modra  <amodra@gmail.com>
2723         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2724         MEMSET_is_local.
2725         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2726         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2727         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2728         Define MEMSET.
2729         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2730         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2731         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
2732         nop after local calls.
2733         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2734         Don't add nop after local call.
2735         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
2736         CALL_MCOUNT.
2738 2017-06-14  Alan Modra  <amodra@gmail.com>
2740         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2741         (FUNC_LABEL): Rename from DOT_LABEL.
2742         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2743         Use .p2align rather than .align.
2744         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2745         (ABORT_TRANSACTION): Likewise.
2746         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2747         particularly at end.  Add semicolon at invocation as necessary.
2748         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2749         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2750         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2751         END): Adjust to suit.
2753 2017-06-14  Alan Modra  <amodra@gmail.com>
2755         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2756         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2757         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2758         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2759         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2761         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2763 2017-06-14  Alan Modra  <amodra@gmail.com>
2765         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2766         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2768 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
2770         [BZ #21548]
2771         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2772         8 and use it when copying general purpose registers.
2773         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2774         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2775         mips o32.
2776         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2777         new test for mips o32.
2778         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2779         8 and use it when copying general purpose registers.
2780         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2782 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2784         * configure.ac (find_cxx_header): Suppress compiler error message.
2786 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2788         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2789         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2790         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2791         begin/end.
2792         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2793         dynarray_int_end.
2794         (test_str): Test dynarray_str_begin, dynarray_str_end.
2796 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
2798         [BZ #21573]
2799         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2800         $(common-objpfx)bits/std_abs.h.
2801         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2802         New target.
2803         * config.make.in (c++-bits-std_abs-h): New.
2804         * configure.ac (find_cxx_header): Use "\,$1," with sed.
2805         (CXX_BITS_STD_ABS_H): New.
2806         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2807         * configure: Regenerated.
2809 2017-06-13  Zack Weinberg  <zackw@panix.com>
2811         * posix/bits/cpu-set.h: Correct indentation of preprocessor
2812         directives.
2814 2017-06-12  Zack Weinberg  <zackw@panix.com>
2816         * bits/sched.h: Remove __need_schedparam logic and replace with a
2817         normal multiple-include guard.  Change field name in struct
2818         sched_param from __sched_priority to sched_priority.  Delete
2819         everything under #ifndef __cpu_set_t_defined.
2820         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
2821         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2823         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2824         For compatibility, #define sched_priority to itself, and #define
2825         __sched_priority as sched_priority.
2826         * posix/bits/cpu-set.h: New file containing, verbatim, the code
2827         that was under #ifndef __cpu_set_t_defined in
2828         sysdeps/unix/sysv/linux/bits/sched.h.
2829         * include/bits/cpu-set.h: New wrapper.
2830         * posix/Makefile: Install bits/cpu-set.h.
2832 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2833             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2834             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2836         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2837         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2838         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2839         * math/libm-test-isfinite.inc (finite_test): Likewise.
2840         * math/libm-test-lgamma.inc (gamma_test): Likewise.
2841         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2842         (nexttoward_test_data}: Likewise.
2843         * math/libm-test-remainder.inc (drem_test): Likewise.
2844         * math/libm-test-scalb.inc (scalb_test): Likewise.
2845         (scalb_test_data): Likewise.
2846         * math/libm-test-significand.inc (significand_test): Likewise.
2847         (significand_test_data): Likewise.
2848         * math/libm-test-support.c (check_complex): Replace __complex__
2849         FLOAT with CFLOAT to get the support for old compiler.
2850         * math/libm-test-support.h (check_complex): Likewise.
2851         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2852         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2853         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2854         * math/test-float128.h: New file.
2855         * math/test-math-floatn.h: New file.
2857 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2859         * include/float.h: Allow the definition of macros prefixed with
2860         FLT128 even if _ISOMAC is defined, but provided that
2861         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2863 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2865         * manual/math.texi (Mathematics): Add description for _FloatN and
2866         _FloatNx types and mentions that they are not support in glibc for
2867         any architecture, so far.
2868         * manual/arith.texi (wcstof, wcstold): Replace the mention to
2869         stdlib.h with wchar.h.
2870         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2871         (Printing of Floats): Add description for strfromfN.
2873 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2874             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2875             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2877         * include/gmp.h (__mpn_construct_float128): New declaration.
2878         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2879         (__strtof128_l): New declaration.
2880         (__strtof128_nan): Likewise.
2881         (__wcstof128_nan): Likewise.
2882         (__strtof128_internal): Likewise.
2883         (____strtof128_l_internal): Likewise.
2884         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2885         (__wcstof128_l): New declaration.
2886         (__wcstof128_internal): Likewise.
2888         * stdlib/Makefile (bug-strtod2): Link libm too.
2890         * stdlib/stdlib.h (strtof128): New declaration.
2891         (strtof128_l): Likewise.
2893         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2894         tst-strtod.h macros to ensure float128 gets tested too.
2896         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2898         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2899         tests.
2900         (IF_FLOAT128): New macro.
2901         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2902         the tests.
2903         (STRTOD_TEST_FOREACH): Likewise.
2905         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2906         wcstof128 functions into libc.
2908         * sysdeps/ieee754/float128/Versions: Add exports for the above
2909         new functions.
2911         * sysdeps/ieee754/float128/mpn2float128.c: New file.
2912         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2913         * sysdeps/ieee754/float128/strtof128.c: New file.
2914         * sysdeps/ieee754/float128/strtof128_l.c: New file.
2915         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2916         * sysdeps/ieee754/float128/wcstof128.c: New file.
2917         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2918         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2919         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2920         (CFLAGS-wcstof128_l): Likewise.
2922         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2923         (wcstof128): New declaration.
2924         (wcstof128_l): Likewise.
2926 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
2928         [BZ #21552]
2929         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2930         not [__USE_XOPEN].
2931         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2933         [BZ #21550]
2934         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2936 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
2938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2939         strcpy-sse2 and stpcpy-sse2.
2940         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2941         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2942         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2943         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2944         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2945         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2946         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2947         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2948         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2949         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2950         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2951         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2952         (libc_hidden_def): Always defined as empty.
2953         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2954         Always Defined as empty.
2956 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2958         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2960 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2962         [BZ #15105]
2963         [BZ #19463]
2964         * include/string.h: Add internal redirect for __stpcpy.
2965         * string/Makefile: Remove bits/string2.h.
2966         * string/string.h: Update comment.
2967         * string/string-inlines.c: Remove bits/string2.h include and comment.
2968         * string/bits/string2.h: Remove file.
2970 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2972         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
2973         * sunrpc/clnt_gen.c (clnt_create): Likewise.
2974         * sunrpc/des_impl.c (_des_crypt): Likewise.
2975         * sunrpc/key_call.c (key_gendes): Likewise.
2976         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2977         * sunrpc/svc_simple.c (universal): Likewise.
2978         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
2979         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2980         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
2982 2017-06-10  Zack Weinberg  <zackw@panix.com>
2984         * stdlib/errno.h: Correct an outdated comment.
2986 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
2988         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
2989         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
2990         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
2991         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
2992         New file.  Invoke newly supported sysconf values for powerpc,
2993         and report results.  If none are supported, report so.
2994         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
2995         tst-sysconf.
2997 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2999         * include/sys/auxv.h (__getauxval): Add a prototype and its
3000         libc_hidden_proto.
3001         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
3003 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
3005         [BZ #21561]
3006         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
3007         [__USE_XOPEN_EXTENDED].
3008         (id_t): Likewise.
3009         (include of <bits/types/siginfo_t.h): Likewise.
3010         (waitid): Likewise.
3011         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
3012         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
3013         (WEXITED): Likewise.
3014         (WCONTINUED): Likewise.
3015         (WNOWAIT): Likewise.
3016         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
3017         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3018         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3020         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
3021         libc.so PLT entry optional.
3022         (__gtsf2): Likewise.
3023         (__unorddf2): Likewise.
3024         (__unordsf2): Likewise.
3025         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
3026         New optional libc.so PLT entry.
3028         [BZ #21554]
3029         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
3030         not [__USE_XOPEN].
3032         [BZ #21560]
3033         * posix/sys/wait.h: Condition include of <signal.h> on
3034         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
3035         unconditionally.
3036         [!__pid_t_defined] (pid_t): Define typedef.
3038 2017-06-09  Zack Weinberg  <zackw@panix.com>
3040         * include/errno.h (__errno_location): Use __attribute_const__
3041         instead of bare __attribute__.
3043 2017-06-09  Zack Weinberg  <zackw@panix.com>
3045         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
3046         (common-generated): Add libc-modules.h and libc-modules.stmp in a
3047         more appropriate location. Also add dl-tunable-list.h and
3048         dl-tunable-list.stmp.
3050 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3052         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
3054 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3056         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3057         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
3058         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3059         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
3060         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
3061         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
3062         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
3063         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
3064         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
3065         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
3066         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
3068 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3070         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3071         memrchr-sse2 and memrchr-avx2.
3072         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3073         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
3074         __memrchr_sse2.
3075         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
3076         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
3077         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
3079 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3082         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
3083         wcschr-sse2 and wcschr-avx2.
3084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3085         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
3086         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
3087         __wcschr_sse2.
3088         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
3089         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
3090         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
3091         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
3092         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
3093         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
3094         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
3095         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
3096         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
3097         * sysdeps/x86_64/multiarch/strchr.S: Removed.
3099 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3101         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3102         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
3103         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
3104         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3105         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
3106         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
3107         __wcslen_sse2 and __wcsnlen_avx2.
3108         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
3109         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
3110         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
3111         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
3112         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
3113         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
3114         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
3115         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
3116         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3117         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3118         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3119         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3120         vzeroupper is preferred and AVX unaligned load is fast.
3122 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3124         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
3125         USE_AS_WMEMCHR is defined.
3126         (PCMPEQ): Likewise.
3127         (memchr): Renamed to ...
3128         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
3129         Replace pcmpeqb with PCMPEQ.
3130         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3131         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3132         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3133         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3134         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3135         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3136         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3137         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3138         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3139         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3140         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3141         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3142         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3144         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3145         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3146         __wmemchr_sse2.
3148 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3150         * malloc/Makefile (test-srcs): Remove tst-dynarray,
3151         tst-dynarray-fail.
3153 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3155         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3156         * support/support_test_verify_impl.c
3157         (support_test_verify_exit_impl): Split from
3158         support_test_verify_impl.
3159         * support/check.h (TEST_VERIFY): Drop status argument from
3160         support_test_verify_impl call.
3161         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3162         (support_test_verify_impl): Remove status argument.
3163         (support_test_verify_exit_impl): Declare.
3165 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3167         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3168         mention of magic numbers in comments.
3169         (_dl_procinfo): Fix undefined behavior
3171 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
3173         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3174         [XPG4].
3175         (WEXITED): Likewise.
3176         (WSTOPPED): Likewise.
3177         (WCONTINUED): Likewise.
3178         (WNOHANG): Likewise.
3179         (WNOWAIT): Likewise.
3180         (idtype_t): Likewise.
3181         (P_ALL): Likewise.
3182         (P_PID): Likewise.
3183         (P_PGID): Likewise.
3184         (id_t): Likewise.
3185         (siginfo_t): Likewise.
3186         (wait3): Likewise.
3187         (waitid): Likewise.
3188         (signal.h): Do not allow header for [XPG4].
3189         (sys/resource.h): Likewise.
3190         (si_*): Do not allow for [XPG4].
3191         (W*): Likewise.
3192         (P_*): Likewise.
3193         (BUS_): Likewise.
3194         (CLD_): Likewise.
3195         (FPE_): Likewise.
3196         (ILL_): Likewise.
3197         (POLL_): Likewise.
3198         (SEGV_): Likewise.
3199         (SI_): Likewise.
3200         (TRAP_): Likewise.
3201         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3202         variable.
3204 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3206         [BZ #21528]
3207         * elf/dl-minimal.c (__strtoul_internal): Removed.
3208         (strtoul): Likewise.
3209         * elf/dl-misc.c (_dl_strtoul): New function.
3210         * elf/dl-tunables.c (tunables_strtoul): Removed.
3211         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3212         * elf/rtld.c (process_envvars): Likewise.
3213         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3214         Likewise.
3215         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3217 2017-06-08  Zack Weinberg  <zackw@panix.com>
3219         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3220         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3221         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3222         * wctype/bits/wctype-wchar.h: New file holding declarations shared
3223         between wctype.h and wchar.h.
3225         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3226         Install them.
3228         * include/bits/types/FILE.h, include/bits/types/__FILE.h
3229         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3230         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3231         New wrappers.
3232         * include/stdio.h, include/wchar.h, include/wctype.h:
3233         No need to handle __need macros.
3235         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3236         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3237         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3238         * wcsmbs/wchar.h, wctype/wctype.h
3239         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3240         Use the new files instead of __need macros.
3242 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3244         * string/test-memrchr.c (test_main): Add tests for len == 0
3245         and tests for positions close to the beginning, which are
3246         equivalent to positions close to the end for memchr.
3248 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3250         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3251         comments.
3252         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3253         instead of wmemset.h.
3254         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3255         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3256         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3258 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3260         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3261         spec->info.is_binary128 to zero.
3262         * stdio-common/printf.h (printf_info): Add new member is_binary128
3263         to indicate that the number being converted to string is compatible
3264         with the IEC 60559 binary128 format.
3265         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3266         _Float128 numbers.
3267         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3268         ldbl-128/printf_fphex_macros.h
3269         (__printf_fphex): Add code to deal with _Float128 numbers.
3270         * stdio-common/printf_size.c (__printf_size): Likewise.
3271         * stdio-common/vfprintf.c (process_arg): Initialize member
3272         info.is_binary128 to zero.
3273         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3274         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3275         (strfromf128): New declaration.
3276         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3277         to one.
3278         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3279         * sysdeps/ieee754/float128/Versions: Likewise.
3280         * sysdeps/ieee754/float128/strfromf128.c: New file.
3282 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3284         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3285         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3286         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3287         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3288         (PRINT_FPHEX): New function-like macro that can be used for long
3289         double, as well as for _Float128
3291 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3293         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3294         (__printf_fp_l): Use the new macro to avoid duplicating code.
3295         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3296         (__printf_fphex): Use the new macro to avoid duplicating code.
3297         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3298         (__printf_size): Use the new macro to avoid duplicating code.
3300 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3302         * include/gmp.h: Include bits/floatn.h
3303         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3304         * stdlib/gmp-impl.h: Also check if alloca is not defined before
3305         including stack-alloc.h.  It could have been defined by other header
3306         which not necessarily defines HAVE_ALLOCA.
3307         * sysdeps/ieee754/float128/Makefile: New file.
3308         * sysdeps/ieee754/float128/float1282mpn.c: New file.
3309         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3310         redefining __mpn_extract_long_double to __mpn_extract_float128, then
3311         redefine __mpn_extract_long_double to __mpn_extract_float128.
3312         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3313         _Float128 to allow float128_private.h overrides.
3315 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3317         * stdlib/fpioconst.h: Include bits/floatn.h.
3318         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3319         power of ten table should be.
3320         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3321         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3322         to include larger tables when _Float128 support is enabled.
3323         (_fpioconst_pow10): Likewise.
3325 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
3327         * include/bits/types/clock_t.h: Use #include <path> instead of
3328         #include "../../path".
3329         * include/bits/types/clockid_t.h: Likewise.
3330         * include/bits/types/struct_iovec.h: Likewise.
3331         * include/bits/types/struct_itimerspec.h: Likewise.
3332         * include/bits/types/struct_osockaddr.h: Likewise.
3333         * include/bits/types/struct_sigstack.h: Likewise.
3334         * include/bits/types/struct_timespec.h: Likewise.
3335         * include/bits/types/struct_timeval.h: Likewise.
3336         * include/bits/types/struct_tm.h: Likewise.
3337         * include/bits/types/time_t.h: Likewise.
3338         * include/bits/types/timer_t.h: Likewise.
3340         [BZ #14096]
3341         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3342         America/New_York.
3344 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3346         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3347         into ...
3348         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
3349         ifunc-sse4_1.h.
3351 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3353         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3354         Remove check for NULL 'buf'.
3355         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3357 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3359         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3360         include test-skeleton.c.
3361         Include support/check.h and support/test-driver.c.
3363 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3365         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3366         (_dl_aarch64_cap_flags): New array.
3367         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3368         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3369         functions.
3371         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3372         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3373         Likewise.
3374         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3375         up hwcap and hwcap_mask.
3377         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3378         (init_cpu_features): Use glibc.tune.hwcap_mask.
3379         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3381         * elf/dl-hwcaps.h: New file.
3382         * elf/dl-hwcaps.c: Include it.
3383         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3384         glibc.tune.hwcap_mask.
3385         * elf/dl-cache.c: Include dl-hwcaps.h.
3386         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3387         glibc.tune.hwcap_mask.
3388         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3389         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3390         _dl_hwcap_mask.
3391         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3392         _dl_hwcap_mask.
3393         (process_envvars)[HAVE_TUNABLES]: Likewise.
3394         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3395         Likewise.
3396         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3397         initialize dl_hwcap_mask when tunables are enabled.
3399         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3400         guard.
3401         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3403         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3404         * scripts/gen-tunables.awk: Include dl-procinfo.h.
3405         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3407         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3408         * elf/dl-tunables.c: Likewise.
3409         (do_tunable_update_val): New function.
3410         (__tunable_set_val): New function.
3411         (__tunable_get_val): Call CB only if the tunable was externally
3412         initialized.
3413         (tunables_strtoul): Replace strval with initialized.
3414         * elf/dl-tunables.h (strval): Replace with a bool initialized.
3415         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3416         prevent collision.
3417         (__tunable_set_val): New function.
3418         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3419         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3420         (TUNABLE_SET_VAL): Remove.
3421         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3422         * README.tunables: Document the new macros.
3423         * malloc/arena.c (ptmalloc_init): Adjust.
3425 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3428         wcsnlen-sse4_1 and wcsnlen-c.
3429         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3430         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3431         __wcsnlen_sse2.
3432         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3433         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3434         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3435         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3436         * sysdeps/x86_64/wcsnlen.S: Removed.
3438 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3440         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3441         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3442         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3443         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3445 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3447         * NEWS: Mention new spinlock implementation.
3448         * include/atomic.h:
3449         (__atomic_val_bysize): Cast type to omit volatile qualifier.
3450         (atomic_exchange_acq): Likewise.
3451         (atomic_load_relaxed): Likewise.
3452         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3453         * nptl/pthread_spin_init.c (pthread_spin_init):
3454         Use atomic_store_relaxed.
3455         * nptl/pthread_spin_lock.c (pthread_spin_lock):
3456         Use C11-like atomic macros.
3457         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3458         Likewise.
3459         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3460         Use atomic_store_release.
3461         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3462         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3463         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3464         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3465         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3466         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3467         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3468         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3469         * sysdeps/alpha/atomic-machine.h: Likewise.
3470         * sysdeps/arm/atomic-machine.h: Likewise.
3471         * sysdeps/i386/atomic-machine.h: Likewise.
3472         * sysdeps/ia64/atomic-machine.h: Likewise.
3473         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3474         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3475         * sysdeps/microblaze/atomic-machine.h: Likewise.
3476         * sysdeps/mips/atomic-machine.h: Likewise.
3477         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3478         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3479         * sysdeps/s390/atomic-machine.h: Likewise.
3480         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3481         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3482         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3483         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3484         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3485         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3486         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3487         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3488         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3489         * sysdeps/x86_64/atomic-machine.h: Likewise.
3491 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3493         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3494         and use it instead of dl_x86_cpu_features.
3495         (handle_intel): Replace maxidx with cpu_features.  Pass
3496         cpu_features to intel_check_word.
3497         (__cache_sysconf): Pass cpu_features to handle_intel.
3498         (init_cacheinfo): Likewise.  Use cpu_features instead of
3499         dl_x86_cpu_features.
3501 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3503         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3504         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3505         memcmp-avx2 and wmemcmp-avx2.
3506         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3507         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3508         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3509         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3510         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3511         2 machines if AVX unaligned load is fast and vzeroupper is
3512         preferred.
3513         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3514         2 machines if AVX unaligned load is fast and vzeroupper is
3515         preferred.
3517 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3519         * include/wchar.h (__wmemset_chk): New.
3520         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3521         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3522         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3523         (WMEMSET_CHK_SYMBOL): Likewise.
3524         (WMEMSET_SYMBOL): Likewise.
3525         (__wmemset): Add hidden definition.
3526         (wmemset): Add weak hidden definition.
3527         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3528         wmemset_chk-nonshared.
3529         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3530         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3531         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3532         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3533         and __wmemset_chk_avx512_unaligned.
3534         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3535         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3536         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3537         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3538         (WMEMSET_SYMBOL): Likewise.
3539         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3540         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3541         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3542         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3543         (WMEMSET_SYMBOL): Likewise.
3544         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3545         (WMEMSET_CHK_SYMBOL): New.
3546         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3547         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3548         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3549         (libc_hidden_builtin_def): Also define __GI_wmemset and
3550         __GI___wmemset.
3551         (weak_alias): New.
3552         * sysdeps/x86_64/multiarch/wmemset.c: New file.
3553         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3554         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3555         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3556         * sysdeps/x86_64/wmemset.c: Likewise.
3557         * sysdeps/x86_64/wmemset_chk.c: Likewise.
3559 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3560             H.J. Lu  <hongjiu.lu@intel.com>
3562         * sysdeps/x86/init-arch.h (PASTER1): New.
3563         (EVALUATOR1): Likewise.
3564         (PASTER2): Likewise.
3565         (EVALUATOR2): Likewise.
3566         (REDIRECT_NAME): Likewise.
3567         (OPTIMIZE): Likewise.
3568         (IFUNC_SELECTOR): Likewise.
3570 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3572         * sysdeps/x86_64/strlen.S (PMINU): New.
3573         (PCMPEQ): Likewise.
3574         (SHIFT_RETURN): Likewise.
3575         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3576         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
3577         pminub with PCMPEQ and PMINU.
3578         * sysdeps/x86_64/wcsnlen.S: New file.
3580 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3582         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3583         the lower 32 bits.  Remove redundant instructions.
3585 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3587         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3588         0 as the high part of offset.
3589         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3591 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
3593         [BZ #21538]
3594         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3595         [__USE_UNIX98].
3596         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3597         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3598         Likewise.
3599         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3600         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3601         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3602         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3603         Likewise.
3605         [BZ #21517]
3606         * bits/types/stack_t.h (stack_t): Remove struct tag.
3607         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3608         Likewise.
3609         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3610         Likewise.
3611         * debug/segfault.c (install_handler): Use stack_t instead of
3612         struct sigaltstack.
3613         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3614         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3615         * include/signal.h (__sigaltstack): Likwise.
3616         * signal/sigaltstack.c (__sigaltstack): Likewise.
3617         * signal/signal.h (sigaltstack): Likewise.
3618         * sysdeps/mach/hurd/i386/signal-defines.sym
3619         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3620         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3621         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3622         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3623         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3624         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3625         elf_prstatus): Likewise.
3626         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3627         Likewise.
3628         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3629         Likewise.
3630         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3631         Likewise.
3632         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3633         elf_prstatus): Likewise.
3634         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3635         Likewise.
3636         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3637         Likewise.
3639 2017-06-04  Zack Weinberg  <zackw@panix.com>
3641         * sysdeps/gnu/errlist.c: Regenerate.
3643 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
3645         * benchtests/bench-memchr.c (do_test): Print out both length
3646         and position.
3647         (test_main): Also test the position close to the beginning for
3648         memrchr.
3650 2017-06-04  Zack Weinberg  <zackw@panix.com>
3652         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3653         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3654         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3655         * nis/nis_destroygroup.c, nis/nis_domain_of.c
3656         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3657         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3658         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3659         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3660         * nis/nis_print_group_entry.c, nis/nis_remove.c
3661         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3662         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3663         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3664         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3665         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3666         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3667         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3668         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3669         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3670         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3671         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3672         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3673         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3674         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3675         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3676         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3677         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3678         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3679         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3680         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3682         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3683         abi-versions.h as well as shlib-compat.h.
3684         * sunrpc/get_myaddr.c: Remove obsolete comment.
3685         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3686         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3687         * resolv/res_libc.c: Include shlib-compat.h only once.
3689 2017-06-03  Florian Weimer  <fweimer@redhat.com>
3691         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3692         of strdup.
3694 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
3696         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3697         Set to the 3/4 of the total shared cache size.
3699 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
3701         * manual/errno.texi: Remove redundant error strings.
3702         * manual/macros.texi (@errno): Render the error string in every
3703         description.
3705 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
3707         [BZ #21543]
3708         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3709         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3710         [__USE_XOPEN_EXTENDED].
3712 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3714         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3715         strdupa.
3716         (getcanonname): Use __strdup instead of strdup.
3718 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3720         * misc/Makefile (CFLAGS-preadv2.c): New rule.
3721         (CFLAGS-preadv64v2.c): Likewise.
3722         (CFLAGS-pwritev2.c): Likewise.
3723         (CFLAGS-pwritev64v2.c): Likewise.
3725 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3727         Test res_init with several configuration files.
3728         * resolv/Makefile [build-shared] (tests-internal): Add
3729         tst-resolv-res_init, tst-resolv-res_init-thread.
3730         (tst-resolv-res_init): Link against libdl, libresolv.
3731         (tst-resolv-res_init-thread): Link against libdl, libresolv,
3732         libpthread.
3733         * resolv/tst-resolv-res_init.c: New file.
3734         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3735         * resolv/tst-resolv-res_init-thread.c: Likewise.
3736         * support/Makefile (libsupport-routines): Add support-xstat,
3737         support_can_chroot, support_capture_subprocess_check,
3738         support_isolate_in_subprocess, support_shared_allocate,
3739         support_write_file_string, xchroot, xmkdir, xopen.
3740         * support/capture_subprocess.h (enum support_capture_allow): Define.
3741         (support_capture_subprocess_check): Declare.
3742         * support/namespace.h (support_can_chroot)
3743         (support_isolate_in_subprocess): Declare.
3744         * support/support-xstat.c: New file.
3745         * support/support.h (support_shared_allocate, support_shared_free)
3746         (support_write_file_string): Declare.
3747         * support/support_can_chroot.c: New file.
3748         * support/support_capture_subprocess_check.c: Likewise.
3749         * support/support_isolate_in_subprocess.c: Likewise.
3750         * support/support_shared_allocate.c: Likewise.
3751         * support/support_write_file_string.c: Likewise.
3752         * support/xchroot.c: Likwise.
3753         * support/xmkdir.c: Likwise.
3754         * support/xopen.c: Likwise.
3755         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3757 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3759         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3760         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
3762 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3764         * malloc/Makefile (routines): Add dynarray_at_failure,
3765         dynarray_emplace_enlarge, dynarray_finalize.
3766         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3767         tst-dynarray-at-fail.
3768         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3769         (tests-special): Add tst-dynarray-mem.out,
3770         tst-dynarray-mem-fail.out.
3771         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3772         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3773         mtrace.
3774         * malloc/Versions (__libc_dynarray_at_failure)
3775         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3776         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3777         GLIBC_PRIVATE.
3778         * malloc/dynarray.h: New file.
3779         * malloc/dynarray-skeleton.c: Likewise.
3780         * malloc/dynarray_at_failure.c: Likewise.
3781         * malloc/dynarray_emplace_enlarge.c: Likewise.
3782         * malloc/dynarray_finalize.c: Likewise.
3783         * malloc/dynarray_resize.c: Likewise.
3784         * malloc/dynarray_resize_clear.c: Likewise.
3785         * malloc/tst-dynarray.c: Likewise.
3786         * malloc/tst-dynarray-fail.c: Likewise.
3787         * malloc/tst-dynarray-at-fail.c: Likewise.
3788         * malloc/tst-dynarray-shared.h: Likewise.
3789         * support/Makefile (libsupport-routines): Add
3790         support_capture_subprocess, xdup2, xpipe.
3791         (tests): Add tst-support_capture_subprocess.
3792         * support/capture_subprocess.h: New file.
3793         * support/support_capture_subprocess.c: Likewise.
3794         * support/tst-support_capture_subprocess.c: Likewise.
3795         * support/xdup2.c: Likewise.
3796         * support/xpipe.c: Likewise.
3797         * support/xunistd.h (xdup2, xpipe): Declare.
3799 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3801         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3802         macros MAX and MIN.
3804 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3806         * conform/data/signal.h-data (sa_sigaction): Do not expect for
3807         [XPG4].
3808         (SA_SIGINFO): Likewise.
3809         (SA_ONSTACK): Likewise.
3810         (SA_RESETHAND): Likewise.
3811         (SA_RESTART): Likewise.
3812         (SA_NOCLDWAIT): Likewise.
3813         (SA_NODEFER): Likewise.
3814         (SS_ONSTACK): Likewise.
3815         (SS_DISABLE): Likewise.
3816         (MINSIGSTKSZ): Likewise.
3817         (SIGSTKSZ): Likewise.
3818         (ucontext_t): Likewise.
3819         (stack_t): Likewise.
3820         (struct sigstack): Likewise.
3821         (SI_USER): Do not expect for [XPG4 || XPG42].
3822         (SI_QUEUE): Likewise.
3823         (SI_TIMER): Likewise.
3824         (SI_ASYNCIO): Likewise.
3825         (SI_MESGQ): Likewise.
3826         (bsd_signal): Do not expect for [XPG4].
3827         (killpg): Likewise.
3828         (sigaltstack): Likewise.
3829         (sighold): Likewise.
3830         (sigignore): Likewise.
3831         (siginterrupt): Likewise.
3832         (sigpause): Likewise.
3833         (sigrelse): Likewise.
3834         (sigset): Likewise.
3835         (sigwait): Do not expect for [XPG4 || XPG42].
3837 2017-06-01  Zack Weinberg  <zackw@panix.com>
3839         [BZ #21514]
3840         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3841         pointing to the generated file in <builddir>/misc/bits/syscall.h.
3843 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3845         [BZ #21457]
3846         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3847         NGREG to __NGREG if [__USE_MISC].
3848         (gregset_t): Define using __NGREG.
3849         (__ctx): New macro.
3850         (mcontext_t): Use __ctx in defining fields.
3851         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3852         define NGREG to __NGREG if [__USE_MISC].
3853         (gregset_t): Define using __NGREG.
3854         (__ctx): New macro.
3855         (__ctxt): Likewise.
3856         (fpregset_t): Use __ctx and __ctxt in defining fields.
3857         (mcontext_t): Likewise.
3858         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3859         define NGREG to __NGREG if [__USE_MISC].
3860         (gregset_t): Define using __NGREG.
3861         (__ctx): New macro.
3862         (mcontext_t): Use __ctx in defining fields.
3863         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3864         define NGREG to __NGREG if [__USE_MISC].
3865         (gregset_t): Define using __NGREG.
3866         (__ctx): New macro.
3867         (fpregset_t): Use __ctx in defining fields.
3868         (mcontext_t): Likewise.
3869         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3870         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3871         (gregset_t): Define using __NGREG.
3872         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3873         [__USE_MISC].
3874         (fpregset_t): Define using __NFPREG.
3875         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3876         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3877         (gregset_t): Define using __NGREG.
3878         (__ctx): New macro.
3879         (fpregset_t): Use __ctx in defining fields.
3880         (mcontext_t): Likewise.
3881         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3882         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3883         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3884         [__USE_MISC].
3885         (gregset_t): Define using __NGREG.
3886         (__ctx): New macro.
3887         (fpregset_t): Use __ctx in defining fields.
3888         (mcontext_t): Likewise.
3889         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3890         (mcontext_t): Use __ctx in defining fields.
3891         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3892         macro.
3893         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3894         __NGREG if [__USE_MISC].
3895         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3896         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3897         (mcontext_t): Likewise.
3898         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3899         __NGREG if [__USE_MISC].
3900         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3901         to __NFPREG if [__USE_MISC].
3902         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3903         to __NVRREG if [__USE_MISC].
3904         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3905         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3906         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3907         [__WORDSIZE != 32] (vrregset_t): Likewise.
3908         [__WORDSIZE != 32] (mcontext_t): Likewise.
3909         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3910         (__psw_t): Use __ctx in defining fields.
3911         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3912         [__USE_MISC].
3913         (gregset_t): Define using __NGREG.
3914         (fpreg_t): Use __ctx in defining fields.
3915         (fpregset_t): Likewise.
3916         (mcontext_t): Likewise.
3917         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3918         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3919         (gregset_t): Define using __NGREG.
3920         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3921         [__USE_MISC].
3922         (fpregset_t): Define using __NFPREG.
3923         (__ctx): New macro.
3924         (mcontext_t): Use __ctx in defining fields.
3925         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3926         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3927         __NGREG if [__USE_MISC].
3928         [__x86_64__] (gregset_t): Define using __NGREG.
3929         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3930         [__x86_64__] (struct _libc_fpstate): Likewise.
3931         [__x86_64__] (mcontext_t): Likewise.
3932         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3933         __NGREG if [__USE_MISC].
3934         [!__x86_64__] (gregset_t): Define using __NGREG.
3935         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3936         [!__x86_64__] (struct _libc_fpstate): Likewise.
3937         [!__x86_64__] (mcontext_t): Likewise.
3939 2017-06-01  Zack Weinberg  <zackw@panix.com>
3941         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3942         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
3943         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3944         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3945         libpthread.so no longer references __errno_location.
3947 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3949         * NEWS: Add note about pwritev2 and preadv2 inclusion.
3950         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3951         pwritev64v2.
3952         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3953         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3954         pwritev64v2.
3955         * misc/preadv2.c: New file.
3956         * misc/preadv64v2.c: Likewise.
3957         * misc/pwritev2.c: Likewise.
3958         * misc/pwritev64v2.c: Likewise.
3959         * misc/tst-preadvwritev2.c: Likewise.
3960         * misc/tst-preadvwritev64v2.c: Likewise.
3961         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
3962         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
3963         prototype.
3964         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
3965         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
3966         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
3967         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
3968         (PWRITEV): Likewise.
3969         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
3970         ENOSYS.
3971         * nptl/tst-cancel4.c (tf_pwritev2): New test.
3972         (tf_preadv2): Likewise.
3973         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
3974         * sysdeps/posix/preadv2.c: Likewise.
3975         * sysdeps/posix/preadv64v2.c: Likewise.
3976         * sysdeps/posix/pwritev2.c: Likewise.
3977         * sysdeps/posix/pwritev64v2.c: Likewise.
3978         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
3979         support in kernel.
3980         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
3981         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
3982         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
3983         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
3984         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
3985         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3986         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3987         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3988         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
3989         support flags on Linux.
3990         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
3991         preadv2, preadv64v2, pwritev2, pwritev64v2.
3992         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
3993         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
3994         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
3995         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
3996         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
3997         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
3998         Likewise.
3999         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
4000         Likewise.
4001         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
4002         Likewise.
4003         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
4004         Likewise.
4005         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
4006         Likewise.
4007         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
4008         Likewise.
4009         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
4010         Likewise.
4011         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
4012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4013         (GLIBC_2.26): Likewise.
4014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4015         (GLIBC_2.26): Likewise.
4016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
4017         Likewise.
4018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4019         (GLIBC_2.26): Likewise.
4020         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
4021         Likewise.
4022         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
4023         Likewise.
4024         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
4025         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
4026         Likewise.
4027         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
4028         Likewise.
4029         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
4030         Likewise.
4031         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
4032         Likewise.
4033         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
4034         Likewise.
4035         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
4036         Likewise.
4037         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
4038         Likewise.
4040 2017-05-31  Andreas Schwab  <schwab@suse.de>
4042         * nptl/tst-fork3.c: Include <support/test-driver.c>.
4043         (main): Rename to do_test and make static.
4045 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4047         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
4048         ARCH_INIT_CPU_FEATURES.
4049         (LIBC_START_MAIN): Call it.
4050         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
4051         (__libc_start_main): Remove.
4052         (ARCH_INIT_CPU_FEATURES): New macro.
4053         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
4054         (ARCH_INIT_CPU_FEATURES): New macro.
4056 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
4057             RĂŒdiger Sonderfeld  <ruediger@c-plusplus.de>
4059         * include/stdlib.h (__libc_reallocarray): New declaration.
4060         * malloc/Makefile (routines): Add reallocarray.
4061         (tests): Add tst-reallocarray.c.
4062         * malloc/Versions: Add reallocarray and __libc_reallocarray.
4063         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
4064         function.
4065         * malloc/malloc.h (reallocarray): New declaration.
4066         * stdlib/stdlib.h (reallocarray): Likewise.
4067         * malloc/reallocarray.c: New file.
4068         * malloc/tst-reallocarray.c: New test file.
4069         * manual/memory.texi: Document reallocarray.
4070         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
4071         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4072         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4073         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4074         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4075         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4076         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4077         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4078         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4079         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4080         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4081         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4082         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4083         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4085         Likewise.
4086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4087         Likewise.
4088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4090         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4091         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4092         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4093         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4094         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4097         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
4098         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4099         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4101 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4103         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
4104         the lower 32 bits.
4106 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
4108         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
4109         $(build-pie-default) = yes]: Define.
4111 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4113         * string/test-memchr.c (test_main): Add tests for n == 0.
4115 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4117         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4118         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4119         (tests-internal): ... here.
4121 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
4122              H.J. Lu  <hongjiu.lu@intel.com>
4124         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4125         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4126         (__tunable_set_val): Likewise.
4128 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4130         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4131         dl-tunables.list in subdirectories.
4133 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4134             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4135             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4137         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4138         (SNANF128): New macro.
4139         * math/e_sqrtf128.c: New file.
4140         * math/s_fmaxmag_template.c: Include math_private.h in order to
4141         make inline expansion of fabs128().
4142         * math/s_fminmag_template.c: Likewise.
4144         * sysdeps/ieee754/float128/e_acosf128.c: New file.
4145         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4146         * sysdeps/ieee754/float128/e_asinf128.c: New file.
4147         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4148         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4149         * sysdeps/ieee754/float128/e_coshf128.c: New file.
4150         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4151         * sysdeps/ieee754/float128/e_expf128.c: New file.
4152         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4153         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4154         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4155         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4156         * sysdeps/ieee754/float128/e_j0f128.c: New file.
4157         * sysdeps/ieee754/float128/e_j1f128.c: New file.
4158         * sysdeps/ieee754/float128/e_jnf128.c: New file.
4159         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4160         * sysdeps/ieee754/float128/e_log10f128.c: New file.
4161         * sysdeps/ieee754/float128/e_log2f128.c: New file.
4162         * sysdeps/ieee754/float128/e_logf128.c: New file.
4163         * sysdeps/ieee754/float128/e_powf128.c: New file.
4164         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4165         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4166         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4167         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4168         * sysdeps/ieee754/float128/float128_private.h: New file.
4169         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4170         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4171         * sysdeps/ieee754/float128/k_cosf128.c: New file.
4172         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4173         * sysdeps/ieee754/float128/k_sinf128.c: New file.
4174         * sysdeps/ieee754/float128/k_tanf128.c: New file.
4175         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4176         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4177         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4178         * sysdeps/ieee754/float128/s_atanf128.c: New file.
4179         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4180         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4181         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4182         * sysdeps/ieee754/float128/s_cosf128.c: New file.
4183         * sysdeps/ieee754/float128/s_erff128.c: New file.
4184         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4185         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4186         * sysdeps/ieee754/float128/s_finitef128.c: New file.
4187         * sysdeps/ieee754/float128/s_floorf128.c: New file.
4188         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4189         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4190         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4191         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4192         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4193         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4194         * sysdeps/ieee754/float128/s_isinff128.c: New file.
4195         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4196         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4197         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4198         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4199         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4200         * sysdeps/ieee754/float128/s_logbf128.c: New file.
4201         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4202         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4203         * sysdeps/ieee754/float128/s_modff128.c: New file.
4204         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4205         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4206         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4207         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4208         * sysdeps/ieee754/float128/s_remquof128.c: New file.
4209         * sysdeps/ieee754/float128/s_rintf128.c: New file.
4210         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4211         * sysdeps/ieee754/float128/s_roundf128.c: New file.
4212         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4213         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4214         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4215         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4216         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4217         * sysdeps/ieee754/float128/s_significandf128.c: New file.
4218         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4219         * sysdeps/ieee754/float128/s_sinf128.c: New file.
4220         * sysdeps/ieee754/float128/s_tanf128.c: New file.
4221         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4222         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4223         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4224         * sysdeps/ieee754/float128/s_truncf128.c: New file.
4225         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4226         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4227         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4228         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4230         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4231         (__iscanonicalf128): Define as a macro.
4233 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4235         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4236         (memmove): Use MEMMOVE for name.
4237         (memcpy): Use MEMCPY for name.  Change internal labels
4238         to external labels.
4239         * sysdeps/aarch64/multiarch/Makefile: New file.
4240         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4241         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4242         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4243         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4244         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4245         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4247 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4249         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4250         (_dl_arm_cap_flags): Fix array subscript.
4251         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4252         Fix count.
4254 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4256         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4258 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4260         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4261         (is_amd): Likewise.
4262         (max_cpuid): Likewise.
4263         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4264         (init_cacheinfo): Likewise.
4266 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
4268         [BZ #21511]
4269         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4270         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4271         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4272         !__USE_XOPEN2K) || __USE_MISC].
4273         * conform/data/signal.h-data (struct sigstack): Expect type only
4274         if [!XOPEN2K8 && !POSIX2008].
4275         (sigstack): Expect function only if [XPG42 || UNIX98].
4277         [BZ #21457]
4278         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4279         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4280         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4281         <bits/types/__sigset_t.h>.
4282         (ucontext_t): Use sigset_t instead of __sigset_t.
4283         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4284         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4285         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4286         <bits/types/__sigset_t.h>.
4287         (ucontext_t): Use sigset_t instead of __sigset_t.
4288         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4289         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4290         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4291         <bits/types/__sigset_t.h>.
4292         (ucontext_t): Use sigset_t instead of __sigset_t.
4293         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4294         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4295         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4296         <bits/types/__sigset_t.h>.
4297         (ucontext_t): Use sigset_t instead of __sigset_t.
4298         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4299         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4300         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4301         <bits/types/__sigset_t.h>.
4302         (ucontext_t): Use sigset_t instead of __sigset_t.
4303         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4304         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4305         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4306         <bits/types/__sigset_t.h>.
4307         (ucontext_t): Use sigset_t instead of __sigset_t.
4308         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4309         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4310         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4311         <bits/types/__sigset_t.h>.
4312         (ucontext_t): Use sigset_t instead of __sigset_t.
4313         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4314         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4315         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4316         <bits/types/__sigset_t.h>.
4317         (ucontext_t): Use sigset_t instead of __sigset_t.
4318         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4319         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4320         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4321         <bits/types/__sigset_t.h>.
4322         (ucontext_t): Use sigset_t instead of __sigset_t.
4323         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4324         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4325         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
4326         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4327         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4328         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4329         <bits/types/__sigset_t.h>.
4330         (ucontext_t): Use sigset_t instead of __sigset_t.
4331         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4332         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4333         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4334         <bits/types/__sigset_t.h>.
4335         (ucontext_t): Use sigset_t instead of __sigset_t.
4336         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4337         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4338         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4339         <bits/types/__sigset_t.h>.
4340         (ucontext_t): Use sigset_t instead of __sigset_t.
4341         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4342         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4343         <bits/ss_flags.h>.
4344         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4345         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4346         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4347         <bits/types/__sigset_t.h>.
4348         (ucontext_t): Use sigset_t instead of __sigset_t.
4349         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4350         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4351         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4352         <bits/types/__sigset_t.h>.
4353         (ucontext_t): Use sigset_t instead of __sigset_t.
4354         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4355         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4356         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4357         <bits/types/__sigset_t.h>.
4358         (ucontext_t): Use sigset_t instead of __sigset_t.
4359         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4360         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4361         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4362         <bits/types/__sigset_t.h>.
4363         (ucontext_t): Use sigset_t instead of __sigset_t.
4364         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4365         <bits/types.h>.
4366         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4367         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4368         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4369         <bits/types/__sigset_t.h>.
4370         (ucontext_t): Use sigset_t instead of __sigset_t.
4372 2017-05-22  Zack Weinberg  <zackw@panix.com>
4374         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4375         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4376         bits/siginfo-arch.h, only if not already defined.
4377         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4378         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4379         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4380         Likewise.
4382         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4383         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4384         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4385         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4386         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4387         Unconditionally define __SI_* macros.
4389 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4391         [BZ #21393]
4392         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4393         and add a check for dup3 failure.
4394         * libio/freopen64.c (freopen64): Likewise.
4395         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4396         libsupport.
4397         (do_test_bz21398): New test.
4398         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4400 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4402         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4403         Remove invalid comment.
4405 2017-05-21  Zack Weinberg  <zackw@panix.com>
4407         * signal/Makefile (headers): Add bits/types/sigval_t.h.
4409 2017-05-20  Zack Weinberg  <zackw@panix.com>
4411         * bits/sigevent-consts.h
4412         * bits/siginfo-consts.h
4413         * bits/types/__sigset_t.h
4414         * bits/types/sigevent_t.h
4415         * bits/types/siginfo_t.h
4416         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4417         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4418         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4419         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4420         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4421         New system-dependent bits headers.
4423         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4424         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4425         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4426         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4427         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4428         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4429         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4430         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4431         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4432         New Linux-only system-dependent bits headers.
4434         * signal/bits/types/sig_atomic_t.h
4435         * signal/bits/types/sigset_t.h
4436         * signal/bits/types/sigval_t.h:
4437         New non-system-dependent bits headers.
4439         * sysdeps/generic/sigsetops.h
4440         * sysdeps/unix/sysv/linux/sigsetops.h:
4441         New internal headers.
4443         * include/bits/types/sig_atomic_t.h
4444         * include/bits/types/sigset_t.h
4445         * include/bits/types/sigval_t.h:
4446         New wrappers.
4448         * signal/sigsetops.h
4449         * bits/siginfo.h
4450         * bits/sigset.h
4451         * sysdeps/unix/sysv/linux/bits/siginfo.h
4452         * sysdeps/unix/sysv/linux/bits/sigset.h
4453         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4454         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4455         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4456         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4457         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4458         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4459         Deleted.
4461         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4462         Update lists of installed headers.
4464         * posix/bits/types.h: Define __sig_atomic_t here.
4465         * signal/signal.h: Use the new bits headers; no need to handle
4466         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
4467         to define sigmask.
4468         * include/signal.h: No need to handle __need_sig_atomic_t
4469         nor __need_sigset_t.  Don't define __sigemptyset.
4471         * io/sys/poll.h, setjmp/setjmp.h
4472         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4473         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4474         * sysdeps/mach/hurd/i386/bits/sigcontext.h
4475         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4476         * sysdeps/pthread/bits/sigthread.h
4477         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4478         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4479         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4480         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4481         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4482         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4483         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4484         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4485         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4486         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4487         Use bits/types/__sigset_t.h.
4489         * misc/sys/select.h, posix/spawn.h
4490         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4491         * sysdeps/unix/sysv/linux/sys/epoll.h
4492         * sysdeps/unix/sysv/linux/sys/signalfd.h:
4493         Use bits/types/sigset_t.h.
4495         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4496         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4497         * socket/sys/socket.h: Don't include bits/sigset.h.
4499         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4500         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4501         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4502         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4503         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4504         * sysdeps/unix/sysv/linux/nptl-signals.h:
4505         Include sigsetops.h.
4507         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4508         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4509         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4510         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4511         now return no value.
4513         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4514         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4515         "sigsetops.h".
4517         * signal/sigsetops.c: Explicitly define __sigismember,
4518         __sigaddset, and __sigdelset as compatibility symbols.
4520         * signal/Versions: Correct commentary on __sigpause,
4521         __sigaddset, __sigdelset, __sigismember.
4523         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
4524         __sigblock/__sigsetmask to use __sigprocmask and friends.
4526         * resolv/resolv.h: Remove __need_res_state logic.
4527         Move definition of res_state and related constants to ...
4528         * resolv/bits/types/res_state.h: ...this new file.
4529         * resolv/Makefile: Install bits/types/res_state.h.
4530         * include/bits/types/res_state.h: New wrapper.
4531         * include/list.h: Remove __need_list_t logic.
4532         Move definition of list_t to ...
4533         * include/list_t.h: ...this new file.
4535         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4536         instead of list.h and resolv.h.
4538         * resolv/resolv.h: Remove __need_res_state logic.
4539         Move definition of res_state and related constants to ...
4540         * resolv/bits/types/res_state.h: ...this new file.
4541         * resolv/Makefile: Install bits/types/res_state.h.
4542         * include/bits/types/res_state.h: New wrapper.
4543         * include/list.h: Remove __need_list_t logic.
4544         Move definition of list_t to ...
4545         * include/list_t.h: ...this new file.
4547         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4548         instead of list.h and resolv.h.
4550 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4552         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4554 2017-05-20  Zack Weinberg  <zackw@panix.com>
4556         * sysdeps/arm/sysdep.h
4557         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4559         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4560         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4561         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4562         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4563         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4564         * sysdeps/arm/armv6t2/strlen.S
4565         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4566         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4567         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4568         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4569         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4570         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4572 2017-05-20  Zack Weinberg  <zackw@panix.com>
4574         Remove the NaCl port.
4575         * sysdeps/arm/nacl: Remove directory and contents.
4576         * sysdeps/nacl: Remove directory and contents.
4577         * abi-tags: Remove .*-.*-nacl.* entry.
4579 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
4581         * manual/errno.texi: Convert @comment-based errno documentation to
4582         @errno.
4583         * manual/macros.texi (@errno): New macro.  Consolidate errors,
4584         their values, and messages, adding the error string to the Concept
4585         Index.  Provide a warning in the comment about external (to the
4586         manual) dependencies.
4587         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4588         * sysdeps/mach/hurd/errnos.awk: Likewise.
4590 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4592         * bits/ss_flags.h: New file.
4593         * bits/types/stack_t.h: Likewise.
4594         * include/bits/types/struct_sigstack.h: Likewise.
4595         * signal/bits/types/struct_sigstack.h: Likewise.
4596         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4597         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4598         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4599         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4600         bits/types/stack_t.h and bits/ss_flags.h.
4601         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4602         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4603         <bits/ss_flags.h>.
4604         * bits/sigstack.h (struct sigstack): Remove.
4605         (stack_t): Likewise.
4606         (SS_ONSTACK): Likewise.
4607         (SS_DISABLE): Likewise.
4608         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4609         (struct sigstack): Likewise.
4610         (stack_t): Likewise.
4611         (SS_ONSTACK): Likewise.
4612         (SS_DISABLE): Likewise.
4613         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4614         Likewise.
4615         (stack_t): Likewise.
4616         (SS_ONSTACK): Likewise.
4617         (SS_DISABLE): Likewise.
4618         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4619         Likewise.
4620         (stack_t): Likewise.
4621         (SS_ONSTACK): Likewise.
4622         (SS_DISABLE): Likewise.
4623         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4624         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4625         Likewise.
4626         (stack_t): Likewise.
4627         (SS_ONSTACK): Likewise.
4628         (SS_DISABLE): Likewise.
4629         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4630         (struct sigstack): Likewise.
4631         (stack_t): Likewise.
4632         (SS_ONSTACK): Likewise.
4633         (SS_DISABLE): Likewise.
4634         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4635         Likewise.
4636         (stack_t): Likewise.
4637         (SS_ONSTACK): Likewise.
4638         (SS_DISABLE): Likewise.
4639         * sysdeps/arm/sys/ucontext.h: Include
4640         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4641         <bits/ss_flags.h>.
4642         * sysdeps/generic/sys/ucontext.h: Likewise.
4643         * sysdeps/i386/sys/ucontext.h: Likewise.
4644         * sysdeps/m68k/sys/ucontext.h: Likewise.
4645         * sysdeps/mips/sys/ucontext.h: Likewise.
4646         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4647         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4648         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4649         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4650         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4651         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4652         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4653         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4654         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4655         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4656         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4657         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4658         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4659         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4660         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4662 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4664         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4665         "edx + ecx - 16" to avoid possible addition overflow.
4666         * sysdeps/x86_64/memchr.S (memchr): Likewise.
4668 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4670         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4671         (CFLAGS-splice.c): Likewise.
4672         (CFLAGS-open_by_handle_at.c): Likewise.
4673         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4674         (CFLAGS-splice.c): Likewise.
4675         (CFLAGS-open_by_handle_at.c): Likewise.
4677 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4679         * scripts/versions.awk: Generate ldbl-compat-choose.h.
4680         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4681         <ldbl-compat-choose.h>.
4682         (maybe_long_double_symbol): New macro.
4683         [!declare_mgen_alias] (declare_mgen_alias): Use
4684         maybe_long_double_symbol.
4685         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4686         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4687         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4688         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4689         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4690         * Makerules [$(build-shared) = yes && !avoid-generated]
4691         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4692         [$(build-shared) = yes && !avoid-generated]
4693         ($(common-objpfx)ldbl-compat-choose.h): New target.
4695         * scripts/versions.awk: Generate first-versions.h.
4696         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4697         <first-versions.h>.
4698         (LDOUBLE_cabsl_libm_version): Remove macro.
4699         (LDOUBLE_cargl_libm_version): Likewise.
4700         (LDOUBLE_cimagl_libm_version): Likewise.
4701         (LDOUBLE_conjl_libm_version): Likewise.
4702         (LDOUBLE_creall_libm_version): Likewise.
4703         (LDOUBLE_cacosl_libm_version): Likewise.
4704         (LDOUBLE_cacoshl_libm_version): Likewise.
4705         (LDOUBLE_ccosl_libm_version): Likewise.
4706         (LDOUBLE_ccoshl_libm_version): Likewise.
4707         (LDOUBLE_casinl_libm_version): Likewise.
4708         (LDOUBLE_csinl_libm_version): Likewise.
4709         (LDOUBLE_casinhl_libm_version): Likewise.
4710         (LDOUBLE_csinhl_libm_version): Likewise.
4711         (LDOUBLE_catanl_libm_version): Likewise.
4712         (LDOUBLE_catanhl_libm_version): Likewise.
4713         (LDOUBLE_ctanl_libm_version): Likewise.
4714         (LDOUBLE_ctanhl_libm_version): Likewise.
4715         (LDOUBLE_cexpl_libm_version): Likewise.
4716         (LDOUBLE_clogl_libm_version): Likewise.
4717         (LDOUBLE_cprojl_libm_version): Likewise.
4718         (LDOUBLE_csqrtl_libm_version): Likewise.
4719         (LDOUBLE_cpowl_libm_version): Likewise.
4720         (LDOUBLE_clog10l_libm_version): Likewise.
4721         (LDOUBLE___clog10l_libm_version): Likewise.
4722         (LDOUBLE_fdiml_libm_version): Likewise.
4723         (LDOUBLE_fmaxl_libm_version): Likewise.
4724         (LDOUBLE_fminl_libm_version): Likewise.
4725         (LDOUBLE_ilogbl_libm_version): Likewise.
4726         (LDOUBLE_nanl_libm_version): Likewise.
4727         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4728         FIRST_VERSION_libm_* macros.
4729         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4730         * Makerules [$(build-shared) = yes && !avoid-generated]
4731         (before-compile): Add $(common-objpfx)first-versions.h.
4732         [$(build-shared) = yes && !avoid-generated]
4733         ($(common-objpfx)first-versions.h): New target.
4734         ($(common-objpfx)sysd-versions): Depend on and change to rule for
4735         building $(common-objpfx)versions.stmp.
4737 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4739         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4740         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4741         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4742         auto-generation list.
4744         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4745         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4746         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4747         from auto-generation list.
4749         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4750         open_by_handle_at.
4751         (CFLAGS-open_by_handle_at.c): New flag.
4752         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4753         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4754         file.
4755         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4757         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4758         (CFLAGS-splice.c): New flag.
4759         * sysdeps/unix/sysv/linux/splice.c: New file.
4760         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4761         auto-generation syscall list.
4762         * misc/Makefile (CFLAGS-splice.c): New rule.
4764         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4765         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4766         auto-generation syscall list.
4767         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4768         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4770         * misc/Makefile (CFLAGS-fsync.c): New flag.
4771         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4772         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4773         syscall list.
4774         * sysdeps/unix/sysv/linux/fsync.c: New file.
4775         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4776         (__errno_location): Remove.
4778         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4779         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4780         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4781         list.
4782         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4784         * misc/Makefile (CFLAGS-msync.c): New rule.
4785         * nptl/Makefile (CFLAGS-msync.c): Likewise.
4786         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4787         * sysdeps/unix/sysv/linux/msync.c: New file.
4789         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4790         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4791         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4792         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4793         (CFLAGS-sigsuspend.c): Remove rule.
4795         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4796         (CFLAGS-tee.c): New rule.
4797         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4798         auto-generated list.
4799         * sysdeps/unix/sysv/linux/tee.c: New file.
4801         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4802         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4803         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4804         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4805         auto-generated list.
4807         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4808         auto-generated list.
4809         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4810         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4811         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4812         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4813         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4815         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4816         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4817         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4818         (__NR_pause): Undefine.
4819         * sysdeps/unix/sysv/linux/pause.c: New file.
4820         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4821         auto-generation list.
4822         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4823         Remove rule.
4824         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4826 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4828         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4829         comments.
4831 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4833         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4834         LD_HWCAP_MASK.
4836 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4838         * manual/conf.texi: Convert @tables of annotated @items to
4839         @vtables.
4840         * manual/lang.texi: Likewise.
4841         * manual/pattern.texi: Likewise.
4842         * manual/resource.texi: Likewise.
4843         * manual/socket.texi: Likewise.
4845 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4847         * manual/crypt.texi: Move a comment out of an @*x list.
4848         * manual/filesys.texi: Refactor some comments, one of which looks
4849         like a standard.  Fix incorrectly separated standards.
4850         * manual/locale.texi: Invert an annotation.
4851         * manual/resource.texi: Fix incorrectly separated standards.
4852         * manual/time.texi: Refactor a @vtable that obscures an
4853         annotation.
4854         * manual/users.texi: Refactor multiple headers to occupy a single
4855         @comment.
4857 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4859         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4860         (sysdep_routines): Add memcmp-power8.
4861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4862         (memcmp): Add __memcmp_power8 to list of memcmp functions.
4863         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4864         (memcmp): Add __memcmp_power8 to ifunc list.
4865         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4866         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4868 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4869             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4871         * math/math.h (__MATH_TG): Extend the conditions to add
4872         _Float128 support.
4873         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4875 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
4877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4878         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4879         s_cosf-ppc64.
4880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4883         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4885 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4887         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4888         (gen-libm-calls): Add e_exp2F to use the template.
4889         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4890         * math/e_exp2_template.c: New file, renamed from
4891         math/e_exp2l.c, and made into a template.
4892         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4894 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4896         * elf/dl-tunable-types.h (tunable_type_code_t): New type
4897         TUNABLE_TYPE_UINT_64.
4898         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4899         Simplify computation of overflow.
4900         (tunable_set_val_if_valid_range_signed,
4901         tunable_set_val_if_valid_range_unsigned): Remove and replace
4902         with this...
4903         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4904         (tunable_initialize): Adjust.  Add uint64_t support.
4905         (__tunable_set_val): Add uint64_t support.
4906         * README.tunables: Document it.
4908         * scripts/gen-tunables.awk: Recognize 'default' keyword in
4909         dl-tunables.list.
4910         * README.tunables: Document it.
4912 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4914         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4915         * sysdeps/posix/preadv64.c: Likewise.
4916         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4917         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4918         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4919         * sysdeps/posix/pwritev64.c: Likewise.
4920         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4921         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4922         * sysdeps/posix/preadv_common.c: New file.
4923         * sysdeps/posix/pwritev_common.c: Likewise.
4925 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4927         * sysdeps/generic/math-type-macros-float128.h
4928         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4929         wrapper templates.
4931 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4932             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4934         * include/complex.h (__kernel_casinhf128): New declaration.
4935         * include/float.h: New file.
4936         * include/math.h (__finitef128): Add a hidden def.
4937         (__isinff128): Likewise.
4938         (__isnanf128): Likewise.
4939         (__fpclassify): Likewise.
4940         (__issignalling): Likewise.
4941         (__expf128): Likewise.
4942         (__expm1f128): Likewise.
4944         * sysdeps/generic/fix-fp-int-convert-overflow.h:
4945         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4946         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4948         * sysdeps/generic/math-type-macros-float128.h: New file.
4950         * sysdeps/generic/math_private.h: Include bits/floatn.h and
4951         math_private_calls.h for _Float128.
4952         (__isinff128): New inline implementation used when GCC < 7.0,
4953         since in this case __builtin_isinf_sign is broken.
4954         (fabsf128): New inline implementation that calls the builtin.
4955         (__EXPR_FLT128): New macro.
4956         (min_of_type): Optionally include _Float128 types too.
4958         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
4959         Declare for _Float128.
4960         (__kernel_rem_pio2): Likewise.
4962         * sysdeps/ieee754/ldbl-opt/s_sin.c:
4963         (__DECL_SIMD_sincos_disablef128): New macro.
4965 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4967         * math/math.h: Include bits/math-finite.h for float128.
4968         (__MATH_DECLARING_FLOATN): Define to control declaration of
4969         float128 functions.
4970         * math/bits/math-finite.h (pow10): Do not declare for float128.
4971         (gamma): Likewise.
4972         (scalb): Likewise.
4974 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4975             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4977         * bits/floatn.h: New file.
4978         * bits/huge_val_flt128.h: Likewise.
4980         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
4981         (__DECL_SIMD_sinf128): Likewise.
4982         (__DECL_SIMD_sincosf128): Likewise.
4983         (__DECL_SIMD_logf128): Likewise.
4984         (__DECL_SIMD_expf128): Likewise.
4985         (__DECL_SIMD_powf128): Likewise.
4987         * math/Makefile (headers): Install bits/floatn.h and
4988         bits/huge_val_flt128.h.
4990         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
4991         defined.
4993         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
4994         (isnan, gamma, nexttoward, scalb): Only define if not
4995         __MATH_DECLARING_FLOATN.
4996         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
4997         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
4998         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
4999         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
5001         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
5002         Include bits/cmathcalls.h to get the declarations of _Float128
5003         versions of complex functions.
5004         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
5005         Define macro.
5007         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
5008         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
5009         get the declarations of _Float128 versions of math functions.
5010         (__MATH_DECLARING_FLOATN): New macro to control declaration of
5011         _FloatN types.
5012         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
5013         is type-generic, so use it without __MATH_TG.
5014         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
5015         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
5016         _Float128 type and GCC < 7.0, otherwise use the builtin.
5017         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
5018         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
5019         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
5020         New _GNU_SOURCE enabled macros.
5022 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
5024         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
5025         (signbitf): Likewise.
5026         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
5027         Likewise.
5028         (signbitl): Likewise.
5029         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
5030         Likewise.
5031         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
5032         (signbitl): Likewise.
5033         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
5035 2017-05-12  Florian Weimer  <fweimer@redhat.com>
5037         [BZ #21386]
5038         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
5039         parent PID.  The assertion in the child is incorrect with PID
5040         namespaces.
5042 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
5044         * sysdeps/unix/sysv/linux/kernel-features.h
5045         (__ASSUME_STATFS_F_FLAGS): Remove macro.
5046         * sysdeps/unix/sysv/linux/internal_statvfs.c
5047         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
5049 2017-05-11  Zack Weinberg  <zackw@panix.com>
5051         * Makerules: New subdir configuration variables 'tests-internal'
5052         and 'test-internal-extras'.  Test files in these categories will
5053         still be compiled with MODULE_NAME=nonlib.  Test files in the
5054         existing categories (tests, xtests, test-srcs, test-extras) are
5055         now compiled with MODULE_NAME=testsuite.
5056         New subdir configuration variable 'modules-names-tests'.  Files
5057         which are in both 'modules-names' and 'modules-names-tests' will
5058         be compiled with MODULE_NAME=testsuite instead of
5059         MODULE_NAME=extramodules.
5060         (gen-as-const-headers): Move to tests-internal.
5061         (do-tests-clean, common-mostlyclean): Support tests-internal.
5062         * Makeconfig (built-modules): Add testsuite.
5063         * Makefile: Change libof-check-installed-headers-c and
5064         libof-check-installed-headers-cxx to 'testsuite'.
5065         * Rules: Likewise.  Support tests-internal.
5066         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
5067         Remove extra-modules.mk.
5069         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
5070         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
5071         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
5072         very top of the file and rationalize their order.
5073         If MODULE_NAME is not defined at all, define IS_IN to always be
5074         false, and don't define _ISOMAC.
5075         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
5076         true, define _ISOMAC and suppress everything else in this file,
5077         starting with the inclusion of config.h.
5078         Do check for inappropriate definitions of __OPTIMIZE__ and
5079         __FAST_MATH__ here, but only if _ISOMAC is not defined.
5080         Correct some out-of-date commentary.
5082         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
5083         and _Mlong_double_ before including math.h.
5084         * include/string.h: If _ISOMAC is defined, don't expose
5085         _STRING_ARCH_unaligned. Move a comment to a more appropriate
5086         location.
5088         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
5089         * include/time.h, include/unistd.h, include/wchar.h: No need to
5090         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
5092         * misc/sys/cdefs.h (__NTHNL): New macro.
5093         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
5094         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
5096         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
5097         defined, for HAVE_TUNABLES.
5098         * inet/tst-checks-posix.c: No need to define _ISOMAC.
5099         * intl/tst-gettext2.c: Provide own definition of N_.
5100         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
5101         * math/test-signgam-main.c: No need to define _ISOMAC.
5102         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
5103         * stdlib/tst-strtod1i.c: ...this new file.
5104         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
5105         Split tests of __strtod_internal to...
5106         * stdlib/tst-strtod5i.c: ...this new file.
5107         * string/test-string.h: Include stdint.h. Duplicate definition of
5108         inhibit_loop_to_libcall here (from libc-symbols.h).
5109         * string/test-strstr.c: Provide dummy definition of
5110         libc_hidden_builtin_def when including strstr.c.
5111         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
5112         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
5113         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5114         Don't include init-arch.h.
5115         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5116         Don't include init-arch.h.
5118         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5119         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5120         unload, unload2, circleload1, neededtest, neededtest2,
5121         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5122         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5123         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5124         ifunc tests to tests-internal.
5125         Don't add $(modules-names) to test-extras.
5126         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5127         Add tst-deadline to tests-static-internal.
5128         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5129         tests-internal.
5130         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5131         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5132         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5133         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5134         tst-sem12-static, and tst-stackguard1-static to tests-internal.
5135         Link tests-internal with libpthread also.
5136         Don't add $(modules-names) to test-extras.
5137         * nss/Makefile: Move tst-field to tests-internal.
5138         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5139         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5140         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5141         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5142         tests-internal.
5143         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5144         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5145         test-get_hwcap-static to tests-internal.
5146         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5147         tests-internal.
5148         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5149         modules-names-tests.
5151 2017-05-11  Zack Weinberg  <zackw@panix.com>
5153         * libio/libio.h: Condition dummy definition of _IO_lock_t on
5154         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5155         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5156         _IO_funlockfile, and _IO_ftrylockfile.  Only define
5157         _IO_cleanup_region_start and _IO_cleanup_region_end if not
5158         already defined.
5159         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5160         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5161         appropriately.
5162         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5163         Define _IO_lock_t_defined after defining _IO_lock_t.
5165 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5167         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5168         void* for argument type and use VDSO_SYMBOL macro.
5169         (is_sigtramp_address_rt): Likewise.
5170         (__backtrace): Setup expected frame pointer address for signal
5171         handling.
5172         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5173         void* for argumetn type and use VSDO_SYMBOL macro.
5174         (__backtrace): Setup expected frame pointer address for signal
5175         handling.
5177         * sysdeps/unix/sysv/linux/writev.c: New file.
5179         * sysdeps/unix/sysv/linux/readv.c: New file.
5181         * include/unistd.h (write): Add hidden proto.
5182         * io/Makefile (CFLAGS-write.c): New define.
5183         * nptl/Makefile (CFLAGS-write.c): Likewise.
5184         * sysdeps/unix/sysv/linux/write.c: New file.
5186         [BZ #21428]
5187         * include/unistd.h (read): Add hidden proto.
5188         * io/Makefile (CFLAGS-read.c): New define.
5189         * nptl/Makefile (CFLAGS-read.c): Likewise.
5190         * sysdeps/unix/sysv/linux/read.c: New file.
5192         * io/Makefile (CFLAGS-creat.c): New rule.
5193         (CFLAGS-creat64.c): Likewise.
5194         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5195         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5196         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5197         * sysdeps/unix/sysv/linux/creat.c: New file.
5198         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5199         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5200         auto-generated list.
5201         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5203         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5204         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5205         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5206         * sysdeps/unix/sysv/linux/open.c: New file.
5207         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5208         iff __WORDSIZE != 64 and use __NR_openat when available.
5209         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5210         from auto-generated list.
5212         * nptl/Makefile (CFLAGS-close.c): New flag.
5213         * sysdeps/unix/sysv/linux/close.c: New file.
5215 2017-05-11  DJ Delorie  <dj@redhat.com>
5217         * MAINTAINERS: New.  Points to wiki.
5219 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5221         * scripts/gen-tunables.awk: Add attribute_relro to
5222         tunable_list.
5224 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
5226         [BZ #21457]
5227         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5228         (R1): Likewise.
5229         (R2): Likewise.
5230         (R3): Likewise.
5231         (R4): Likewise.
5232         (R5): Likewise.
5233         (R6): Likewise.
5234         (R7): Likewise.
5235         (R8): Likewise.
5236         (R9): Likewise.
5237         (R10): Likewise.
5238         (R11): Likewise.
5239         (R12): Likewise.
5240         (R13): Likewise.
5241         (R14): Likewise.
5242         (R15): Likewise.
5243         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5244         (REG_FS): Likewise.
5245         (REG_ES): Likewise.
5246         (REG_DS): Likewise.
5247         (REG_EDI): Likewise.
5248         (REG_ESI): Likewise.
5249         (REG_EBP): Likewise.
5250         (REG_ESP): Likewise.
5251         (REG_EBX): Likewise.
5252         (REG_EDX): Likewise.
5253         (REG_ECX): Likewise.
5254         (REG_EAX): Likewise.
5255         (REG_TRAPNO): Likewise.
5256         (REG_ERR): Likewise.
5257         (REG_EIP): Likewise.
5258         (REG_CS): Likewise.
5259         (REG_EFL): Likewise.
5260         (REG_UESP): Likewise.
5261         (REG_SS): Likewise.
5262         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5263         (R_D1): Likewise.
5264         (R_D2): Likewise.
5265         (R_D3): Likewise.
5266         (R_D4): Likewise.
5267         (R_D5): Likewise.
5268         (R_D6): Likewise.
5269         (R_D7): Likewise.
5270         (R_A0): Likewise.
5271         (R_A1): Likewise.
5272         (R_A2): Likewise.
5273         (R_A3): Likewise.
5274         (R_A4): Likewise.
5275         (R_A5): Likewise.
5276         (R_A6): Likewise.
5277         (R_A7): Likewise.
5278         (R_SP): Likewise.
5279         (R_PC): Likewise.
5280         (R_PS): Likewise.
5281         (fpregset_t): Likewise.
5282         (MCONTEXT_VERSION): Likewise.
5283         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5284         (CTX_AT): Likewise.
5285         (CTX_V0): Likewise.
5286         (CTX_V1): Likewise.
5287         (CTX_A0): Likewise.
5288         (CTX_A1): Likewise.
5289         (CTX_A2): Likewise.
5290         (CTX_A3): Likewise.
5291         (CTX_T0): Likewise.
5292         (CTX_T1): Likewise.
5293         (CTX_T2): Likewise.
5294         (CTX_T3): Likewise.
5295         (CTX_T4): Likewise.
5296         (CTX_T5): Likewise.
5297         (CTX_T6): Likewise.
5298         (CTX_T7): Likewise.
5299         (CTX_S0): Likewise.
5300         (CTX_S1): Likewise.
5301         (CTX_S2): Likewise.
5302         (CTX_S3): Likewise.
5303         (CTX_S4): Likewise.
5304         (CTX_S5): Likewise.
5305         (CTX_S6): Likewise.
5306         (CTX_S7): Likewise.
5307         (CTX_T8): Likewise.
5308         (CTX_T9): Likewise.
5309         (CTX_K0): Likewise.
5310         (CTX_K1): Likewise.
5311         (CTX_GP): Likewise.
5312         (CTX_SP): Likewise.
5313         (CTX_S8): Likewise.
5314         (CTX_RA): Likewise.
5315         (CTX_MDLO): Likewise.
5316         (CTX_MDHI): Likewise.
5317         (CTX_CAUSE): Likewise.
5318         (CTX_EPC): Likewise.
5319         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5320         inclusion of <sys/procfs.h> on [__USE_MISC].
5321         (greg_t): Condition on [__USE_MISC].
5322         (gregset_t): Likewise.
5323         (fpregset_t): Likewise.
5324         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5325         (NGREG): Likewise.
5326         (gregset_t): Likewise.
5327         (REG_R0): Likewise.
5328         (REG_R1): Likewise.
5329         (REG_R2): Likewise.
5330         (REG_R3): Likewise.
5331         (REG_R4): Likewise.
5332         (REG_R5): Likewise.
5333         (REG_R6): Likewise.
5334         (REG_R7): Likewise.
5335         (REG_R8): Likewise.
5336         (REG_R9): Likewise.
5337         (REG_R10): Likewise.
5338         (REG_R11): Likewise.
5339         (REG_R12): Likewise.
5340         (REG_R13): Likewise.
5341         (REG_R14): Likewise.
5342         (REG_R15): Likewise.
5343         (struct _libc_fpstate): Likewise.
5344         (fpregset_t): Likewise.
5345         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5346         (NFPREG): Likewise.
5347         (gregset_t): Likewise.
5348         (fpregset_t): Likewise.
5349         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5350         (R_D1): Likewise.
5351         (R_D2): Likewise.
5352         (R_D3): Likewise.
5353         (R_D4): Likewise.
5354         (R_D5): Likewise.
5355         (R_D6): Likewise.
5356         (R_D7): Likewise.
5357         (R_A0): Likewise.
5358         (R_A1): Likewise.
5359         (R_A2): Likewise.
5360         (R_A3): Likewise.
5361         (R_A4): Likewise.
5362         (R_A5): Likewise.
5363         (R_A6): Likewise.
5364         (R_A7): Likewise.
5365         (R_SP): Likewise.
5366         (R_PC): Likewise.
5367         (R_PS): Likewise.
5368         (fpregset_t): Likewise.
5369         (MCONTEXT_VERSION): Likewise.
5370         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5371         Likewise.
5372         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5373         (REG_R1): Likewise.
5374         (REG_R2): Likewise.
5375         (REG_R3): Likewise.
5376         (REG_R4): Likewise.
5377         (REG_R5): Likewise.
5378         (REG_R6): Likewise.
5379         (REG_R7): Likewise.
5380         (REG_R8): Likewise.
5381         (REG_R9): Likewise.
5382         (REG_R10): Likewise.
5383         (REG_R11): Likewise.
5384         (REG_R12): Likewise.
5385         (REG_R13): Likewise.
5386         (REG_R14): Likewise.
5387         (REG_R15): Likewise.
5388         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5389         of <arch/abi.h> on [__USE_MISC].
5390         (greg_t): Condition on [__USE_MISC].
5391         (NGREG): Likewise.
5392         (gregset_t): Likewise.
5394 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5396         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5397         (__pthread_rwlock_arch_t): Remove __data definition.
5398         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5399         (__pthread_rwlock_arch_t): Likewise.
5401 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5403         * resolv/inet_pton.c: Reformat in GNU style.  Remove
5404         internal_function on static functions.
5406 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5408         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5409         from format_ai_flags.
5410         (format_ai_flags): New function.  Incorporate flag formatting code
5411         from format_ai_one.
5412         (format_ai_canonname): New function.
5413         (format_ai_one): Remove flags parameter.
5414         (format_ai_family): Likewise.
5415         (support_format_addrinfo): Call format_ai_flags,
5416         format_ai_canonname.
5417         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5418         check_ai.
5419         (check_ai): Call check_ai_hints.
5420         (do_test): Add AI_CANONNAME tests.
5422 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5424         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5425         (gaih_inet): Likewise.
5427 2017-05-10  Andreas Schwab  <schwab@suse.de>
5429         * nptl/tst-fork1.c: Include <support/test-driver.c>.
5430         (main): Rename to do_test and make static.
5432 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
5434         * string/rawmemchr.c: Include <libc-diag.h>.
5435         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5436         with size (size_t)-1.
5438 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5440         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5441         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5442         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5444         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5445         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5446         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5447         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5448         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5449         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5450         * sysdeps/unix/sysv/linux/kernel-features.h
5451         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5452         socket syscalls.
5453         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5454         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5455         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5456         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5457         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5458         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5459         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5460         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5461         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5462         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5463         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5464         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5465         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5466         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5467         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5469 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5471         * posix/Makefile (headers): Add pthreadtypes-arch.h and
5472         thread-shared-types.h.
5473         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5474         specific thread definition.
5475         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5476         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5477         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5478         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5479         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5480         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5481         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5482         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5483         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5484         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5485         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5486         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5487         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5488         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5489         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5490         thread definition between POSIX and C11.
5491         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5492         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5493         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5494         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5495         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5496         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5497         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5498         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5499         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5500         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5501         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5502         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5503         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5504         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5505         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5506         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5507         definitions shared across all architectures.
5509 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5511         * sysdeps/unix/sysv/linux/kernel-features.h
5512         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5513         (__ASSUME_SENDMMSG): Likewise.
5514         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5515         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5516         sendmmsg syscall if that can be assumed to be present, socketcall
5517         otherwise, with no fallback for runtime failure.
5519         * sysdeps/unix/sysv/linux/kernel-features.h
5520         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5521         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5522         (__ASSUME_RECVMMSG): Likewise.
5523         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5524         recvmmsg syscall if it can be assumed to be present, socketcall
5525         otherwise, with no fallback for runtime failure.
5527 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5528             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5530         * bits/libc-header-start.h:
5531         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5532         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5533         * manual/creature.texi: Likewise.
5535 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5536             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5538         * math/Makefile:
5539         (type-float128-suffix): New variable
5540         (type-float128-routines): Likewise
5541         (type-float128-yes): Likewise
5542         (types): Append float128 if supported
5543         (types-basic): New variable to control the use of templates for
5544         float, double, and long double, but not for float128 or newer types.
5545         (type-basic-foreach): Likewise.
5547         * sysdeps/ieee754/float128/Makeconfig: New file.
5548         * sysdeps/ieee754/float128/Versions: New file.
5550 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5552         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5553         Remove macro.
5554         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5555         prlimit64 is always available and does not give an ENOSYS error.
5556         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5557         unconditional.
5558         [!__NR_prlimit64]: Remove conditional code.
5559         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5560         prlimit64 is always available and does not give an ENOSYS error.
5561         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5563 2017-05-09  Zack Weinberg  <zackw@panix.com>
5565         * sunrpc/tst-xdrmem2.c: Include stdint.h.
5567 2017-05-09  Florian Weimer  <fweimer@redhat.com>
5569         [BZ #21474]
5570         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5571         (__res_maybe_init): Likewise.
5573 2017-05-09  Zack Weinberg  <zackw@panix.com>
5575         * extra-modules.mk: Delete file.
5576         * cppflags-iterator.mk: Rename to ...
5577         * libof-iterator.mk: ...this.  Adjust comments.
5579         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5580         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5581         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5582         Use libof-iterator.mk instead of cppflags-iterator.mk or
5583         extra-modules.mk.
5585         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5586         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5588 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5590         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5592 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
5594         * stdio-common/vfprintf.c (EXTSIZ): Define.
5595         (vfprintf): Use EXTSIZ.
5596         (printf_positional): Likewise.
5598 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5600         * sysdeps/unix/sysv/linux/kernel-features.h
5601         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5602         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5603         <kernel-features.h>.
5604         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5606         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5607         (__ASSUME_GETCPU_SYSCALL): Remove macro.
5609 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5611         Prevent multiple deletion of temporary files.
5612         * support/temp_file.c (struct temp_name_list): Add owner member.
5613         (add_temp_file): Record owner.
5614         (support_delete_temp_files): Delete file only if owner matches.
5615         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5616         (do_prepare): Use create_temp_file instead of add_temp_file.
5617         Initialize temp_fd1, temp_fd2.
5618         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
5619         framework remove the temporary files.
5620         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5621         (do_prepare): Use create_temp_file instead of add_temp_file.
5622         Initialize temp_fd1, temp_fd2, temp_fd3.
5623         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
5624         the test framework remove the temporary files.
5625         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5626         deletion.
5627         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5628         temporary directory.  It is removed by the test framework.
5629         * dirent/tst-scandir.c (do_test): Likewise.
5631 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5633         Delete temporary files in LIFO order.
5634         * support/temp_file.c (struct temp_name_list): Replace q member
5635         with next.
5636         (add_temp_file): Add new file to front of linked list.
5637         (support_delete_temp_files): Use next member.
5638         (support_print_temp_files): Likewise.
5640 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5643         sys/ultrasound.h.
5644         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5646 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5648         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5649         Remove.
5650         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5651         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5652         (arch_minimum_kernel): Remove.
5653         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5654         * README: Update statement about Linux kernel requirements.
5656 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5658         * manual/llio.texi: Add preadv and pwritev documentation.
5660 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5662         [BZ #21455]
5663         * bits/stdint-intn.h: New file.
5664         * bits/stdint-uintn.h: Likewise.
5665         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5666         bits/stdint-uintn.h.
5667         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5668         <stdint.h>.
5669         * posix/sys/types.h: Include <bits/stdint-intn.h>.
5670         (__int8_t_defined): Do not define here.
5671         (int8_t): Likewise.
5672         (int16_t): Likewise.
5673         (int32_t): Likewise.
5674         (int64_t): Likewise.
5675         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5676         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5677         <stdint.h>.
5678         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5679         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5680         <bits/stdint-uintn.h>.
5681         (int8_t): Do not define here.
5682         (int16_t): Likewise.
5683         (int32_t): Likewise.
5684         (int64_t): Likewise.
5685         (uint8_t): Likewise.
5686         (uint16_t): Likewise.
5687         (uint32_t): Likewise.
5688         (uint64_t): Likewise.
5689         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5690         variable.
5691         (test-xfail-XPG42/netdb.h/conform): Likewise.
5692         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5693         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5694         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5695         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5697 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5699         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5700         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5701         the above.
5702         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5703         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5705 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5707         [BZ #21445]
5708         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5710         [BZ #21457]
5711         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5712         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5713         __glibc_reserved1.
5714         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5715         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5716         (struct _fpxreg): Likewise.
5717         [!__x86_64__] (struct _fpstate): Rename field reserved to
5718         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
5719         [__x86_64__] (struct _fpstate): Rename field padding to
5720         __glibc_reserved1.
5721         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5722         Rename field reserved2 to __glibc_reserved2.
5723         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5724         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5725         __glibc_reserved1.
5726         [__x86_64__] (struct _libc_fpstate): Rename field padding to
5727         __glibc_reserved1.
5729 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5731         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5732         variable name.
5734 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
5736         [BZ #21391]
5737         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5738         Only call init_cpu_features.
5739         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5740         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5741         * sysdeps/i386/dl-procinfo.h: Removed.
5742         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5743         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
5744         <sysdeps/x86/dl-procinfo.h>.
5745         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5746         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5747         Include <sysdeps/x86/dl-procinfo.h> instead of
5748          <sysdeps/generic/dl-procinfo.h>.
5749         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5750         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5751         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5752         (bit_cpu_MOVBE): Likewise.
5753         (bit_cpu_BMI1): Likewise.
5754         (bit_cpu_BMI2): Likewise.
5755         (index_cpu_BMI1): Likewise.
5756         (index_cpu_BMI2): Likewise.
5757         (index_cpu_LZCNT): Likewise.
5758         (index_cpu_MOVBE): Likewise.
5759         (index_cpu_POPCNT): Likewise.
5760         (reg_BMI1): Likewise.
5761         (reg_BMI2): Likewise.
5762         (reg_LZCNT): Likewise.
5763         (reg_MOVBE): Likewise.
5764         (reg_POPCNT): Likewise.
5765         * sysdeps/x86/dl-hwcap.h: New file.
5766         * sysdeps/x86/dl-procinfo.h: Likewise.
5767         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5768         (_dl_x86_platforms): Likewise.
5770 2017-05-03  DJ Delorie  <dj@redhat.com>
5772         [BZ #21411]
5773         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5775 2017-05-03  Phil Blundell  <pb@pbcl.net>
5777         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5778         comments.
5780 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
5782         [BZ #20116]
5783         * nptl/pthread_create.c: Expand comments to describe
5784         semaphore-like and mutex-like uses of PD->lock.
5786 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5788         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5789         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5790         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5791         auto-generation list.
5792         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5793         epoll_wait.
5794         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5795         Remove epoll_wait.
5797         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5798         osf_select.
5799         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5800         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5801         osf_select from auto-generation list.
5802         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5803         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5804         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5805         * sysdeps/unix/sysv/linux/select.c: New file.
5807         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5808         * sysdeps/unix/sysv/linux/poll.c: New file.
5809         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5810         auto-generation list.
5812 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
5814         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5815         New macro.
5817 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5819         [BZ #21179]
5820         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5821         R_SPARC_REGISTER relocations.
5823 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5825         * include/unistd.h (__pread): Add libc_hidden_proto.
5826         (__pread64): Likewise.
5827         (__pwrite): Likewise.
5828         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5829         (__pread64): Remove.
5830         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5831         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5832         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5834 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5838 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5840         * nptl/tst-cancel4-common.c: Use libsupport.
5841         * nptl/tst-cancel4-common.h: Likewise.
5842         * nptl/tst-cancel4.c (tf_read): Likewise.
5843         (tf_readv): Likewise.
5844         (tf_write): Likewise.
5845         (tf_writev): Likewise.
5846         (tf_sleep): Likewise.
5847         (tf_usleep): Likewise.
5848         (tf_nanosleep): Likewise.
5849         (tf_select): Likewise.
5850         (tf_pselect): Likewise.
5851         (tf_poll): Likewise.
5852         (tf_ppoll): Likewise.
5853         (tf_wait): Likewise.
5854         (tf_waitpid): Likewise.
5855         (tf_waitid): Likewise.
5856         (tf_sigpause): Likewise.
5857         (tf_sigsuspend): Likewise.
5858         (tf_sigwait): Likewise.
5859         (tf_sigwaitinfo): Likewise.
5860         (tf_sigtimedwait): Likewise.
5861         (tf_pause): Likewise.
5862         (tf_accept): Likewise.
5863         (tf_send): Likewise.
5864         (tf_recv): Likewise.
5865         (tf_recvfrom): Likewise.
5866         (tf_recvmsg): Likewise.
5867         (tf_open): Likewise.
5868         (tf_close): Likewise.
5869         (tf_pread): Likewise.
5870         (tf_pwrite): Likewise.
5871         (tf_preadv): Likewise.
5872         (tf_pwritev): Likewise.
5873         (tf_fsync): Likewise.
5874         (tf_fdatasync): Likewise.
5875         (tf_msync): Likewise.
5876         (tf_sendto): Likewise.
5877         (tf_sendmsg): Likewise.
5878         (tf_creat): Likewise.
5879         (tf_connect): Likewise.
5880         (tf_tcdrain): Likewise.
5881         (tf_msgrcv): Likewise.
5882         (tf_msgsnd): Likewise.
5883         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5884         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5886         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5887         expected arguments.
5888         (do_test): Adapt to use libsupport.
5890 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
5892         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5894         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5895         (PF_MAX): Set to 44.
5896         (AF_SMC): New macro.
5898         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5899         kernel version to 4.11.
5901 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5903         [BZ #21280]
5904         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5905         signal of subnormals and adjust the exponent of power of 2 down
5906         when low part has opposite sign.
5908 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5910         * sysdeps/powerpc/powerpc64le/Implies: New file.
5911         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5912         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5913         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5914         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5915         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5916         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5917         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5918         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5919         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5920         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5921         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5922         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5923         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5924         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5925         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5926         * sysdeps/powerpc/preconfigure: New file.
5927         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5928         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5930 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
5932         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5933         inclusion.
5934         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5935         Remove.
5937 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
5939         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5940         (XPG3): Rename standard to XPG4.
5941         * conform/Makefile: Likewise.
5942         * conform/list-header-symbols.pl: Likewise.
5943         * conform/data/aio.h-data: Likewise.
5944         * conform/data/arpa/inet.h-data: Likewise.
5945         * conform/data/complex.h-data: Likewise.
5946         * conform/data/ctype.h-data: Likewise.
5947         * conform/data/dlfcn.h-data: Likewise.
5948         * conform/data/fcntl.h-data: Likewise.
5949         * conform/data/fenv.h-data: Likewise.
5950         * conform/data/float.h-data: Likewise.
5951         * conform/data/fmtmsg.h-data: Likewise.
5952         * conform/data/ftw.h-data: Likewise.
5953         * conform/data/grp.h-data: Likewise.
5954         * conform/data/inttypes.h-data: Likewise.
5955         * conform/data/iso646.h-data: Likewise.
5956         * conform/data/langinfo.h-data: Likewise.
5957         * conform/data/libgen.h-data: Likewise.
5958         * conform/data/limits.h-data: Likewise.
5959         * conform/data/locale.h-data: Likewise.
5960         * conform/data/math.h-data: Likewise.
5961         * conform/data/mqueue.h-data: Likewise.
5962         * conform/data/ndbm.h-data: Likewise.
5963         * conform/data/net/if.h-data: Likewise.
5964         * conform/data/netdb.h-data: Likewise.
5965         * conform/data/netinet/in.h-data: Likewise.
5966         * conform/data/poll.h-data: Likewise.
5967         * conform/data/pthread.h-data: Likewise.
5968         * conform/data/pwd.h-data: Likewise.
5969         * conform/data/sched.h-data: Likewise.
5970         * conform/data/search.h-data: Likewise.
5971         * conform/data/semaphore.h-data: Likewise.
5972         * conform/data/signal.h-data: Likewise.
5973         * conform/data/spawn.h-data: Likewise.
5974         * conform/data/stdbool.h-data: Likewise.
5975         * conform/data/stdint.h-data: Likewise.
5976         * conform/data/stdio.h-data: Likewise.
5977         * conform/data/stdlib.h-data: Likewise.
5978         * conform/data/string.h-data: Likewise.
5979         * conform/data/strings.h-data: Likewise.
5980         * conform/data/stropts.h-data: Likewise.
5981         * conform/data/sys/mman.h-data: Likewise.
5982         * conform/data/sys/resource.h-data: Likewise.
5983         * conform/data/sys/select.h-data: Likewise.
5984         * conform/data/sys/socket.h-data: Likewise.
5985         * conform/data/sys/stat.h-data: Likewise.
5986         * conform/data/sys/statvfs.h-data: Likewise.
5987         * conform/data/sys/time.h-data: Likewise.
5988         * conform/data/sys/timeb.h-data: Likewise.
5989         * conform/data/sys/types.h-data: Likewise.
5990         * conform/data/sys/uio.h-data: Likewise.
5991         * conform/data/sys/un.h-data: Likewise.
5992         * conform/data/sys/wait.h-data: Likewise.
5993         * conform/data/syslog.h-data: Likewise.
5994         * conform/data/termios.h-data: Likewise.
5995         * conform/data/tgmath.h-data: Likewise.
5996         * conform/data/time.h-data: Likewise.
5997         * conform/data/ucontext.h-data: Likewise.
5998         * conform/data/unistd.h-data: Likewise.
5999         * conform/data/utmpx.h-data: Likewise.
6000         * conform/data/varargs.h-data: Likewise.
6001         * conform/data/wchar.h-data: Likewise.
6002         * conform/data/wctype.h-data: Likewise.
6004 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
6006         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
6007         version to 7 branch.
6009 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
6011         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
6012         earlyclobber to output operand of sqrt insn.
6013         (__ieee754_sqrtf): Ditto.
6015 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
6017         [BZ #21426]
6018         * misc/bits/types/struct_iovec.h: New file.
6019         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
6020         * include/bits/types/struct_iovec.h: New file.
6021         * bits/uio.h (struct iovec): Replace by inclusion of
6022         <bits/types/struct_iovec.h>.
6023         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
6024         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
6025         of <sys/uio.h>.
6026         * nptl/tst-cancel4.c: Include <sys/uio.h>
6027         * posix/test-errno.c: Likewise.
6028         * support/resolv_test.c: Likewise.
6029         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
6030         Remove.
6031         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6032         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6033         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6035         * conform/data/sys/socket.h-data (*_t): Allow.
6037 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6039         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
6040         assignment.
6042 2017-04-24  Daurnimator  <quae@daurnimator.com>
6043             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6045         [BZ #21340]
6046         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
6047         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
6048         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
6049         valid flags.
6050         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
6051         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
6052         POSIX_SPAWN_SETSID.
6053         * sysdeps/posix/spawni.c (__spawni): Likewise.
6054         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6055         * NEWS: Add note about POSIX_SPAWN_SETSID support.
6057 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6059         * sysdeps/generic/math_private.h: Move the declaration of many
6060         functions to sysdeps/generic/math_private_calls.h.
6061         * sysdeps/generic/math_private_calls.h: New file with the
6062         declarations of the functions removed from math_private.h
6063         macroized by floating-point type.
6065 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6067         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
6068         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
6069         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6070         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6071         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6072         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6074 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6076         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
6077         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
6078         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
6079         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
6080         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
6081         New Define.
6083 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6085         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
6086         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
6087         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6088         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6089         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6090         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6092 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6094         * sysdeps/s390/multiarch/ifunc-resolve.h
6095         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
6096         * sysdeps/s390/multiarch/8bit-generic.c
6097         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
6098         define ifunc resolvers.
6100 2017-04-21  Florian Weimer  <fweimer@redhat.com>
6102         [BZ #20424]
6103         * manual/memory.texi (Replacing malloc): New section.
6104         (Allocating Storage For Program Data): Reference it.
6105         (The GNU Allocator): Likewise.
6107 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
6109         * stdlib/Versions (__strtod_internal): List explicitly, not as
6110         wildcard.
6111         (__strtof_internal): Likewise.
6112         (__strtold_internal): Likewise.
6113         (__strtol_internal): Likewise.
6114         (__strtoll_internal): Likewise.
6115         (__strtoul_internal): Likewise.
6116         (__strtoull_internal): Likewise.
6117         (__strtoq_internal): Likewise.
6118         (__strtouq_internal): Likewise.
6119         * wcsmbs/Versions (__wcstod_internal): Likewise.
6120         (__wcstof_internal): Likewise.
6121         (__wcstold_internal): Likewise.
6122         (__wcstol_internal): Likewise.
6123         (__wcstoll_internal): Likewise.
6124         (__wcstoul_internal): Likewise.
6125         (__wcstoull_internal): Likewise.
6127 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6129         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6130         struct timespec definition.
6132 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6134         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6136 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6138         * inet/rcmd.c (rresvport_af): Fix typo in comment.
6139         * inet/rexec.c (rexec_af): Likewise.
6141 2017-04-19  Zack Weinberg  <zackw@panix.com>
6143         * posix/tst-mmap-offset.c: Include stdint.h.
6144         * resolv/tst-ns_name_compress.c: Include string.h.
6145         * resolv/tst-resolv-edns.c: Include resolv.h.
6147 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6149         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6150         with __glibc_likely.
6151         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6152         Replace __builtin_expect with __glibc_unlikely.
6153         * resolv/res_init.c (__res_vinit): Likewise.
6154         * resolv/res_query.c (__libc_res_nquery): Likewise.
6155         * resolv/res_send.c (__libc_res_nsend): Likewise.
6157 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6159         [BZ #15722]
6160         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6161         with SOCK_CLOEXEC.
6162         * resolv/res_send.c (send_vc, reopen): Likewise.
6163         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6164         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6165         Likewise.
6166         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6167         * inet/rexec.c (rexec_af): Add comment.
6168         * inet/rcmd.c (rresvport_af): Likewise.
6170 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6172         * nscd/connections.c (have_accept4): Removed definition.
6173         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6174         accept4 works.
6175         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6176         ia64 because that was the first version with accept4 support.
6177         * support/Makefile (libsupport-routines): Add xaccept4.
6178         * support/xsocket.h (xaccept4): Declare.
6179         * support/xaccept4.c: New file.
6180         * socket/tst-accept4.c: New file.
6181         * socket/Makefile (tests): Add tst-accept4.
6182         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6183         definition.
6184         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6185         comment.
6186         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6187         implementation is available.
6188         (accept4): Use the system call if available, otherwise use the
6189         socket call.
6190         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6191         Set to 3.2.18.
6192         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6193         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6194         accept4 is unconditionally available in later 3.2 stable kernels.
6195         (__ASSUME_ACCEPT4_SYSCALL): Define.
6196         * sysdeps/unix/sysv/linux/kernel-features.h
6197         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6198         definitions.
6199         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6200         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6202 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
6204         * conform/Makefile (tests-special): Do not make addition of
6205         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6206         (generated): Do not make addition of $(conformtest-header-base)
6207         conditional on [$(cross-compiling) = no].
6209         [BZ #21267]
6210         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6211         if defined by <asm/socket.h> and not previously defined.
6212         (IOCSIZE_SHIFT): Likewise.
6213         (IOC_IN): Likewise.
6214         (IOC_INOUT): Likewise.
6215         (IOC_OUT): Likewise.
6217 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6219         [BZ #21396]
6220         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6221         Prefer_No_AVX512 if AVX512ER isn't available.
6222         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6223         (index_arch_Prefer_No_AVX512): Likewise.
6224         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6225         AVX512 version if Prefer_No_AVX512 is set.
6226         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6227         Likewise.
6228         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6229         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6230         Likewise.
6231         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6232         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6233         Likewise.
6234         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6235         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6236         Likewise.
6238 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6240         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6241         Prefer_No_VZEROUPPER if AVX512ER is available.
6242         * sysdeps/x86/cpu-features.h
6243         (bit_cpu_AVX512PF): New.
6244         (bit_cpu_AVX512ER): Likewise.
6245         (bit_cpu_AVX512CD): Likewise.
6246         (bit_cpu_AVX512BW): Likewise.
6247         (bit_cpu_AVX512VL): Likewise.
6248         (index_cpu_AVX512PF): Likewise.
6249         (index_cpu_AVX512ER): Likewise.
6250         (index_cpu_AVX512CD): Likewise.
6251         (index_cpu_AVX512BW): Likewise.
6252         (index_cpu_AVX512VL): Likewise.
6253         (reg_AVX512PF): Likewise.
6254         (reg_AVX512ER): Likewise.
6255         (reg_AVX512CD): Likewise.
6256         (reg_AVX512BW): Likewise.
6257         (reg_AVX512VL): Likewise.
6259 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6261         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6262         O_CLOEXEC is defined.
6263         * include/fcntl.h (__have_o_cloexec): Remove declaration.
6264         * io/Makefile (aux): Remove.
6265         * io/have_o_cloexec.c: Remove file.
6266         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6267         defined and works.
6268         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6269         defined.
6270         * login/utmp_file.c (O_flags): Remove definition.
6271         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
6272         O_CLOEXEC works.
6273         (pututline_file): Likewise.
6274         * malloc/mtrace.c: Assume that O_CLOEXEC works.
6275         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6276         definition.
6277         (internal_setgrent): Assume that O_CLOEXEC works.
6278         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6279         Remove definition.
6280         (internal_setgrent): Assume that O_CLOEXEC works.
6281         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6282         definition.
6283         (internal_setpwent): Assume that O_CLOEXEC works.
6284         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6285         definition.
6286         (internal_setspent): Assume that O_CLOEXEC works.
6287         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6288         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
6289         O_CLOEXEC is defined and works.
6290         * nss/Makefile (libnss_files-routines): Remove
6291         files-have_o_cloexec.
6292         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6293         defined.
6294         * nss/nss_files/files-XXX.c (internal_setent): Assume that
6295         O_CLOEXEC is defined and works.
6296         * nss/nss_files/files-alias.c (internal_setent): Likewise.
6297         * nss/nss_files/files-have_o_cloexec.c: Remove.
6298         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6299         defined.
6300         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6301         and works.
6302         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6303         definition.
6304         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6305         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6306         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6307         (__opendirat, __opendir): Adjust opendir_oflags call.
6308         (check_have_o_cloexec): Remove.
6309         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6310         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6311         defined.
6312         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6313         Remove definition.
6315 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6317         * include/unistd.h (__have_dup3): Remove declaration.
6318         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6319         dup3 is available.
6320         * libio/freopen64.c (freopen64): Likewise.
6321         * socket/Makefile (aux): Remove have_sock_cloexec.
6322         * socket/have_sock_cloexec.c: Remove file.
6323         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6324         definition.
6325         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6326         Likewise.
6327         * sysdeps/nacl/kernel-features.h: Update comment.
6329 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6331         * include/unistd.h (__have_pipe2): Remove declaration.
6332         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6333         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6334         available.
6335         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6336         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6337         Remove definition.
6339 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6341         * malloc/malloc.c (cfree): Turn into compat symbol.
6342         (__cfree): Remove alias.
6343         * stdlib/stdlib.h (cfree): Remove declaration.
6344         * malloc/malloc.h (cfree): Likewise.
6345         * manual/memory.texi (Freeing after Malloc): Remove cfree.
6346         * malloc/Versions (GLIBC_2.26): Add.
6348 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6350         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6351         (sysdep_routines): Add strrchr-power8.
6352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6353         (strrchr): Add __strrchr_power8 to list of strrchr functions.
6354         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6355         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6356         (strrchr): Add __strrchr_power8 to ifunc list.
6357         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6359 2017-04-17  Rabin Vincent  <rabinv@axis.com>
6361         [BZ #21357]
6362         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6363         Call free() outside of mutex.
6365 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6367         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6368         is defined.
6369         * elf/rtld.c (process_envvars): Likewise.
6370         * sysdeps/posix/shm_open.c (shm_open): Likewise.
6371         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
6372         O_NOFOLLOW directly.
6373         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6375 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6377         [BZ #21369]
6378         Remove EDNS fallback.
6379         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6380         handling.
6381         * resolv/res_send.c (send_dg): Likewise.
6382         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6383         "tcp." prefixes.
6384         (do_test): Send a "formerr."-prefixed query in an attempt to
6385         trigger EDNS fallback.
6387 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6389         [BZ #21361]
6390         Limit EDNS buffer size to 1200 bytes.
6391         * include/resolv.h (__res_nopt): Remove declaration.
6392         * resolv/Makefile (tests): tst-resolv-edns.
6393         (tst-resolv-edns): Link with -lresolv, -lpthread.
6394         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6395         interval [512, 1200].
6396         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6397         we can resize the buffer.
6398         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6399         (__res_nopt): Declare.
6400         * resolv/tst-resolv-edns.c: New file.
6401         * resolv/resolv_test.h (struct resolv_edns_info): Define.
6402         (struct resolv_response_context): Add edns member.
6403         * resolv/resolv_test.c (struct query_info): Add edns member.
6404         (parse_query): Extract EDNS information from the query.
6405         (server_thread_udp_process_one): Propagate EDNS data.
6406         (server_thread_tcp_client): Likewise.
6408 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6410         [BZ #21359]
6411         * resolv/ns_name.c (ns_name_pack): Do not require an additional
6412         byte in the destination buffer.  Avoid out-of-bounds pointer
6413         arithmetic.
6414         * resolv/Makefile (tests): Add tst-ns_name_compress.
6415         (tst-ns_name_compress): Link with -lresolv.
6416         * resolv/tst-ns_name_compress.c: New file.
6417         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6418         (response): Recognize LONG_NAME.
6419         (do_test): Add LONG_NAME tests.
6420         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6421         for ns_name_unpack.  Add tests for ns_name_pton and
6422         ns_name_compress.
6424 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6426         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6427         (res_nisourserver): Remove definition.
6428         (p_section, res_npquery, res_nisourserver): Remove declaration.
6429         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6430         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6431         ... here.
6432         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6433         <resolv.h>.
6434         * resolv/res_query.c: Likewise.
6435         * resolv/res_debug.c (p_section): Define as static.
6437 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6439         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6440         strncat-power8.
6441         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6442         __strncat_power8 to ifunc list.
6443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6444         (strncat): Add __strncat_power8 to list of strncat functions.
6445         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6447 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6449         [BZ #21270]
6450         * posix/tst-mmap-offset.c (do_prepare): New function.
6451         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6452         (do_test_bz21270): New function.
6453         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6454         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6455         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6456         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6457         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6458         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6459         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6460         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6461         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6462         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6463         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6464         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6465         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6466         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6467         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6468         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6469         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6470         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6471         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6472         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6473         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6474         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6475         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6476         from auto-generation list.
6477         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6478         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6479         * sysdeps/unix/sysv/linux/mmap.c: New file.
6480         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6481         offsets and support for mmap2 syscall.
6483         * posix/globtest.sh: Add cleanup routine on trap 0.
6485 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6487         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6488         implementation-specific function name and remove unneeded
6489         macros definition.
6490         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6491         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6492         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6493         name if not defined and pass as parameter to macros accordingly.
6494         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6495         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6497         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6498         implementation-specific function name and remove unneeded
6499         macros definition.
6500         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6501         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6502         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6503         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6504         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6505         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6506         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6507         name if not defined and pass as parameter to macros accordingly.
6508         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6509         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6510         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6511         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6512         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6513         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6515         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6516         implementation-specific function name and remove unneeded macros
6517         definition.
6518         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6519         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6520         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6521         function name if not defined and pass as parameter to macros
6522         accordingly.
6523         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6524         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6526         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6527         implementation-specific function name and remove unneeded macros
6528         definition.
6529         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6530         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6531         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6532         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6533         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6534         not defined and pass as parameter to macros accordingly.
6535         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6536         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6537         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6538         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6540         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6541         strcasestr implementation name and remove unneeded macros definition.
6542         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6543         strstr implementation name and remove unneeded macros definition.
6544         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6545         name if not defined and pass as parameter to macros accordingly.
6546         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6548         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6549         implementation-specific function name and remove unneeded macros
6550         definition.
6551         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6552         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6553         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6554         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6555         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6556         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6557         function name if not defined and pass as parameter to macros
6558         accordingly.
6559         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6560         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6561         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6562         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6564         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6565         the strlen implementation name and remove unneeded macros definition.
6566         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6567         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6568         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6569         the strnlen implementation name and remove unneeded macros definition.
6570         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6571         name if not defined and pass as parameter to macros accordingly.
6572         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6573         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6574         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6576         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6577         the implementation-specific function name and remove unneeded
6578         macros definition.
6579         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6580         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6581         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6582         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6583         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6584         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6585         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6586         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6587         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6588         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6589         name if not defined and pass as parameter to macros accordingly.
6590         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6591         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6592         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6593         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6594         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6595         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6596         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6597         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6599         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6600         implementation-specific function name and remove unneeded macros
6601         definition.
6602         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6603         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6604         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6605         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6606         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6607         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6608         function name if not defined.
6609         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6610         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6612 2017-04-11  Paul Clarke  <pc@us.ibm.com>
6614         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6615         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6616         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
6617         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6619 2017-04-11  Florian Weimer  <fweimer@redhat.com>
6620             Zack Weinberg  <zackw@panix.com>
6622         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6623         readdir64 as thread-safe.  Update warning about readdir_r.
6625 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6627         * sysdeps/unix/sysv/linux/x86/Implies: New file.
6628         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6629         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6630         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6631         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6632         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6633         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6635 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6637         * sysdeps/i386/dl-procinfo.c: Include
6638         <sysdeps/x86/dl-procinfo.c>.
6639         * sysdeps/x86_64/dl-procinfo.c: Likewise.
6640         * sysdeps/x86/dl-procinfo.c: New file.
6642 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6644         * sysdeps/generic/math_private.h: Remove declarations of
6645         many functions that are already declared in math.h.
6646         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6647         declaration for __frexpl.
6648         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6649         the declarations for __scalbnl and fabsl.
6651 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
6653         [BZ #20831]
6654         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6655         of __mprotect to change protection on the excess portion
6656         to disallow all access.
6658 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
6660         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6661         HAS_CPU_FEATURE to check for SSE.
6662         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6663         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6664         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6665         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6666         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6667         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6668         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6669         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6670         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6671         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6672         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6673         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6674         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6675         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6676         (index_cpu_SSE): Likewise.
6677         (reg_SSE): Likewise.
6679 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
6681         * posix/getopt1.c: Include <config.h>, not "config.h".
6683 2017-04-07  Zack Weinberg  <zackw@panix.com>
6685         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6686         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6687         Mention in top-of-file boilerplate that these files are shared
6688         with gnulib.
6689         * posix/getopt.h, posix/bits/getopt_posix.h:
6690         Mention in top-of-file boilerplate that these files are NOT shared
6691         with gnulib, unlike the rest of the getopt implementation.
6693         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6694         New files, intended to be shared with gnulib.
6695         * posix/bits/getopt_posix.h:
6696         New file, not intended to be shared with gnulib.
6697         * posix/getopt.h: Now just includes features.h,
6698         bits/getopt_core.h, and bits/getopt_ext.h.  Will
6699         no longer be shared with gnulib.
6700         * include/bits/getopt_core.h, include/bits/getopt_ext.h
6701         * include/bits/getopt_posix.h: New wrappers.
6702         * posix/Makefile: Install new headers.
6703         * posix/unistd.h, libio/stdio.h:
6704         Include bits/getopt_posix.h instead of getopt.h.
6706         * include/libc-symbols.h: For gnulib compatibility, define
6707         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6708         _GL_ATTRIBUTE_CONST.
6709         * posix/getopt.c (_getopt_initialize): Mark argc and argv
6710         parameters with _GL_UNUSED.
6712         * posix/getopt.c: When used standalone, define __libc_use_alloca
6713         as always false and alloca to abort if called.
6714         (process_long_option): Rewrite handling of ambiguous long options
6715         to use a single boolean vector, not a linked list; use
6716         __libc_use_alloca to decide whether to allocate this using alloca.
6717         * posix/tst-getopt_long1.c: Adjust text of expected error message.
6719         * posix/getopt.c (process_long_option): New function split out
6720         from _getopt_internal_r.
6721         (_getopt_internal_r): Replace both copies of the long-option
6722         processing code with calls to process_long_option.
6723         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6724         (do_test): Differentiate argv[0] in the two subtests.
6726         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6727         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6728         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6730         * posix/getopt.h: Add backup definition of __nonnull for
6731         consistency with gnulib.  Define __getopt_argv_const to const
6732         if not already defined.
6733         (getopt): Update doc comment from gnulib.  Prototype
6734         unconditionally.  Add __nonnull annotation.
6735         (__posix_getopt): Add __nonnull annotation.
6736         (getopt_long, getopt_long_only): Use __getopt_argv_const in
6737         prototypes for consistency with gnulib.  Add __nonnull
6738         annotations.
6739         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6740         (getopt_internal): Change 'argv' argument to type 'char **'.
6741         Remove now-unnecessary casts.
6742         (getopt, __posix_getopt): Eliminate repetition with a macro.
6743         Cast 'argv' to 'char **' when calling _getopt_internal.
6744         * posix/getopt1.c (getopt_long, getopt_long_only):
6745         Use __getopt_argv_const for consistency with gnulib.
6746         Cast 'argv' to 'char **' when calling _getopt_internal.
6747         (_getopt_long_r, _getopt_long_only_r):
6748         Change 'argv' argument to type 'char **'.
6749         (main): Constify 'long_options'.
6750         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6751         (_getopt_long_r, _getopt_long_only_r):
6752         Change 'argv' argument to type 'char **'.
6754         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6755         (locked_vfxprintf): New helper function. Handle arbitrary
6756         multibyte strings, not just ASCII.
6757         * include/stdio.h: Declare __fxprintf_nocancel.
6758         * posix/getopt.c: When _LIBC is defined, define fprintf to
6759         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6760         to _IO_funlockfile.  When neither _LIBC nor
6761         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6762         funlockfile as no-ops.
6763         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6764         the standalone error-printing code can now be used for libc as
6765         well.  Add an flockfile/funlockfile pair around one case where
6766         the error message is printed in several chunks.  Don't use fputc.
6767         * posix/tst-getopt-cancel.c: New test.
6768         * posix/Makefile: Run it.
6770         * posix/getopt.c (_getopt_internal_r): Don't increment
6771         d->optind a second time when reporting ambiguous -W options.
6773         * posix/getopt_int.h: Include getopt.h.
6774         Use impl-namespace names for all arguments to _getopt_internal and
6775         _getopt_internal_r.
6776         Declare __ordering enum outside the struct.
6777         Harmonize comments with gnulib.
6778         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6779         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
6780         #ifdef TEST block and make unconditional.  Do not define NULL.
6781         * posix/getopt.c: Partial merge from gnulib, covering the
6782         initial includes and global declarations, commentary, and
6783         a couple of semantically-neutral code changes.
6785         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6786         Use '...' instead of `...' for quotation marks inside
6787         comments and strings.
6789         * config.h.in (USE_NONOPTION_FLAGS): Remove.
6790         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6791         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6792         * posix/getopt_int.h: Likewise.
6793         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6794         __libc_argc and __libc_argv externs, which were only used by
6795         #ifdef USE_NONOPTION_FLAGS blocks.
6796         * posix/getopt_init.c: Remove file.
6797         * posix/Makefile (routines): Remove getopt_init.
6798         * include/getopt.h: Don't declare __getopt_initialize_environment.
6799         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6800         a comment.
6802 2017-04-07  Florian Weimer  <fweimer@redhat.com>
6804         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6806 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6808         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6809         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6810         to __wrap_.udiv.
6811         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6812         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6814         * sysdeps/i386/symbol-hacks.h: New file.
6815         * sysdeps/m68k/symbol-hacks.h: New file.
6816         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6817         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6818         * sysdeps/unix/sysv/linux/i386/Makefile
6819         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6820         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6821         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6822         * sysdeps/unix/sysv/linux/m68k/Makefile
6823         [$(subdir) = csu] (sysdep_routines): Likewise.
6824         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6825         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6827         [$(subdir) = csu] (sysdep_routines): Likewise.
6828         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6829         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6830         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6831         [$(subdir) = csu] (sysdep_routines): Likewise.
6832         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6833         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6834         * sysdeps/wordsize-32/Makefile: Remove file.
6835         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6836         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6838 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
6840         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6841         (TEST_FUNCTION_ARGV): New.
6843 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6845         * elf/next.c: Import support/test-driver.c instead of
6846         test-skeleton.c and delete TEST_FUNCTION macro definition.
6847         * elf/nodelete.c: Likewise.
6848         * elf/order2.c: Likewise.
6849         * elf/tst-_dl_addr_inside_object.c: Likewise.
6850         * elf/tst-addr1.c: Likewise.
6851         * elf/tst-align.c: Likewise.
6852         * elf/tst-align2.c: Likewise.
6853         * elf/tst-audit11.c: Likewise.
6854         * elf/tst-audit12.c: Likewise.
6855         * elf/tst-audit2.c: Likewise.
6856         * elf/tst-audit9.c: Likewise.
6857         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6858         * elf/tst-deep1.c: Likewise.
6859         * elf/tst-dl-iter-static.c: Likewise.
6860         * elf/tst-dlmodcount.c: Likewise.
6861         * elf/tst-dlmopen1.c: Likewise.
6862         * elf/tst-dlmopen2.c: Likewise.
6863         * elf/tst-dlmopen3.c: Likewise.
6864         * elf/tst-dlopen-aout.c: Likewise.
6865         * elf/tst-dlopenrpath.c: Likewise.
6866         * elf/tst-dlsym-error.c: Likewise.
6867         * elf/tst-execstack-needed.c: Likewise.
6868         * elf/tst-execstack-prog.c: Likewise.
6869         * elf/tst-execstack.c: Likewise.
6870         * elf/tst-global1.c: Likewise.
6871         * elf/tst-gnu2-tls1.c: Likewise.
6872         * elf/tst-latepthread.c: Likewise.
6873         * elf/tst-leaks1.c: Likewise.
6874         * elf/tst-linkall-static.c: Likewise.
6875         (do_test): New function.
6876         * elf/tst-nodelete-opened.c: Likewise.
6877         * elf/tst-nodelete.cc: Likewise.
6878         * elf/tst-nodelete2.c: Likewise.
6879         * elf/tst-noload.c: Likewise.
6880         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6881         * elf/tst-order-main.c: Likewise.
6882         * elf/tst-pathopt.c: Likewise.
6883         * elf/tst-pie2.c: Likewise.
6884         * elf/tst-piemod1.c: Likewise.
6885         * elf/tst-prelink.c: Likewise.
6886         * elf/tst-protected1a.c: Likewise.
6887         * elf/tst-protected1b.c: Likewise.
6888         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6889         and define _GNU_SOURCE macro.
6890         (cmdline_process_function): New function.
6891         * elf/tst-relsort1.c: Likewise.
6892         * elf/tst-stackguard1.c: Likewise, import getopt.h,
6893         and define _GNU_SOURCE macro.
6894         (cmdline_process_function): New function.
6895         * elf/tst-thrlock.c: Likewise.
6896         * elf/tst-tls-dlinfo.c: Likewise.
6897         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6898         * elf/tst-tls1.c: Likewise.
6899         * elf/tst-tls10.c: Likewise.
6900         * elf/tst-tls11.c: Likewise.
6901         * elf/tst-tls12.c: Likewise.
6902         * elf/tst-tls13.c: Likewise.
6903         * elf/tst-tls14.c: Likewise.
6904         * elf/tst-tls15.c: Likewise.
6905         * elf/tst-tls16.c: Likewise.
6906         * elf/tst-tls17.c: Likewise.
6907         * elf/tst-tls18.c: Likewise.
6908         * elf/tst-tls19.c: Likewise.
6909         * elf/tst-tls2.c: Likewise.
6910         * elf/tst-tls3.c: Likewise.
6911         * elf/tst-tls4.c: Likewise.
6912         * elf/tst-tls5.c: Likewise.
6913         * elf/tst-tls6.c: Likewise.
6914         * elf/tst-tls7.c: Likewise.
6915         * elf/tst-tls8.c: Likewise.
6916         * elf/tst-tls9.c: Likewise.
6917         * elf/tst-tlsalign-extern.c: Likewise.
6918         * elf/tst-tlsalign.c: Likewise.
6919         * elf/tst-unique1.c: Likewise.
6920         * elf/tst-unique2.c: Likewise.
6921         * elf/vismain.c: Likewise.
6923 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6925         * string/test-strnlen.c (do_page_tests): New function
6926         to check length of strings ending at the page boundary.
6927         (test_main): Added call to the do_page_tests function.
6929 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6930             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6932         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6933         (sysdep_routines): Add strnlen-power8.
6934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6935         (strnlen): Add __strnlen_power8 to list of strnlen functions.
6936         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6937         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6938         (__strnlen): Add __strnlen_power8 to ifunc list.
6939         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6941 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6943         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6944         the TEST_FUNCTION macro definition.
6945         * wcsmbs/tst-mbrtowc2.c: Likewise.
6946         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6947         * wcsmbs/tst-wchar-h.c: Likewise.
6948         * wcsmbs/tst-wcpncpy.c: Likewise.
6949         * wcsmbs/tst-wcrtomb.c: Likewise.
6950         * wcsmbs/tst-wcsnlen.c: Likewise.
6951         * wcsmbs/tst-wcstof.c: Likewise.
6953 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6955         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6956         CALL_THREAD_FCT macro usage.
6957         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
6958         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
6959         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
6961         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
6962         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6963         (__ASSUME_REQUEUE_PI): Likewise.
6964         * sysdeps/unix/sysv/linux/kernel-features.h
6965         (__ASSUME_REQUEUE_PI): Likewise.
6966         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6967         (__ASSUME_REQUEUE_PI): Likewise.
6968         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6969         (__ASSUME_REQUEUE_PI): Likewise.
6970         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6971         (__ASSUME_REQUEUE_PI): Likewise.
6973 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6975         * resolv/tst-resolv-canonname.c: New file.
6976         * resolv/Makefile (tests): Add tst-resolv-canonname.
6977         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
6979 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6981         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
6982         Declare.
6983         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
6984         (NS_MAXCDNAME): Remove definition.
6985         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6986         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
6987         (NS_MAXCDNAME): Remove definition.
6988         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6990 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6992         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
6993         call whose result is not used.
6995 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6997         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
6998         * resolv/Makefile (tests): Add tst-ns_name.
6999         (tst-ns_name): Link with -lresolv.
7000         (tst-ns_name.out): Depend on the input data file.
7002 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
7004         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
7005         Clobber also r14.
7007 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
7009         [BZ #21253]
7010         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
7011         slack space by 32KiB.
7013 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
7015         [BZ #21338]
7016         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
7017         instead of incorrect do_set_arena_test
7019 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7021         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
7022         * math/bits/math-finite.h: Likewise.
7024 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
7026         [BZ #21289]
7027         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
7029 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7031         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
7032         non expected inotify_add_watch and quotactl return.
7034 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7036         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
7037         to int32_t.
7038         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
7039         as returning int32_t.
7041 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7043         * math/math.h: Include bits/math-finite.h once per
7044         floating-point type.
7045         * math/bits/math-finite.h: Macroize all declarations by
7046         floating-point type.
7048 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7050         [BZ #21182]
7051         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
7052         near end of a page.
7053         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
7054         overflow calculation.
7056 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7058         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
7059         (IMPL) Call with 1 instead of 0 as argument.
7061 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7063         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7064         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7065         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7066         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7067         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7068         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7069         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7070         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7071         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7072         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7073         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7074         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7075         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7076         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7077         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7078         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7079         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7080         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7081         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7082         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7083         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7084         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7085         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7086         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7087         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7088         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7089         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7090         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7091         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7092         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7093         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7094         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7095         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7096         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7097         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7098         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7099         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7100         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7101         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7102         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7103         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7104         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7105         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7106         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7107         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7108         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7109         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7110         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7111         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7112         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7113         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7114         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7115         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7116         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7117         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7118         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7119         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7120         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7121         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7122         defined.
7123         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7124         __NR_setgroups32 if defined.
7125         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7126         if defined.
7127         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7128         __NR_setresgid32 is defined.
7129         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7130         __NR_setresuid32 if defined.
7131         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7132         __NR_setreuid32 if defined.
7133         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7134         defined.
7135         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7136         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7137         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7138         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7139         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7140         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7141         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7142         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7143         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7144         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7145         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7146         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7147         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7148         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7149         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7150         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7151         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7152         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7153         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7154         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7155         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7156         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7157         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7158         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7159         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7160         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7161         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7162         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7163         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7164         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7165         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7166         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7167         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7168         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7169         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7170         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7171         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7172         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7173         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7174         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7175         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7176         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7177         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7178         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7179         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7180         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7181         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7182         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7183         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7184         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7185         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7186         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7187         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7188         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7189         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7190         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7191         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7192         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7193         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7194         defined.
7195         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7196         __NR_setgroups32 if defined.
7197         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7198         if defined.
7199         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7200         __NR_setresgid32 is defined.
7201         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7202         __NR_setresuid32 if defined.
7203         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7204         __NR_setreuid32 if defined.
7205         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7206         defined.
7208 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
7210         [BZ #21277]
7211         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7212         unconditionally.
7213         (IMAXBEL): Likewise.
7214         (IUTF8): Likewise.
7216 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7218         * sysdeps/aarch64/libm-test-ulps: Update.
7220 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
7222         * README.tunables: Updated descriptions.
7223         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7224         * scripts/gen-tunables.awk: Updated the code related to the
7225         commit.
7227 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
7229         * benchtests/Makefile (string-benchset): Add memcpy-random.
7230         * benchtests/bench-memcpy-random.c: New file.
7232 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7234         * stdio-common/printf.h (register_printf_modifier): Change the
7235         order of __wur and __THROW.
7236         (register_printf_type): Likewise.
7238 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7240         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7241         test_main ().
7242         (CMDLINE_PROCESS): Use function instead of defined macro.
7243         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7244         <suppport/support.h> to use set_fortify_handler().
7245         * string/bug-envz1.c: Import support/test-driver.c instead of
7246         test-skeleton.c.
7247         * string/bug-strcoll2.c: Likewise.
7248         * string/bug-strtok1.c: Likewise.
7249         * string/stratcliff.c: Likewise.
7250         * string/test-ffs.c: Likewise.
7251         * string/test-memccpy.c: Likewise.
7252         * string/test-memchr.c: Likewise.
7253         * string/test-memcmp.c: Likewise.
7254         * string/test-memcpy.c: Likewise.
7255         * string/test-memmem.c: Likewise.
7256         * string/test-memmove.c: Likewise.
7257         * string/test-memrchr.c: Likewise.
7258         * string/test-memset.c: Likewise.
7259         * string/test-rawmemchr.c: Likewise.
7260         * string/test-strcasecmp.c: Likewise.
7261         * string/test-strcasestr.c: Likewise.
7262         * string/test-strcat.c: Likewise.
7263         * string/test-strchr.c: Likewise.
7264         * string/test-strcmp.c: Likewise.
7265         * string/test-strcpy.c: Likewise.
7266         * string/test-string.h: Likewise.
7267         * string/test-strlen.c: Likewise.
7268         * string/test-strncasecmp.c: Likewise.
7269         * string/test-strncat.c: Likewise.
7270         * string/test-strncmp.c: Likewise.
7271         * string/test-strncpy.c: Likewise.
7272         * string/test-strnlen.c: Likewise.
7273         * string/test-strpbrk.c: Likewise.
7274         * string/test-strrchr.c: Likewise.
7275         * string/test-strspn.c: Likewise.
7276         * string/test-strstr.c: Likewise.
7277         * string/tst-bswap.c: Likewise.
7278         * string/tst-cmp.c: Likewise.
7279         * string/tst-endian.c: Likewise.
7280         * string/tst-inlcall.c: Likewise.
7281         * string/tst-strcoll-overflow.c: Likewise.
7282         * string/tst-strfry.c: Likewise.
7283         * string/tst-strlen.c: Likewise.
7284         * string/tst-strtok.c: Likewise.
7285         * string/tst-strtok_r.c: Likewise.
7286         * string/tst-strxfrm.c: Likewise.
7287         * string/tst-strxfrm2.c: Likewise.
7288         * string/tst-svc.c: Likewise.
7289         * string/tst-svc2.c: Likewise.
7291 2017-03-22  Zack Weinberg  <zackw@panix.com>
7293         * stdio-common/bug25.c: Include stdlib.h.
7294         * support/tst-support_format_dns_packet.c: Include stdio.h,
7295         stdlib.h, and string.h.
7296         * support/tst-support_record_failure.c: Include string.h.
7297         * support/tst-support_record_failure-2.sh: Adjust line number
7298         expectations and correct a typo in an error message.
7300 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7302         [BZ #21258]
7303         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7304         Define only if _dl_runtime_resolve is defined to
7305         _dl_runtime_resolve_sse_vex.
7306         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7307         Fallthrough to _dl_runtime_resolve_sse_vex.
7309 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
7311         * INSTALL: Regenerated.
7313 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
7315         * config.h.in: Add LINK_OBSOLETE_NSL.
7316         * config.make.in: Add build-obsolete-nsl.
7317         * configure.ac: Add obsolete-nsl option.
7318         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7319         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7320         * include/rpcsvc/nislib.h: Likewise.
7321         * include/rpcsvc/ypclnt.h: Likewise.
7322         * manual/install.texi: Document --enable-obsolete-nsl.
7323         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7324         * nis/nis_add.c: Replace libnsl_hidden_def with
7325         libnsl_hidden_nolink_def.
7326         * nis/nis_addmember.c: Likewise.
7327         * nis/nis_call.c: Likewise.
7328         * nis/nis_clone_obj.c: Likewise.
7329         * nis/nis_defaults.c: Likeise.
7330         * nis/nis_domain_of_r.c: Likewise.
7331         * nis/nis_error.c: Likewise.
7332         * nis/nis_file.c: Likewise.
7333         * nis/nis_free.c: Likewise.
7334         * nis_local_names.c: Likewise.
7335         * nis/nis_lookup.c: Likewise.
7336         * nis/nis_modify.c: Likewise.
7337         * nis/nis_print.c: Likewise.
7338         * nis/nis_remove.c: Likewise.
7339         * nis/nis_table.c: Likewise.
7340         * nis/nis_util.c: Likewise.
7341         * nis/nis_xdr.c: Likewise.
7342         * nis/yp_xdr.c: Likewise.
7343         * nis/ypclnt.c: Likewise.
7344         * nis/ypupdate_xdr.c: Likewise.
7345         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7346         * nis/nis_clone_dir.c: Likewise.
7347         * nis/nis_clone_res.c: Likewise.
7348         * nis/nis_creategroup.c: Likewise.
7349         * nis/nis_destroygroup.c: Likewise.
7350         * nis/nis_domain_of.c: Likewise.
7351         * nis/nis_getservlist.c: Likewise.
7352         * nis/nis_ismember.c: Likewise.
7353         * nis/nis_mkdir.c: Likewise.
7354         * nis/nis_ping.c: Likewise.
7355         * nis/nis_print_group_entry.c: Likewise.
7356         * nis/nis_removemember.c: Likewise.
7357         * nis/nis_rmdir.c: Likewise.
7358         * nis/nis_server.c: Likewise.
7359         * nis/nis_subr.c: Likewise.
7360         * nis/nis_verifygroup.c: Likewise.
7362 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
7364         * malloc/tst-interpose-aux.c (check_for_allocations):
7365         Move compiler barrier before free.
7367 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
7369         [BZ #21279]
7370         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7371         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7372         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7373         x86_64-x32-linux.
7374         (mq_attr.mq_maxmsg): Likewise.
7375         (mq_attr.mq_msgsize): Likewise.
7376         (mq_attr.mq_curmsgs): Likewise.
7378         [BZ #21278]
7379         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7380         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7381         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7382         mips-o32-linux.
7384         [BZ #21268]
7385         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7386         if [__USE_MISC]
7387         (NL3): Likewise.
7389 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
7391         [BZ #21275]
7392         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7393         __stack to __stackbase.
7394         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7395         checks so we can include defined(__ia64__) first.
7397 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
7399         * sysdeps/unix/sysv/linux/ttyname.h: New file.
7400         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7401         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7402         Call is_pty when the link does not exist or does not match, fail
7403         with ENODEV when it returns true.
7404         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7405         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7406         Call is_pty when the link does not exist or does not match, fail
7407         with ENODEV when it returns true.
7409 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
7411         [BZ #16437]
7412         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7413         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7414         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7415         x86_64-x32-linux.
7416         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7417         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7418         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7420         [BZ #21261]
7421         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7422         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7423         names for all fields.
7424         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7425         for jmp_buf field renaming.
7426         (_JMPBUF_UNWINDS_ADJ): Likewise.
7428         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7429         with allow-header.
7431 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
7433         * malloc/malloc.c (unlink): Add consistency check between size and
7434         next->prev->size, to further harden against 1-byte overflows.
7436 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
7438         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7439         CPU_FEATURES_CPU_P.
7441 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
7443         [BZ #21259]
7444         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7445         unconditionally, not just for [__USE_MISC].
7447         [BZ #17786]
7448         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7449         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7450         mips-o32-linux.
7452         [BZ #21260]
7453         * sysdeps/unix/sysv/linux/alpha/Makefile
7454         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7455         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7457         * conform/conformtest.pl ($cross): New variable.
7458         (--cross): New command-line option.
7459         (runtest): Skip test execution when cross-compiling.
7460         * conform/Makefile (conformtest-cross): New variable.
7461         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7462         conformtest.pl.
7464         * conform/conformtest.pl ($xfail_str): New variable.
7465         (--xfail=): New command-line option.
7466         (top level): Handle expectations starting xfail[cond]-.
7467         * conform/Makefile (conformtest-xfail): New variable.
7468         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7469         conformtest.pl.
7471 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7473         * conform/conformtest.pl: Use compilation instead of execution
7474         tests for testing values of constants and usability in #if.
7476 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7478         * math/auto-libm-test-in: Mark some catan and catanh as
7479         xfail-rounding:ibm128-libgcc.
7480         * math/auto-libm-test-out-catan: Regenerate.
7481         * math/auto-libm-test-out-catanh: Likewise.
7483 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7485         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7486         (__END_NAMESPACE_STD): Likewise.
7487         (__USING_NAMESPACE_STD): Likewise.
7488         (__BEGIN_NAMESPACE_C99): Likewise.
7489         (__END_NAMESPACE_C99): Likewise.
7490         (__USING_NAMESPACE_C99): Likewise.
7491         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7492         undefine macro.
7493         (_Mdouble_END_NAMESPACE): Likewise.
7494         * ctype/ctype.h: Do not handle C++ namespaces.
7495         * libio/bits/stdio-ldbl.h: Likewise.
7496         * libio/stdio.h: Likewise.
7497         * locale/locale.h: Likewise.
7498         * math/bits/mathcalls.h: Likewise.
7499         * setjmp/setjmp.h: Likewise.
7500         * signal/signal.h: Likewise.
7501         * stdlib/bits/stdlib-float.h: Likewise.
7502         * stdlib/bits/stdlib-ldbl.h: Likewise.
7503         * stdlib/stdlib.h: Likewise.
7504         * string/string.h: Likewise.
7505         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7506         * time/bits/types/clock_t.h: Likewise.
7507         * time/bits/types/struct_tm.h: Likewise.
7508         * time/bits/types/time_t.h: Likewise.
7509         * time/time.h: Likewise.
7510         * wcsmbs/bits/wchar-ldbl.h: Likewise.
7511         * wcsmbs/uchar.h: Likewise.
7512         * wcsmbs/wchar.h: Likewise.
7513         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7514         * wctype/wctype.h: Do not handle C++ namespaces.
7515         * scripts/begin-end-check.pl: Remove.
7516         * Makefile (installed-headers): Likewise.
7517         (tests-special): Do not add $(objpfx)begin-end-check.out.
7518         ($(objpfx)begin-end-check.out): Remove.
7520 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
7521             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7523         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7524         (DL_PLATFORM_INIT): New define.
7525         (dl_platform_init): New function.
7526         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7527         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7528         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7529         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7530         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7532 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
7534         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7535         instead of PIC.
7537 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7539         [BZ #21094]
7540         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7541         24+24+24-bit pi for wider range of values around pi/2.
7542         * math/auto-libm-test-in: Add more tests of cos and tan.
7543         * math/auto-libm-test-out-cos: Regenerated.
7544         * math/auto-libm-test-out-tan: Likewise.
7546 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
7548         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7549         (RTLD_START): Don't record stack end address in _dl_start_user.
7551 2017-03-15  Alexey Neyman  <stilor@att.net>
7553         [BZ #21088]
7554         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7555         around definitions match those around use.
7557 2017-03-15  Alexey Neyman  <stilor@att.net>
7559         * configure.ac: Avoid empty subexpression in grep.
7560         * configure: Regenerate.
7562 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7564         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7565         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7566         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7567         (test_wrp_rv): Fix format.
7568         (test_wrp_rv2): New macro.
7569         (do_test): Handle mlock return on 64 bits kernels with 32 bits
7570         binaries.
7572 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7574         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7575         Use a union when storing pointers.
7576         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7577         cast result when passing to INIT_VEC_PTRS_LOOP.
7578         (VECTOR_WRAPPER_fFF_3): Likewise.
7579         (VECTOR_WRAPPER_fFF_4): Likewise.
7581 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7583         * include/bits/mathcalls-helper-functions.h: New file.
7584         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7585         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7586         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7587         math/bits/mathcalls-helper-functions.h.
7588         * math/bits/mathcalls-helper-functions.h: New file.
7589         * math/math.h: Include bits/mathcalls-helper-functions.h for
7590         float, double, and long double.
7592 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7594         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7595         instead of feraiseexcept.
7597 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7599         [BZ #21243]
7600         * support/temp_file.c (support_delete_temp_files): Add comment
7601         about ignored errors.
7603 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7605         [BZ #21244]
7606         * support/xclose.c: New file.
7607         * support/Makefile (libsupport-routines): Add xclose.
7608         * support/xunistd.h (xclose): Declare.
7609         * support/resolv_test.c (server_thread_tcp_client)
7610         (server_thread_tcp, make_server_sockets, resolv_test_start)
7611         (resolv_test_end): Call xclose instead of close.
7612         * support/support_enter_network_namespace.c
7613         (support_enter_network_namespace): Likewise.
7614         * support/support_run_diff.c (write_to_temp_file): Likewise.
7616 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7618         * support/support_format_dns_packet.c (support_format_dns_packet):
7619         Handle CNAME records in the response.  Extract RDATA names from
7620         rdata, not the whole packet.  Check AAAA record length.
7621         * support/tst-support_format_dns_packet.c: New file.
7622         * support/Makefile (tests): Add tst-support_format_dns_packet.
7623         (tst-support_format_dns_packet): Link against libresolv.
7625 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7627         [BZ #21232]
7628         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7629         posix_fadvise64 weak_alias for static build.
7631 2017-03-14  Andreas Schwab  <schwab@suse.de>
7633         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7634         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7635         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7636         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7637         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7638         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7639         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7640         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7642 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7644         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7645         posix error code.
7646         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7648 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7650         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7651         no_isolate usage for SH.
7653 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
7655         [BZ #15105]
7656         [BZ #19463]
7657         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7658         * inet/rcmd.c (rcmd_af): Likewise.
7659         * inet/rexec.c   (rexec_af): Likewise.
7660         * intl/dcigettext.c (_LIBC): Likewise.
7661         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7662         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7663         * locale/setlocale.c (setlocale): Likewise.
7664         * posix/spawn_faction_addopen.c
7665         (posix_spawn_file_actions_addopen): Likewise.
7666         * stdlib/putenv.c (putenv): Use __strndup.
7667         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7668         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7669         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7670         (__Need_M_And_C) Remove define/undef.
7671         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7672         (__malloc_and_calloc_defined): Remove define.
7673         * string/bits/string2.h (__strdup): Remove define.
7674         (strdup): Likewise.
7675         (__strndup): Likewise.
7676         (strndup): Likewise.
7678 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
7680         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7681         macro.
7682         (IPV6_ADDR_PREFERENCES): Likewise.
7683         (IPV6_MINHOPCOUNT): Likewise.
7684         (IPV6_ORIGDSTADDR): Likewise.
7685         (IPV6_RECVORIGDSTADDR): Likewise.
7686         (IPV6_TRANSPARENT): Likewise.
7687         (IPV6_UNICAST_IF): Likewise.
7688         (IPV6_RECVFRAGSIZE): Likewise.
7690 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
7692         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7694 2017-03-12  Alexey Neyman <stilor@att.net>
7696         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7697         in R_SH_DIR32 case is always false when inlined from
7698         dl-conflict.c. Ifdef out to prevent GCC from insertin an
7700 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
7702         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7703         (__ASSUME_RECV_SYSCALL): Replace duplicate by
7704         __ASSUME_SEND_SYSCALL.
7706 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
7708         * sunrpc/Makefile: don't build and install rpcsvc header
7709         files, rpcgen and librpcsvc.a by default.
7711 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
7713         * math/auto-libm-test-out-catan: Regenerated.
7714         * math/auto-libm-test-out-catanh: Likewise.
7715         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7717 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
7719         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7720         for long double with corrected test expectations.
7722 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7724         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7725         Define.
7726         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7727         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7728         * sysdeps/unix/sysv/linux/nios2/sysdep.h
7729         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7730         * sysdeps/unix/sysv/linux/tile/sysdep.h
7731         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7732         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7733         (__ASSUME_RECV_SYSCALL): Define.
7734         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7735         (__ASSUME_RECV_SYSCALL): Likewise.
7736         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7737         (__ASSUME_RECV_SYSCALL): Likewise.
7738         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7739         (__ASSUME_RECV_SYSCALL): Likewise.
7740         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7741         (__ASSUME_RECV_SYSCALL): Likewise.
7742         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7743         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7744         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7745         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7746         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7747         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7748         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7749         auto-generation list.
7750         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7751         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7752         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7753         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7754         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7755         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7756         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7757         __ASSUME_SENDTO_SYSCALL.
7758         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7759         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7760         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7762         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7763         auto-generation list.
7764         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7765         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7766         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7767         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7768         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7769         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7770         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7771         * sysdeps/unix/sysv/linux/kernel-features.h
7772         (__ASSUME_SENDTO_SYSCALL): Define by default.
7773         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7774         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7775         __NR_sendto.
7776         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7777         (__ASSUME_SENDTO_SYSCALL): Likewise.
7778         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7779         (__ASSUME_SENDTO_SYSCALL): Likewise.
7780         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7781         (__ASSUME_SENDTO_SYSCALL): Remove definition.
7782         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7783         (__ASSUME_SENDTO_SYSCALL): Likewise.
7784         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7785         (__ASSUME_SENDTO_SYSCALL): Likewise.
7786         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7788         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7789         auto-generation list.
7790         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7791         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7792         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7793         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7794         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7795         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7796         (__ASSUME_RECV_SYSCALL): New define.
7797         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7798         (__ASSUME_RECV_SYSCALL): Likewise.
7799         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7800         (__ASSUME_RECV_SYSCALL): Likewise.
7801         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7802         (__ASSUME_RECV_SYSCALL): Likewise.
7803         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7804         (__ASSUME_RECV_SYSCALL): Likewise.
7805         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7806         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7807         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7808         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7809         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7810         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7811         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7812         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7813         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7814         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7815         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7816         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7818         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7819         auto-generation list.
7820         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7821         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7822         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7823         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7824         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7825         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7826         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7827         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7828         (__ASSUME_RECVFROM_SYSCALL): Define by default.
7829         * sysdeps/unix/sysv/linux/kernel-features.h
7830         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7831         __NR_recvfrom.
7832         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7833         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7834         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7835         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7836         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7837         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7838         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7839         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7840         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7841         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7842         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7843         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7844         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7846         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7847         auto-generation list.
7848         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7849         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7850         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7851         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7852         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7853         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7854         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7855         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7856         * sysdeps/unix/sysv/linux/kernel-features.h
7857         (__ASSUME_CONNECT_SYSCALL): Define.
7858         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7859         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7860         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7861         (__ASSUME_CONNECT_SYSCALL): Likewise.
7862         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7863         (__ASSUME_CONNECT_SYSCALL): Likewise.
7864         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7865         (__ASSUME_CONNECT_SYSCALL): Likewise.
7867         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7868         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7869         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7870         auto-generation list.
7871         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7872         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7873         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7874         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7875         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7876         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7877         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7878         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7879         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7880         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7881         * sysdeps/unix/sysv/linux/kernel-features.h
7882         (__ASSUME_ACCEPT_SYSCALL): New define.
7883         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7884         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7885         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7886         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7887         (__ASSUME_ACCEPT_SYSCALL): Define.
7888         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7889         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7890         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7891         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7892         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7893         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7894         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7895         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7896         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7898 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
7899             Zack Weinberg  <zackw@panix.com>
7901         * posix/test-errno.c: New file.
7902         * posix/Makefile (tests): Add test-errno.
7903         * sysdeps/unix/sysv/linux/test-errno.c: New file.
7904         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7906 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
7908         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7910 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7912         * time/tzset.c (compute_offset): Open-code min macro.
7913         (min, max, sign): Remove.
7915 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7917         [BZ #15576]
7918         Remove TZNAME_MAX limit from sysconf.
7919         * include/time.h (__tzname_cur_max, __tzname_max): Remove
7920         declaration.
7921         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7922         compute_tzname_max.
7923         (compute_tzname_max): Remove.
7924         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7925         (update_vars): Do not update __tzname_cur_max.
7926         (tzset_internal): Remove argument.
7927         (__tzset): Adjust call to tzset_internal.
7928         (__tz_convert): Likewise.
7930         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7931         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7932         * manual/conf.texi (Sysconf Definition): Update comment.
7934 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7936         [BZ #21209]
7937         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7938         AT_SECURE processes.
7939         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7940         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7941         (test_child): Likewise.
7942         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7944 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7946         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7948 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7950         * sysdeps/s390/atomic-machine.h
7951         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7952         (__arch_compare_and_exchange_val_8_acq,
7953         __arch_compare_and_exchange_val_16_acq,
7954         __arch_compare_and_exchange_val_32_acq,
7955         __arch_compare_and_exchange_val_64_acq):
7956         Delete macro.
7957         (atomic_compare_and_exchange_val_acq,
7958         atomic_compare_and_exchange_val_rel,
7959         atomic_compare_and_exchange_bool_acq,
7960         catomic_compare_and_exchange_bool_acq,
7961         atomic_exchange_acq, atomic_exchange_rel,
7962         atomic_exchange_and_add_acq,
7963         atomic_exchange_and_add_rel,
7964         catomic_exchange_and_add, atomic_or_val,
7965         atomic_or, catomic_or, atomic_bit_test_set,
7966         atomic_and_val, atomic_and, catomic_and):
7967         Define macros with help of C11 atomic builtins.
7969 2017-03-03  Justus Winter <justus@gnupg.org>
7971         * sysdeps/mach/hurd/ftruncate64.c: New file.
7972         * sysdeps/mach/hurd/truncate64.c: Likewise.
7974 2017-03-03  Florian Weimer  <fweimer@redhat.com>
7976         * time/tzfile.c (NOID): Do not define.
7977         * time/tzset.c (NOID): Likewise.
7979 2017-03-03  Florian Weimer  <fweimer@redhat.com>
7981         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
7983 2017-03-02  Florian Weimer  <fweimer@redhat.com>
7985         * elf/get-dynamic-info.h: Remove header file inclusion guard.
7987 2017-03-02  Florian Weimer  <fweimer@redhat.com>
7989         [BZ #21015]
7990         * manual/install.texi (Configuring and compiling): Document
7991         --enable-bind-now.
7992         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
7993         (build-shlib-helper): Use $(LDFLAGS-lib.so).
7994         (format.lds): Likewise.
7995         [bind-now] (LDFLAGS-c.so): Remove.
7996         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
7997         be R_X86_64_GLOB_DAT.
7998         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
7999         relocation can be R_386_GLOB_DAT.
8000         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
8001         relocaiton can be R_ALPHA_GLOB_DAT.
8002         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
8004 2017-03-01  Zack Weinberg  <zackw@panix.com>
8006         * include/libc-pointer-arith.h: New file.  Define
8007         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
8008         PTR_ALIGN_DOWN here.
8009         * include/libc-internal.h: Definitions of above macros
8010         moved from here.  Don't include libc-diag.h anymore either.
8011         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
8012         Don't include libc-internal.h.
8014         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
8015         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
8016         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
8017         * string/strcoll_l.c, sysdeps/nacl/brk.c
8018         * sysdeps/unix/clock_settime.c
8019         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
8020         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
8021         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8022         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
8023         Don't include libc-internal.h.
8025         * elf/get-dynamic-info.h, iconv/loop.c
8026         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
8027         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
8028         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
8029         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
8030         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8031         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
8032         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8033         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
8034         * sysdeps/ieee754/ldbl-128/k_tanl.c
8035         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8036         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8037         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
8038         Include libc-diag.h instead of libc-internal.h.
8040         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
8041         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
8042         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
8043         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
8044         * sysdeps/unix/sysv/linux/spawni.c
8045         * sysdeps/x86_64/nptl/tls.h:
8046         Include libc-pointer-arith.h instead of libc-internal.h.
8048         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
8049         * sysdeps/x86_64/atomic-machine.h:
8050         Add multiple include guard.
8052         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
8053         * string/strcasestr.c: No need to include config.h.
8054         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
8055         sys/auxv.h. Don't include sysdep.h.
8056         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
8058         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
8059         DL_LOOKUP_ADDRESS.
8060         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
8061         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
8062         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
8063         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
8064         of ARTIFICIAL_LIMIT.
8065         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
8066         declaration of __clone2.
8068 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8070         * scripts/backport-support.sh (latest_commit): New file.
8072 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8074         [BZ #20257]
8075         * inet/Makefile (routines): Add deadline.
8076         (tests-static): Add tst-deadline.
8077         * inet/net-internal.h (struct deadline_current_time)
8078         (__deadline_current_time, struct deadline, __deadline_is_infinite)
8079         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
8080         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
8081         * inet/deadline.c: New file.
8082         * inet/tst-deadline.c: Likewise.
8083         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
8084         tst-udp-timeout, tst-udp-garbage.
8085         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
8086         explicitly.
8087         (tst-udp-garbage): Likewise.  Also link against thread library.
8088         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
8089         struct layout is part of the ABI.
8090         (clntudp_call): Rework timeout handling.
8091         * sunrpc/tst-udp-garbage.c: New file.
8092         * sunrpc/tst-udp-nonblocking.c: Likewise.
8093         * sunrpc/tst-udp-timeout.c: Likewise.
8095 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8097         [BZ #5010]
8098         * sunrpc/svc.c (svc_is_mapped): Remove.
8099         (svc_unregister): Obtain mapped status while the service is still
8100         registered.
8101         * sunrpc/Makefile [have-thread-library] (tests): Add
8102         tst-svc_register.
8103         (tst-svc_register): Link against libc.so explicitly and the thread
8104         library.
8105         * sunrpc/tst-svc_register.c: New file.
8107 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
8109         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
8110         * sysdeps/pthread/bits/sigthread.h: Likewise.
8112 2017-02-27  Florian Weimer  <fweimer@redhat.com>
8114         [BZ #21115]
8115         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
8116         * sunrpc/Makefile (tests): Add tst-udp-error.
8117         (tst-udp-error): Link against libc.so explicitly.
8118         * sunrpc/tst-udp-error: New file.
8120 2017-02-25  Zack Weinberg  <zackw@panix.com>
8122         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8123         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8125         * sysdeps/generic/math_ldbl.h
8126         * sysdeps/ia64/fpu/math_ldbl.h
8127         * sysdeps/ieee754/ldbl-128/math_ldbl.h
8128         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8129         * sysdeps/ieee754/ldbl-96/math_ldbl.h
8130         * sysdeps/powerpc/fpu/math_ldbl.h
8131         * sysdeps/x86_64/fpu/math_ldbl.h:
8132         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
8133         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8134         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
8135         Add copyright notices.
8137         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8138         Don't use EXTRACT_WORDS64.
8140         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8141         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8142         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8143         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8144         Include math_ldbl.h, not math_private.h.
8146 2017-02-25  Zack Weinberg  <zackw@panix.com>
8148         * include/libc-diag.h: New file.  Define ignore_value,
8149         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8150         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8152         * include/libc-internal.h: Definitions of above macros moved from
8153         here.  Include libc-diag.h.  Add copyright notice.
8155         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8156         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8157         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8158         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8159         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8160         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8161         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8162         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8163         Include libc-diag.h instead of libc-internal.h.
8165         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
8166         call to unsetenv (NULL).
8167         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
8168         call to pthread_mutexattr_destroy (NULL).
8170 2017-02-25  Zack Weinberg  <zackw@panix.com>
8172         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8173         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8174         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
8175         gets was removed from C++ in C++14.
8176         * include/stdio.h: Remove redundant declaration of gets.
8177         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8178         be declared, since we are testing it.
8179         * stdio-common/Makefile (tst-gets.c): Compile with
8180         -Wno-deprecated-declarations.
8181         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8182         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8183         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8184         Compile with -Wno-deprecated-declarations.
8186 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8188         * math/libm-test-support.c (check_ulp): Use LIT() around literal
8189         numbers.
8191 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8193         * resolv/tst-resolv-qtypes.c (domain):
8194         Change type to const pointer to const char.
8196 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
8198         * math/Makefile (libm-tests-generated): Remove variable.
8199         (libm-tests-base-normal): New variable.
8200         (libm-tests-base-finite): Likewise.
8201         (libm-tests-base-inline): Likewise.
8202         (libm-tests-base): Likewise.
8203         (libm-tests-normal): Likewise.
8204         (libm-tests-finite): Likewise.
8205         (libm-tests-inline): Likewise.
8206         (libm-tests-vector): Likewise.
8207         (libm-tests): Define in terms of these new variables.
8208         (libm-tests-for-type): New variable.
8209         (libm-tests.o): Move definition.
8210         (tests): Move addition of $(libm-tests).
8211         (generated): Update for new and removed libm test files.
8212         ($(objpfx)libm-test.c): Remove target.
8213         ($(objpfx)libm-have-vector-test.h): Likewise.
8214         (CFLAGS-test-double-vlen2.c): Remove variable.
8215         (CFLAGS-test-double-vlen4.c): Likewise.
8216         (CFLAGS-test-double-vlen8.c): Likewise.
8217         (CFLAGS-test-float-vlen4.c): Likewise.
8218         (CFLAGS-test-float-vlen8.c): Likewise.
8219         (CFLAGS-test-float-vlen16.c): Likewise.
8220         (CFLAGS-test-float.c): Likewise.
8221         (CFLAGS-test-float-finite.c): Likewise.
8222         (CFLAGS-libm-test-support-float.c): Likewise.
8223         (CFLAGS-test-double.c): Likewise.
8224         (CFLAGS-test-double-finite.c): Likewise.
8225         (CFLAGS-libm-test-support-double.c): Likewise.
8226         (CFLAGS-test-ldouble.c): Likewise.
8227         (CFLAGS-test-ldouble-finite.c): Likewise.
8228         (CFLAGS-libm-test-support-ldouble.c): Likewise.
8229         (libm-test-inline-cflags): New variable.
8230         (CFLAGS-test-ifloat.c): Remove variable.
8231         (CFLAGS-test-idouble.c): Likewise.
8232         (CFLAGS-test-ildouble.c): Likewise.
8233         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8234         dependencies.
8235         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8236         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8237         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8238         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8239         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8240         Likewise.
8241         (dependencies on libm-test-support-*.o): Remove.
8242         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8243         rules using iterators.
8244         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8245         Likewise.
8246         ($(objpfx)libm-test-support-$(o).o): Likewise.
8247         ($(addprefix $(objpfx),$(filter-out $(tests-static)
8248         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8249         instead.
8250         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8251         define rule instead.
8252         * math/README.libm-test: Update.
8253         * math/libm-test-acos.inc: Include libm-test-driver.c.
8254         (do_test): New function.
8255         * math/libm-test-acosh.inc: Include libm-test-driver.c.
8256         (do_test): New function.
8257         * math/libm-test-asin.inc: Include libm-test-driver.c.
8258         (do_test): New function.
8259         * math/libm-test-asinh.inc: Include libm-test-driver.c.
8260         (do_test): New function.
8261         * math/libm-test-atan.inc: Include libm-test-driver.c.
8262         (do_test): New function.
8263         * math/libm-test-atan2.inc: Include libm-test-driver.c.
8264         (do_test): New function.
8265         * math/libm-test-atanh.inc: Include libm-test-driver.c.
8266         (do_test): New function.
8267         * math/libm-test-cabs.inc: Include libm-test-driver.c.
8268         (do_test): New function.
8269         * math/libm-test-cacos.inc: Include libm-test-driver.c.
8270         (do_test): New function.
8271         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8272         (do_test): New function.
8273         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8274         (do_test): New function.
8275         * math/libm-test-carg.inc: Include libm-test-driver.c.
8276         (do_test): New function.
8277         * math/libm-test-casin.inc: Include libm-test-driver.c.
8278         (do_test): New function.
8279         * math/libm-test-casinh.inc: Include libm-test-driver.c.
8280         (do_test): New function.
8281         * math/libm-test-catan.inc: Include libm-test-driver.c.
8282         (do_test): New function.
8283         * math/libm-test-catanh.inc: Include libm-test-driver.c.
8284         (do_test): New function.
8285         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8286         (do_test): New function.
8287         * math/libm-test-ccos.inc: Include libm-test-driver.c.
8288         (do_test): New function.
8289         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8290         (do_test): New function.
8291         * math/libm-test-ceil.inc: Include libm-test-driver.c.
8292         (do_test): New function.
8293         * math/libm-test-cexp.inc: Include libm-test-driver.c.
8294         (do_test): New function.
8295         * math/libm-test-cimag.inc: Include libm-test-driver.c.
8296         (do_test): New function.
8297         * math/libm-test-clog.inc: Include libm-test-driver.c.
8298         (do_test): New function.
8299         * math/libm-test-clog10.inc: Include libm-test-driver.c.
8300         (do_test): New function.
8301         * math/libm-test-conj.inc: Include libm-test-driver.c.
8302         (do_test): New function.
8303         * math/libm-test-copysign.inc: Include libm-test-driver.c.
8304         (do_test): New function.
8305         * math/libm-test-cos.inc: Include libm-test-driver.c.
8306         (do_test): New function.
8307         * math/libm-test-cosh.inc: Include libm-test-driver.c.
8308         (do_test): New function.
8309         * math/libm-test-cpow.inc: Include libm-test-driver.c.
8310         (do_test): New function.
8311         * math/libm-test-cproj.inc: Include libm-test-driver.c.
8312         (do_test): New function.
8313         * math/libm-test-creal.inc: Include libm-test-driver.c.
8314         (do_test): New function.
8315         * math/libm-test-csin.inc: Include libm-test-driver.c.
8316         (do_test): New function.
8317         * math/libm-test-csinh.inc: Include libm-test-driver.c.
8318         (do_test): New function.
8319         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8320         (do_test): New function.
8321         * math/libm-test-ctan.inc: Include libm-test-driver.c.
8322         (do_test): New function.
8323         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8324         (do_test): New function.
8325         * math/libm-test-erf.inc: Include libm-test-driver.c.
8326         (do_test): New function.
8327         * math/libm-test-erfc.inc: Include libm-test-driver.c.
8328         (do_test): New function.
8329         * math/libm-test-exp.inc: Include libm-test-driver.c.
8330         (do_test): New function.
8331         * math/libm-test-exp10.inc: Include libm-test-driver.c.
8332         (do_test): New function.
8333         * math/libm-test-exp2.inc: Include libm-test-driver.c.
8334         (do_test): New function.
8335         * math/libm-test-expm1.inc: Include libm-test-driver.c.
8336         (do_test): New function.
8337         * math/libm-test-fabs.inc: Include libm-test-driver.c.
8338         (do_test): New function.
8339         * math/libm-test-fdim.inc: Include libm-test-driver.c.
8340         (do_test): New function.
8341         * math/libm-test-floor.inc: Include libm-test-driver.c.
8342         (do_test): New function.
8343         * math/libm-test-fma.inc: Include libm-test-driver.c.
8344         (do_test): New function.
8345         * math/libm-test-fmax.inc: Include libm-test-driver.c.
8346         (do_test): New function.
8347         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8348         (do_test): New function.
8349         * math/libm-test-fmin.inc: Include libm-test-driver.c.
8350         (do_test): New function.
8351         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8352         (do_test): New function.
8353         * math/libm-test-fmod.inc: Include libm-test-driver.c.
8354         (do_test): New function.
8355         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8356         (do_test): New function.
8357         * math/libm-test-frexp.inc: Include libm-test-driver.c.
8358         (do_test): New function.
8359         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8360         (do_test): New function.
8361         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8362         (do_test): New function.
8363         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8364         (do_test): New function.
8365         * math/libm-test-hypot.inc: Include libm-test-driver.c.
8366         (do_test): New function.
8367         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8368         (do_test): New function.
8369         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8370         (do_test): New function.
8371         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8372         (do_test): New function.
8373         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8374         (do_test): New function.
8375         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8376         (do_test): New function.
8377         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8378         (do_test): New function.
8379         * math/libm-test-isinf.inc: Include libm-test-driver.c.
8380         (do_test): New function.
8381         * math/libm-test-isless.inc: Include libm-test-driver.c.
8382         (do_test): New function.
8383         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8384         (do_test): New function.
8385         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8386         (do_test): New function.
8387         * math/libm-test-isnan.inc: Include libm-test-driver.c.
8388         (do_test): New function.
8389         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8390         (do_test): New function.
8391         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8392         (do_test): New function.
8393         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8394         (do_test): New function.
8395         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8396         (do_test): New function.
8397         * math/libm-test-iszero.inc: Include libm-test-driver.c.
8398         (do_test): New function.
8399         * math/libm-test-j0.inc: Include libm-test-driver.c.
8400         (do_test): New function.
8401         * math/libm-test-j1.inc: Include libm-test-driver.c.
8402         (do_test): New function.
8403         * math/libm-test-jn.inc: Include libm-test-driver.c.
8404         (do_test): New function.
8405         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8406         (do_test): New function.
8407         * math/libm-test-llogb.inc: Include libm-test-driver.c.
8408         (do_test): New function.
8409         * math/libm-test-llrint.inc: Include libm-test-driver.c.
8410         (do_test): New function.
8411         * math/libm-test-llround.inc: Include libm-test-driver.c.
8412         (do_test): New function.
8413         * math/libm-test-log.inc: Include libm-test-driver.c.
8414         (do_test): New function.
8415         * math/libm-test-log10.inc: Include libm-test-driver.c.
8416         (do_test): New function.
8417         * math/libm-test-log1p.inc: Include libm-test-driver.c.
8418         (do_test): New function.
8419         * math/libm-test-log2.inc: Include libm-test-driver.c.
8420         (do_test): New function.
8421         * math/libm-test-logb.inc: Include libm-test-driver.c.
8422         (do_test): New function.
8423         * math/libm-test-lrint.inc: Include libm-test-driver.c.
8424         (do_test): New function.
8425         * math/libm-test-lround.inc: Include libm-test-driver.c.
8426         (do_test): New function.
8427         * math/libm-test-modf.inc: Include libm-test-driver.c.
8428         (do_test): New function.
8429         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8430         (do_test): New function.
8431         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8432         (do_test): New function.
8433         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8434         (do_test): New function.
8435         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8436         (do_test): New function.
8437         * math/libm-test-nextup.inc: Include libm-test-driver.c.
8438         (do_test): New function.
8439         * math/libm-test-pow.inc: Include libm-test-driver.c.
8440         (do_test): New function.
8441         * math/libm-test-remainder.inc: Include libm-test-driver.c.
8442         (do_test): New function.
8443         * math/libm-test-remquo.inc: Include libm-test-driver.c.
8444         (do_test): New function.
8445         * math/libm-test-rint.inc: Include libm-test-driver.c.
8446         (do_test): New function.
8447         * math/libm-test-round.inc: Include libm-test-driver.c.
8448         (do_test): New function.
8449         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8450         (do_test): New function.
8451         * math/libm-test-scalb.inc: Include libm-test-driver.c.
8452         (do_test): New function.
8453         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8454         (do_test): New function.
8455         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8456         (do_test): New function.
8457         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8458         (do_test): New function.
8459         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8460         (do_test): New function.
8461         * math/libm-test-signbit.inc: Include libm-test-driver.c.
8462         (do_test): New function.
8463         * math/libm-test-significand.inc: Include libm-test-driver.c.
8464         (do_test): New function.
8465         * math/libm-test-sin.inc: Include libm-test-driver.c.
8466         (do_test): New function.
8467         * math/libm-test-sincos.inc: Include libm-test-driver.c.
8468         (do_test): New function.
8469         * math/libm-test-sinh.inc: Include libm-test-driver.c.
8470         (do_test): New function.
8471         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8472         (do_test): New function.
8473         * math/libm-test-tan.inc: Include libm-test-driver.c.
8474         (do_test): New function.
8475         * math/libm-test-tanh.inc: Include libm-test-driver.c.
8476         (do_test): New function.
8477         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8478         (do_test): New function.
8479         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8480         (do_test): New function.
8481         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8482         (do_test): New function.
8483         * math/libm-test-trunc.inc: Include libm-test-driver.c.
8484         (do_test): New function.
8485         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8486         (do_test): New function.
8487         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8488         (do_test): New function.
8489         * math/libm-test-y0.inc: Include libm-test-driver.c.
8490         (do_test): New function.
8491         * math/libm-test-y1.inc: Include libm-test-driver.c.
8492         (do_test): New function.
8493         * math/libm-test-yn.inc: Include libm-test-driver.c.
8494         (do_test): New function.
8495         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8496         (HAVE_VECTOR): Remove macro.
8497         (START): Do not call HAVE_VECTOR.
8498         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8499         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8500         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8501         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8502         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8503         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8504         * math/test-math-vector.h (FUNC_TEST): New macro.
8505         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8506         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8507         (double-vlen4-funcs): Likewise.
8508         (double-vlen4-avx2-funcs): Likewise.
8509         (double-vlen8-funcs): Likewise.
8510         (float-vlen4-funcs): Likewise.
8511         (float-vlen8-funcs): Likewise.
8512         (float-vlen8-avx2-funcs): Likewise.
8513         (float-vlen16-funcs): Likewise.
8514         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8515         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8516         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8517         macro.
8518         (TEST_VECTOR_sin): Likewise.
8519         (TEST_VECTOR_sincos): Likewise.
8520         (TEST_VECTOR_log): Likewise.
8521         (TEST_VECTOR_exp): Likewise.
8522         (TEST_VECTOR_pow): Likewise.
8523         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8524         Likewise.
8525         (TEST_VECTOR_sin): Likewise.
8526         (TEST_VECTOR_sincos): Likewise.
8527         (TEST_VECTOR_log): Likewise.
8528         (TEST_VECTOR_exp): Likewise.
8529         (TEST_VECTOR_pow): Likewise.
8530         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8531         Likewise.
8532         (TEST_VECTOR_sinf): Likewise.
8533         (TEST_VECTOR_sincosf): Likewise.
8534         (TEST_VECTOR_logf): Likewise.
8535         (TEST_VECTOR_expf): Likewise.
8536         (TEST_VECTOR_powf): Likewise.
8537         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8538         Likewise.
8539         (TEST_VECTOR_sinf): Likewise.
8540         (TEST_VECTOR_sincosf): Likewise.
8541         (TEST_VECTOR_logf): Likewise.
8542         (TEST_VECTOR_expf): Likewise.
8543         (TEST_VECTOR_powf): Likewise.
8544         * math/gen-libm-have-vector-test.sh: Remove file.
8545         * math/libm-test.inc: Likewise.
8546         * math/libm-test-support-double.c: Likewise.
8547         * math/libm-test-support-float.c: Likewise.
8548         * math/libm-test-support-ldouble.c: Likewise.
8549         * math/test-double-finite.c: Likewise.: Likewise.
8550         * math/test-double.c: Likewise.
8551         * math/test-float-finite.c: Likewise.
8552         * math/test-float.c: Likewise.
8553         * math/test-idouble.c: Likewise.
8554         * math/test-ifloat.c: Likewise.
8555         * math/test-ildouble.c: Likewise.
8556         * math/test-ldouble-finite.c: Likewise.
8557         * math/test-ldouble.c: Likewise.
8558         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8559         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8560         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8561         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8562         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8563         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8564         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8565         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8566         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8567         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8569 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8570            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8572         * math/Makefile: Add wrappers to gen-libm-calls.
8573         * math/w_acos_template.c: New file.
8574         * math/w_acosh_template.c: Likewise.
8575         * math/w_asin_template.c: Likewise.
8576         * math/w_atan2_template.c: Likewise.
8577         * math/w_atanh_template.c: Likewise.
8578         * math/w_cosh_template.c: Likewise.
8579         * math/w_exp10_template.c: Likewise.
8580         * math/w_exp2_template.c: Likewise.
8581         * math/w_exp_template.c: Likewise.
8582         * math/w_fmod_template.c: Likewise.
8583         * math/w_hypot_template.c: Likewise.
8584         * math/w_j0_template.c: Likewise.
8585         * math/w_j1_template.c: Likewise.
8586         * math/w_jn_template.c: Likewise.
8587         * math/w_lgamma_r_template.c: Likewise.
8588         * math/w_lgamma_template.c: Likewise.
8589         * math/w_log10_template.c: Likewise.
8590         * math/w_log2_template.c: Likewise.
8591         * math/w_log_template.c: Likewise.
8592         * math/w_pow_template.c: Likewise.
8593         * math/w_remainder_template.c: Likewise.
8594         * math/w_sinh_template.c: Likewise.
8595         * math/w_sqrt_template.c: Likewise.
8596         * math/w_tgamma_template.c: Likewise.: Likewise.
8597         * sysdeps/generic/math-type-macros-double.h
8598         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8599         the new wrappers.
8600         * sysdeps/generic/math-type-macros-float.h: Likewise.
8601         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8603 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
8605         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8606         New enum constant and macro.
8608         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8609         kernel version to 4.10.
8611 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
8613         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8615 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8619 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8621         * sysdeps/powerpc/tst-set_ppr.c: New file.
8622         Implement test cases for __ppc_set_ppr_* functions.
8623         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8624         in the list of tests.
8626 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8628         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8629         instead of test-skeleton.c.
8630         (do_test): Replaced pthread_create and pthread_join with
8631         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
8632         Removed unneeded status variable.
8633         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8634         instead of test-skeleton.c.
8635         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8637 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
8639         [BZ #20313]
8640         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8641         201605L, for Unicode 9.
8643 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
8645         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8646         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8647         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8648         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8649         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8650         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8652 2017-02-19  Zack Weinberg  <zackw@panix.com>
8654         * rt/tst-mqueue4.c: Include stdint.h.
8656 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8658         * sysdeps/arm/libm-test-ulps: Update.
8659         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8660         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8661         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8663 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8665         [BZ #21029]
8666         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8667         * sysdeps/unix/sysv/linux/i386/Makefile
8668         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8669         (uses-6-syscall-arguments): Remove.
8670         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8671         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8672         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8673         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8674         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8675         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8676         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8677         [$(subdir) = misc] (cflags-pselect.o): Likewise.
8678         [$(subdir) = misc] (cflags-pselect.os): Likewise.
8679         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8680         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8681         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8682         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8683         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8684         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8685         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8686         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8687         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8688         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8689         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8690         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8691         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8692         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8693         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8694         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8695         Likewise.
8696         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8697         Likewise.
8698         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8699         Likewise.
8700         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8701         Likewise.
8702         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8703         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8704         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8705         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8706         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8707         ebp on inline assembly.
8708         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8709         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8710         Set if CAN_USE_REGISTER_ASM_EBP is set.
8712 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
8714         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8715         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8717 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8719         * math/auto-libm-test-in: Add tests of catan and catanh.
8720         * math/auto-libm-test-out-catan: New generated file.
8721         * math/auto-libm-test-out-catanh: Likewise.
8722         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8723         Move tests with finite inputs, except divide-by-zero cases, to
8724         auto-libm-test-in.
8725         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8726         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8727         (libm-test-funcs-noauto): Remove catan and catanh.
8728         * sysdeps/i386/fpu/libm-test-ulps: Update.
8729         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8732         * math/auto-libm-test-in: Add tests of casin and casinh.
8733         * math/auto-libm-test-out-casin: New generated file.
8734         * math/auto-libm-test-out-casinh: Likewise.
8735         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8736         Move tests with finite inputs to auto-libm-test-in.
8737         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8738         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8739         (libm-test-funcs-noauto): Remove casin and casinh.
8740         * sysdeps/i386/fpu/libm-test-ulps: Update.
8741         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8744         * math/auto-libm-test-in: Add tests of cacos and cacosh.
8745         * math/auto-libm-test-out-cacos: New generated file.
8746         * math/auto-libm-test-out-cacosh: Likewise.
8747         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8748         Move tests with finite inputs to auto-libm-test-in.
8749         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8750         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8751         (libm-test-funcs-noauto): Remove cacos and cacosh.
8752         * sysdeps/i386/fpu/libm-test-ulps: Update.
8753         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8756         Revert:
8757         2017-02-16  Zack Weinberg  <zackw@panix.com>
8759         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8760         Don't include init-arch.h.
8761         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8762         Don't include init-arch.h.
8764 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8766         [BZ #21171]
8767         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8768         +Inf and raise divide-by-zero when x is negative.
8769         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8770         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8771         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
8772         -Inf and raise divide-by-zero when x = +-0.
8773         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8774         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8775         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8776         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8777         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8778         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8779         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8781 2017-02-16  Zack Weinberg  <zackw@panix.com>
8783         * scripts/build-many-glibcs.py (bot_build_mail): If the
8784         bot_config does not contain all of the necessary email-
8785         related settings, just print a warning and continue.
8787 2017-02-16  Zack Weinberg  <zackw@panix.com>
8789         * crypt/md5.h: Test _LIBC with #if defined, not #if.
8790         * dirent/opendir-tst1.c: Include sys/stat.h.
8791         * dirent/tst-fdopendir.c: Include sys/stat.h.
8792         * dirent/tst-fdopendir2.c: Include stdlib.h.
8793         * dirent/tst-scandir.c: Include stdbool.h.
8794         * elf/tst-auditmod1.c: Include link.h and stddef.h.
8795         * elf/tst-tls15.c: Include stdlib.h.
8796         * elf/tst-tls16.c: Include stdlib.h.
8797         * elf/tst-tls17.c: Include stdlib.h.
8798         * elf/tst-tls18.c: Include stdlib.h.
8799         * iconv/tst-iconv6.c: Include endian.h.
8800         * iconvdata/bug-iconv11.c: Include limits.h.
8801         * io/test-utime.c: Include stdint.h.
8802         * io/tst-faccessat.c: Include sys/stat.h.
8803         * io/tst-fchmodat.c: Include sys/stat.h.
8804         * io/tst-fchownat.c: Include sys/stat.h.
8805         * io/tst-fstatat.c: Include sys/stat.h.
8806         * io/tst-futimesat.c: Include sys/stat.h.
8807         * io/tst-linkat.c: Include sys/stat.h.
8808         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8809         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8810         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8811         * io/tst-openat.c: Include stdbool.h.
8812         * io/tst-readlinkat.c: Include sys/stat.h.
8813         * io/tst-renameat.c: Include sys/stat.h.
8814         * io/tst-symlinkat.c: Include sys/stat.h.
8815         * io/tst-unlinkat.c: Include stdbool.h.
8816         * libio/bug-memstream1.c: Include stdlib.h.
8817         * libio/bug-wmemstream1.c: Include stdlib.h.
8818         * libio/tst-fwrite-error.c: Include stdlib.h.
8819         * libio/tst-memstream1.c: Include stdlib.h.
8820         * libio/tst-memstream2.c: Include stdlib.h.
8821         * libio/tst-memstream3.c: Include stdlib.h.
8822         * malloc/tst-interpose-aux.c: Include stdint.h.
8823         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8824         * nptl/tst-basic7.c: Include limits.h.
8825         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8826         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8827         * nptl/tst-cancel4_1.c: Include stddef.h.
8828         * nptl/tst-cancel4_2.c: Include stddef.h.
8829         * nptl/tst-cond16.c: Include limits.h.
8830         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8831         * nptl/tst-cond18.c: Include limits.h.
8832         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8833         * nptl/tst-cond4.c: Include stdint.h.
8834         * nptl/tst-cond6.c: Include stdint.h.
8835         * nptl/tst-stack2.c: Include limits.h.
8836         * nptl/tst-stackguard1.c: Include stddef.h.
8837         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8838         * nptl/tst-tls4moda.c: Include stddef.h.
8839         Don't include stdio.h, unistd.h, or tls.h.
8840         * nptl/tst-tls4modb.c: Include stddef.h.
8841         Don't include stdio.h, unistd.h, or tls.h.
8842         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8843         * posix/tst-getaddrinfo2.c: Include stdio.h.
8844         * posix/tst-getaddrinfo5.c: Include stdio.h.
8845         * posix/tst-pathconf.c: Include sys/stat.h.
8846         * posix/tst-posix_fadvise-common.c: Include stdint.h.
8847         * posix/tst-preadwrite-common.c: Include sys/stat.h.
8848         * posix/tst-regex.c: Include stdint.h.
8849         Don't include spawn.h or spawn_int.h.
8850         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8851         * posix/tst-vfork3.c: Include sys/stat.h.
8852         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8853         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8854         * resolv/tst-resolv-search.c: Include stdlib.h.
8855         * stdio-common/tst-fmemopen2.c: Include stdint.h.
8856         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8857         * stdlib/test-canon.c: Include sys/stat.h.
8858         * stdlib/tst-tls-atexit.c: Include stdbool.h.
8859         * string/test-memchr.c: Include stdint.h.
8860         * string/tst-cmp.c: Include stdint.h.
8861         * sysdeps/pthread/tst-timer.c: Include stdint.h.
8862         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8863         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8864         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8865         Don't include init-arch.h.
8866         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8867         Don't include init-arch.h.
8868         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8869         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8870         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8871         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8872         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8873         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8874         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8875         * time/clocktest.c: Include stdint.h.
8876         * time/tst-posixtz.c: Include stdint.h.
8877         * timezone/tst-timezone.c: Include stdint.h.
8879 2017-02-16  Zack Weinberg  <zackw@panix.com>
8881         * string/string.h [__USE_MISC]: Include strings.h.
8882         (__bzero, bcmp, bcopy, bzero, index, rindex)
8883         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8884         (ffs, ffsl, ffsll): Don't declare.
8885         * string/strings.h: Do not suppress the file if string.h has
8886         already been included.
8887         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8888         annotations.
8889         (index, rindex): Define inline forwarders even if
8890         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8891         (ffs): Use __attribute_const__.
8892         (ffsl, ffsll): Declare here.
8893         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8894         have now been standardized.
8895         * include/string.h (__bzero): Declare here.
8897         * bits/types.h: Move to posix/bits.
8898         * include/bits/types.h: New wrapper.
8900 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8902         * string/bits/string2.h (strcmp): Remove define.
8903         (__strcmp_cg): Likewise.
8904         (strncmp): Likewise.
8906 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8908         * include/string.h: Add __cplusplus check.
8910 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8912         [BZ #21134]
8913         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8914         "divide by zero" exception when the input is zero.
8915         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8916         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8917         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8918         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8919         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8921 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
8923         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8924         and include ...
8925         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
8926         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8927         to, and include ...
8928         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
8929         file.
8930         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8931         and include ...
8932         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
8933         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8934         and include ...
8935         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
8936         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8937         and include ...
8938         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
8939         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8940         and include ...
8941         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
8942         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8943         to, and include ...
8944         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
8945         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8946         and include ...
8947         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
8949 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
8951         * math/libm-test-support.h: Do not include <math-tests-arch.h>
8952         here.
8953         * math/libm-test-support.c (libm_test_init): Do not call
8954         INIT_ARCH_EXT here.
8955         * math/libm-test-driver.c: Include <math-tests-arch.h>.
8956         (main): Call INIT_ARCH_EXT.
8958 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8960         [BZ #21130]
8961         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
8962         with the "invalid" exception raised when x is -Inf.
8963         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8965 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
8967         * string/bits/string2.h (strchr): Remove define.
8969 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
8971         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
8972         tst-avx512.
8973         (test-extras): Add tst-avx-aux and tst-avx512-aux.
8974         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
8975         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
8976         ($(objpfx)tst-sse): New rule.
8977         ($(objpfx)tst-avx): Likewise.
8978         ($(objpfx)tst-avx512): Likewise.
8979         (CFLAGS-tst-avx-aux.c): New.
8980         (CFLAGS-tst-avxmod.c): Likewise.
8981         (CFLAGS-tst-avx512-aux.c): Likewise.
8982         (CFLAGS-tst-avx512mod.c): Likewise.
8983         * sysdeps/x86_64/tst-avx-aux.c: New file.
8984         * sysdeps/x86_64/tst-avx.c: Likewise.
8985         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
8986         * sysdeps/x86_64/tst-avx512.c: Likewise.
8987         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
8988         * sysdeps/x86_64/tst-avxmod.c: Likewise.
8989         * sysdeps/x86_64/tst-sse.c: Likewise.
8990         * sysdeps/x86_64/tst-ssemod.c: Likewise.
8992 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
8994         * math/auto-libm-test-in: Add more tests of csin and csinh.
8995         * math/auto-libm-test-out-csin: Regenerated.
8996         * math/auto-libm-test-out-csinh: Likewise.
8997         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
8998         auto-libm-test-in.
8999         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
9001 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9003         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
9004         libm-compat-calls-auto.
9005         (libm-compat-calls): Likewise.
9006         (libm-compat-calls-auto): Rename to libm-compat-calls and add
9007         w_lgamma_compatF and k_standardF (merged from the items above).
9008         (libm-routines): Use libm-compat-calls, instead of
9009         libm-compat-calls-auto, with type-foreach.
9011 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
9013         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
9014         macro.
9015         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
9016         (CFLAGS-test-ifloat.c): ... this.  Remove
9017         -U__LIBC_INTERNAL_MATH_INLINES.
9018         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
9019         (CFLAGS-test-idouble.c): ... this.  Remove
9020         -U__LIBC_INTERNAL_MATH_INLINES.
9021         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
9022         (CFLAGS-test-ildouble.c): ... this.  Remove
9023         -U__LIBC_INTERNAL_MATH_INLINES.
9025 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
9027         * math/libm-test-support.c: New file.  Content from
9028         math/libm-test-driver.c.
9029         * math/libm-test-support.h: Likewise.
9030         * math/libm-test-support-double.c: New file.
9031         * math/libm-test-support-float.c: Likewise.
9032         * math/libm-test-support-ldouble.c: Likewise.
9033         * math/libm-test-driver.c: Remove main comment and header
9034         includes.  Include libm-test-support.h.
9035         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
9036         (flag_test_errno): Remove static.
9037         (flag_test_exceptions): Likewise.
9038         (flag_test_finite): Likewise.
9039         (flag_test_inline): Likewise.
9040         (flag_test_mathvec): Likewise.
9041         (test_msg): Likewise.
9042         (NO_EXCEPTION): Remove.
9043         (INVALID_EXCEPTION): Likewise.
9044         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9045         (OVERFLOW_EXCEPTION): Likewise.
9046         (UNDERFLOW_EXCEPTION): Likewise.
9047         (INEXACT_EXCEPTION): Likewise.
9048         (INVALID_EXCEPTION_OK): Likewise.
9049         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9050         (OVERFLOW_EXCEPTION_OK): Likewise.
9051         (UNDERFLOW_EXCEPTION_OK): Likewise.
9052         (NO_INEXACT_EXCEPTION): Likewise.
9053         (EXCEPTIONS_OK): Likewise.
9054         (IGNORE_ZERO_INF_SIGN): Likewise.
9055         (TEST_NAN_SIGN): Likewise.
9056         (TEST_NAN_PAYLOAD): Likewise.
9057         (NO_TEST_INLINE): Likewise.
9058         (XFAIL_TEST): Likewise.
9059         (ERRNO_UNCHANGED): Likewise.
9060         (ERRNO_EDOM): Likewise.
9061         (ERRNO_ERANGE): Likewise.
9062         (IGNORE_RESULT): Likewise.
9063         (NON_FINITE): Likewise.
9064         (TEST_SNAN): Likewise.
9065         (NO_TEST_MATHVEC): Likewise.
9066         (__CONCATX): Likewise.
9067         (TYPE_MIN): Likewise.
9068         (TYPE_TRUE_MIN): Likewise.
9069         (TYPE_MAX): Likewise.
9070         (MIN_EXP): Likewise.
9071         (MAX_EXP): Likewise.
9072         (MANT_DIG): Likewise.
9073         (FSTR_MAX): Likewise.
9074         (ulp_idx): Likewise.
9075         (qtype_str): Remove static.
9076         (TEST_COND_binary32): Remove.
9077         (TEST_COND_binary64): Likewise.
9078         (TEST_COND_binary128): Likewise.
9079         (TEST_COND_ibm128): Likewise.
9080         (TEST_COND_intel96): Likewise.
9081         (TEST_COND_m68k96): Likewise.
9082         (TEST_COND_ibm128_libgcc): Likewise.
9083         (XFAIL_IBM128_LIBGCC): Likewise.
9084         (PAYLOAD_DIG): Likewise.
9085         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9086         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9087         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9088         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9089         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9090         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9091         (TEST_COND_long32): Likewise.
9092         (TEST_COND_long64): Likewise.
9093         (TEST_COND_before_rounding): Likewise.
9094         (TEST_COND_after_rounding): Likewise.
9095         (ulps_file_name): Likewise.
9096         (ulps_file): Likewise.
9097         (output_ulps): Likewise.
9098         (output_dir): Likewise.
9099         (noErrors): Likewise.
9100         (noTests): Likewise.
9101         (noExcTests): Likewise.
9102         (noErrnoTests): Likewise.
9103         (verbose): Likewise.
9104         (output_max_error): Likewise.
9105         (output_points): Likewise.
9106         (ignore_max_ulp): Likewise.
9107         (max_error): Likewise.
9108         (real_max_error): Likewise.
9109         (imag_max_error): Likewise.
9110         (prev_max_error): Likewise.
9111         (prev_real_max_error): Likewise.
9112         (prev_imag_max_error): Likewise.
9113         (max_valid_error): Likewise.
9114         (TYPE_DECIMAL_DIG): Likewise.
9115         (TYPE_HEX_DIG): Likewise.
9116         (fmt_ftostr): Likewise.
9117         (compare_ulp_data): Likewise.
9118         (find_ulps): Likewise.
9119         (init_max_error): Likewise.
9120         (set_max_error): Likewise.
9121         (print_float): Likewise.
9122         (print_screen): Likewise.
9123         (print_screen_max_error): Likewise.
9124         (update_stats): Likewise.
9125         (print_function_ulps): Likewise.
9126         (print_complex_function_ulps): Likewise.
9127         (fpstack_test): Likewise.
9128         (print_max_error): Likewise.
9129         (print_complex_max_error): Likewise.
9130         (test_single_exception): Likewise.
9131         (test_exceptions): Likewise.
9132         (test_single_errno): Likewise.
9133         (test_errno): Likewise.
9134         (ULPDIFF): Likewise.
9135         (ulp): Likewise.
9136         (check_float_internal): Likewise.
9137         (check_float): Likewise.
9138         (check_complex): Likewise.
9139         (check_int): Likewise.
9140         (check_long): Likewise.
9141         (check_bool): Likewise.
9142         (check_longlong): Likewise.
9143         (check_intmax_t): Likewise.
9144         (check_uintmax_t): Likewise.
9145         (enable_test): Likewise.
9146         (matherr): Likewise.
9147         (initialize): Likewise.
9148         (options): Likewise.
9149         (doc): Remove static.
9150         (argp): Likewise.
9151         (parse_opt): Remove.
9152         (check_ulp): Likewise.
9153         (libm_test_init): Likewise.
9154         (libm_test_finish): Likewise.
9155         * math/Makefile (libm-test-support): New variable.
9156         (test-extras): Add libm-test-support files.
9157         (extra-test-objs): Likewise.
9158         (CFLAGS-libm-test-support-float.c): New variable.
9159         (CFLAGS-libm-test-support-double.c): Likewise.
9160         (CFLAGS-libm-test-support-ldouble.c): Likewise.
9161         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9162         libm-test-support objects.
9164 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9166         * math/Makefile (libm-calls): Move w_exp...
9167         (libm-compat-calls-auto): Here.
9169         * math/w_expl.c: Add suffix "_compat" to filename.
9170         * sysdeps/ia64/fpu/w_expl.c: Likewise.
9171         * sysdeps/ia64/fpu/w_expf.c: Likewise.
9172         * sysdeps/ia64/fpu/w_exp.c: Likewise.
9173         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9174         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9175         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9176         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9177         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9179         * math/w_expl_compat.c: New file, copied from above.
9180         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9181         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9182         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9183         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9184         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9185         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9186         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9187         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9189         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9190         to filename.
9191         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9193         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9194         copied from above and adjusted for the new filenames.
9195         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9197 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9199         * math/Makefile (libm-calls): Move w_lgammaF...
9200         (libm-compat-calls-auto): Here.
9202         * math/w_lgamma.c: Add suffix "_compat2" to filename.
9203         * math/w_lgammaf.c: Likewise.
9204         * math/w_lgammal.c: Likewise.
9206         * math/w_lgamma_compat2.c: New file, copied from above.
9207         * math/w_lgammaf_compat2.c: Likewise.
9208         * math/w_lgammal_compat2.c: Likewise.
9210 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9212         * math/Makefile (libm-calls): Move w_lgammaF_r...
9213         (libm-compat-calls-auto): Here.
9215         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9216         * math/w_lgammaf_r.c: Likewise.
9217         * math/w_lgammal_r.c: Likewise.
9218         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9219         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9220         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9222         * math/w_lgamma_r_compat.c: New file, copied from above.
9223         * math/w_lgammaf_r_compat.c: Likewise.
9224         * math/w_lgammal_r_compat.c: Likewise.
9225         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9226         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9227         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9229         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9230         to filename.
9231         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9233         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9234         copied from above and adjusted for the new filenames.
9235         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9237 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
9239         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9240         calculation in SYSCALL_ERROR_HANDLER().
9242 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
9244         * manual/contrib.texi: Fix typo.
9246 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9248         [BZ #21109]
9249         * elf/dl-tunable-types.h (tunable_callback_t): Accept
9250         tunable_val_t as argument.
9251         * elf/dl-tunables.c (__tunable_set_val): Add comment.
9252         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9253         argument.
9254         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9256 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
9258         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9259         Add PTRACE_EVENT_STOP.
9260         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9261         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9262         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9263         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9264         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9265         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9267 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
9269         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9270         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9271         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9272         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9273         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9274         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9275         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9276         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9277         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9278         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9280         [BZ #21112]
9281         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9282         12 bits zero.
9283         (cp_l): Update for new value of cp_h.
9284         * math/auto-libm-test-in: Add another test of pow.
9285         * math/auto-libm-test-out-pow: Regenerated.
9287 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9289         * manual/contrib.texi: Fix typo.
9291 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9293         [BZ #15998]
9294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9295         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9298 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9300         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9301         STRCHR as __strchr_power8.
9302         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9303         strlen as __strlen_power8.
9305 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9307         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9308         unaligned load for shorter strings.
9309         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9311 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9313         * math/libm-test-driver.c (flag_test_errno): New variable.
9314         (flag_test_exceptions): Likewise.
9315         (flag_test_finite): Likewise.
9316         (flag_test_inline): Likewise.
9317         (flag_test_mathvec): Likewise.
9318         (test_msg): Likewise.
9319         (ulp_idx): Likewise.
9320         (qtype_str): Likewise.
9321         (ULP_IDX): Remove macro.
9322         (QTYPE_STR): Likewise.
9323         (find_ulps): Use ulp_idx not ULP_IDX.
9324         (print_function_ulps): Use qtype_str, printed with %s, not
9325         QTYPE_STR, printed with concatentation to format string.
9326         (print_complex_function_ulps): Likewise.
9327         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9328         (test_errno): Use flag_test_errno not TEST_ERRNO.
9329         (enable_test): Use flag_test_inline, flag_test_finite and
9330         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9331         TEST_MATHVEC.
9332         (libm_test_init): New function.  Factored out of main.
9333         (libm_test_finish): Likewise.
9334         (main): Call libm_test_init and libm_test_finish and move most
9335         code to those functions.
9337         * math/libm-test-driver.c (STRX): New macro.
9338         (STR): Likewise.
9339         (STR_FLOAT): Likewise.
9340         (STR_VEC_LEN): Likewise.
9341         (TEST_MSG): Likewise.  Define here instead of expecting to be
9342         defined by including file.
9343         * math/test-double-finite.c (TEST_MSG): Remove macro.
9344         * math/test-double-vlen2.h (TEST_MSG): Likewise.
9345         * math/test-double-vlen4.h (TEST_MSG): Likewise.
9346         * math/test-double-vlen8.h (TEST_MSG): Likewise.
9347         * math/test-double.c (TEST_MSG): Likewise.
9348         * math/test-float-finite.c (TEST_MSG): Likewise.
9349         * math/test-float-vlen16.h (TEST_MSG): Likewise.
9350         * math/test-float-vlen4.h (TEST_MSG): Likewise.
9351         * math/test-float-vlen8.h (TEST_MSG): Likewise.
9352         * math/test-float.c (TEST_MSG): Likewise.
9353         * math/test-idouble.c (TEST_MSG): Likewise.
9354         * math/test-ifloat.c (TEST_MSG): Likewise.
9355         * math/test-ildouble.c (TEST_MSG): Likewise.
9356         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9357         * math/test-ldouble.c (TEST_MSG): Likewise.
9359         * math/libm-test.inc: Move all tests of individual functions to
9360         libm-test-*.inc and #include libm-test-*.c files.
9361         (acos_test_data): Remove.
9362         (acos_test): Likewise.
9363         (acosh_test_data): Likewise.
9364         (acosh_test): Likewise.
9365         (asin_test_data): Likewise.
9366         (asin_test): Likewise.
9367         (asinh_test_data): Likewise.
9368         (asinh_test): Likewise.
9369         (atan_test_data): Likewise.
9370         (atan_test): Likewise.
9371         (atanh_test_data): Likewise.
9372         (atanh_test): Likewise.
9373         (atan2_test_data): Likewise.
9374         (atan2_test): Likewise.
9375         (cabs_test_data): Likewise.
9376         (cabs_test): Likewise.
9377         (cacos_test_data): Likewise.
9378         (cacos_test): Likewise.
9379         (cacosh_test_data): Likewise.
9380         (cacosh_test): Likewise.
9381         (canonicalize_test_data): Likewise.
9382         (canonicalize_test): Likewise.
9383         (carg_test_data): Likewise.
9384         (carg_test): Likewise.
9385         (casin_test_data): Likewise.
9386         (casin_test): Likewise.
9387         (casinh_test_data): Likewise.
9388         (casinh_test): Likewise.
9389         (catan_test_data): Likewise.
9390         (catan_test): Likewise.
9391         (catanh_test_data): Likewise.
9392         (catanh_test): Likewise.
9393         (cbrt_test_data): Likewise.
9394         (cbrt_test): Likewise.
9395         (ccos_test_data): Likewise.
9396         (ccos_test): Likewise.
9397         (ccosh_test_data): Likewise.
9398         (ccosh_test): Likewise.
9399         (ceil_test_data): Likewise.
9400         (ceil_test): Likewise.
9401         (cexp_test_data): Likewise.
9402         (cexp_test): Likewise.
9403         (cimag_test_data): Likewise.
9404         (cimag_test): Likewise.
9405         (clog_test_data): Likewise.
9406         (clog_test): Likewise.
9407         (clog10_test_data): Likewise.
9408         (clog10_test): Likewise.
9409         (conj_test_data): Likewise.
9410         (conj_test): Likewise.
9411         (copysign_test_data): Likewise.
9412         (copysign_test): Likewise.
9413         (cos_test_data): Likewise.
9414         (cos_test): Likewise.
9415         (cosh_test_data): Likewise.
9416         (cosh_test): Likewise.
9417         (cpow_test_data): Likewise.
9418         (cpow_test): Likewise.
9419         (cproj_test_data): Likewise.
9420         (cproj_test): Likewise.
9421         (creal_test_data): Likewise.
9422         (creal_test): Likewise.
9423         (csin_test_data): Likewise.
9424         (csin_test): Likewise.
9425         (csinh_test_data): Likewise.
9426         (csinh_test): Likewise.
9427         (csqrt_test_data): Likewise.
9428         (csqrt_test): Likewise.
9429         (ctan_test_data): Likewise.
9430         (ctan_test): Likewise.
9431         (ctanh_test_data): Likewise.
9432         (ctanh_test): Likewise.
9433         (erf_test_data): Likewise.
9434         (erf_test): Likewise.
9435         (erfc_test_data): Likewise.
9436         (erfc_test): Likewise.
9437         (exp_test_data): Likewise.
9438         (exp_test): Likewise.
9439         (exp10_test_data): Likewise.
9440         (exp10_test): Likewise.
9441         (pow10_test): Likewise.
9442         (exp2_test_data): Likewise.
9443         (exp2_test): Likewise.
9444         (expm1_test_data): Likewise.
9445         (expm1_test): Likewise.
9446         (fabs_test_data): Likewise.
9447         (fabs_test): Likewise.
9448         (fdim_test_data): Likewise.
9449         (fdim_test): Likewise.
9450         (floor_test_data): Likewise.
9451         (floor_test): Likewise.
9452         (fma_test_data): Likewise.
9453         (fma_test): Likewise.
9454         (fmax_test_data): Likewise.
9455         (fmax_test): Likewise.
9456         (fmaxmag_test_data): Likewise.
9457         (fmaxmag_test): Likewise.
9458         (fmin_test_data): Likewise.
9459         (fmin_test): Likewise.
9460         (fminmag_test_data): Likewise.
9461         (fminmag_test): Likewise.
9462         (fmod_test_data): Likewise.
9463         (fmod_test): Likewise.
9464         (fpclassify_test_data): Likewise.
9465         (fpclassify_test): Likewise.
9466         (frexp_test_data): Likewise.
9467         (frexp_test): Likewise.
9468         (fromfp_test_data): Likewise.
9469         (fromfp_test): Likewise.
9470         (fromfpx_test_data): Likewise.
9471         (fromfpx_test): Likewise.
9472         (getpayload_test_data): Likewise.
9473         (getpayload_test): Likewise.
9474         (hypot_test_data): Likewise.
9475         (hypot_test): Likewise.
9476         (ilogb_test_data): Likewise.
9477         (ilogb_test): Likewise.
9478         (iscanonical_test_data): Likewise.
9479         (iscanonical_test): Likewise.
9480         (iseqsig_test_data): Likewise.
9481         (iseqsig_test): Likewise.
9482         (isfinite_test_data): Likewise.
9483         (isfinite_test): Likewise.
9484         (finite_test): Likewise.
9485         (isgreater_test_data): Likewise.
9486         (isgreater_test): Likewise.
9487         (isgreaterequal_test_data): Likewise.
9488         (isgreaterequal_test): Likewise.
9489         (isinf_test_data): Likewise.
9490         (isinf_test): Likewise.
9491         (isless_test_data): Likewise.
9492         (isless_test): Likewise.
9493         (islessequal_test_data): Likewise.
9494         (islessequal_test): Likewise.
9495         (islessgreater_test_data): Likewise.
9496         (islessgreater_test): Likewise.
9497         (isnan_test_data): Likewise.
9498         (isnan_test): Likewise.
9499         (isnormal_test_data): Likewise.
9500         (isnormal_test): Likewise.
9501         (issignaling_test_data): Likewise.
9502         (issignaling_test): Likewise.
9503         (issubnormal_test_data): Likewise.
9504         (issubnormal_test): Likewise.
9505         (isunordered_test_data): Likewise.
9506         (isunordered_test): Likewise.
9507         (iszero_test_data): Likewise.
9508         (iszero_test): Likewise.
9509         (j0_test_data): Likewise.
9510         (j0_test): Likewise.
9511         (j1_test_data): Likewise.
9512         (j1_test): Likewise.
9513         (jn_test_data): Likewise.
9514         (jn_test): Likewise.
9515         (lgamma_test_data): Likewise.
9516         (lgamma_test): Likewise.
9517         (gamma_test): Likewise.
9518         (llogb_test_data): Likewise.
9519         (llogb_test): Likewise.
9520         (lrint_test_data): Likewise.
9521         (lrint_test): Likewise.
9522         (llrint_test_data): Likewise.
9523         (llrint_test): Likewise.
9524         (log_test_data): Likewise.
9525         (log_test): Likewise.
9526         (log10_test_data): Likewise.
9527         (log10_test): Likewise.
9528         (log1p_test_data): Likewise.
9529         (log1p_test): Likewise.
9530         (log2_test_data): Likewise.
9531         (log2_test): Likewise.
9532         (logb_test_data): Likewise.
9533         (logb_test): Likewise.
9534         (lround_test_data): Likewise.
9535         (lround_test): Likewise.
9536         (llround_test_data): Likewise.
9537         (llround_test): Likewise.
9538         (modf_test_data): Likewise.
9539         (modf_test): Likewise.
9540         (nearbyint_test_data): Likewise.
9541         (nearbyint_test): Likewise.
9542         (nextafter_test_data): Likewise.
9543         (nextafter_test): Likewise.
9544         (nextup_test_data): Likewise.
9545         (nextup_test): Likewise.
9546         (nextdown_test_data): Likewise.
9547         (nextdown_test): Likewise.
9548         (nexttoward_test_data): Likewise.
9549         (nexttoward_test): Likewise.
9550         (pow_test_data): Likewise.
9551         (pow_test): Likewise.
9552         (remainder_test_data): Likewise.
9553         (remainder_test): Likewise.
9554         (drem_test): Likewise.
9555         (remquo_test_data): Likewise.
9556         (remquo_test): Likewise.
9557         (rint_test_data): Likewise.
9558         (rint_test): Likewise.
9559         (round_test_data): Likewise.
9560         (round_test): Likewise.
9561         (roundeven_test_data): Likewise.
9562         (roundeven_test): Likewise.
9563         (scalb_test_data): Likewise.
9564         (scalb_test): Likewise.
9565         (scalbn_test_data): Likewise.
9566         (scalbn_test): Likewise.
9567         (ldexp_test): Likewise.
9568         (scalbln_test_data): Likewise.
9569         (scalbln_test): Likewise.
9570         (setpayload_test_data): Likewise.
9571         (setpayload_test): Likewise.
9572         (setpayloadsig_test_data): Likewise.
9573         (setpayloadsig_test): Likewise.
9574         (signbit_test_data): Likewise.
9575         (signbit_test): Likewise.
9576         (sin_test_data): Likewise.
9577         (sin_test): Likewise.
9578         (sincos_test_data): Likewise.
9579         (sincos_test): Likewise.
9580         (sinh_test_data): Likewise.
9581         (sinh_test): Likewise.
9582         (sqrt_test_data): Likewise.
9583         (sqrt_test): Likewise.
9584         (tan_test_data): Likewise.
9585         (tan_test): Likewise.
9586         (tanh_test_data): Likewise.
9587         (tanh_test): Likewise.
9588         (tgamma_test_data): Likewise.
9589         (tgamma_test): Likewise.
9590         (totalorder_test_data): Likewise.
9591         (totalorder_test): Likewise.
9592         (totalordermag_test_data): Likewise.
9593         (totalordermag_test): Likewise.
9594         (trunc_test_data): Likewise.
9595         (trunc_test): Likewise.
9596         (ufromfp_test_data): Likewise.
9597         (ufromfp_test): Likewise.
9598         (ufromfpx_test_data): Likewise.
9599         (ufromfpx_test): Likewise.
9600         (y0_test_data): Likewise.
9601         (y0_test): Likewise.
9602         (y1_test_data): Likewise.
9603         (y1_test): Likewise.
9604         (yn_test_data): Likewise.
9605         (yn_test): Likewise.
9606         (significand_test_data): Likewise.
9607         (significand_test): Likewise.
9608         * math/Makefile (auto-libm-test-out-files): Remove variable.
9609         (libm-test-funcs-noauto): New variable.
9610         (libm-test-funcs-all): Likewise.
9611         (libm-test-c-auto): Likewise.
9612         (libm-test-c-noauto): Likewise.
9613         (libm-tests-generated): Add $(libm-test-c-auto) and
9614         $(libm-test-c-noauto).
9615         (generated): Do not add auto-libm-test-out.
9616         (libm-test-c-auto-obj): New variable.
9617         (libm-test-c-noauto-obj): Likewise.
9618         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9619         ($(libm-test-c-noauto-obj)): New static pattern rule.
9620         ($(libm-test-c-auto-obj)): Likewise.
9621         (libm-test-incs): New variable.
9622         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9623         and pass it to gen-libm-have-vector-test.sh.
9624         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9625         be passed on command line.
9626         * math/libm-test-acos.inc: New file.  Content from
9627         math/libm-test.inc.
9628         * math/libm-test-acosh.inc: Likewise.
9629         * math/libm-test-asin.inc: Likewise.
9630         * math/libm-test-asinh.inc: Likewise.
9631         * math/libm-test-atan.inc: Likewise.
9632         * math/libm-test-atan2.inc: Likewise.
9633         * math/libm-test-atanh.inc: Likewise.
9634         * math/libm-test-cabs.inc: Likewise.
9635         * math/libm-test-cacos.inc: Likewise.
9636         * math/libm-test-cacosh.inc: Likewise.
9637         * math/libm-test-canonicalize.inc: Likewise.
9638         * math/libm-test-carg.inc: Likewise.
9639         * math/libm-test-casin.inc: Likewise.
9640         * math/libm-test-casinh.inc: Likewise.
9641         * math/libm-test-catan.inc: Likewise.
9642         * math/libm-test-catanh.inc: Likewise.
9643         * math/libm-test-cbrt.inc: Likewise.
9644         * math/libm-test-ccos.inc: Likewise.
9645         * math/libm-test-ccosh.inc: Likewise.
9646         * math/libm-test-ceil.inc: Likewise.
9647         * math/libm-test-cexp.inc: Likewise.
9648         * math/libm-test-cimag.inc: Likewise.
9649         * math/libm-test-clog.inc: Likewise.
9650         * math/libm-test-clog10.inc: Likewise.
9651         * math/libm-test-conj.inc: Likewise.
9652         * math/libm-test-copysign.inc: Likewise.
9653         * math/libm-test-cos.inc: Likewise.
9654         * math/libm-test-cosh.inc: Likewise.
9655         * math/libm-test-cpow.inc: Likewise.
9656         * math/libm-test-cproj.inc: Likewise.
9657         * math/libm-test-creal.inc: Likewise.
9658         * math/libm-test-csin.inc: Likewise.
9659         * math/libm-test-csinh.inc: Likewise.
9660         * math/libm-test-csqrt.inc: Likewise.
9661         * math/libm-test-ctan.inc: Likewise.
9662         * math/libm-test-ctanh.inc: Likewise.
9663         * math/libm-test-erf.inc: Likewise.
9664         * math/libm-test-erfc.inc: Likewise.
9665         * math/libm-test-exp.inc: Likewise.
9666         * math/libm-test-exp10.inc: Likewise.
9667         * math/libm-test-exp2.inc: Likewise.
9668         * math/libm-test-expm1.inc: Likewise.
9669         * math/libm-test-fabs.inc: Likewise.
9670         * math/libm-test-fdim.inc: Likewise.
9671         * math/libm-test-floor.inc: Likewise.
9672         * math/libm-test-fma.inc: Likewise.
9673         * math/libm-test-fmax.inc: Likewise.
9674         * math/libm-test-fmaxmag.inc: Likewise.
9675         * math/libm-test-fmin.inc: Likewise.
9676         * math/libm-test-fminmag.inc: Likewise.
9677         * math/libm-test-fmod.inc: Likewise.
9678         * math/libm-test-fpclassify.inc: Likewise.
9679         * math/libm-test-frexp.inc: Likewise.
9680         * math/libm-test-fromfp.inc: Likewise.
9681         * math/libm-test-fromfpx.inc: Likewise.
9682         * math/libm-test-getpayload.inc: Likewise.
9683         * math/libm-test-hypot.inc: Likewise.
9684         * math/libm-test-ilogb.inc: Likewise.
9685         * math/libm-test-iscanonical.inc: Likewise.
9686         * math/libm-test-iseqsig.inc: Likewise.
9687         * math/libm-test-isfinite.inc: Likewise.
9688         * math/libm-test-isgreater.inc: Likewise.
9689         * math/libm-test-isgreaterequal.inc: Likewise.
9690         * math/libm-test-isinf.inc: Likewise.
9691         * math/libm-test-isless.inc: Likewise.
9692         * math/libm-test-islessequal.inc: Likewise.
9693         * math/libm-test-islessgreater.inc: Likewise.
9694         * math/libm-test-isnan.inc: Likewise.
9695         * math/libm-test-isnormal.inc: Likewise.
9696         * math/libm-test-issignaling.inc: Likewise.
9697         * math/libm-test-issubnormal.inc: Likewise.
9698         * math/libm-test-isunordered.inc: Likewise.
9699         * math/libm-test-iszero.inc: Likewise.
9700         * math/libm-test-j0.inc: Likewise.
9701         * math/libm-test-j1.inc: Likewise.
9702         * math/libm-test-jn.inc: Likewise.
9703         * math/libm-test-lgamma.inc: Likewise.
9704         * math/libm-test-llogb.inc: Likewise.
9705         * math/libm-test-llrint.inc: Likewise.
9706         * math/libm-test-llround.inc: Likewise.
9707         * math/libm-test-log.inc: Likewise.
9708         * math/libm-test-log10.inc: Likewise.
9709         * math/libm-test-log1p.inc: Likewise.
9710         * math/libm-test-log2.inc: Likewise.
9711         * math/libm-test-logb.inc: Likewise.
9712         * math/libm-test-lrint.inc: Likewise.
9713         * math/libm-test-lround.inc: Likewise.
9714         * math/libm-test-modf.inc: Likewise.
9715         * math/libm-test-nearbyint.inc: Likewise.
9716         * math/libm-test-nextafter.inc: Likewise.
9717         * math/libm-test-nextdown.inc: Likewise.
9718         * math/libm-test-nexttoward.inc: Likewise.
9719         * math/libm-test-nextup.inc: Likewise.
9720         * math/libm-test-pow.inc: Likewise.
9721         * math/libm-test-remainder.inc: Likewise.
9722         * math/libm-test-remquo.inc: Likewise.
9723         * math/libm-test-rint.inc: Likewise.
9724         * math/libm-test-round.inc: Likewise.
9725         * math/libm-test-roundeven.inc: Likewise.
9726         * math/libm-test-scalb.inc: Likewise.
9727         * math/libm-test-scalbln.inc: Likewise.
9728         * math/libm-test-scalbn.inc: Likewise.
9729         * math/libm-test-setpayload.inc: Likewise.
9730         * math/libm-test-setpayloadsig.inc: Likewise.
9731         * math/libm-test-signbit.inc: Likewise.
9732         * math/libm-test-significand.inc: Likewise.
9733         * math/libm-test-sin.inc: Likewise.
9734         * math/libm-test-sincos.inc: Likewise.
9735         * math/libm-test-sinh.inc: Likewise.
9736         * math/libm-test-sqrt.inc: Likewise.
9737         * math/libm-test-tan.inc: Likewise.
9738         * math/libm-test-tanh.inc: Likewise.
9739         * math/libm-test-tgamma.inc: Likewise.
9740         * math/libm-test-totalorder.inc: Likewise.
9741         * math/libm-test-totalordermag.inc: Likewise.
9742         * math/libm-test-trunc.inc: Likewise.
9743         * math/libm-test-ufromfp.inc: Likewise.
9744         * math/libm-test-ufromfpx.inc: Likewise.
9745         * math/libm-test-y0.inc: Likewise.
9746         * math/libm-test-y1.inc: Likewise.
9747         * math/libm-test-yn.inc: Likewise.
9748         * math/README.libm-test: Update.
9750         * math/gen-auto-libm-tests.c: Update comment about use of program.
9751         (generate_output): Add argument FUNCTION.
9752         (main): Require extra argument.  Pass function name to
9753         generate_output.
9754         * math/Makefile (generated): Add auto-libm-test-out.
9755         (libm-test-funcs-auto): New variable.
9756         (auto-libm-test-out-files): New variable.
9757         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9758         Concatenate those files to form $(objpfx)auto-libm-test-out and
9759         use it as input to gen-libm-test.pl.
9760         * math/README.libm-test: Update.
9761         * math/auto-libm-test-out: Remove.
9762         * math/auto-libm-test-out-acos: New generated file.
9763         * math/auto-libm-test-out-acosh: Likewise.
9764         * math/auto-libm-test-out-asin: Likewise.
9765         * math/auto-libm-test-out-asinh: Likewise.
9766         * math/auto-libm-test-out-atan: Likewise.
9767         * math/auto-libm-test-out-atan2: Likewise.
9768         * math/auto-libm-test-out-atanh: Likewise.
9769         * math/auto-libm-test-out-cabs: Likewise.
9770         * math/auto-libm-test-out-carg: Likewise.
9771         * math/auto-libm-test-out-cbrt: Likewise.
9772         * math/auto-libm-test-out-ccos: Likewise.
9773         * math/auto-libm-test-out-ccosh: Likewise.
9774         * math/auto-libm-test-out-cexp: Likewise.
9775         * math/auto-libm-test-out-clog: Likewise.
9776         * math/auto-libm-test-out-clog10: Likewise.
9777         * math/auto-libm-test-out-cos: Likewise.
9778         * math/auto-libm-test-out-cosh: Likewise.
9779         * math/auto-libm-test-out-cpow: Likewise.
9780         * math/auto-libm-test-out-csin: Likewise.
9781         * math/auto-libm-test-out-csinh: Likewise.
9782         * math/auto-libm-test-out-csqrt: Likewise.
9783         * math/auto-libm-test-out-ctan: Likewise.
9784         * math/auto-libm-test-out-ctanh: Likewise.
9785         * math/auto-libm-test-out-erf: Likewise.
9786         * math/auto-libm-test-out-erfc: Likewise.
9787         * math/auto-libm-test-out-exp: Likewise.
9788         * math/auto-libm-test-out-exp10: Likewise.
9789         * math/auto-libm-test-out-exp2: Likewise.
9790         * math/auto-libm-test-out-expm1: Likewise.
9791         * math/auto-libm-test-out-fma: Likewise.
9792         * math/auto-libm-test-out-hypot: Likewise.
9793         * math/auto-libm-test-out-j0: Likewise.
9794         * math/auto-libm-test-out-j1: Likewise.
9795         * math/auto-libm-test-out-jn: Likewise.
9796         * math/auto-libm-test-out-lgamma: Likewise.
9797         * math/auto-libm-test-out-log: Likewise.
9798         * math/auto-libm-test-out-log10: Likewise.
9799         * math/auto-libm-test-out-log1p: Likewise.
9800         * math/auto-libm-test-out-log2: Likewise.
9801         * math/auto-libm-test-out-pow: Likewise.
9802         * math/auto-libm-test-out-sin: Likewise.
9803         * math/auto-libm-test-out-sincos: Likewise.
9804         * math/auto-libm-test-out-sinh: Likewise.
9805         * math/auto-libm-test-out-sqrt: Likewise.
9806         * math/auto-libm-test-out-tan: Likewise.
9807         * math/auto-libm-test-out-tanh: Likewise.
9808         * math/auto-libm-test-out-tgamma: Likewise.
9809         * math/auto-libm-test-out-y0: Likewise.
9810         * math/auto-libm-test-out-y1: Likewise.
9811         * math/auto-libm-test-out-yn: Likewise.
9813         * math/Makefile (generated): Do not include libm-test.stmp.
9814         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9815         on $(objpfx)libm-test.stmp.
9816         ($(objpfx)libm-test.stmp): Remove rule.
9817         ($(objpfx)libm-test-ulps.h): New rule.
9818         ($(objpfx)libm-test.c): Likewise.
9819         ($(objpfx)libm-have-vector-test.h): Likewise.
9820         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9821         individual generated files, not libm-test.stmp.
9823         * math/gen-libm-test.pl ($output_dir): Remove variable.
9824         ($srcdir): Likewise.
9825         ($opt_a): New variable.
9826         ($opt_c): Likewise.
9827         ($opt_C): Likewise.
9828         ($opt_H): Likewise.
9829         (-n): Make option take argument and use it as NewUlps output.
9830         (-a): New option.  Use its argument for auto-libm-test-out input.
9831         (-c): New option.  Use its argument for libm-test.inc input.
9832         (-C): New option.  Use its argument for libm-test.c output.
9833         (-H): New option.  Use its argument for libm-test-ulps.h output.
9834         (top level): Only process inputs needed to generate outputs
9835         specified by command-line options.  Only generate outputs
9836         specified by command-line options.
9837         * math/README.libm-test: Update example gen-libm-test.pl command.
9838         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9839         commands.
9840         (regen-ulps): Likewise.
9842 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
9844         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9845         * include/string.h (index): Remove define.
9846         (rindex): Likewise.
9847         * misc/getttyent.c (__getttyent): Rename index to strchr.
9848         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9849         * sunrpc/rpc_main.c (mkfile_output): Likewise.
9851 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9853         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
9854         * math/libm-test.inc: Move all contents, other than tests of
9855         individual functions, to libm-test-driver.c.
9856         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9857         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9858         [!FE_UPWARD] (FE_UPWARD): Likewise.
9859         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9860         (NO_EXCEPTION): Likewise.
9861         (INVALID_EXCEPTION): Likewise.
9862         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9863         (OVERFLOW_EXCEPTION): Likewise.
9864         (UNDERFLOW_EXCEPTION): Likewise.
9865         (INEXACT_EXCEPTION): Likewise.
9866         (INVALID_EXCEPTION_OK): Likewise.
9867         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9868         (OVERFLOW_EXCEPTION_OK): Likewise.
9869         (UNDERFLOW_EXCEPTION_OK): Likewise.
9870         (NO_INEXACT_EXCEPTION): Likewise.
9871         (EXCEPTIONS_OK): Likewise.
9872         (IGNORE_ZERO_INF_SIGN): Likewise.
9873         (TEST_NAN_SIGN): Likewise.
9874         (TEST_NAN_PAYLOAD): Likewise.
9875         (NO_TEST_INLINE): Likewise.
9876         (XFAIL_TEST): Likewise.
9877         (ERRNO_UNCHANGED): Likewise.
9878         (ERRNO_EDOM): Likewise.
9879         (ERRNO_ERANGE): Likewise.
9880         (IGNORE_RESULT): Likewise.
9881         (NON_FINITE): Likewise.
9882         (TEST_SNAN): Likewise.
9883         (NO_TEST_MATHVEC): Likewise.
9884         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9885         (__CONCATX): Likewise.
9886         (TYPE_MIN): Likewise.
9887         (TYPE_TRUE_MIN): Likewise.
9888         (TYPE_MAX): Likewise.
9889         (MIN_EXP): Likewise.
9890         (MAX_EXP): Likewise.
9891         (MANT_DIG): Likewise.
9892         (FSTR_MAX): Likewise.
9893         (ULP_IDX): Likewise.
9894         (QTYPE_STR): Likewise.
9895         (TEST_COND_binary32): Likewise.
9896         (TEST_COND_binary64): Likewise.
9897         (TEST_COND_binary128): Likewise.
9898         (TEST_COND_ibm128): Likewise.
9899         (TEST_COND_intel96): Likewise.
9900         (TEST_COND_m68k96): Likewise.
9901         (TEST_COND_ibm128_libgcc): Likewise.
9902         (XFAIL_IBM128_LIBGCC): Likewise.
9903         (PAYLOAD_DIG): Likewise.
9904         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9905         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9906         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9907         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9908         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9909         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9910         (TEST_COND_long32): Likewise.
9911         (TEST_COND_long64): Likewise.
9912         (TEST_COND_before_rounding): Likewise.
9913         (TEST_COND_after_rounding): Likewise.
9914         (lit_pi_3_m_4_d): Likewise.
9915         (lit_pi_3_m_4_ln10_m_d): Likewise.
9916         (lit_pi_2_ln10_m_d): Likewise.
9917         (lit_pi_4_ln10_m_d): Likewise.
9918         (lit_pi_ln10_d): Likewise.
9919         (lit_pi_2_d): Likewise.
9920         (lit_pi_4_d): Likewise.
9921         (lit_pi): Likewise.
9922         (lit_e): Likewise.
9923         (ulps_file_name): Likewise.
9924         (ulps_file): Likewise.
9925         (output_ulps): Likewise.
9926         (output_dir): Likewise.
9927         (noErrors): Likewise.
9928         (noTests): Likewise.
9929         (noExcTests): Likewise.
9930         (noErrnoTests): Likewise.
9931         (verbose): Likewise.
9932         (output_max_error): Likewise.
9933         (output_points): Likewise.
9934         (ignore_max_ulp): Likewise.
9935         (plus_zero): Likewise.
9936         (minus_zero): Likewise.
9937         (plus_infty): Likewise.
9938         (minus_infty): Likewise.
9939         (qnan_value_pl): Likewise.
9940         (qnan_value): Likewise.
9941         (snan_value_pl): Likewise.
9942         (snan_value): Likewise.
9943         (max_value): Likewise.
9944         (min_value): Likewise.
9945         (min_subnorm_value): Likewise.
9946         (snan_value_ld): Likewise.
9947         (max_error): Likewise.
9948         (real_max_error): Likewise.
9949         (imag_max_error): Likewise.
9950         (prev_max_error): Likewise.
9951         (prev_real_max_error): Likewise.
9952         (prev_imag_max_error): Likewise.
9953         (max_valid_error): Likewise.
9954         (TYPE_DECIMAL_DIG): Likewise.
9955         (TYPE_HEX_DIG): Likewise.
9956         (fmt_ftostr): Likewise.
9957         (compare_ulp_data): Likewise.
9958         (find_ulps): Likewise.
9959         (init_max_error): Likewise.
9960         (set_max_error): Likewise.
9961         (print_float): Likewise.
9962         (print_screen): Likewise.
9963         (print_screen_max_error): Likewise.
9964         (update_stats): Likewise.
9965         (print_function_ulps): Likewise.
9966         (print_complex_function_ulps): Likewise.
9967         (fpstack_test): Likewise.
9968         (print_max_error): Likewise.
9969         (print_complex_max_error): Likewise.
9970         (test_single_exception): Likewise.
9971         (test_exceptions): Likewise.
9972         (test_single_errno): Likewise.
9973         (test_errno): Likewise.
9974         (ULPDIFF): Likewise.
9975         (ulp): Likewise.
9976         (check_float_internal): Likewise.
9977         (check_float): Likewise.
9978         (check_complex): Likewise.
9979         (check_int): Likewise.
9980         (check_long): Likewise.
9981         (check_bool): Likewise.
9982         (check_longlong): Likewise.
9983         (check_intmax_t): Likewise.
9984         (check_uintmax_t): Likewise.
9985         (enable_test): Likewise.
9986         (struct test_f_f_data): Likewise.
9987         (struct test_ff_f_data): Likewise.
9988         (struct test_fj_f_data): Likewise.
9989         (struct test_fi_f_data): Likewise.
9990         (struct test_fl_f_data): Likewise.
9991         (struct test_if_f_data): Likewise.
9992         (struct test_fff_f_data): Likewise.
9993         (struct test_fiu_M_data): Likewise.
9994         (struct test_fiu_U_data): Likewise.
9995         (struct test_c_f_data): Likewise.
9996         (struct test_f_f1_data): Likewise.
9997         (struct test_fF_f1_data): Likewise.
9998         (struct test_ffI_f1_data): Likewise.
9999         (struct test_c_c_data): Likewise.
10000         (struct test_cc_c_data): Likewise.
10001         (struct test_f_i_data): Likewise.
10002         (struct test_ff_i_data): Likewise.
10003         (struct test_f_l_data): Likewise.
10004         (struct test_f_L_data): Likewise.
10005         (struct test_fFF_11_data): Likewise.
10006         (struct test_Ff_b1_data): Likewise.
10007         (IF_ROUND_INIT_): Likewise.
10008         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10009         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10010         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10011         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10012         (ROUND_RESTORE_): Likewise.
10013         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10014         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10015         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10016         (ROUND_RESTORE_FE_UPWARD): Likewise.
10017         (RM_): Likewise.
10018         (RM_FE_DOWNWARD): Likewise.
10019         (RM_FE_TONEAREST): Likewise.
10020         (RM_FE_TOWARDZERO): Likewise.
10021         (RM_FE_UPWARD): Likewise.
10022         (COMMON_TEST_SETUP): Likewise.
10023         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10024         (COMMON_TEST_CLEANUP): Likewise.
10025         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10026         (RUN_TEST_f_f): Likewise.
10027         (RUN_TEST_LOOP_f_f): Likewise.
10028         (RUN_TEST_fp_f): Likewise.
10029         (RUN_TEST_LOOP_fp_f): Likewise.
10030         (RUN_TEST_2_f): Likewise.
10031         (RUN_TEST_LOOP_2_f): Likewise.
10032         (RUN_TEST_ff_f): Likewise.
10033         (RUN_TEST_LOOP_ff_f): Likewise.
10034         (RUN_TEST_LOOP_fj_f): Likewise.
10035         (RUN_TEST_fi_f): Likewise.
10036         (RUN_TEST_LOOP_fi_f): Likewise.
10037         (RUN_TEST_fl_f): Likewise.
10038         (RUN_TEST_LOOP_fl_f): Likewise.
10039         (RUN_TEST_if_f): Likewise.
10040         (RUN_TEST_LOOP_if_f): Likewise.
10041         (RUN_TEST_fff_f): Likewise.
10042         (RUN_TEST_LOOP_fff_f): Likewise.
10043         (RUN_TEST_fiu_M): Likewise.
10044         (RUN_TEST_LOOP_fiu_M): Likewise.
10045         (RUN_TEST_fiu_U): Likewise.
10046         (RUN_TEST_LOOP_fiu_U): Likewise.
10047         (RUN_TEST_c_f): Likewise.
10048         (RUN_TEST_LOOP_c_f): Likewise.
10049         (RUN_TEST_f_f1): Likewise.
10050         (RUN_TEST_LOOP_f_f1): Likewise.
10051         (RUN_TEST_fF_f1): Likewise.
10052         (RUN_TEST_LOOP_fF_f1): Likewise.
10053         (RUN_TEST_fI_f1): Likewise.
10054         (RUN_TEST_LOOP_fI_f1): Likewise.
10055         (RUN_TEST_ffI_f1_mod8): Likewise.
10056         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
10057         (RUN_TEST_Ff_b1): Likewise.
10058         (RUN_TEST_LOOP_Ff_b1): Likewise.
10059         (RUN_TEST_Ffp_b1): Likewise.
10060         (RUN_TEST_LOOP_Ffp_b1): Likewise.
10061         (RUN_TEST_c_c): Likewise.
10062         (RUN_TEST_LOOP_c_c): Likewise.
10063         (RUN_TEST_cc_c): Likewise.
10064         (RUN_TEST_LOOP_cc_c): Likewise.
10065         (RUN_TEST_f_i): Likewise.
10066         (RUN_TEST_LOOP_f_i): Likewise.
10067         (RUN_TEST_f_i_tg): Likewise.
10068         (RUN_TEST_LOOP_f_i_tg): Likewise.
10069         (RUN_TEST_ff_b): Likewise.
10070         (RUN_TEST_LOOP_ff_b): Likewise.
10071         (RUN_TEST_ff_i_tg): Likewise.
10072         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10073         (RUN_TEST_f_b): Likewise.
10074         (RUN_TEST_LOOP_f_b): Likewise.
10075         (RUN_TEST_f_b_tg): Likewise.
10076         (RUN_TEST_LOOP_f_b_tg): Likewise.
10077         (RUN_TEST_f_l): Likewise.
10078         (RUN_TEST_LOOP_f_l): Likewise.
10079         (RUN_TEST_f_L): Likewise.
10080         (RUN_TEST_LOOP_f_L): Likewise.
10081         (RUN_TEST_fFF_11): Likewise.
10082         (RUN_TEST_LOOP_fFF_11): Likewise.
10083         (VEC_SUFF): Likewise.
10084         (STR_CONCAT): Likewise.
10085         (STR_CON3): Likewise.
10086         (HAVE_VECTOR): Likewise.
10087         (START): Likewise.
10088         (END): Likewise.
10089         (END_COMPLEX): Likewise.
10090         (ALL_RM_TEST): Likewise.
10091         (matherr): Likewise.
10092         (initialize): Likewise.
10093         (options): Likewise.
10094         (doc): Likewise.
10095         (parse_opt): Likewise.
10096         (argp): Likewise.
10097         (check_ulp): Likewise.
10098         (main): Likewise.
10099         (do_test): New function.  Call tests of individual functions
10100         previously called from main.
10102         * math/libm-test.inc: Remove comment listing functions tested and
10103         not tested.
10105 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10107         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
10108         (allocate_stack): Remove COLORING_INCREMENT usage.
10109         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
10110         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
10112 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
10114         * manual/libm-err-tab.pl (@all_functions): Change to
10115         %all_functions.  Initialize as empty.
10116         (parse_ulps): Add to %all_functions based on functions found in
10117         ulps files.  Ignore results for non-default rounding modes and
10118         vector functions.
10119         (print_platforms): Use %all_platforms.
10120         * manual/math.texi (Errors in Math Functions): Document omissions
10121         from the table.
10123         * math/Makefile (before-compile): Remove.
10125 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
10127         [BZ #21075]
10128         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10129         unused assignment.
10130         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10132 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10134         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10135         Add __glibc_unlikely hint.
10137 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10139         [BZ #16640]
10140         * sysdeps/i386/i686/strtok.S: Remove file.
10141         * sysdeps/i386/i686/strtok_r.S: Likewise.
10142         * sysdeps/i386/strtok.S: Likewise.
10143         * sysdeps/i386/strtok_r.S: Likewise.
10144         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10145         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10146         * sysdeps/x86_64/strtok.S: Likewise.
10147         * sysdeps/x86_64/strtok_r.S: Likewise.
10149         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10150         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10151         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10152         (__ASSUME_FADVISE64_AS_64_64): Define.
10153         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10154         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10155         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10156         __ALIGNMENT_ARG usage.
10157         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10158         __NR_fadvise64_64 if it is not defined.
10160 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10162         * version.h (RELEASE): Set to "development"
10163         (VERSION): Set to 2.25.90.
10164         * NEWS: Add 2.26 section.
10166         * version.h (RELEASE): Set to "stable"
10167         (VERSION): Set to 2.25.
10168         * include/features.h (__GLIBC_MINOR__): Set to 25.
10170         * manual/contrib.texi: Add more contributors from this release
10171         and past releases.
10173         * NEWS (2.25): Add list of bugs fixed.
10175         * NEWS: Add missing news items.
10177 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10179         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10180         parent if child exited in that manner.  Print WEXITSTATUS
10181         instead of the raw status.
10182         (do_test_prep): Rename to do_test.
10183         (do_test): Return the result of run_executable_sgid.
10184         (TEST_FUNCTION_ARGV): Adjust.
10186 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
10187             Florian Weimer  <fweimer@redhat.com>
10188             Carlos O'Donell  <carlos@redhat.com>
10190         [BZ #20915]
10191         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10192         Do not initialize DTV.
10193         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10195 2017-02-03  David S. Miller  <davem@davemloft.net>
10197         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10198         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10199         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10203         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10205         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10206         (libm-sysdep_routines): Update.
10207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10212         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10213         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10214         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10215         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10217         Likewise.
10218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10220         Likewise.
10221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10223         Likewise.
10224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10226         Likewise.
10227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10229         (libm-sysdep_routines): Update.
10231 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10233         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10234         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10235         against unrelocated shared library.
10236         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10238 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10240         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10241         * elf/tst-env-setuid-tunables.c
10242         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10243         GLIBC_TUNABLES is removed in a setgid process.
10245         [BZ #21073]
10246         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10247         * elf/dl-tunables.c (tunables_strdup): Remove.
10248         (get_next_env): Also return the previous envp.
10249         (parse_tunables): Erase tunables of category
10250         TUNABLES_SECLEVEL_SXID_ERASE.
10251         (maybe_enable_malloc_check): Make MALLOC_CHECK_
10252         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10253         (__tunables_init)[TUNABLES_FRONTEND ==
10254         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10255         after parsing.
10256         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10257         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10258         * elf/dl-tunables.h (struct _tunable): Change member is_secure
10259         to security_level.
10260         * elf/dl-tunables.list: Add security_level annotations for all
10261         tunables.
10262         * scripts/gen-tunables.awk: Recognize and generate enum values
10263         for security_level.
10264         * elf/tst-env-setuid.c: New test case.
10265         * elf/tst-env-setuid-tunables: new test case.
10266         * elf/Makefile (tests-static): Add them.
10268 2017-02-01  Richard Henderson  <rth@twiddle.net>
10270         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10271         adjusting the byte count.
10273 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
10275         * conform/Makefile (linknamespace-libs): Define.
10277         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10278         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10279         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10280         operands.
10282 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
10284         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10286 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
10288         [BZ #21081]
10289         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10290         (L(stosb)): Add VZEROUPPER before ret.
10292 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
10293             Alexey Makhalov <amakhalov@vmware.com>
10294             Florian Weimer <fweimer@redhat.com>
10296         [BZ #20116]
10297         * nptl/pthread_create.c: Document concurrency notes.
10298         Enhance thread creation notes.
10299         (create_thread): Use bool *stopped_start.
10300         (START_THREAD_DEFN): Comment ownership of PD.
10301         (__pthread_create_2_1): Add local bool stopped_start and use
10302         that instead of pd->stopped_start where appropriate.
10303         * nptl/createthread.c (create_thread): Use bool *stopped_start.
10304         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10305         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10306         * nptl/tst-create-detached.c: New file.
10307         * nptl/Makefile (tests): Add tst-create-detached.
10308         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10309         Reference the enhanced thread creation notes.
10310         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10311         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10312         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10313         (__pthread_current_priority): Likewise.
10314         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10315         xpthread_attr_init, xpthread_attr_setdetachstate, and
10316         xpthread_attr_setstacksize.
10317         * support/xpthread_attr_destroy.c: New file.
10318         * support/xpthread_attr_init.c: New file.
10319         * support/xpthread_attr_setdetachstate.c: New file.
10320         * support/xpthread_attr_setstacksize.c: New file.
10321         * support/xthread.h: Define prototypes for xpthread_attr_destroy
10322         xpthread_attr_init, xpthread_attr_setdetachstate, and
10323         xpthread_attr_setstacksize.
10325 2017-01-27  Florian Weimer  <fweimer@redhat.com>
10327         * nptl/Makefile (tests): Add tst-robust-fork.
10328         * nptl/tst-robust-fork.c: New file.
10329         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10330         xpthread_mutex_consistent, xpthread_mutex_destroy,
10331         xpthread_mutex_init, xpthread_mutexattr_destroy,
10332         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10333         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10334         xpthread_mutexattr_settype.
10335         * support/xmmap.c: New file.
10336         * support/xmunmap.c: Likewise.
10337         * support/xpthread_mutex_consistent.c: Likewise.
10338         * support/xpthread_mutex_destroy.c: Likewise.
10339         * support/xpthread_mutex_init.c: Likewise.
10340         * support/xpthread_mutexattr_destroy.c: Likewise.
10341         * support/xpthread_mutexattr_init.c: Likewise.
10342         * support/xpthread_mutexattr_setprotocol.c: Likewise.
10343         * support/xpthread_mutexattr_setpshared.c: Likewise.
10344         * support/xpthread_mutexattr_setrobust.c: Likewise.
10345         * support/xpthread_mutexattr_settype.c: Likewise.
10346         * support/xthread.h (xpthread_mutexattr_destroy)
10347         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10348         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10349         (xpthread_mutexattr_settype, xpthread_mutex_init)
10350         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10351         * support/xunistd.h (xmmap, xmunmap): Likewise.
10353 2017-01-25  Florian Weimer  <fweimer@redhat.com>
10355         * string/Makefile (xtests): Add comment.
10356         (LOCALES): Add en_GB.UTF-8.
10357         (tst-strcoll-overflow.out): Depend on generated locales.
10358         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10359         (SIZE, TIMEOUT): Update comments.
10360         (do_test): Define as static.  Fail test if setlocale fails.
10361         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
10362         messages.
10363         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10364         TIMEOUT at 300 seconds should be enough to run this test
10365         successfully.
10367 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
10369         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10370         /* FALLTHRU */ comments.
10372 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
10374         [BZ #21053]
10375         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10376         constants instead of the old R* ones.
10377         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10378         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10379         (NGREG): ... to this, to fit in with other architectures.
10380         (gpregset_t): Use new NGREG macro.
10381         [__USE_GNU]: Remove condition; all architectures other than tile
10382         are unconditional.
10383         (R*): Rename to REG_R*.
10385 2017-01-20  DJ Delorie  <dj@redhat.com>
10387         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10388         (tunable_set_val_if_valid_range_signed) ... this, and ...
10389         (tunable_set_val_if_valid_range_unsigned) ... this.
10390         (tunable_initialize): Call the correct one of the above based on type.
10392 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
10394         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10395         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10396         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10397         * sysdeps/microblaze/libm-test-ulps: Likewise.
10398         * sysdeps/sh/libm-test-ulps: Likewise.
10400         * math/README.libm-test: Update list of characters for input and
10401         output types.
10403 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10405         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10406         (__lll_unlock_elision): Fix adapt_count decrement.
10408 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
10410         * README.pretty-printers (Known issues): Warn about printers not
10411         always covering everything.
10412         * nptl/nptl-printers.py (MutexPrinter): Change output.
10413         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10415 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10417         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10418         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10419         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10420         (__lll_lock_elision): Do not test futex before starting a
10421         transaction.  Use __glibc_likely instead of __builtin_expect.
10422         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10423         (__lll_trylock_elision): Do not test futex before starting a
10424         transaction.  Use __glibc_likely instead of __builtin_expect.
10426 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10428         * po/Makefile (update-translations): New target.
10430 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10432         [BZ #21061]
10433         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10435 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10437         * elf/dl-tunables (get_next_env): Always advance envp.
10438         * stdlib/tst-empty-env.c: New test case.
10439         * stdlib/Makefile (tests): Use it.
10441 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10443         [BZ #21047]
10444         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10445         name for instruction.
10446         [!__SOFTFP__] (_FPU_SETCW): Likewise.
10448 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10450         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10451         for make install.
10453 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10455         * po/bg.po: Merge from Translation Project.
10456         * po/fr.po: Likewise.
10457         * po/ko.po: Likewise.
10458         * po/nl.po: Likewise.
10459         * po/sv.po: Likewise.
10461 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10463         * manual/install.texi (Tools for Compilation): Update GCC version
10464         known to work to build glibc.
10465         * INSTALL: Regenerated.
10467 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10469         [BZ #21006]
10470         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10472 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
10474         [BZ #21045]
10475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10476         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10477         to __sigprocmask.
10479 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
10481         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10482         wrap-around.
10483         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10485         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10487 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10489         * NEWS: Fix typo.
10491 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10493         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10494         barriers and comments.
10495         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10496         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10497         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10499 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10501         [BZ #19402]
10502         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10503         mutexes.
10505 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10507         [BZ #20985]
10508         * nptl/Makefile: Adapt.
10509         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10510         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10511         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10512         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10513         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10514         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10515         lll_robust* functions and adapt.
10516         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10517         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10518         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10519         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10520         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10521         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10522         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10523         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10524         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10525         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10526         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10527         * nptl/lowlevelrobustlock.c: Remove file.
10528         * nptl/lowlevelrobustlock.sym: Likewise.
10529         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10530         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10532 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10534         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10536 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10538         * po/cs.po: Merge translations from the Translation Project.
10539         * po/de.po: Likewise.
10540         * po/pl.po: Likewise.
10541         * po/ru.po: Likewise.
10542         * po/tr.po: Likewise.
10543         * po/uk.po: Likewise.
10544         * po/vi.po: Likewise.
10545         * po/zh_CN.po: Likewise.
10547 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
10549         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10551         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10552         object.
10554 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10556         [BZ #16458]
10557         * bits/uintn-identity.h: New file.
10558         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10559         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10560         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10561         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10562         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10563         * string/endian.h: Include <bits/uintn-identity.h>.
10564         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10565         __uint16_identity.
10566         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10567         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10568         __uint32_identity.
10569         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10570         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10571         __uint64_identity.
10572         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10573         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10574         __uint16_identity.
10575         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10576         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10577         __uint32_identity.
10578         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10579         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10580         __uint64_identity.
10581         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10582         * string/Makefile (headers): Add bits/uintn-identity.h.
10583         (tests): Add test-endian-types.
10584         * string/test-endian-types.c: New file.
10585         * inet/Makefile (tests): Add test-hnto-types.
10586         * inet/test-hnto-types.c: New file.
10588 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10590         * po/be.po: Update from Translation Project.
10591         * po/bg.po: Likewise.
10592         * po/ca.po: Likewise.
10593         * po/cs.po: Likewise.
10594         * po/da.po: Likewise.
10595         * po/de.po: Likewise.
10596         * po/el.po: Likewise.
10597         * po/eo.po: Likewise.
10598         * po/es.po: Likewise.
10599         * po/fi.po: Likewise.
10600         * po/fr.po: Likewise.
10601         * po/gl.po: Likewise.
10602         * po/hr.po: Likewise.
10603         * po/hu.po: Likewise.
10604         * po/ia.po: Likewise.
10605         * po/id.po: Likewise.
10606         * po/it.po: Likewise.
10607         * po/ja.po: Likewise.
10608         * po/ko.po: Likewise.
10609         * po/lt.po: Likewise.
10610         * po/nb.po: Likewise.
10611         * po/nl.po: Likewise.
10612         * po/pl.po: Likewise.
10613         * po/pt_BR.po: Likewise.
10614         * po/ru.po: Likewise.
10615         * po/rw.po: Likewise.
10616         * po/sk.po: Likewise.
10617         * po/sl.po: Likewise.
10618         * po/sv.po: Likewise.
10619         * po/tr.po: Likewise.
10620         * po/uk.po: Likewise.
10621         * po/vi.po: Likewise.
10622         * po/zh_CN.po: Likewise.
10623         * po/zh_TW.po: Likewise.
10625 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10627         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10628         -Wformat-truncation instead of -Wformat-length.
10629         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10630         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10631         GCC 7.
10632         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10633         (do_test): Ignore -Wformat-truncation for GCC 7.
10635         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10636         buffer used to print long int value.
10638         * elf/sotruss-lib.c (init): Increase space allocated for pid by
10639         one byte.  Print it with %ld, cast to long int.
10641 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10643         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10644         (re.fullmatch, subprocess.run): Likewise.
10646 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10648         * po/libc.pot: Regenerate.
10650 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10652         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10653         (min_strlen): Likewise.
10654         (disable_tunable): Likewise.
10655         (maybe_disable_malloc_check): Rename to
10656         maybe_enable_malloc_check.
10657         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10658         if /etc/suid-debug file exists.
10659         (__tunables_init): Update caller.
10660         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10661         secure.
10663 2016-01-10  Torvald Riegel  <triegel@redhat.com>
10665         * nptl/DESIGN-rwlock.txt: Remove.
10666         * nptl/lowlevelrwlock.sym: Remove.
10667         * nptl/Makefile: Add new tests.
10668         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
10669         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10670         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10671         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10672         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10673         PTHREAD_RWLOCK_FUTEX_USED): New.
10674         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10675         implementation.
10676         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10677         (__pthread_rwlock_rdlock): Adapt.
10678         * nptl/pthread_rwlock_timedrdlock.c
10679         (pthread_rwlock_timedrdlock): Adapt.
10680         * nptl/pthread_rwlock_timedwrlock.c
10681         (pthread_rwlock_timedwrlock): Adapt.
10682         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10683         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10684         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10685         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10686         (__pthread_rwlock_wrlock): Adapt.
10687         * nptl/tst-rwlock10.c: Adapt.
10688         * nptl/tst-rwlock11.c: Adapt.
10689         * nptl/tst-rwlock17.c: New file.
10690         * nptl/tst-rwlock18.c: New file.
10691         * nptl/tst-rwlock19.c: New file.
10692         * nptl/tst-rwlock2b.c: New file.
10693         * nptl/tst-rwlock8.c: Adapt.
10694         * nptl/tst-rwlock9.c: Adapt.
10695         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10696         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10697         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10698         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10699         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10700         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10701         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10702         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10703         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10704         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10705         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10706         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10707         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10708         (pthread_rwlock_t): Adapt.
10709         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10710         (pthread_rwlock_t): Adapt.
10711         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10712         * nptl/nptl-printers.py (): Adapt.
10713         * nptl/nptl_lock_constants.pysym: Adapt.
10714         * nptl/test-rwlock-printers.py: Adapt.
10715         * nptl/test-rwlockattr-printers.c: Adapt.
10716         * nptl/test-rwlockattr-printers.py: Adapt.
10718 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
10720         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10721         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10722         (fma_test_data): Likewise.
10723         (hypot_test_data): Likewise.
10724         (log1p_test_data): Likewise.
10725         (modf_test_data): Likewise.
10726         (pow_test_data): Likewise.
10727         (remainder_test_data): Likewise.
10728         (remquo_test_data): Likewise.
10729         (scalb_test_data): Likewise.
10730         (scalbn_test_data): Likewise.
10731         (scalbln_test_data): Likewise.
10732         * math/gen-libm-test.pl (parse_args): Transform
10733         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10734         on the rounding mode.
10736 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
10738         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10739         xfail-rounding:ibm128-libgcc automatically to tests overflowing
10740         and those that can underflow to zero.
10741         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10742         add others.
10743         * math/auto-libm-test-out: Regenerated.
10745         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10746         supported.
10747         (feholdexcept_tests): Skip tests requiring exceptions or rounding
10748         modes support if not supported.
10750         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10751         Add libc.so PLT entry.
10752         (__tls_get_addr): Make ld.so PLT entry optional.
10754 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10756         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10757         * string/bits/string3.h: ... here.
10759 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10761         [BZ #21028]
10762         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10763         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10764         if EXCEPTION_TESTS returns false.
10766 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10768         [BZ #20558]
10769         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10770         strings_fortified.h.
10771         [__USE_MISC] (bzero): Likewise.
10772         [__USE_MISC] (explicit_bzero): Likewise.
10773         * string/strings.h: Include strings_fortified.h.
10774         * string/Makefile (headers): Add strings_fortified.h.
10775         * string/bits/strings_fortified.h: New file.
10776         * include/bits/strings_fortified.h: Likewise.
10778 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10780         * elf/tst-tls13.c (TIMEOUT): Remove.
10781         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10782         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10783         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10784         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10785         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10787         [BZ #21026]
10788         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10789         (readahead): New syscall entry.
10791 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
10793         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10794         around tests of strncat with large sizes.
10796         * malloc/tst-malloc.c: Include <libc-internal.h>.
10797         (do_test): Disable -Walloc-size-larger-than= around tests of
10798         malloc with negative sizes.
10799         * malloc/tst-mcheck.c: Include <libc-internal.h>.
10800         (do_test): Disable -Walloc-size-larger-than= around tests of
10801         malloc and realloc with negative sizes.
10802         * malloc/tst-realloc.c: Include <libc-internal.h>.
10803         (do_test): Disable -Walloc-size-larger-than= around tests of
10804         realloc with negative sizes.
10806         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10807         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10808         allowed to 16 ulps.
10809         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10810         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
10811         * math/auto-libm-test-out: Regenerated.
10813 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10815         * math/Makefile (libm-calls): Move wrappers...
10816         (libm-compat-call-auto): Here.
10817         (libm-routines): Add items in libm-compat-calls-auto.
10818         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10819         the filenames of the wrappers that have been renamed.
10820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10823         * math/w_acos.c: Add _compat suffix to filename.
10824         * math/w_acosf.c: Likewise.
10825         * math/w_acosh.c: Likewise.
10826         * math/w_acoshf.c: Likewise.
10827         * math/w_acoshl.c: Likewise.
10828         * math/w_acosl.c: Likewise.
10829         * math/w_asin.c: Likewise.
10830         * math/w_asinf.c: Likewise.
10831         * math/w_asinl.c: Likewise.
10832         * math/w_atan2.c: Likewise.
10833         * math/w_atan2f.c: Likewise.
10834         * math/w_atan2l.c: Likewise.
10835         * math/w_atanh.c: Likewise.
10836         * math/w_atanhf.c: Likewise.
10837         * math/w_atanhl.c: Likewise.
10838         * math/w_cosh.c: Likewise.
10839         * math/w_coshf.c: Likewise.
10840         * math/w_coshl.c: Likewise.
10841         * math/w_exp10.c: Likewise.
10842         * math/w_exp10f.c: Likewise.
10843         * math/w_exp10l.c: Likewise.
10844         * math/w_exp2.c: Likewise.
10845         * math/w_exp2f.c: Likewise.
10846         * math/w_exp2l.c: Likewise.
10847         * math/w_fmod.c: Likewise.
10848         * math/w_fmodf.c: Likewise.
10849         * math/w_fmodl.c: Likewise.
10850         * math/w_hypot.c: Likewise.
10851         * math/w_hypotf.c: Likewise.
10852         * math/w_hypotl.c: Likewise.
10853         * math/w_j0.c: Likewise.
10854         * math/w_j0f.c: Likewise.
10855         * math/w_j0l.c: Likewise.
10856         * math/w_j1.c: Likewise.
10857         * math/w_j1f.c: Likewise.
10858         * math/w_j1l.c: Likewise.
10859         * math/w_jn.c: Likewise.
10860         * math/w_jnf.c: Likewise.
10861         * math/w_jnl.c: Likewise.
10862         * math/w_log10.c: Likewise.
10863         * math/w_log10f.c: Likewise.
10864         * math/w_log10l.c: Likewise.
10865         * math/w_log2.c: Likewise.
10866         * math/w_log2f.c: Likewise.
10867         * math/w_log2l.c: Likewise.
10868         * math/w_log.c: Likewise.
10869         * math/w_logf.c: Likewise.
10870         * math/w_logl.c: Likewise.
10871         * math/w_pow.c: Likewise.
10872         * math/w_powf.c: Likewise.
10873         * math/w_powl.c: Likewise.
10874         * math/w_remainder.c: Likewise.
10875         * math/w_remainderf.c: Likewise.
10876         * math/w_remainderl.c: Likewise.
10877         * math/w_scalb.c: Likewise.
10878         * math/w_scalbf.c: Likewise.
10879         * math/w_scalbl.c: Likewise.
10880         * math/w_sinh.c: Likewise.
10881         * math/w_sinhf.c: Likewise.
10882         * math/w_sinhl.c: Likewise.
10883         * math/w_sqrt.c: Likewise.
10884         * math/w_sqrtf.c: Likewise.
10885         * math/w_sqrtl.c: Likewise.
10886         * math/w_tgamma.c: Likewise.
10887         * math/w_tgammaf.c: Likewise.
10888         * math/w_tgammal.c: Likewise.
10890         * math/w_acos_compat.c: New file copied from above and
10891         adjusted for new #includes path
10892         * math/w_acosf_compat.c: Likewise.
10893         * math/w_acosh_compat.c: Likewise.
10894         * math/w_acoshf_compat.c: Likewise.
10895         * math/w_acoshl_compat.c: Likewise.
10896         * math/w_acosl_compat.c: Likewise.
10897         * math/w_asin_compat.c: Likewise.
10898         * math/w_asinf_compat.c: Likewise.
10899         * math/w_asinl_compat.c: Likewise.
10900         * math/w_atan2_compat.c: Likewise.
10901         * math/w_atan2f_compat.c: Likewise.
10902         * math/w_atan2l_compat.c: Likewise.
10903         * math/w_atanh_compat.c: Likewise.
10904         * math/w_atanhf_compat.c: Likewise.
10905         * math/w_atanhl_compat.c: Likewise.
10906         * math/w_cosh_compat.c: Likewise.
10907         * math/w_coshf_compat.c: Likewise.
10908         * math/w_coshl_compat.c: Likewise.
10909         * math/w_exp10_compat.c: Likewise.
10910         * math/w_exp10f_compat.c: Likewise.
10911         * math/w_exp10l_compat.c: Likewise.
10912         * math/w_exp2_compat.c: Likewise.
10913         * math/w_exp2f_compat.c: Likewise.
10914         * math/w_exp2l_compat.c: Likewise.
10915         * math/w_fmod_compat.c: Likewise.
10916         * math/w_fmodf_compat.c: Likewise.
10917         * math/w_fmodl_compat.c: Likewise.
10918         * math/w_hypot_compat.c: Likewise.
10919         * math/w_hypotf_compat.c: Likewise.
10920         * math/w_hypotl_compat.c: Likewise.
10921         * math/w_j0_compat.c: Likewise.
10922         * math/w_j0f_compat.c: Likewise.
10923         * math/w_j0l_compat.c: Likewise.
10924         * math/w_j1_compat.c: Likewise.
10925         * math/w_j1f_compat.c: Likewise.
10926         * math/w_j1l_compat.c: Likewise.
10927         * math/w_jn_compat.c: Likewise.
10928         * math/w_jnf_compat.c: Likewise.
10929         * math/w_jnl_compat.c: Likewise.
10930         * math/w_log10_compat.c: Likewise.
10931         * math/w_log10f_compat.c: Likewise.
10932         * math/w_log10l_compat.c: Likewise.
10933         * math/w_log2_compat.c: Likewise.
10934         * math/w_log2f_compat.c: Likewise.
10935         * math/w_log2l_compat.c: Likewise.
10936         * math/w_log_compat.c: Likewise.
10937         * math/w_logf_compat.c: Likewise.
10938         * math/w_logl_compat.c: Likewise.
10939         * math/w_pow_compat.c: Likewise.
10940         * math/w_powf_compat.c: Likewise.
10941         * math/w_powl_compat.c: Likewise.
10942         * math/w_remainder_compat.c: Likewise.
10943         * math/w_remainderf_compat.c: Likewise.
10944         * math/w_remainderl_compat.c: Likewise.
10945         * math/w_scalb_compat.c: Likewise.
10946         * math/w_scalbf_compat.c: Likewise.
10947         * math/w_scalbl_compat.c: Likewise.
10948         * math/w_sinh_compat.c: Likewise.
10949         * math/w_sinhf_compat.c: Likewise.
10950         * math/w_sinhl_compat.c: Likewise.
10951         * math/w_sqrt_compat.c: Likewise.
10952         * math/w_sqrtf_compat.c: Likewise.
10953         * math/w_sqrtl_compat.c: Likewise.
10954         * math/w_tgamma_compat.c: Likewise.
10955         * math/w_tgammaf_compat.c: Likewise.
10956         * math/w_tgammal_compat.c: Likewise.
10958         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
10959         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10960         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10961         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10962         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10963         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10964         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10965         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10966         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10967         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
10968         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
10969         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
10970         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10971         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10972         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10973         * sysdeps/ia64/fpu/w_powl.c: Likewise.
10974         * sysdeps/ia64/fpu/w_powf.c: Likewise.
10975         * sysdeps/ia64/fpu/w_pow.c: Likewise.
10976         * sysdeps/ia64/fpu/w_logl.c: Likewise.
10977         * sysdeps/ia64/fpu/w_logf.c: Likewise.
10978         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10979         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10980         * sysdeps/ia64/fpu/w_log2.c: Likewise.
10981         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10982         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10983         * sysdeps/ia64/fpu/w_log10.c: Likewise.
10984         * sysdeps/ia64/fpu/w_log.c: Likewise.
10985         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10986         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10987         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10988         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10989         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10990         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10991         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10992         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10993         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10994         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10995         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10996         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10997         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10998         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10999         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11000         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11001         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11002         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11003         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11004         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11005         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11006         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11007         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11008         * sysdeps/ia64/fpu/w_asin.c: Likewise.
11009         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11010         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11011         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11012         * sysdeps/ia64/fpu/w_acos.c: Likewise.
11013         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
11014         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
11015         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
11016         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
11017         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
11018         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
11019         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
11020         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
11021         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
11022         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
11023         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
11024         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
11025         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
11026         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
11027         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
11028         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
11029         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
11030         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
11031         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
11032         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
11033         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
11034         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
11035         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
11036         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
11037         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
11038         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
11039         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
11040         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
11041         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
11042         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
11043         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
11044         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
11045         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
11046         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
11047         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
11048         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
11049         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
11050         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
11051         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
11052         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
11053         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
11054         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
11055         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
11056         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
11057         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
11058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
11059         Likewise.
11060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
11061         Likewise.
11062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
11063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
11064         Likewise.
11065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
11066         Likewise.
11067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
11068         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11069         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11070         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11071         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11072         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11073         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
11075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
11077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11078         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11079         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11080         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11081         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11083         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
11084         and adjusted for new #includes path
11085         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
11086         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
11087         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
11088         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
11089         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
11090         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
11091         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
11092         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
11093         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
11094         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
11095         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
11096         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
11097         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
11098         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
11099         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
11100         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
11101         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
11102         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
11103         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
11104         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
11105         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
11106         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
11107         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
11108         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
11109         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
11110         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
11111         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
11112         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
11113         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
11114         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
11115         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
11116         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11117         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11118         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11119         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11120         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11121         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11122         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11123         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11124         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11125         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11126         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11127         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11128         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11129         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11130         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11131         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11132         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11133         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11134         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11135         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11136         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11137         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11138         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11139         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11140         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11141         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11142         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11143         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11144         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11145         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11146         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11147         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11148         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11149         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11150         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11151         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11152         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11153         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11154         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11155         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11156         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11157         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11158         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11159         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11160         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11161         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11162         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11163         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11164         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11165         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11166         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11167         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11168         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11169         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11170         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11171         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11172         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11173         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11174         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11175         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11176         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11177         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11178         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11179         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11180         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11181         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11182         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11183         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11185         Likewise.
11186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11187         Likewise.
11188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11189         Likewise.
11190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11191         Likewise.
11192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11193         Likewise.
11194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11195         Likewise.
11196         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11197         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11198         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11199         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11200         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11201         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11203         Likewise.
11204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11205         Likewise.
11206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11207         Likewise.
11208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11209         Likewise.
11210         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11211         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11212         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11213         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11215 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
11217         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11218         __jmp_buf_internal_tag.
11220         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11221         preserve NaN payload if [__mips_nan2008].
11222         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11224         [BZ #21022]
11225         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11227 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11229         * sysdeps/i386/fpu/libm-test-ulps: Update.
11231 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11233         * sysdeps/ia64/strcat.c: Remove file.
11234         * sysdeps/powerpc/strcat.c: Likewise.
11235         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11236         C implementation.
11237         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11238         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11240 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11241             Steven Munroe  <sjmunroe@us.ibm.com>
11242             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11244         [BZ #20822]
11245         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11246         (__lll_lock_elision): Access adapt_count via C11 atomics.
11247         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11248         (__lll_trylock_elision): Likewise.
11249         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11250         (__lll_unlock_elision):  Update adapt_count variable inside the
11251         critical section using C11 atomics.
11253 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11255         * math/test-fenvinline.c (do_test): Disable tests of raised
11256         exceptions if !EXCEPTION_TESTS (FLOAT).
11258 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11260         [BZ #19390]
11261         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11262         maximum string size.
11263         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11264         in pointer addition.
11265         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11266         Likewise.
11268 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11270         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11271         passed to tst-ldconfig-X.sh.
11273 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
11275         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11277 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11279         [BZ #21019]
11280         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11281         New syscall entry.
11282         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11283         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11284         lseek.
11286         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11287         power4 glibc for powerpc-linux-gnu.
11289 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11291         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11292         semctl.
11294 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11296         * math/test-nearbyint-except.c: Include <stdbool.h>.
11297         (any_supported): New variable.
11298         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
11299         set any_supported.
11300         (do_test): Return 77 if no floating-point type supported
11301         exceptions.
11303         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11304         condition on [__mips_hard_float].
11306 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11308         [BZ #21014]
11309         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11310         in pointer addition.
11311         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11313 2017-01-02  Torvald Riegel  <triegel@redhat.com>
11315         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11316         new condvar.
11318 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11320         * scripts/build-many-glibcs.py (Context.checkout): Default
11321         binutils version to 2.28 branch.
11323 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11325         * support/support_format_netent.c (support_format_netent): Work
11326         around alpha struct netent definition difference.
11328 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11330         * support/xwrite.c (xwrite): Use %td for pointer difference.
11332 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11334         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11335         have-tunables only.
11336         (tests-static): Add tst-malloc-usable-static-tunables for
11337         have-tunables only.
11339 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
11341         * scripts/config.guess: Update to version 2017-01-01.
11342         * scripts/config.sub: Update to version 2017-01-01.
11344         * NEWS: Update copyright dates.
11345         * catgets/gencat.c (print_version): Likewise.
11346         * csu/version.c (banner): Likewise.
11347         * debug/catchsegv.sh: Likewise.
11348         * debug/pcprofiledump.c (print_version): Likewise.
11349         * debug/xtrace.sh (do_version): Likewise.
11350         * elf/ldconfig.c (print_version): Likewise.
11351         * elf/ldd.bash.in: Likewise.
11352         * elf/pldd.c (print_version): Likewise.
11353         * elf/sotruss.sh: Likewise.
11354         * elf/sprof.c (print_version): Likewise.
11355         * iconv/iconv_prog.c (print_version): Likewise.
11356         * iconv/iconvconfig.c (print_version): Likewise.
11357         * locale/programs/locale.c (print_version): Likewise.
11358         * locale/programs/localedef.c (print_version): Likewise.
11359         * login/programs/pt_chown.c (print_version): Likewise.
11360         * malloc/memusage.sh (do_version): Likewise.
11361         * malloc/memusagestat.c (print_version): Likewise.
11362         * malloc/mtrace.pl: Likewise.
11363         * manual/libc.texinfo: Likewise.
11364         * nptl/version.c (banner): Likewise.
11365         * nscd/nscd.c (print_version): Likewise.
11366         * nss/getent.c (print_version): Likewise.
11367         * nss/makedb.c (print_version): Likewise.
11368         * posix/getconf.c (main): Likewise.
11369         * scripts/test-installation.pl: Likewise.
11370         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11372         * All files with FSF copyright notices: Update copyright dates
11373         using scripts/update-copyrights.
11374         * intl/plural.c: Regenerated.
11375         * locale/programs/charmap-kw.h: Likewise.
11376         * locale/programs/locfile-kw.h: Likewise.
11378 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11380         [BZ #20593]
11381         Update DNS RR type definitions.
11382         * scripts/gen-rrtypes.py: New file.
11383         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11384         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
11385         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11386         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11387         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11388         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11389         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11390         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11391         ns_t_ta, ns_t_dlv.
11392         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11393         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11394         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11395         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11396         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11397         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11398         Define.
11399         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
11400         entry for ns_t_zxfr.
11402 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11404         [BZ #18784]
11405         CVE-2015-5180
11406         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11407         T_UNSPEC.  Adjust value.
11408         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11409         * resolv/res_query.c (__libc_res_nquery): Likewise.
11410         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11411         QTYPEs.
11412         * resolv/tst-resolv-qtypes.c: New file.
11413         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11414         (tst-resolv-qtypes): Link against libresolv and libpthread.
11416 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11418         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11420 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11422         * manual/tunables.texi: New chapter.
11423         * manual/Makefile (chapters): Add it.
11424         * manual/probes.texi (@node): Point to the Tunables chapter.
11426         * Makeconfig (have-tunables): Check for non-negative instead
11427         of positive.
11428         * configure.ac: Add 'valstring' as a valid value for
11429         --enable-tunables.
11430         * configure: Regenerate.
11431         * elf/Makefile (have-tunables): Check for non-negative instead
11432         of positive.
11433         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11434         dl-tunables.c.
11435         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11436         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11437         (tunables_strdup): Likewise.
11438         (disable_tunables): Likewise.
11439         (parse_tunables): Likewise.
11440         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11441         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11442         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11443         (TUNABLES_FRONTEND_yes): New macro, define as
11444         TUNABLES_FRONTEND_valstring by default.
11445         * manual/install.texi: Document new acceptable values for
11446         --enable-tunables.
11447         * INSTALL: Regenerate.
11449         * config.make.in (have-loop-to-function): Define.
11450         * elf/Makefile (CFLAGS-dl-tunables.c): Add
11451         -fno-tree-loop-distribute-patterns.
11452         * elf/dl-tunables.c: Include libc-internals.h.
11453         (GLIBC_TUNABLES): New macro.
11454         (tunables_strdup): New function.
11455         (parse_tunables): New function.
11456         (min_strlen): New function.
11457         (__tunables_init): Use the new functions and macro.
11458         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11459         * malloc/tst-malloc-usable-tunables.c: New test case.
11460         * malloc/tst-malloc-usable-static-tunables.c: New test case.
11461         * malloc/Makefile (tests, tests-static): Add tests.
11463         * manual/install.texi: Add --enable-tunables option.
11464         * INSTALL: Regenerate.
11465         * README.tunables: New file.
11466         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11467         (before-compile): Generate dl-tunable-list.h early.
11468         * config.h.in: Add HAVE_TUNABLES.
11469         * config.make.in: Add have-tunables.
11470         * configure.ac: Add --enable-tunables option.
11471         * configure: Regenerate.
11472         * csu/init-first.c (__libc_init_first): Move
11473         __libc_init_secure earlier...
11474         * csu/init-first.c (LIBC_START_MAIN):... to here.
11475         Include dl-tunables.h, libc-internal.h.
11476         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11477         binaries.
11478         * elf/Makefile (dl-routines): Add dl-tunables.
11479         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11480         namespace.
11481         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11482         only when !HAVE_TUNABLES.
11483         * elf/rtld.c (process_envvars): Likewise.
11484         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11485         (_dl_sysdep_start): Call __tunables_init.
11486         * elf/dl-tunable-types.h: New file.
11487         * elf/dl-tunables.c: New file.
11488         * elf/dl-tunables.h: New file.
11489         * elf/dl-tunables.list: New file.
11490         * malloc/tst-malloc-usable-static.c: New test case.
11491         * malloc/Makefile (tests-static): Add it.
11492         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11493         Define TUNABLE_NAMESPACE.
11494         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11495         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
11496         callback functions.
11497         (ptmalloc_init): Set tunable values.
11498         * scripts/gen-tunables.awk: New file.
11499         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11500         (_dl_sysdep_start): Call __tunables_init.
11502 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11504         * resolv/resolv.h (RES_BLAST): Deprecate.
11505         * resolv/res_debug.c (p_option): Remove RES_BLAST.
11506         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11507         to RES_BLAST.
11509 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11511         [BZ #19582]
11512         Deprecate RES_USE_INET6.
11513         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11514         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11515         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11516         RES_USE_INET6.
11517         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11518         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11519         (_nss_nisplus_gethostbyaddr_r): Likewise.
11520         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11521         of res_use_inet6.
11522         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11523         instead of RES_USE_INET6.
11524         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11525         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11526         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11527         Likewise.
11528         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11529         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11530         Likewise.
11531         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11532         (_nss_dns_gethostbyname_r): Likewise.
11533         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11534         alternate RES_USE_INET6 handling.
11535         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11536         instead of RES_USE_INET6.
11537         * resolv/res_init.c (res_setoptions): Likewise.
11538         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11539         * resolv/resolv-internal.h: New file.
11540         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11541         make the deprecation warning non-fatal.
11542         * resolv/README (Using the resolver in multi-threaded code): Drop
11543         reference to RES_USE_INET6.
11544         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11545         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11547 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11549         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11550         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11551         tst-resolv-search.
11552         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11553         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11554         with libresolv and libpthread.
11555         * resolv/tst-bug18665.c: New file.
11556         * resolv/tst-bug18665-tcp: Likewise.
11557         * resolv/tst-res_use_inet6: Likewise.
11558         * resolv/tst-resolv-basic: Likewise.
11559         * resolv/tst-resolv-network: Likewise.
11560         * resolv/tst-resolv-search: Likewise.
11561         * support/Makefile (libsupport-routines): Add check_addrinfo,
11562         check_dns_packet, check_hostent, check_netent, resolv_test,
11563         support_format_address_family, support_format_addrinfo,
11564         support_format_dns_packet, support_format_herrno,
11565         support_format_hostent, support_format_netent, support_run_diff,
11566         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11567         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11568         xstrdup, xwrite.
11569         * support/check_addrinfo.c: New file.
11570         * support/check_dns_packet.c: Likewise.
11571         * support/check_hostent.c: Likewise.
11572         * support/check_netent.c: Likewise.
11573         * support/check_nss.h: Likewise.
11574         * support/format_nss.h: Likewise.
11575         * support/resolv_test.c: Likewise.
11576         * support/resolv_test.h: Likewise.
11577         * support/run_diff.h: Likewise.
11578         * support/support_format_address_family.c: Likewise.
11579         * support/support_format_addrinfo.c: Likewise.
11580         * support/support_format_dns_packet.c: Likewise.
11581         * support/support_format_herrno.c: Likewise.
11582         * support/support_format_hostent.c: Likewise.
11583         * support/support_format_netent.c: Likewise.
11584         * support/support_run_diff.c: Likewise.
11585         * support/xaccept.c: Likewise.
11586         * support/xbind.c: Likewise.
11587         * support/xconnect.c: Likewise.
11588         * support/xfclose.c: Likewise.
11589         * support/xfopen.c: Likewise.
11590         * support/xgetsockname.c: Likewise.
11591         * support/xlisten.c: Likewise.
11592         * support/xmemstream.c: Likewise.
11593         * support/xmemstream.h: Likewise.
11594         * support/xpoll.c: Likewise.
11595         * support/xpthread_once.c: Likewise.
11596         * support/xrecvfrom.c: Likewise.
11597         * support/xsendto.c: Likewise.
11598         * support/xsetsockopt.c: Likewise.
11599         * support/xstdio.h: Likewise.
11600         * support/xstrdup.c: Likewise.
11601         * support/support.h (xstrdup): Declare.
11602         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11603         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11604         * support/xthread.h (xpthread_once): Likwise.
11605         * support/xunistd.h (xwrite): Declare.
11607 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11609         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11610         (test_verbose): Declare.
11611         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11612         * support/support_test_main.c (default_options): Likewise.
11613         (usage, support_test_main): Handle 'v'.
11614         (test_verbose): Define.
11615         * support/tst-support_record_failure.c (do_test): Use
11616         test_verbose.
11617         * support/tst-support_record_failure-2.sh (different_status): Add
11618         --verbose test.
11620 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11622         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11623         test failures are recorded.
11624         * support/check.c (support_print_failure_impl): Call
11625         support_record_failure.
11626         (support_exit_failure_impl): Call support_record_failure if status
11627         indicates failure.
11628         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11629         * support/xasprintf.c (xasprintf): Likewise.
11630         * support/xfork.c (xfork): Likewise.
11631         * support/xpthread_check_return.c (xpthread_check_return):
11632         Likewise.
11633         * support/xsocket.c (xsocket): Likeweise.
11634         * support/xwaitpid.c (xwaitpid): Likewise.
11635         * support/support_record_failure.c (struct test_failures): Adjust
11636         to coding style.
11637         * support/support_test_verify_impl.c (support_test_verify_impl):
11638         Adjust error messages.
11639         * support/tst-support_record_failure-2.sh (different_status):
11640         Adjust error messages.
11642 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11644         * support/namespace.h: New file.
11645         * support/support_become_root.c: Likewise.
11646         * support/support_enter_network_namespace.c: Likewise.
11647         * support/tst-support-namespace.c: Likewise.
11648         * support/xsocket.c: Likewise.
11649         * support/xsocket.h: Likewise.
11650         * support/Makefile (libsupport-routines): Add support_become_root,
11651         support_enter_network_namespace, xsocket.
11652         (tests): Add tst-support-namespace.
11654 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11656         [BZ #17252]
11657         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11658         __USE_GNU.
11660 2016-12-31  Torvald Riegel  <triegel@redhat.com>
11662         [BZ #13165]
11663         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11664         use new algorithm.
11665         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11666         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11667         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11668         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11669         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11670         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11671         __condvar_cleanup_waiting, __condvar_dec_grefs,
11672         __pthread_cond_wait_common): New.
11673         (__condvar_cleanup): Remove.
11674         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11675         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11676         Likewise.
11677         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11678         Likewise.
11679         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11680         * nptl/tst-cond1.c: Add comment.
11681         * nptl/tst-cond20.c (do_test): Adapt.
11682         * nptl/tst-cond22.c (do_test): Likewise.
11683         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11684         structure.
11685         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11686         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11687         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11688         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11689         Likewise.
11690         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11691         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11692         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11693         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11694         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11695         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11696         Likewise.
11697         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11698         Likewise.
11699         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11700         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11701         (COND_CLOCK_BITS): Adapt.
11702         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11703         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11704         __PTHREAD_COND_SHARED_MASK): New.
11705         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11706         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11707         * nptl/nptl_lock_constants.pysym: Adapt.
11708         * nptl/test-cond-printers.py: Adapt.
11709         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11710         cond_compat_check_and_clear): Adapt.
11711         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11712         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11713         (__pthread_cond_timedwait): ... and move here.
11714         * nptl/DESIGN-condvar.txt: Remove file.
11715         * nptl/lowlevelcond.sym: Likewise.
11716         * nptl/pthread_cond_timedwait.c: Likewise.
11717         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11718         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11719         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11720         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11721         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11722         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11723         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11724         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11725         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11726         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11727         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11728         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11729         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11730         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11731         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11732         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11734 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
11736         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11737         (fromfp): New declaration.
11738         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11739         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11740         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11741         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11742         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11743         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11744         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11745         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11746         * math/math.h: Include <bits/types.h>.
11747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11748         constant and macro.
11749         (FP_INT_DOWNWARD): Likewise.
11750         (FP_INT_TOWARDZERO): Likewise.
11751         (FP_INT_TONEARESTFROMZERO): Likewise.
11752         (FP_INT_TONEAREST): Likewise.
11753         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11754         (fromfpf): Likewise.
11755         (fromfpl): Likewise.
11756         (ufromfp): Likewise.
11757         (ufromfpf): Likewise.
11758         (ufromfpl): Likewise.
11759         (fromfpx): Likewise.
11760         (fromfpxf): Likewise.
11761         (fromfpxl): Likewise.
11762         (ufromfpx): Likewise.
11763         (ufromfpxf): Likewise.
11764         (ufromfpxl): Likewise.
11765         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11766         s_fromfpxF and s_ufromfpxF.
11767         * math/gen-fromfp-tests.py: New file.
11768         * math/gen-fromfp-tests-inputs: Likewise.
11769         * math/libm-test.inc: Include <stdint.h>
11770         (check_intmax_t): New function.
11771         (check_uintmax_t): Likewise.
11772         (struct test_fiu_M_data): New type.
11773         (struct test_fiu_U_data): Likewise.
11774         (RUN_TEST_fiu_M): New macro.
11775         (RUN_TEST_LOOP_fiu_M): Likewise.
11776         (RUN_TEST_fiu_U): Likewise.
11777         (RUN_TEST_LOOP_fiu_U): Likewise.
11778         (fromfp_test_data): New array.
11779         (fromfp_test): New function.
11780         (fromfpx_test_data): New array.
11781         (fromfpx_test): New function.
11782         (ufromfp_test_data): New array.
11783         (ufromfp_test): New function.
11784         (ufromfpx_test_data): New array.
11785         (ufromfpx_test): New function.
11786         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11787         ufromfpx_test.
11788         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11789         characters.
11790         * math/test-tgmath-ret.c: Include <stdint.h>.
11791         (rm): New variable.
11792         (width): Likewise.
11793         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11794         called function.
11795         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11796         CHECK_RET_CONST_TYPE.
11797         (CHECK_RET_CONST_DOUBLE): Likewise.
11798         (CHECK_RET_CONST_LDOUBLE): Likewise.
11799         (CHECK_RET_CONST): Take extra arguments and pass them to calls
11800         macros.
11801         (fromfp): New CHECK_RET_CONST call.
11802         (ufromfp): Likewise.
11803         (fromfpx): Likewise.
11804         (ufromfpx): Likewise.
11805         (do_test): Call check_return_fromfp, check_return_ufromfp,
11806         check_return_fromfpx and check_return_ufromfpx.
11807         * math/test-tgmath.c: Include <stdint.h>
11808         (NCALLS): Increase to 138.
11809         (F(compile_test)): Initialize i.  Call fromfp functions.
11810         (F(fromfp)): New function.
11811         (F(fromfpx)): Likewise.
11812         (F(ufromfp)): Likewise.
11813         (F(ufromfpx)): Likewise.
11814         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11815         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11816         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11817         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11818         ufromfpxl.
11819         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11820         ufromfp and ufromfpx.
11821         * math/fromfp.h: New file.
11822         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11823         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11824         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11825         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11826         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11827         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11828         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11829         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11830         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11831         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11832         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11833         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11834         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11835         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11836         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11837         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11838         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11839         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11840         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11841         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11842         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11843         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11844         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11845         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11846         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11847         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11848         ufromfp, fromfpx and ufromfpx.
11849         (CFLAGS-nldbl-fromfp.c): New variable.
11850         (CFLAGS-nldbl-fromfpx.c): Likewise.
11851         (CFLAGS-nldbl-ufromfp.c): Likewise.
11852         (CFLAGS-nldbl-ufromfpx.c): Likewise.
11853         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11854         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11855         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11856         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11857         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11858         * sysdeps/nacl/libm.abilist: Update.
11859         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11860         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11861         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11862         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11863         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11864         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11865         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11866         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11867         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11868         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11869         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11870         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11872         Likewise.
11873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11874         Likewise.
11875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11876         Likewise.
11877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11878         Likewise.
11879         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11880         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11881         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11882         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11883         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11885         Likewise.
11886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11887         Likewise.
11888         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11889         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11890         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11892 2016-12-30  Florian Weimer  <fweimer@redhat.com>
11894         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11895         compat-gethnamaddr.
11896         (CPPFLAGS): Remove.
11897         * resolv/gethnamaddr.c: Rename ...
11898         * resolv/compat-gethnamaddr.c: ... to this file.
11899         (_endhtent): Make static.
11900         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
11901         symbol.
11902         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
11903         compat symbol.
11904         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
11905         symbol.
11906         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11907         Turn into compat symbol.
11908         * include/resolv.h (_endhtent): Remove declaration.
11910 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
11912         * bits/types.h (__intmax_t): New typedef.
11913         (__uintmax_t): Likewise.
11914         * sysdeps/generic/stdint.h: Include <bits/types.h>.
11915         (intmax_t): Define using __intmax_t.
11916         (uintmax_t): Define using __uintmax_t.
11918         * support/Makefile (tests-special): Make definition conditional on
11919         [$(run-built-tests) = yes].
11920         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11921         on [$(run-built-tests) = yes].
11923 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11925         * Rules (tests): Add tests-printers-programs to tests to be
11926         built.
11928 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11930         * sysvipc/Makefile (tests): Add test-sysvshm.
11931         * sysvipc/test-sysvshm.c: New file.
11933         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11934         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11935         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11936         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11937         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11938         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11939         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11940         Likewise.
11941         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11942         Likewise.
11943         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11944         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11945         is defined.
11947         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11948         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11949         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11950         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11951         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11952         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11953         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11954         Likewise.
11955         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11956         Likewise.
11957         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
11958         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
11959         defined.
11961         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11962         oldshmctl.
11963         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
11964         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
11965         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
11966         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
11967         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
11968         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
11969         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
11970         Likewise.
11971         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
11972         Likewise.
11973         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
11974         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
11975         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
11976         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
11977         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
11978         implementation.
11979         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
11980         if it is defined.
11982         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
11983         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
11984         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
11985         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
11986         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
11987         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
11988         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
11989         Likewise.
11990         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
11991         Likewise.
11992         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
11993         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
11994         Define to __NR_osf_shmat.
11995         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
11996         defined.
11998         * sysvipc/Makefile (tests): Add test-sysvsem.
11999         * sysvipc/test-sysvsem.c: New file.
12001         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
12002         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
12003         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
12004         Likewise.
12005         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
12006         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
12007         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
12008         Likewise.
12009         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
12010         Likewise.
12011         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
12012         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
12013         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
12014         add a comment about s390 syscall difference from default one.
12015         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
12016         syscall if it is defined.
12018         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
12019         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
12020         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
12021         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
12022         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
12023         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
12024         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
12025         Likewise.
12026         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
12027         Likewise.
12028         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
12029         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
12030         defined.
12032         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
12033         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
12034         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
12035         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
12036         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
12037         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
12038         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
12039         Likewise.
12040         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
12041         Likewise.
12042         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
12043         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
12044         if it is defined.
12046         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12047         oldsemctl.
12048         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
12049         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
12050         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
12051         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
12052         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
12053         implementation.
12054         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
12055         syscall if it is defined.
12056         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
12057         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
12058         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
12059         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
12060         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
12061         Likewise.
12062         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
12064         * sysvipc/Makefile (tests): Add test-sysvmsg.
12065         * sysvipc/test-sysvmsg.c: New file.
12066         * support/check.h (FAIL_UNSUPPORTED): New define.
12068         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
12069         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
12070         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
12071         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
12072         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
12073         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
12074         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
12075         Likewise.
12076         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
12077         Likewise.
12078         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
12079         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
12080         define.
12082         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
12083         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
12084         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
12085         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
12086         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
12087         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
12088         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
12089         Likewise.
12090         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
12091         Likewise.
12092         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
12093         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
12094         if defined.
12096         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
12097         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
12098         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12099         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12100         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12101         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
12102         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12103         Likewise.
12104         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
12105         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
12106         Likewise.
12107         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
12108         if defined.
12109         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
12111         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12112         oldmsgctl.
12113         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
12114         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
12115         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
12116         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12117         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12118         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12119         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12120         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12121         Likewise.
12122         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12123         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12124         implementation.
12125         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12126         if defined.
12128         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12129         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12130         definition and define its own.
12131         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12132         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12133         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12134         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12135         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12136         definitions to common header.
12137         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12138         operation from ipc_ops.h.
12140         * sysdeps/unix/sysv/linux/kernel-features.h
12141         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12142         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12143         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12144         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12145         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12146         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12147         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12148         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12149         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12150         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12151         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12152         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12153         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12154         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12155         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12157 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12159         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12160         overflow in pointer addition.
12162 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12164         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12165         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12167         (strchr): Add __strchr_power8 to list of strchr functions.
12168         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12169         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12170         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12171         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12172         (strchr): Add __strchr_power8 to ifunc list.
12173         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12174         (__strchrnul): Add __strchrnul_power8 to ifunc list.
12175         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12176         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12178 2016-12-28  Florian Weimer  <fweimer@redhat.com>
12180         * support/Makefile (libsupport-routines): Add
12181         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12182         (tests): Add tst-support_record_failure.
12183         (tests-special): tst-support_record_failure-2.
12184         (tst-support_record_failure-2.out): Depend on
12185         tst-support_record_failure-2.sh and tst-support_record_failure.
12186         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12187         (support_test_verify_impl, support_record_failure)
12188         (support_report_failure, support_report_failure_reset): Declare.
12189         * support/support_test_main.c (adjust_exit_status): New function.
12190         (support_test_main): Call it to incorporate record test failures.
12191         * support/support_test_verify_impl.c: New file.
12192         * support/support_record_failure.c: Likewise.
12193         * support/tst-support_record_failure.c: Likewise.
12194         * support/tst-support_record_failure-2.sh: Likewise.
12195         * support/xunistd.h: Likewise.
12196         * support/xfork.c: Likewise.
12197         * support/xwaitpid.c: Likewise.
12199 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
12201         * scripts/check-c++-types.sh: Add comments.
12203 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
12205         [BZ #19514]
12206         * resolv/res_send.c: Fix typo in comment.
12207         * sysdeps/i386/i386-mcount.S: Likewise.
12208         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12209         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12210         * sysdeps/sparc/sparc-mcount.S: Likewise.
12212 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12214         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12215         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12216         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12217         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12218         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12219         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12220         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12221         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12223 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12225         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12227 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12229         [BZ #17252]
12230         * posix/unistd.h (getentropy): Declare.
12232 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12234         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12235         Remove.
12236         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12237         (cmd): Remove spoof, nospoof, spoofalert.
12238         (parse_line): Ignore spoof-related lines.
12239         (do_init): Do not process RESOLV_SPOOF_CHECK.
12241 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12243         [BZ #20964]
12244         sunrpc: Always obtain AF_INET addresses from NSS.
12245         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12246         * sunrpc/rpc_gethostbyname.c: New file.
12247         * sunrpc/Makefile (routines): Add it.
12248         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12249         * sunrpc/clnt_simp.c (callrpc): Likewise.
12250         * sunrpc/getrpcport.c (getrpcport): Likewise.
12252 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12254         * sunrpc/rpcinfo.c: Remove.
12255         * sunrpc/Makefile: Remove comments referring to rpcinfo.
12257 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12259         [BZ #19387]
12260         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12261         addition.
12262         * string/test-memchr.c (do_test): Remove alignment limitation.
12263         (test_main): Add test that trigger BZ #19387.
12265 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12267         [BZ #7065]
12268         Enable stack protectore if requested by ./configure.
12269         * Makeconfig (+stack-protector): New variable.
12270         (+cflags): Use it.
12272 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12274         [BZ #7065]
12275         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12276         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12277         (__rt_sigreturn_stub): Use inhibit_stack_protector.
12278         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12279         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12281 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12283         [BZ #7065]
12284         * login/Makefile (pt_chown-cflags): Remove.
12285         * nscd/Makefile (CFLAGS-nscd): Likewise.
12286         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12288 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12290         [BZ #7065]
12291         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12292         non-libc-linking testcase.
12294 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12295             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12296             Florian Weimer  <fweimer@redhat.com>
12298         [BZ #7065]
12299         PLT avoidance for __stack_chk_fail*.
12300         * debug/Makefile (CFLAGS-stack_chk_fail.c)
12301         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12302         * debug/stack_chk_fail.c (__stack_chk_fail): Add
12303         __stack_chk_fail_local alias.
12304         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12305         (__stack_chk_fail): Turn into hidden reference to
12306         __stack_chk_fail_local.
12308 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12310         [BZ #7065]
12311         * configure.ac: Add check for unsupported stack-protection level.
12312         (libc_cv_predef_stack_protector): Remove.
12313         (no_ssp): New variable.
12314         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12315         (stack_protector): Set to -fno-stack-protector similarly.
12316         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12317         (libc_cv_asm_set_directive): Likewise.
12318         (libc_cv_protected_data): Likewise.
12319         (libc_cv_z_combreloc): Likewise.
12320         (libc_cv_hashstyle): Likewise.
12321         (libc_cv_has_glob_dat): Likewise.
12322         (libc_cv_output_format): Likewise.
12323         (libc_cv_output_format): Likewise.
12324         (libc_cv_ehdr_start): Likewise.
12325         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12326         (LIBC_LINKER_FEATURE): Likewise.
12327         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12329 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12331         [BZ #7065]
12332         * elf/Makefile (dummy-stack-chk-fail): New.
12333         (librtld.map): Use it.
12335 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12337         [BZ #7065]
12338         Compile the dynamic linker without stack protection.
12339         * elf/Makefile (elide-stack-protector): New.
12340         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12341         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12342         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12343         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12345 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12347         [BZ #7065]
12348         * config.make.in (have-ssp, no-stack-protector): New.
12349         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12350         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12351         (CFLAGS-sbrk.op): Likewise.
12352         (CFLAGS-brk.o): Likewise.
12353         (CFLAGS-brk.op): Likewise.
12354         * string/Makefile (CFLAGS-memcpy.c): Likewise.
12355         (CFLAGS-wordcopy.c): Likewise.
12357 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12359         [BZ #7065]
12360         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12361         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12362         * include/libc-symbols.h (inhibit_stack_protector): New macro.
12363         (__ifunc_resolver): Use it.
12364         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12365         inhibit_stack_protector.
12366         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12367         * elf/ifuncmain7.c (foo_ifunc): Likewise.
12368         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12369         (foo_protected_ifunc): Likewise.
12370         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12371         (foo_protected_ifunc): Likewise.
12372         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12373         * sysdeps/nacl/nacl_interface_query.c
12374         (nacl_interface_query_ifunc): Likewise.
12375         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12376         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12377         Likewise.
12378         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12379         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12380         the generated vDSO syscall resolver.
12382 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12383             Florian Weimer  <fweimer@redhat.com>
12385         [BZ #7065]
12386         Initialize the stack guard earlier when linking statically.
12387         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12388         (__pthread_initialize_minimal): Declare.
12389         * csu/libc-start.c (__pthread_initialize_minimal): Remove
12390         declaration.
12391         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
12392         stack canary and apply_irel initialization up.  Call
12393         __pthread_initialize_minimal only if linked in.
12394         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12395         constant values.
12396         (__pthread_initialize_minimal): Remove.
12397         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12398         (__pthread_initialize_minimal_internal): Do not call
12399         __libc_setup_tls.
12401 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12403         [BZ #7065]
12404         * configure.ac (libc_cv_ssp): Move up.
12405         (libc_cv_ssp_strong): Likewise.
12406         (libc_cv_ssp_all): New.
12407         (stack_protector): Augment, adding -fstack-protector-all.
12408         (no_stack_protector): New.
12409         (STACK_PROTECTOR_LEVEL): New.
12410         (AC_ARG_ENABLE(stack-protector)): New configure flag.
12411         * manual/install.texi (--enable-stack-protector): Document it.
12412         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12414 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
12416         * README.pretty-printers: Must specify CPPFLAGS-* also.
12417         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12418         (CPPFLAGS-test-mutex-printers.c): Define.
12419         (CPPFLAGS-test-condattr-printers.c): Define.
12420         (CPPFLAGS-test-cond-printers.c): Define.
12421         (CPPFLAGS-test-rwlockattr-printers.c): Define.
12422         (CPPFLAGS-test-rwlock-printers.c): Define.
12424         * nss/Makefile [ifeq (yes,$(have-thread-library))]
12425         (tests): Add tst-cancel-getpwuid_r.
12426         * nss/tst-cancel-getpwuid_r.c: New file.
12428         [BZ #11941]
12429         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12430         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12431         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12432         tst-nodelete-dlclose.
12433         (modules-names): Add tst-nodelete-dlclose-dso and
12434         tst-nodelete-dlclose-plugin.
12435         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12436         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12437         ($(objpfx)tst-nodelete-dlclose): Define.
12438         ($(objpfx)tst-nodelete-dlclose.out): Define.
12440 2016-12-23  Florian Weimer  <fweimer@redhat.com>
12442         * scripts/test_printers_common.py: Log GDB output in case of
12443         Python detection failure.
12445 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12447         * configure.ac: Check for python3 or python.
12448         * configure: Regenerated.
12449         * config.make.in (PYTHON): New variable.
12450         * benchtests/Makefile: Don't define PYTHON.
12451         (bench): Define target only if PYTHON was defined.
12452         * Rules: Don't define PYTHON.
12453         Define pretty printer targets only if PYTHON was defined.
12454         (tests-printers): Add to tests-unsupported if PYTHON is not
12455         found.
12456         (python-flags, python-invoke): Remove.
12457         (tests-printers-out): Use PYTHON instead of python-invoke.
12459 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12461         [BZ #20978]
12462         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12463         Compare name == NULL, not name != NULL.
12465         * manual/texinfo.tex: Update to version 2016-09-18.18 with
12466         trailing whitespace removed.
12467         * scripts/config.guess: Update to version 2016-10-02.
12468         * scripts/config.sub: Update to version 2016-11-19.
12469         * scripts/install-sh: Update to version 2016-01-11.22.
12470         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12471         * scripts/move-if-change: Update to version 2016-01-11 22:04.
12473 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
12475         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12476         (do_one_test) Restore original string so iteration works.
12477         * string/string-inlines.c (do_test): Create better input strings.
12478         (test_main) Reduce number of testruns.
12479         * string/string-inlines.c (__old_strsep_1c): New function.
12480         (__old_strsep_2c): Likewise.
12481         (__old_strsep_3c): Likewise.
12482         * string/strsep.c (__strsep): Remove case of small delim string.
12483         Call strcspn directly rather than strpbrk.
12484         * string/bits/string2.h (__strsep): Remove define.
12485         (__strsep_1c): Remove.
12486         (__strsep_2c): Remove.
12487         (__strsep_3c): Remove.
12488         (strsep): Remove.
12489         * sysdeps/unix/sysv/linux/internal_statvfs.c
12490         (__statvfs_getflags): Rename to __strsep.
12492 2016-12-21  Florian Weimer  <fweimer@redhat.com>
12494         * csu/libc-tls.c (_dl_tls_setup): Remove.
12495         * elf/dl-tls.c (_dl_tls_setup): Likewise.
12496         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12497         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12499 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12501         [BZ #7065]
12502         * sysdeps/x86_64/Makefile [$(subdir) = elf]
12503         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12505 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12506             Florian Weimer  <fweimer@redhat.com>
12508         [BZ #7065]
12509         * csu/Makefile (tests): Empty assignment and document it.
12510         (tests-static): Remove.
12511         * csu/tst-empty.c: Move to...
12512         * misc/tst-empty.c: ... here.  Switch to new test driver.
12513         * csu/tst-atomic.c: Move to...
12514         * misc/tst-atomic.c: ... here.  Switch to new test driver.
12515         * csu/tst-atomic-long.c: Move to...
12516         * misc/tst-atomic-long.c: ... here.
12517         * misc/Makefile (tests): Add tst-empty, tst-atomic,
12518         tst-atomic-long.
12519         (tests-static): Add tst-empty.
12521 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
12523         * manual/nss.texi: Change incorrect @vtable to @table.
12524         * manual/arith.texi: Convert @tables of variables to @vtables
12525         and remove unnecessary indexing.
12526         * manual/filesys.texi: Likewise.
12527         * manual/llio.texi: Likewise.
12528         * manual/memory.texi: Likewise.
12529         * manual/process.texi: Likewise.
12530         * manual/resource.texi: Likewise.
12531         * manual/search.texi: Likewise.
12532         * manual/signal.texi: Likewise.
12533         * manual/socket.texi: Likewise.
12534         * manual/stdio.texi: Likewise.
12535         * manual/sysinfo.texi: Likewise.
12536         * manual/syslog.texi: Likewise.
12537         * manual/terminal.texi: Likewise.
12538         * manual/time.texi: Likewise.
12539         * manual/users.texi: Likewise.
12541 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12543         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12544         (roundeven): New declaration.
12545         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12546         macro.
12547         * math/Versions (roundeven): New libm symbol at version
12548         GLIBC_2.25.
12549         (roundevenf): Likewise.
12550         (roundevenl): Likewise.
12551         * math/Makefile (libm-calls): Add s_roundevenF.
12552         * math/libm-test.inc (roundeven_test_data): New array.
12553         (roundeven_test): New function.
12554         (main): Call roundeven_test.
12555         * math/test-tgmath.c (NCALLS): Increase to 134.
12556         (F(compile_test)): Call roundeven.
12557         (F(roundeven)): New function.
12558         * manual/arith.texi (Rounding Functions): Document roundeven,
12559         roundevenf and roundevenl.
12560         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12561         * include/math.h (roundeven): Use libm_hidden_proto.
12562         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12563         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12564         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12565         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12566         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12567         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12568         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12569         roundeven.
12570         (CFLAGS-nldbl-roundeven.c): New variable.
12571         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12572         * sysdeps/nacl/libm.abilist: Update.
12573         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12574         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12575         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12576         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12577         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12578         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12579         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12580         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12581         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12582         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12583         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12584         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12586         Likewise.
12587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12588         Likewise.
12589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12590         Likewise.
12591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12592         Likewise.
12593         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12594         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12595         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12596         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12597         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12599         Likewise.
12600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12601         Likewise.
12602         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12603         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12604         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12606 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12608         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12609         preprocessor indentation inside #if.
12611 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12613         * math/libm-test.inc (fmt_ftostr): New function.
12614         (print_float, check_float_internal): Replace some uses of
12615         FTOSTR with uses of fmt_ftostr.
12616         (print_max_error, print_complex_max_error, print_function_ulps)
12617         (print_complex_function_ulps): Remove uses of the macros
12618         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12619         * math/test-double.h (FTOSTR): Define to strfromd.
12620         (PRINTF_EXPR): Delete.
12621         (PRINTF_XEXPR): Likewise.
12622         (PRINTF_NEXPR): Likewise.
12623         * math/test-float.h (FTOSTR): Define to strfromf.
12624         (PRINTF_EXPR): Delete.
12625         (PRINTF_XEXPR): Likewise.
12626         (PRINTF_NEXPR): Likewise.
12627         * math/test-ldouble.h (FTOSTR): Define to strfroml.
12628         (PRINTF_EXPR): Delete.
12629         (PRINTF_XEXPR): Likewise.
12630         (PRINTF_NEXPR): Likewise.
12632 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12634         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12635         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12636         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12637         (__lll_lock_elision): Decrement adapt_count while unlocking
12638         instead of before locking.
12639         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12640         (__lll_trylock_elision): Likewise.
12641         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12642         (__lll_unlock_elision): Likewise.
12644 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12646         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12647         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12648         Use __libc_tbegin_retry macro.
12650 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12652         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12653         Add -msoft-float.
12654         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12655         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12656         Use __libc_t* transaction macros instead of __builtin_t*.
12657         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12658         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12660 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12662         * sysdeps/unix/sysv/linux/s390/elision-lock.c
12663         (__lll_lock_elision): Use atomics to load / store adapt_count.
12664         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12665         (__lll_trylock_elision): Likewise.
12667 2016-12-20  Florian Weimer  <fweimer@redhat.com>
12669         Do not require memset elimination in explicit_bzero test.
12670         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12671         (enum test_expectation): Add NO_EXPECTATIONS.
12672         (subtests): NO_EXPECTATIONS for ordinary clear.
12673         (check_test_buffer): Handle NO_EXPECTATIONS.
12674         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12676 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12678         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12679         (fmaxmag): New declaration.
12680         (fminmag): Likewise.
12681         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12682         macro.
12683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12684         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12685         (fmaxmagf): Likewise.
12686         (fmaxmagl): Likewise.
12687         (fminmag): Likewise.
12688         (fminmagf): Likewise.
12689         (fminmagl): Likewise.
12690         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12691         * math/s_fmaxmag_template.c: New file.
12692         * math/s_fminmag_template.c: Likewise.
12693         * math/libm-test.inc (fmaxmag_test_data): New array.
12694         (fmaxmag_test): New function.
12695         (fminmag_test_data): New array.
12696         (fminmag_test): New function.
12697         (main): Call fmaxmag_test and fminmag_test.
12698         * math/test-tgmath.c (NCALLS): Increase to 132.
12699         (F(compile_test)): Call fmaxmag and fminmag.
12700         (F(fminmag)): New function.
12701         (F(fmaxmag)): Likewise.
12702         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12703         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12704         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12705         fminmag.
12706         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12707         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12708         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12709         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12710         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12711         and fminmag.
12712         (CFLAGS-nldbl-fmaxmag.c): New variable.
12713         (CFLAGS-nldbl-fminmag.c): Likewise.
12714         * sysdeps/nacl/libm.abilist: Update.
12715         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12716         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12717         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12718         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12719         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12720         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12721         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12722         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12723         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12724         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12725         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12726         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12728         Likewise.
12729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12730         Likewise.
12731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12732         Likewise.
12733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12734         Likewise.
12735         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12736         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12737         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12738         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12739         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12741         Likewise.
12742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12743         Likewise.
12744         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12745         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12746         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12748 2016-12-19  Torvald Riegel  <triegel@redhat.com>
12750         [BZ #20973]
12751         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12752         wake-up in robust mutexes.
12753         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12755 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12757         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12758         (CFLAGS-bench-fmaxf.c): New rule.
12759         (CFLAGS-bench-fminf.c): Likewise.
12760         * benchtests/fmaxf-inputs: New file.
12761         * benchtests/fminf-inputs: Likewise.
12763         * benchtests/Makefile (bench-math): Add fmin and fmax.
12764         (CFLAGS-bench-fmax.c): New rule.
12765         (CFLAGS-bench-fmin.c): Likewise.
12766         * benchtests/fmax-inputs: New file.
12767         * benchtests/fmin-inputs: Likewise.
12769         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12770         parenthesis.
12771         (CMDLINE_PROCESS): Define using function instead of macro.
12772         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12773         of test-skeleton.
12774         * benchtests/bench-memchr.c: Likewise.
12775         * benchtests/bench-memcmp.c: Likewise.
12776         * benchtests/bench-memcpy-large.c: Likewise.
12777         * benchtests/bench-memcpy.c: Likewise.
12778         * benchtests/bench-memmem.c: Likewise.
12779         * benchtests/bench-memmove-large.c: Likewise.
12780         * benchtests/bench-memmove.c: Likewise.
12781         * benchtests/bench-memset-large.c: Likewise.
12782         * benchtests/bench-memset.c: Likewise.
12783         * benchtests/bench-rawmemchr.c: Likewise.
12784         * benchtests/bench-strcasecmp.c: Likewise.
12785         * benchtests/bench-strcasestr.c: Likewise.
12786         * benchtests/bench-strcat.c: Likewise.
12787         * benchtests/bench-strchr.c: Likewise.
12788         * benchtests/bench-strcmp.c: Likewise.
12789         * benchtests/bench-strcpy.c: Likewise.
12790         * benchtests/bench-strcpy_chk.c: Likewise.
12791         * benchtests/bench-strlen.c: Likewise.
12792         * benchtests/bench-strncasecmp.c: Likewise.
12793         * benchtests/bench-strncmp.c: Likewise.
12794         * benchtests/bench-strncpy.c: Likewise.
12795         * benchtests/bench-strnlen.c: Likewise.
12796         * benchtests/bench-strpbrk.c: Likewise.
12797         * benchtests/bench-strrchr.c: Likewise.
12798         * benchtests/bench-strsep.c: Likewise.
12799         * benchtests/bench-strspn.c: Likewise.
12800         * benchtests/bench-strstr.c: Likewise.
12801         * benchtests/bench-strtok.c: Likewise.
12803 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12805         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12806         stepping identification.
12807         (init_cpu_features): Add handle of Haswell.
12809 2016-11-25  Jim Meyering  <meyering@fb.com>
12811         [BZ #20386]
12812         Let gcc detect assert(a = 1) errors.
12813         * assert/assert.h (assert): Rewrite, retaining the old definintion
12814         when required, but otherwise putting the expression as-is in an "if"
12815         expression (hence, with no added parentheses) within a statement
12816         expression.
12818 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12820         * benchtests/Makefile (binaries-benchset): Depend on libsupport
12821         DSO.
12823 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
12825         * Rules (python-flags, python-invoke): New.
12826         ($(test-printers-out)): Use $(python-flags).
12828 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12830         * manual/arith.texi (Math Error Reporting): Document that sNaN
12831         arguments are not considered domain errors.
12833 2016-12-16  Zack Weinberg <zackw@panix.com>
12834             Florian Weimer <fweimer@redhat.com>
12835             Nick Mathewson <nickm@torproject.org>
12837         * string/explicit_bzero.c: New routine.
12838         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12839         * string/Makefile (routines, strop-tests, tests): Add them.
12840         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12841         * string/string.h [__USE_MISC]: Declare explicit_bzero.
12843         * debug/explicit_bzero_chk.c: New routine.
12844         * debug/Makefile (routines): Add it.
12845         * debug/tst-chk1.c: Test fortification of explicit_bzero.
12846         * string/bits/string3.h: Fortify explicit_bzero.
12848         * manual/string.texi: Document explicit_bzero.
12849         * NEWS: Mention addition of explicit_bzero.
12851         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12852         data before returning, using explicit_bzero.
12853         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12854         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12855         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12857         * include/string.h: Redirect internal uses of explicit_bzero
12858         to __explicit_bzero_chk[_internal].
12859         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12860         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12861         * sysdeps/arm/nacl/libc.abilist
12862         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12863         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12864         * sysdeps/unix/sysv/linux/arm/libc.abilist
12865         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12866         * sysdeps/unix/sysv/linux/i386/libc.abilist
12867         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12868         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12869         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12870         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12871         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12872         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12873         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12874         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12875         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12880         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12881         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12882         * sysdeps/unix/sysv/linux/sh/libc.abilist
12883         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12884         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12887         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12888         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12889         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12890         Add entries for explicit_bzero and __explicit_bzero_chk.
12892 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12894         * math/fenv.h
12895         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12896         (FE_SNANS_ALWAYS_SIGNAL): New macro.
12897         * math/test-fe-snans-always-signal.c: New file.
12898         * math/Makefile (tests): Add test-fe-snans-always-signal.
12899         (CFLAGS-test-fe-snans-always-signal.c): New variable.
12900         * manual/arith.texi (Infinity and NaN): Document
12901         FE_SNANS_ALWAYS_SIGNAL.
12903 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12905         * string/test-memchr.c (do_test): Typo on â€˜byte’ and missing closing
12906         bracket.
12908 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12910         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12911         before calling execv.
12913 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12915         [BZ #20971]
12916         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12917         overflow in pointer addition.
12918         * string/test-memchr.c (do_test): Add an argument to pass as
12919         the size on memchr.
12920         (test_main): Add check for SIZE_MAX.
12922 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12924         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12925         (libm-calls): Add w_scalblnF.
12926         * math/w_scalbln.c: Remove.
12927         * math/w_scalblnf.c: Likewise.
12928         * math/w_scalblnl.c: Likewise.
12929         * math/w_scalbln_template.c: New file with type-generic
12930         implementation based on math/w_scalbln.c.
12931         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12932         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12934 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
12936         [BZ #20947]
12937         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12938         either is a signaling NaN.
12939         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
12940         follow fmaxl more closely.
12941         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12942         when either is a signaling NaN.
12943         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12944         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12945         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12946         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12947         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12948         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12949         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12950         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12951         (fmin_test_data): Likewise.
12953 2016-12-15  Andreas Schwab  <schwab@suse.de>
12955         * support/support_test_main.c (support_test_main): Don't shadow
12956         file-local variable test_pid.
12958 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
12960         [BZ #20947]
12961         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
12962         either is a signaling NaN.
12963         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
12965 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
12967         [BZ #20947]
12968         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12969         when either is a signaling NaN.
12970         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
12972         * bits/long-double.h: New file.
12973         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
12974         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
12975         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12976         * sysdeps/mips/bits/long-double.h: Likewise.
12977         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
12978         * math/Makefile (headers): Add bits/long-double.h.
12979         * misc/sys/cdefs.h: Include <bits/long-double.h>.
12980         * stdlib/strtold.c: Include <bits/long-double.h> instead of
12981         <bits/wordsize.h>.
12982         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
12983         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
12984         * math/math.h: Do not include <bits/mathdef.h>.
12985         * sysdeps/aarch64/bits/mathdef.h: Remove file.
12986         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
12987         inclusion.
12988         * sysdeps/ia64/bits/mathdef.h: Remove file.
12989         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
12990         * sysdeps/mips/bits/mathdef.h: Likewise.
12991         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12992         * sysdeps/s390/bits/mathdef.h: Likewise.
12993         * sysdeps/sparc/bits/mathdef.h: Likewise.
12994         * sysdeps/x86/bits/mathdef.h: Likewise.
12995         * sysdeps/s390/s390-32/bits/wordsize.h
12996         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
12997         conditional code.
12998         * sysdeps/s390/s390-64/bits/wordsize.h
12999         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13000         Likewise.
13001         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
13002         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13003         Likewise.
13004         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
13005         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13006         Likewise.
13007         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13008         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13009         Likewise.
13011         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
13012         <linux/falloc.h>.
13013         (FALLOC_FL_KEEP_SIZE): Remove.
13014         (FALLOC_FL_PUNCH_HOLE): Likewise.
13015         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
13016         (FALLOC_FL_ZERO_RANGE): Likewise.
13018 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13020         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
13022 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13024         * sysdeps/unix/sysv/linux/renameat.c: New file.
13025         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
13027         * sysdeps/unix/sysv/linux/rename.c: New file.
13028         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
13030 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
13032         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
13033         * string/strtok.c (strtok): Change to tailcall __strtok_r.
13034         * string/strtok_r.c (__strtok_r): Optimize for performance.
13035         * string/string-inlines.c (__old_strtok_r_1c): New function.
13036         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
13038 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13040         * math/Makefile (gen-libm-calls): Add w_log1pF.
13041         (libm-calls): Remove w_log1pF.
13042         * math/w_log1p.c: Remove.
13043         * math/w_log1pf.c: Likewise.
13044         * math/w_log1pl.c: Likewise.
13045         * math/w_log1p_template.c: New file with type-generic
13046         implementation based on math/w_log1p.c.
13047         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
13048         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
13050 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
13052         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
13054 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
13056         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13057         kernel version to 4.9.
13059 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
13061         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
13062         ($(inst_libdir)/libm.a): Fix rule to create the target only.
13064 2016-12-13  Andreas Schwab  <schwab@suse.de>
13066         * sysdeps/powerpc/dl-procinfo.c: Don't define
13067         _dl_powerpc_platforms.
13068         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
13069         constants instead of referencing _dl_powerpc_platforms.
13070         (_dl_platform_string): Remove.
13072 2016-12-13  Florian Weimer  <fweimer@redhat.com>
13074         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
13076 2016-12-13  Florian Weimer  <fweimer@redhat.com>
13078         * Rules (binaries-shared-tests, binaries-pie-tests)
13079         (binaries-static-tests): Link with $(link-extra-libs-tests).
13080         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
13081         Remove $(link-extra-libs-tests).
13083 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13085         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13086         (sysdep_routines): Add strncmp_power9.
13087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13088         (strncmp): Add __strncmp_power9 to list of strncmp functions.
13089         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
13090         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13091         (strncmp): Add __strncmp_power9 to ifunc list.
13092         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
13094 2016-12-12  Florian Weimer  <fweimer@redhat.com>
13096         [BZ #17252]
13097         Add getentropy, getrandom.
13098         * stdlib/sys/random.h: New file.
13099         (headers): Add it.
13100         * stdlib/Makefile (routines): Add getentropy, getrandom.
13101         (tests): Add tst-getrandom.
13102         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
13103         * stdlib/getentropy.c: New file.
13104         * stdlib/getrandom.c: Likewise.
13105         * stdlib/tst-getrandom.c: Likewise.
13106         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
13107         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
13108         * manual/crypt.texi (Unpredictable Bytes): New section.
13109         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
13110         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
13111         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13112         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13113         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13114         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13115         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13116         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13117         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13118         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13119         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13120         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13121         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13122         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13123         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13124         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13126         Likewise.
13127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13128         Likewise.
13129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13131         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13132         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13133         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13134         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13135         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13138         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13139         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13140         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13142 2016-12-10  Florian Weimer  <fweimer@redhat.com>
13144         [BZ #20956]
13145         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13146         as additional compiler barriers.
13147         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13148         (fn2, do_test): Declare with external linkage.
13149         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13150         (do_test): Declare with external linkage.
13151         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13152         (do_test): Declare with external linkage.
13153         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13154         (do_test): Declare with external linkage.
13156 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
13158         * support/support_test_main.c (support_test_main): Use correct
13159         timeout.
13161 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
13162             Florian Weimer  <fweimer@redhat.com>
13164         [BZ #16421]
13165         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13166         and __u6_addr32 members.
13167         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13168         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13169         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13170         Use __u6_addr32.
13171         * inet/tst-checks.c: Use <support/test-driver.c>
13172         * inet/tst-checks-posix.c: New file.
13173         * inet/Makefile (tests): Add it.
13174         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13176 2016-12-09  Florian Weimer  <fweimer@redhat.com>
13178         New subdirectory support for build and test infrastructure.
13179         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
13180         setting install-lib.
13181         * Makeconfig (link-extra-libs-tests): Define.
13182         (+link-pie-tests, +link-static-tests, +link-tests): Use
13183         link-extra-libs-tests.
13184         (rpath-dirs, all-subdirs): Add support.
13185         (built-modules): Add libsupport.
13186         (libsupport): Define.
13187         * support: New directory.
13188         * support/Makefile: New file.
13189         * support/check.c: Likewise.
13190         * support/check.h: Likewise.
13191         * support/delayed_exit.c: Likewise.
13192         * support/ignore_stderr.c: Likewise.
13193         * support/oom_error.c: Likewise.
13194         * support/set_fortify_handler.c: Likewise.
13195         * support/support.h: Likewise.
13196         * support/temp_file-internal.h: Likewise.
13197         * support/temp_file.c: Likewise.
13198         * support/test-driver.c: Likewise.
13199         * support/test-driver.h: Likewise.
13200         * support/test_main.c: Likewise.
13201         * support/write_message.c: Likewise.
13202         * support/xasprintf.c: Likewise.
13203         * support/xcalloc.c: Likewise.
13204         * support/xmalloc.c: Likewise.
13205         * support/xpthread_barrier_destroy.c: Likewise.
13206         * support/xpthread_barrier_init.c: Likewise.
13207         * support/xpthread_barrier_wait.c: Likewise.
13208         * support/xpthread_cancel.c: Likewise.
13209         * support/xpthread_check_return.c: Likewise.
13210         * support/xpthread_cond_wait.c: Likewise.
13211         * support/xpthread_create.c: Likewise.
13212         * support/xpthread_detach.c: Likewise.
13213         * support/xpthread_join.c: Likewise.
13214         * support/xpthread_mutex_lock.c: Likewise.
13215         * support/xpthread_mutex_unlock.c: Likewise.
13216         * support/xpthread_sigmask.c: Likewise.
13217         * support/xpthread_spin_lock.c: Likewise.
13218         * support/xpthread_spin_unlock.c: Likewise.
13219         * support/xrealloc.c: Likewise.
13220         * support/xsignal.h: Likewise.
13221         * support/xthread.h: Likewise.
13222         * support_tempfile.h: Likewise.
13223         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13224         (TEST_DATA_LIMIT): Remove unused macro.
13225         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
13226         <support/check.h>.
13227         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13228         (ignore_stderr, set_fortify_handler): Remove.  Now in
13229         <support/support.h>.
13230         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
13231         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13232         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13233         (xpthread_join): Remove.  Now in <support/xthread.h>.
13234         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13235         Introduce legacy wrappers.
13236         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13237         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13238         (write_message): Remove.
13239         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13240         test-skeleton.c.
13241         * io/test-open-tmpfile: Likewise.
13242         * io/tst-posix_fallocate-common.c: Likewise.
13243         * libio/tst-fseek.c: Likewise.
13244         * malloc/tst-malloc-backtrace.c: Likewise.
13245         * malloc/tst-malloc-fork-deadlock.c: Likewise.
13246         * malloc/tst-malloc-thread-exit.c: Likewise.
13247         * nptl/tst-cancel7.c: Likewise.
13248         * nptl/tst-cleanup0.c: Likewise.
13249         * posix/tst-posix_fadvise-common.c: Likewise.
13250         * rt/tst-shm.c: Likewise.
13251         * time/bug-getdate1.c: Likewise.
13252         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13253         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13254         * elf/Makefile (tst-piemod1.so): Link against libsupport.
13256 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
13258         * Rules [$(run-built-tests) != no] (tests-expected): Add
13259         $(tests-printers).
13260         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13262 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13264         [BZ #20539]
13265         * math/Makefile (install-lib-ldscripts): Add libm.a.
13266         (install_subdir): Remove.
13267         (install-others): Add.
13268         ($(inst_libdir)/libm.a): Add rule for installation as
13269         linker script.
13270         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13272 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
13274         * INSTALL: Regenerated.
13275         * Makeconfig: Add comments and whitespace to make the control flow
13276         clearer.
13277         (+link-printers-tests, +link-pie-printers-tests,
13278         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13279         built-rtld-LDFLAGS, link-libc-rpath,
13280         link-libc-tests-after-rpath-link,
13281         link-libc-printers-tests): New.
13282         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13283         link-libc-tests): Use the new variables as required.
13284         * Makerules ($(py-const)): New rule.
13285         generated: Add $(py-const).
13286         * README.pretty-printers: New file.
13287         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13288         (others): Depend on $(py-const).
13289         (tests): Depend on $(tests-printers-programs) or
13290         $(tests-printers-out),
13291         as required.  Pass $(tests-printers) to merge-test-results.sh.
13292         * manual/install.texi: Add requirements for testing the pretty
13293         printers.
13294         * nptl/Makefile (gen-py-const-headers, pretty-printers,
13295         tests-printers, CFLAGS-test-mutexattr-printers.c
13296         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13297         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13298         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13299         * nptl/nptl-printers.py: New file.
13300         * nptl/nptl_lock_constants.pysym: Likewise.
13301         * nptl/test-cond-printers.c: Likewise.
13302         * nptl/test-cond-printers.py: Likewise.
13303         * nptl/test-condattr-printers.c: Likewise.
13304         * nptl/test-condattr-printers.py: Likewise.
13305         * nptl/test-mutex-printers.c: Likewise.
13306         * nptl/test-mutex-printers.py: Likewise.
13307         * nptl/test-mutexattr-printers.c: Likewise.
13308         * nptl/test-mutexattr-printers.py: Likewise.
13309         * nptl/test-rwlock-printers.c: Likewise.
13310         * nptl/test-rwlock-printers.py: Likewise.
13311         * nptl/test-rwlockattr-printers.c: Likewise.
13312         * nptl/test-rwlockattr-printers.py: Likewise.
13313         * scripts/gen-py-const.awk: Likewise.
13314         * scripts/test_printers_common.py: Likewise.
13315         * scripts/test_printers_exceptions.py: Likewise.
13317 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13319         * scripts/build-many-glibcs.py (Context.__init__): Take strip
13320         argument.
13321         (Glibc.build_glibc): Strip installed shared libraries if
13322         requested.
13323         (get_parser): Add --strip option.
13324         (main): Update Context call.
13326 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13327             Dominik Vogt  <vogt@linux.vnet.ibm.com>
13329         [BZ #20847]
13330         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13331         array bounds for else branch.
13332         (__execvpe): Style fixes.
13333         * posix/tst-vfork3.c (run_script): New function.
13334         (create_script): Likewise.
13335         (do_test): Use run_script internal function.
13336         (do_prepare): Use create_script internal function.
13338 2016-12-07  Andreas Schwab  <schwab@suse.de>
13340         * sysdeps/unix/sysv/linux/x86/elision-conf.h
13341         (__elision_available): Don't declare.
13342         * sysdeps/unix/sysv/linux/x86/elision-conf.c
13343         (__elision_available): Don't define.
13344         (elision_init): Don't set __elision_available.
13346 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13348         [BZ #20940]
13349         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13350         return Inf for arguments Inf and sNaN.
13351         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13352         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13353         Likewise.
13354         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13355         Likewise.
13356         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13357         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13358         for arguments Inf and sNaN.  When returning a NaN, compute it by
13359         arithmetic on the arguments.
13360         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13361         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13362         arguments.
13364 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
13366         [BZ #20916]
13367         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13368         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
13369         to compute result.
13370         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13371         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13373 2016-12-05  Torvald Riegel  <triegel@redhat.com>
13375         * include/atomic.h (__atomic_check_size_ls): New.
13376         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13377         atomic_store_release): Use it.
13378         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13379         (elision_adapt, ELIDE_LOCK): Use atomics.
13380         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13381         atomics and improve code comments.
13382         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13383         (__lll_trylock_elision): Likewise.
13385 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13387         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13388         programs.
13390 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13392         [BZ #20916]
13393         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13394         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
13395         arguments to compute result.
13396         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13397         1 for arguments (sNaN, 0) or (1, sNaN).
13398         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13399         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13401         [BZ #20919]
13402         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13403         NaN first argument when raised to power 0.
13404         * math/w_pow.c (__pow): Do not check for NaN or zero results from
13405         raising to power zero.
13406         * math/w_powf.c (__powf): Likewise.
13407         * math/w_powl.c (__powl): Likewise.
13408         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13409         pow (0, 0) or pow (NaN, 0).
13411 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
13413         [BZ #20918]
13414         * configure.ac: Test for static NSS cryptographic libraries and set
13415         libc_cv_static_nss_crypt.
13416         * configure: Regenerate.
13417         * config.make.in (static-nss-crypt): Define.
13418         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13419         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13420         (CFLAGS-tst-linkall-static.c): Define.
13421         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13422         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13423         ($(objpfx)tst-linkall-static): Define.
13424         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13425         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13427 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13429         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13430         (one-hundred, tst-tls-many-dynamic-modules): Define.
13431         (modules-names): Add $(tst-tls-many-dynamic-modules).
13432         (tst-tls-manydynamic%mod.os): Build with special preprocessor
13433         macros.
13434         (tst-tls-manydynamic): Link against libdl, libpthread.
13435         (tst-tls-manydynamic.out): The test needs the test modules at run
13436         time.
13437         * elf/tst-tls-manydynamic.c: New file.
13438         * elf/tst-tls-manydynamic.h: Likewise.
13439         * elf/tst-tls-manydynamicmod.c: Likewise.
13441 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13443         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13444         (TLS_DTV_UNALLOCATED): Add.
13445         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13446         offsets.
13448 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13450         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13452 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13454         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13455         Add -fno-optimize-sibling-calls.
13457 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13459         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13460         New declaration.
13461         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13462         macro.
13463         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13464         New macro.
13465         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13466         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13467         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13468         (llogbf): Likewise.
13469         (llogbl): Likewise.
13470         * math/Makefile (gen-libm-calls): Add w_llogbF.
13471         (tests): Add test-fp-llogb-constants.
13472         * math/w_llogb_template.c: New file.  Based on
13473         math/w_ilogb_template.c.
13474         * math/libm-test.inc (llogb_test_data): New array.
13475         (llogb_test): New function.
13476         (main): Call llogb_test.
13477         * math/test-fp-llogb-constants.c: New file.  Based on
13478         math/test-fp-ilogb-constants.c.
13479         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13480         (do_test): Call check_return_llogb.
13481         * math/test-tgmath.c (NCALLS): Increase to 126.
13482         (F(compile_test)): Call llogb.
13483         (F(llogb)): New function.
13484         * manual/math.texi (Exponents and Logarithms): Document llogb,
13485         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13486         * manual/libm-err-tab.pl (@all_functions): Add llogb.
13487         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13488         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13489         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13490         (CFLAGS-nldbl-llogb.c): New variable.
13491         * sysdeps/nacl/libm.abilist: Update.
13492         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13493         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13494         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13495         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13496         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13497         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13498         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13499         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13500         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13501         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13502         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13503         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13505         Likewise.
13506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13507         Likewise.
13508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13509         Likewise.
13510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13511         Likewise.
13512         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13513         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13514         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13515         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13516         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13518         Likewise.
13519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13520         Likewise.
13521         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13522         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13523         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13525 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13527         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13528         _Float128 instead of long double.
13529         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13531         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13532         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13533         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13534         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13535         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13536         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13537         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13538         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13539         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13540         Likewise.
13542 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13544         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13545         Remove redirection to __strrchr_ppc.
13547 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13549         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13550         (sysdep_routines): Add strcmp_power9.
13551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13552         (strcmp): Add __strcmp_power9 to list of strcmp functions.
13553         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13554         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13555         (strcmp): Add __strcmp_power9 to ifunc list.
13556         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13558 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13560         * bits/fp-logb.h: New file.
13561         * sysdeps/ia64/bits/fp-logb.h: Likewise.
13562         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13563         * sysdeps/x86/bits/fp-logb.h: Likewise.
13564         * math/Makefile (headers): Add bits/fp-logb.h.
13565         * math/math.h: Include <bits/fp-logb.h>.
13566         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13567         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13568         * bits/mathdef.h (FP_ILOGB0): Remove.
13569         (FP_ILOGBNAN): Likewise.
13570         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13571         (FP_ILOGBNAN): Likewise.
13572         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13573         (FP_ILOGBNAN): Likewise.
13574         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13575         (FP_ILOGBNAN): Likewise.
13576         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13577         (FP_ILOGBNAN): Likewise.
13578         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13579         (FP_ILOGBNAN): Likewise.
13580         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13581         (FP_ILOGBNAN): Likewise.
13582         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13583         (FP_ILOGBNAN): Likewise.
13584         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13585         (FP_ILOGBNAN): Likewise.
13586         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13587         (FP_ILOGBNAN): Likewise.
13589         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
13590         time module.
13591         (Context.__init__): Initialize self.logsdir_old.
13592         (Context.run_builds): Handle bot action.
13593         (Context.bot_cycle): Copy logs directory before running builds.
13594         (Context.bot_run_self): Take argument for whether to check
13595         subprocess result.  Flush stdout before running subprocess.
13596         (Context.bot): New function.
13597         (get_parser): Allow bot action.
13599 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
13601         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13602         Import email.mime.text, email.utils and smtplib modules.
13603         (Context.__init__): Initialize self.bot_config_json.
13604         (Context.run_builds): Handle bot-cycle action.
13605         (Context.load_bot_config_json): New function.
13606         (Context.part_build_old): Likewise.
13607         (Context.bot_cycle): Likewise.
13608         (Context.bot_build_mail): Likewise.
13609         (Context.bot_run_self): Likewise.
13610         (get_parser): Allow bot-cycle action.
13612 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13614         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13615         Remove redirection to __stpcpy_ppc.
13617 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13619         Remove __libc_memalign from ld.so because it is unused.
13620         * elf/dl-minimal.c: Update comment on the malloc implementation.
13621         (malloc): Renamed from __libc_memalign, replacing the original
13622         malloc implementation.  Replace the align parameter with
13623         MALLOC_ALIGNMENT.
13624         * elf/Versions (ld): Update comment and remove __libc_memalign.
13625         * sysdeps/nacl/ld.abilist: Likewise.
13626         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13627         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13628         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13629         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13630         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13631         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13632         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13633         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13634         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13635         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13636         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13637         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13638         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13642         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13643         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13644         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13645         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13646         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13649         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13650         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13651         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13652         * sysdeps/generic/localplt.data (ld.so): Likewise.
13653         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13654         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13655         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13656         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13657         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13658         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13659         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13660         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13661         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13663         (ld.so): Likewise.
13664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13665         (ld.so): Likewise.
13666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13667         Likewise.
13668         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13669         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13670         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13671         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13672         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13674 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13676         [BZ #16628]
13677         Implement _dl_catch_error, _dl_signal_error in libc.so.
13678         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13679         (catch_hook): Define as thread-local or regular variable,
13680         depending on DL_ERROR_BOOTSTRAP.
13681         (CATCH_HOOK): Remove.
13682         (dl_signal_error, _dl_catch_error): Use
13683         catch_hook.  Add hidden definition for libc.
13684         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
13685         for DL_ERROR_BOOTSTRAP only.
13686         * elf/dl-error.c: New file.
13687         * elf/dl-error-minimal.c: Likewise.
13688         * elf/tst-latepthread.c: Likewise.
13689         * elf/tst-latepthreadmod.c: Likewise.
13690         * elf/Makefile (routines): Add dl-error.
13691         (dl-routines): Remove dl-error.
13692         (rtld-routines): Add dl-error-minimal.
13693         [build-shared] (tests): Add tst-latepthread.
13694         (module-names): Add tst-latepthreadmod.
13695         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13696         symbol.
13697         (tst-latepthreadmod.so): Link against libpthread.
13698         (tst-latepthread): Link against libdbl.
13699         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13700         _dl_catch_error.
13701         [ld] (GLIBC_PRIVATE): Likewise.
13702         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13703         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13704         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13705         directly.
13706         * elf/dl-tsd.c: Remove file.
13707         * elf/rtld.c (_rtld_global_ro): Remove initializers for
13708         _dl_catch_error, _dl_signal_error.
13709         (_dl_initial_error_catch_tsd): Remove definition.
13710         (do_preload): Remove initialization of dl_error_catch_tsd.
13711         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13712         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13713         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13714         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13715         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13716         set dl_error_catch_tsd.
13717         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13718         _dl_error_catch_tsd member.
13719         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13720         members.
13721         (_dl_initial_error_catch_tsd): Remove declaration.
13722         (_dl_dprintf): Provide definition for use outside of ld.so.
13723         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13724         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
13725         prototype for libc.
13726         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13727         _dl_catch_error.
13728         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13729         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13730         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13731         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13732         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13733         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13734         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13735         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13736         Likewise.
13737         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13739         (ld.so): Likewise.
13740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13741         (ld.so): Likewise.
13742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13743         Likewise.
13744         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13745         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13746         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13747         Likewise.
13748         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13749         Likewise.
13750         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13752 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13754         [BZ #4099]
13755         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13756         _IO_BUFSIZ (8192).
13758 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
13760         * PROJECTS: Remove file.
13762 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13764         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13766 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
13767             Steve Ellcey  <sellcey@caviumnetworks.com>
13769         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13770         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13771         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13772         fxstatat.
13773         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13774         lxstat.
13775         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13776         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13777         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13778         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13779         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13780         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13781         __xstat.
13783 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13785         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13786         Define.
13787         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13788         definition.
13790 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13792         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13793         version and turn into strong alias.  Remove compat symbol.
13795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13796         (__longjmp): Remove.
13798 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
13800         * bits/fp-fast.h: New file.
13801         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13802         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13803         * math/Makefile (headers): Add bits/fp-fast.h.
13804         * math/math.h: Include <bits/fp-fast.h>.
13805         * bits/mathdef.h (FP_FAST_FMA): Remove.
13806         (FP_FAST_FMAF): Likewise.
13807         (FP_FAST_FMAL): Likewise.
13808         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13809         (FP_FAST_FMAF): Likewise.
13810         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13811         (FP_FAST_FMAF): Likewise.
13812         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13813         (FP_FAST_FMAF): Likewise.
13814         (FP_FAST_FMAL): Likewise.
13815         * sysdeps/arm/bits/mathdef.h: Remove file.
13816         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13817         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13818         * sysdeps/tile/bits/mathdef.h: Likewise.
13820 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13822         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
13823         * math/w_ilogb.c: Remove.
13824         * math/w_ilogbf.c: Likewise.
13825         * math/w_ilogbl.c: Likewise.
13826         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13827         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13828         * math/Makefile (gen-libm-calls): Add w_ilogbF.
13829         (libm-calls): Remove w_ilogbF.
13830         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13831         (LDOUBLE_ilogbl_libm_version): New macro.
13833         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13835         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13836         [!__STRICT_ANSI__ && !__cplusplus].
13838 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
13840         [BZ #20750]
13841         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13842         of PIC.
13844 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
13845             Yury Norov  <ynorov@caviumnetworks.com>
13846             Steve Ellcey  <sellcey@caviumnetworks.com>
13848         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13849         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13850         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13851         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13852         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13853         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13854         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13855         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13856         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13857         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13858         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13859         to get correct reg name for ILP32.
13860         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13861         (RELA_SIZE): New Macro.
13862         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13863         to support ILP32.
13864         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13865         cast for ILP32 mode.
13866         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13867         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13868         * sysdeps/aarch64/memset.S (__memset): Ditto.
13869         * sysdeps/aarch64/strchr.S (strchr): Ditto.
13870         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13871         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13872         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13873         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13874         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13875         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13876         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13877         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13878         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13879         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13880         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13881         change PTR_MANGLE call to use register numbers instead of names.
13882         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13883         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13884         ILP32 mode, change PTR_MANGLE calls to use register numbers.
13885         * sysdeps/aarch64/start.S (_start): Ditto.
13886         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13887         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13888         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13889         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13890         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13891         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13892         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13893         Make defined values dependent on __ILP32__.
13894         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13895         (sem_t): Change __align type.
13896         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13897         PTR_SIZE): New Macros.
13898         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13899         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13900         Set when in ILP32 mode.
13901         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13902         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13903         Set elf flags for ILP32.
13904         (add_system_dir): Set ILP32 library directories.
13905         * sysdeps/unix/sysv/linux/aarch64/init-first.c
13906         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13907         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13908         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13909         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13910         New Macros.
13911         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13913 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
13915         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13916         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13917         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13919 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13921         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13922         <asm/cachectl.h>.
13924 2016-11-27  Zack Weinberg  <zackw@panix.com>
13926         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13927         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13929 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13931         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13932         error_t to fix usage in C++ programs.
13934 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
13936         * scripts/build-many-glibcs.py: Import datetime module.
13937         (Context.__init__): Load JSON build state.  Initialize list of
13938         status logs.
13939         (Context.run_builds): Update saved build state.
13940         (Context.add_makefile_cmdlist): Update list of status logs.
13941         (Context.load_build_state_json): New function.
13942         (Context.store_build_state_json): Likewise.
13943         (Context.clear_last_build_state): Likewise.
13944         (Context.update_build_state): Likewise.
13945         (CommandList.status_logs): Likewise.
13947 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
13949         * scripts/build-many-glibcs.py (Context.__init__): Save text of
13950         script being executed.
13951         (Context.get_script_text): New function.
13952         (Context.exec_self): Likewise.
13953         (Context.checkout): Re-exec script if changed by checkout process.
13955 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
13957         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13958         (setpayloadsig): New declaration.
13959         * math/Versions (setpayloadsig): New libm symbol at version
13960         GLIBC_2.25.
13961         (setpayloadsigf): Likewise.
13962         (setpayloadsigl): Likewise.
13963         * math/Makefile (libm-calls): Add s_setpayloadsigF.
13964         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
13965         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
13966         (setpayloadsig_test_data): New array.
13967         (setpayloadsig_test): New function.
13968         (main): Call setpayloadsig_test.
13969         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
13970         setpayloadsigf and setpayloadsigl.
13971         * manual/libm-err-tab.pl: Update comment on interfaces without
13972         ulps tabulated.
13973         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
13974         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
13975         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
13976         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
13977         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
13978         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
13979         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13980         setpayloadsig.
13981         (CFLAGS-nldbl-setpayloadsig.c): New variable.
13982         * sysdeps/nacl/libm.abilist: Update.
13983         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13984         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13985         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13986         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13987         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13988         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13989         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13990         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13991         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13992         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13993         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13994         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13996         Likewise.
13997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13998         Likewise.
13999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14000         Likewise.
14001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14002         Likewise.
14003         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14004         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14005         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14006         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14007         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14009         Likewise.
14010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14011         Likewise.
14012         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14013         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14014         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14016         * scripts/build-many-glibcs.py: Import json module.
14017         (Context.__init__): Take replace_sources argument.  Load
14018         versions.json.
14019         (Context.load_versions_json): New function.
14020         (Context.store_json): Likewise.
14021         (Context.store_versions_json): Likewise.
14022         (Context.set_component_version): Likewise.
14023         (Context.checkout): Update versions.json.  Check for and handle
14024         changes of version.  Prefer previously explicitly specified
14025         version to default version.
14026         (Context.checkout_vcs): Return a revision identifier.
14027         (Context.git_checkout): Likewise.
14028         (Context.gcc_checkout): Likewise.
14029         (get_parser): Add --replace-sources option.
14030         (main): Pass replace_sources argument to Context call.
14032 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14034         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
14035         * nptl/allocatestack.c (allocate_stack): Likewise.
14036         (__reclaim_stacks): Likewise.
14037         (setxid_signal_thread): Obtain pid through syscall.
14038         * nptl/nptl-init.c (sigcancel_handler): Likewise.
14039         (sighandle_setxid): Likewise.
14040         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
14041         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14042         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14043         Likewise.
14044         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
14045         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
14046         comment.
14047         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
14048         * nptl/descr.h (struct pthread): Change comment about pid value.
14049         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
14050         pid assert.
14051         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
14052         Do not set pid value.
14053         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
14054         pid cache check.
14055         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
14056         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
14057         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
14058         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
14059         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
14060         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14061         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
14062         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
14063         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
14064         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
14065         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
14066         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14067         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
14068         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14069         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
14070         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
14071         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14072         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
14073         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
14074         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
14075         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
14076         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14077         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
14078         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
14079         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
14080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14082         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14083         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14084         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14085         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
14086         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
14087         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
14088         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14089         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
14090         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14091         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
14092         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14093         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
14094         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
14095         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14096         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
14097         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
14098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14100         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14101         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14102         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14103         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14104         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14105         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
14106         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14107         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
14108         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
14109         struct access.
14110         (clone_test): Remove function.
14111         (do_test): Rewrite to take in consideration pid is not cached anymore.
14113 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
14115         * bits/flt-eval-method.h: New file.
14116         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14117         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14118         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14119         * math/Makefile (headers): Add bits/flt-eval-method.h.
14120         * math/math.h: Include <bits/flt-eval-method.h>.
14121         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14122         [__USE_ISOC99] (double_t): Likewise.
14123         * bits/mathdef.h (float_t): Remove.
14124         (double_t): Likewise.
14125         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14126         (double_t): Likewise.
14127         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14128         (double_t): Likewise.
14129         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14130         (double_t): Likewise.
14131         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14132         (double_t): Likewise.
14133         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14134         (double_t): Likewise.
14135         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14136         (double_t): Likewise.
14137         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14138         (double_t): Likewise.
14139         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14140         (double_t): Likewise.
14141         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14142         (double_t): Likewise.
14143         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14144         (double_t): Likewise.
14145         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14146         (double_t): Likewise.
14147         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14148         (double_t): Likewise.
14149         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14150         (double_t): Likewise.
14152 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
14154         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14155         instead of PIC.
14157 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14159         [BZ #20859]
14160         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14161         (-0x7fffffff) instead of 0x80000001.
14162         * math/test-fp-ilogb-constants.c: New file.
14163         * math/Makefile (tests): Add test-fp-ilogb-constants.
14165 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
14167         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14168         (_init): Use it in place of hardcoded R_MIPS_JALR.
14169         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14170         (_init): Use it in place of hardcoded R_MIPS_JALR.
14171         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14172         (_init): Use it in place of hardcoded R_MIPS_JALR.
14174 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14176         [BZ #20787]
14177         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14178         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14179         (double_t): Do not define to double if [__x86_64__] when
14180         __FLT_EVAL_METHOD__ is nonzero.
14181         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14182         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14183         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14184         test-flt-eval-method-387 and test-flt-eval-method-sse.
14185         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14186         variable.
14187         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14189 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
14191         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14192         use of -fno-isolate-erroneous-paths options for tilepro.
14194 2016-11-23  Florian Weimer  <fweimer@redhat.com>
14196         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14197         structure initialization is no longer needed.
14199 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14201         [BZ #20855]
14202         * bits/mathdef.h (float_t): Define to float.
14203         * math/test-flt-eval-method.c: New file.
14204         * math/Makefile (tests): Add test-flt-eval-method.
14205         (CFLAGS-test-flt-eval-method.c): New variable.
14207 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
14209         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14210         and __fstatfs.  Make them aliases of __fstatfs64 if
14211         STATFS_IS_STATFS64 is set to non-zero.
14212         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14213         and __statfs64.
14214         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14215         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14216         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14217         for __statfs and statfs.
14218         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14219         to 0.
14220         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14221         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14222         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14223         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14224         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14225         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14228         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14229         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14230         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14231         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14233 2016-11-22  Andreas Schwab  <schwab@suse.de>
14235         * misc/mkstemp.c: Include <fcntl.h>.
14236         * misc/mkstemps.c: Likewise.
14237         * misc/mkostemp.c: Likewise.
14238         * misc/mkostemps.c: Likewise.
14240 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
14242         [BZ #20847]
14243         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14244         array bounds.
14245         (__execvpe): Likewise.
14247 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
14249         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14250         -fno-isolate-erroneous-paths options for tilepro.
14252 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
14254         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14255         to 0 when in 32 bit mode.
14256         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14257         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14258         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14259         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14261         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14262         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14263         XSTAT_IS_XSTAT64 test.
14264         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14265         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14266         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14267         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14268         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14269         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14270         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14271         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14272         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14273         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14274         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14276 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
14278         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14279         (setpayload): New declaration.
14280         * math/Versions (setpayload): New libm symbol at version
14281         GLIBC_2.25.
14282         (setpayloadf): Likewise.
14283         (setpayloadl): Likewise.
14284         * math/Makefile (libm-calls): Add s_setpayloadF.
14285         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14286         test_Ff_b1_data.
14287         (RUN_TEST_Ff_b1): New macro.
14288         (RUN_TEST_LOOP_Ff_b1): Likewise.
14289         (canonicalize_test_data): Update type.
14290         (setpayload_test_data): New array.
14291         (setpayload_test): New function.
14292         (main): Call setpayload_test.
14293         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14294         setpayloadf and setpayloadl.
14295         * manual/libm-err-tab.pl: Update comment on interfaces without
14296         ulps tabulated.
14297         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14298         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14299         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14300         Likewise.
14301         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14302         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14303         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14304         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14305         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14306         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14307         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14308         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14309         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14310         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14311         setpayload.
14312         (CFLAGS-nldbl-setpayload.c): New variable.
14313         * sysdeps/nacl/libm.abilist: Update.
14314         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14315         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14316         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14317         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14318         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14319         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14320         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14321         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14322         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14323         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14324         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14325         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14327         Likewise.
14328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14329         Likewise.
14330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14331         Likewise.
14332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14333         Likewise.
14334         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14335         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14336         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14337         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14338         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14340         Likewise.
14341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14342         Likewise.
14343         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14344         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14345         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14347 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14349         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14350         * include/unistd.h: Extend comment about __access_noerrno return
14351         semantics.
14352         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14353         (access_common): Correct typo for EACCES.
14355 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
14357         * sysdeps/tile/math-tests.h: New file.
14359         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14360         (__old_set_dataplane): Rename from set_dataplane and make a
14361         compatibility symbol.
14362         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14363         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14364         sys/dataplane.h.
14366 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
14368         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14369         script quote words in command output to log suitably for input to
14370         the shell.
14372 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
14373             Maciej W. Rozycki  <macro@imgtec.com>
14375         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14376         `.Lno_weak_fn' label.
14377         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14378         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14380 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14381             Yury Norov  <ynorov@caviumnetworks.com>
14383         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14384         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14385         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14386         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14387         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14388         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14389         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14390         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14391         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14392         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14393         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14394         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14395         (sysdep_routines): Remove oldgetrlimit64.
14396         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14397         (sysdep_routines): Likewise.
14398         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14399         (sysdep_routines): Likewise.
14400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14401         [$(subdir) = resource] (sysdep_routines): Likewise.
14402         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14403         [$(subdir) = resource] (sysdep_routines): Likewise.
14404         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14405         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14406         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14407         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14408         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14409         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14410         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14411         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14412         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14413         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14414         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14415         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14416         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14417         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14418         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14419         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14420         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14421         setrlimit and getrlimit.
14422         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14423         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14424         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14427         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14428         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14429         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14430         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14431         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14432         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14433         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14434         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14435         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14436         (__old_getrlimit64): Add compatibility symbol.
14437         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14439 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
14441         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14442         newly built gmp, mpfr and mpc.
14444         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14446 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14448         * conform/Makefile (linknamespace-libs): Rename to
14449         linknamespace-libs-thr.
14450         (linknamespace-libs-posix): New variable.
14451         (linknamespace-libs-xsi): Likewise.
14452         (linknamespace-libs-XPG3): Include libcrypt.a.
14453         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14454         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14455         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14456         (linknamespace-libs-XOPEN2K): Likewise.
14457         (linknamespace-libs-XOPEN2K8): Likewise.
14458         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14460         [BZ #20829]
14461         * stdio-common/Versions (__snprintf): Add to version
14462         GLIBC_PRIVATE.
14463         * include/stdio.h (__snprintf): Use libc_hidden_proto.
14464         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14465         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14466         of snprintf.
14467         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14469 2016-11-16  Zack Weinberg  <zackw@panix.com>
14471         * string/string.h: Remove obsolete comment stating that
14472         strcoll_l and strxfrm_l have not yet been standardized.
14474 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14476         * hurd/hurd.h (__hurd_fail_noerrno): New function.
14477         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14478         __access_noerrno.
14479         * io/access.c (__access_noerrno): New function.
14480         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14481         (hurd_fail_seterrno): Likewise.
14482         (access_common): Likewise.
14483         (__access_noerrno): Likewise.
14484         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14485         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14486         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14487         macro.
14489 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14491         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14492         Only declare fpregs if [__SH_FPU_ANY__].
14494 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
14496         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14497         Make code unconditional.
14498         [!(__SH4__ || __SH4A__)]: Remove conditional code.
14500 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
14502         * manual/sysinfo.texi (S_APPEND): Delete.
14503         (S_IMMUTABLE): Likewise.
14505 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
14506             Magnus Granberg  <zorry@gentoo.org>
14507             Mike Frysinger  <vapier@gentoo.org>
14509         [BZ #20662]
14510         * configure.ac (libc_cv_predef_stack_protector): Also check for
14511         __stack_chk_fail_local symbols.
14512         * configure: Regenerated.
14514 2016-11-15  Florian Weimer  <fweimer@redhat.com>
14516         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14517         (libc_hidden_def): Remove redefinition.
14518         (__sigsetjmp): Add hidden definition.
14519         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14520         (libc_hidden_def): Remove redefinition.
14521         (__sigsetjmp): Add hidden definition.
14523 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
14525         * scripts/build-many-glibcs.py (os.path): Do not import.
14526         (Context): Inherit explicitly from object.  Remove blank line
14527         between class and docstring.
14528         (Config): Likewise.
14529         (Glibc): Likewise.
14530         (Command): Likewise.
14531         (CommandList): Likewise.
14532         (Context.write_files): Store chmod mode in a variable.
14534         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14535         LIBC_SLIBDIR_RTLDDIR for tilegx32.
14536         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14538 2016-11-14  Zack Weinberg  <zackw@panix.com>
14540         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14541         creating or re-creating it.
14543         * string/bits/string2.h: Fix typo in comment.
14545 2016-11-14  Zack Weinberg  <zackw@panix.com>
14547         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14548         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14549         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14550         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14551         of redirected function names.
14553         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14554         as well.  Document that MESSAGE must be a single string literal.
14556 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
14558         * scripts/build-many-glibcs.py: New file.
14560         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14561         (do_test): Disable -Wmaybe-uninitialized around uses of
14562         except_mask.
14564         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14566 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
14568         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14569         (atomic_store_release): Provide tilepro-specific implementations.
14571 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
14573         * math/math.h (__MATH_TG): New macro.
14574         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14575         [__USE_ISOC99] (signbit): Likewise.
14576         [__USE_ISOC99] (isfinite): Likewise.
14577         [__USE_ISOC99] (isnan): Likewise.
14578         [__USE_ISOC99] (isinf): Likewise.
14579         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14580         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14581         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14582         __MATH_TG and __MATH_EVAL_FMT2.
14583         * sysdeps/generic/math_private.h (fabs_tg): Define using
14584         __MATH_TG.
14585         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14586         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14587         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14588         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14589         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14590         macro.
14591         (__iscanonical): Likewise.
14592         (iscanonical): Define using __MATH_TG.
14594 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14596         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14597         guards.
14599         * sysdeps/unix/sysv/linux/access.c: New file.
14600         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14602 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
14604         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14605         and __WORDSIZE32_PTRDIFF_LONG.
14607 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14609         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14611 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14613         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14614         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14615         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14616         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14617         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14619         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14620         * sysdeps/unix/sysv/linux/truncate.c: New file.
14621         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14622         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14623         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14624         Remove.
14625         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14626         Likewise.
14628         * posix/tst-truncate-common.c: New file.
14629         * posix/tst-truncate.c: Use tst-truncate-common.c.
14630         * posix/tst-truncate64.c: Likewise and add LFS tests.
14631         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14632         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14633         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14634         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14635         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14637         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14638         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14639         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14640         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14641         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14642         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14643         Remove.
14644         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14645         Likewise.
14647 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
14649         [BZ #20790]
14650         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14651         to MAXLINESIZE.
14652         * sunrpc/bug20790.x: New file.
14653         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14654         variable.
14655         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14656         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14658         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14660         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14662         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14663         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
14664         calloc, realloc, free, memalign and __libc_memalign rather than
14665         making them optional.
14667         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14668         for libc.so.
14670 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14672         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14673         ptw-lseek64.
14674         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14675         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
14676         Likewise.
14677         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14678         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14679         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14680         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14681         * sysdeps/unix/sysv/linux/lseek.c: New file.
14682         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14683         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14684         __libc_lseek64 from auto-generation.
14685         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14686         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14688 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14690         * nptl/tst-basic1.c (tf, do_test): Use write_message.
14691         * nptl/tst-cleanup1.c (do_test): Likewise.
14692         * nptl/tst-cleanup3.c (do_test): Likewise.
14693         * nptl/tst-key1.c (do_test): Likewise.
14694         * nptl/tst-key2.c (tf, do_test): Likewise.
14695         * nptl/tst-key3.c (tf, do_test): Likewise.
14696         * nptl/tst-stdio1.c (do_test): Likewise.
14697         * nptl/tst-stdio2.c (do_test): Likewise.
14699         * nptl/tst-kill3.c (handler): Use write_message in place of write.
14700         * nptl/tst-kill6.c (handler): Likewise.
14701         * nptl/tst-tls2.c (CB): Likewise.
14702         * nptl/tst-tls3.c (CB): Likewise.
14704 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
14706         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14708 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
14709             Steve Ellcey  <sellcey@caviumnetworks.com>
14711         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14712           __ASSUME_ST_INO_64_BIT as 0
14713         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14714         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14715           over the code where __ASSUME_ST_INO_64_BIT is used.
14716         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14717         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14718         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14720 2016-11-07  Florian Weimer  <fweimer@redhat.com>
14722         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14723         Document ABI exposure of the __kind offset.
14724         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14725         Mention reason for the __kind offset exposure in the ABI.
14726         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14727         Likewise.
14728         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14729         Likewise.
14730         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14731         Likewise.
14732         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14733         (struct __pthread_mutex_s): Likewise.
14734         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14735         Likewise.
14736         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14737         Likewise.
14738         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14739         Likewise.
14740         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14741         Likewise.
14742         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14743         Likewise.
14744         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14745         Likewise.
14746         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14747         (struct __pthread_mutex_s): Likewise.
14748         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14749         (struct __pthread_mutex_s): Likewise.
14750         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14751         Likewise.
14753 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
14755         * test-skeleton.c: Document do_test usage.
14757 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
14759         * iconv/gconv.h (__gconv_info): Define __data element using a
14760         zero-length array.
14762 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
14764         * math/test-tgmath2.c: Split up test function.
14766 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14768         * Rules (tests-expected): New variable, depending on
14769         $(run-built-tests).
14770         (tests): Pass $(tests-expected) to merge-test-results.sh, not
14771         $(tests).
14773         * Rules [$(run-built-tests) = no] (tests): Do not depend on
14774         $(tests-unsupported).
14776 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14778         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14779         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
14781 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14783         [BZ #20768]
14784         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14785         __fegetenv instead of fegetenv.
14787         [BZ #14139]
14788         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14789         (find_files): Obtain platform name from libm-test-ulps-name and
14790         store in %pplatforms.
14791         (canonicalize_platform): Remove.
14792         (print_platforms): Use $pplatforms directly.
14793         (by_platforms): Do not allow for platforms missing from
14794         %pplatforms.
14795         * sysdeps/aarch64/libm-test-ulps-name: New file.
14796         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14797         * sysdeps/arm/libm-test-ulps-name: Likewise.
14798         * sysdeps/generic/libm-test-ulps-name: Likewise.
14799         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14800         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14801         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14802         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14803         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14804         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14805         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14806         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14807         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14808         * sysdeps/nios2/libm-test-ulps-name: Likewise.
14809         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14810         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14811         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14812         * sysdeps/sh/libm-test-ulps-name: Likewise.
14813         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14814         * sysdeps/tile/libm-test-ulps-name: Likewise.
14815         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14817         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14819         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14820         (test-xfail-check-execstack): New variable.
14822         * sysdeps/mips/localplt.data: New file.
14824 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
14825             Steve Ellcey  <sellcey@caviumnetworks.com>
14827         * bits/wordsize.h: Add documentation.
14828         * sysdeps/aarch64/bits/wordsize.h : New file
14829         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14830         definitions.
14831         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14832         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14833         with #if instead of #ifdef.
14834         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14835         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14836         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14837         Add or change defines.
14838         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14839         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14840         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14841         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14842         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14843         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14844         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14845         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14846         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14847         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14848         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14849         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14850         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14851         * sysdeps/x86/bits/wordsize.h: Likewise.
14853 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
14854             Kevin Petit  <kevin.petit@arm.com>
14856         * sysdeps/aarch64/memchr.S (__memchr): New file.
14858 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14860         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14862 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
14864         [BZ #19398]
14865         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14866         $(linknamespace-symlists-tests).
14868 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
14870         * time/tst-strptime2.c: Ignore -Wformat-length warning.
14872 2016-11-02  Florian Weimer  <fweimer@redhat.com>
14873             Carlos O'Donell  <carlos@redhat.com>
14875         [Bug #20729]
14876         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14877         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
14878         for -Os related change.
14880 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
14882         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14884 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
14886         [BZ #19673]
14887         * manual/math.texi (Exponents and Logarithms): Correct description
14888         of clog10.
14890 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
14892         [Bz #20729]
14893         * locale/weight.h: Include libc-internal.h.
14894         * locale/weightwc.h: Likewise.
14895         * nptl/nptl_dbP.h: Likewise.
14897 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
14899         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14900         when it is MACH_PORT_NULL.
14902 2016-10-31  Andreas Schwab  <schwab@suse.de>
14904         [BZ #20707]
14905         * posix/glob.c (glob): Initialize pglob before checking for
14906         GLOB_BRACE.  Don't call glob recursively if pattern contains no
14907         valid brace expression despite GLOB_BRACE.
14908         * posix/globtest.sh: Test it.
14910 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
14912         [BZ #20729]
14913         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14914         Define.
14915         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14916         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14917         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14918         for seq2.back_us and seq1.back_us only for -Os compiles.
14919         * locale/weightwc.h (findix): Likewise.
14920         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14921         DB_GET_FIELD_ADDRESS only for -Os compiles.
14922         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14923         for slen only for -Os compiles.
14924         * string/strcoll_l.c (get_next_seq): Ignore
14925         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14926         for -Os compiles.
14928         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14929         * include/crypt.h: New file.
14931 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14933         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14934         from test-skeleton.c.
14935         (statclass): Replace calls to write with calls to write_message.
14937 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
14939         * math/math.h
14940         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14941         New macro.
14942         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14943         Likewise.
14944         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14945         Likewise.
14946         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14947         SNANL.
14948         * math/test-double.h (snan_value_MACRO): New macro.
14949         * math/test-float.h (snan_value_MACRO): Likewise.
14950         * math/test-ldouble.h (snan_value_MACRO): Likewise.
14951         * math/libm-test.inc (issignaling_test_data): Add tests of
14952         snan_value_MACRO.
14954 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14956         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14957         behavior when eliding a lock not held by the current thread.
14958         * sysdeps/powerpc/nptl/elide.h: Likewise.
14960 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14962         [BZ #20728]
14963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
14964         branch to _exit() by a function call.
14966 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14968         * malloc/malloc.c: Update chunk layout comments.
14969         (chunk_main_arena): Update comment.
14971 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14973         * crypt/sha256.c, crypt/sha256-block.c,
14974         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
14975         sha256_process_block to __sha256_process_block.
14976         * crypt/sha512.c, crypt/sha512-block.c,
14977         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
14978         sha512_process_block to __sha512_process_block.
14980 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
14982         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
14984         * math/test-nan-overflow.c: Include stdlib.h for malloc.
14986 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
14988         [BZ #20019]
14989         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
14990         definition in unrelocated shared library.
14991         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14993 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14995         [BZ #20729]
14996         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
14997         * sysdeps/unix/sysv/linux/i386/Makefile
14998         (uses-6-syscall-arguments): Define.
14999         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
15000         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
15001         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
15002         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
15003         Likewise.
15004         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
15005         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
15006         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
15007         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
15008         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
15009         (CFLAGS-fallocate64.os): Likewise.
15010         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
15011         (CFLAGS-pthread_rwlock_timedrdlock.os)
15012         (CFLAGS-pthread_rwlock_timedwrlock.o)
15013         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
15014         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
15015         (CFLAGS-sem_timedwait.os): Likewise.
15017 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15019         * elf/tst-linkall-static.c: New file.
15020         * elf/Makefile (tests-static): Add tst-linkall-static.
15021         (tst-linkall-static): Link against static libraries.
15023 2016-10-27  Florian Weimer  <fweimer@redhat.com>
15025         * malloc/malloc.c (sysmalloc): Initialize previous size field of
15026         mmaped chunks.
15028 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15030         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
15031         members to mchunk_prev_size, mchunk_size.
15032         (chunk_main_arena): Reverse sense and rename from
15033         chunk_non_main_arena.
15034         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
15035         mchunk_size instead of size.
15036         (set_non_main_arena): Define.
15037         (chunksize): Use chunksize_nomask instead of direct member access.
15038         (chunksize_nomask): Define.
15039         (next_chunk): Use chunksize instead of direct member access.
15040         (prev_size, set_prev_size): Define.
15041         (prev_chunk): Use prev_size instead of direct member access.
15042         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
15043         (inuse_bit_at_offset, set_inuse_bit_at_offset)
15044         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
15045         (mchunk_prev_size, mchunk_size): Poison tokens.
15046         (unlink): Use chunksize_nomask, prev_size accessors.
15047         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
15048         (do_check_free_chunk): Use prev_size accessor.
15049         (sysmalloc): Use set_prev_size, set_head accessors.
15050         (munmap_chunk, mremap_chunk): Use prev_size accessor.
15051         (__libc_free): Use chunksize_nomask accessor.
15052         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
15053         chunk_main_arena accessors.
15054         (_int_free): Use chunksize_nomask, prev_size accessors.
15055         (malloc_consolidate): Use chunksize, prev_size accessors.
15056         (_int_realloc): Use chunksize_nomask accessor.
15057         (_int_memalign): Use set_prev_size accessor.
15058         (__malloc_info): Use chunksize_nomask accessor.
15059         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
15060         accessors.
15061         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
15062         (heap_trim): Use chunksize_nomask, prev_size accessors.
15064 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
15066         [BZ #19380]
15067         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
15068         for inexact results.
15069         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
15070         of inexact result where mpfr_subnormalize is the only inexact
15071         step.
15072         * stdlib/tst-strtod-round-data.h: Regenerated.
15073         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
15074         Define to 0.
15075         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
15077 2016-10-27  David S. Miller  <davem@davemloft.net>
15079         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
15081 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15083         * malloc/malloc.c (do_set_mallopt_check): New function.
15084         (do_set_mmap_threshold): Likewise.
15085         (do_set_mmaps_max): Likewise.
15086         (do_set_top_pad): Likewise.
15087         (do_set_perturb_byte): Likewise.
15088         (do_set_trim_threshold): Likewise.
15089         (do_set_arena_max): Likewise.
15090         (do_set_arena_test): Likewise.
15091         (__libc_mallopt): Use them.
15093 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
15095         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15096         (canonicalize): New declaration.
15097         * math/Versions (canonicalize): New libm symbol at version
15098         GLIBC_2.25.
15099         (canonicalizef): Likewise.
15100         (canonicalizel): Likewise.
15101         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
15102         * math/s_canonicalize_template.c: New file.
15103         * math/libm-test.inc: Update comment on functions tested and
15104         testing of NaN payloads.
15105         (TEST_NAN_PAYLOAD): New macro.
15106         (NO_TEST_INLINE): Update value.
15107         (XFAIL_TEST): Likewise.
15108         (ERRNO_UNCHANGED): Likewise.
15109         (ERRNO_EDOM): Likewise.
15110         (ERRNO_ERANGE): Likewise.
15111         (IGNORE_RESULT): Likewise.
15112         (NON_FINITE): Likewise.
15113         (TEST_SNAN): Likewise.
15114         (NO_TEST_MATHVEC): Likewise.
15115         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
15116         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15117         (struct test_Ffp_b1_data): New type.
15118         (RUN_TEST_Ffp_b1): New macro.
15119         (RUN_TEST_LOOP_Ffp_b1): Likewise.
15120         (canonicalize_test_data): New array.
15121         (canonicalize_test): New function.
15122         (main): Call canonicalize_test.
15123         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15124         canonicalizef and canonicalizel.
15125         * manual/libm-err-tab.pl: Update comment on interfaces without
15126         ulps tabulated.
15127         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15128         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15129         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15130         canonicalize.
15131         (CFLAGS-nldbl-canonicalize.c): New variable.
15132         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15133         to ...
15134         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15135         ... here.
15136         (do_test): Also test canonicalizel.
15137         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15138         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15139         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15140         file.
15141         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15142         Use libm_hidden_def.
15143         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15144         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15145         (do_test): Also test canonicalizel.
15146         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15147         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15148         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15149         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15150         libm_hidden_def.
15151         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15152         macro.
15153         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15154         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15155         * sysdeps/nacl/libm.abilist: Update.
15156         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15157         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15158         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15159         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15160         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15161         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15162         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15163         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15164         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15165         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15166         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15167         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15169         Likewise.
15170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15171         Likewise.
15172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15173         Likewise.
15174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15175         Likewise.
15176         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15177         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15178         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15179         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15180         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15182         Likewise.
15183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15184         Likewise.
15185         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15186         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15187         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15189         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15190         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15191         getpayload.
15192         (CFLAGS-nldbl-getpayload.c): New variable.
15194 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15196         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15197         integer from the format string.
15199 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15201         [BZ #19473]
15202         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15203         declarations.
15204         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15205         weak aliases.
15206         * malloc/hooks.c (__malloc_get_state): Remove definition.
15207         (malloc_get_state): New stub implementation as
15208         compatibility symbol.
15209         (malloc_set_state): Rename from __malloc_set_state.  Turn into
15210         compat symbol.
15211         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15212         malloc_set_state.
15213         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15215 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15217         * iconvdata/iso646.c (enum variant): Drop illegal_var.
15218         (names): Turn into concatenation of strings.
15219         (gconv_init): Adapt iteration over names.
15221 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15223         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15224         make const.
15225         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15226         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15227         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15228         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15229         character in sbconv.
15230         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15231         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15232         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15234 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15236         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15238         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15239         (M_TRIM_THRESHOLD): Likewise.
15241         * manual/memory.texi (M_ARENA_TEST): Add documentation.
15242         (M_ARENA_MAX): Likewise.
15243         * malloc/malloc.c: Remove obsolete comment.
15245         * manual/memory.texi: Add environment variable alternatives to
15246         setting mallopt parameters.
15248 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
15250         * include/atomic.h
15251         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15252         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15254 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15256         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15257         * stdlib/tst-strfrom.h: New file.
15258         * stdlib/tst-strfrom.c: New file.
15259         * stdlib/tst-strfrom-locale.c: New file.
15261         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15262         * stdlib/bug-strtod2.c: Likewise.
15263         * stdlib/tst-strtod-round-skeleton.c: Likewise.
15264         * stdlib/tst-strtod6.c: Likewise.
15265         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15267 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15269         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15270         * manual/arith.texi: Document strfromd, strfromf, strfroml.
15271         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15272         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15273         * stdlib/stdlib.h (strfromd): New declaration.
15274         (strfromf): Likewise.
15275         (strfroml): Likewise.
15276         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
15277         strfrom.
15278         * stdlib/strfromd.c: New file.
15279         * stdlib/strfromf.c: Likewise.
15280         * stdlib/strfroml.c: Likewise.
15281         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15282         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15283         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15284         * sysdeps/arm/nacl/libc.abilist: Update.
15285         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15286         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15287         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15288         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15289         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15290         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15291         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15292         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15293         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15294         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15295         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15296         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15297         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15298         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15303         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15304         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15305         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15306         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15307         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15310         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15311         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15312         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15314 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
15316         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15317         instead of cmpli.
15318         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15319         instead of cmpli.
15321 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
15323         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15324         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15325         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15326         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15327         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15328         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15330 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15332         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15333         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15334         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15335         SYSCALL_LL64_PRW.
15336         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15337         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15338         __ASSUME_PRW_DUMMY_ARG.
15339         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15340         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15341         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15342         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15343         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15344         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15346 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
15348         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15350 2016-10-22  Florian Weimer  <fweimer@redhat.com>
15352         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15353         "C++", to override a potential extern "C" directive around the
15354         header file inclusion.
15356 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
15358         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15360 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15362         * sysdeps/powerpc/fpu/fenv_private.h:
15363         (_FPU_MASK_ALL): Rename to...
15364         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15365         XE FPSCR bits.
15367         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15369         (_FPU_MASK_ROUNDING): Rename to...
15370         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15371         NI bits.
15373         (_FPU_MASK_EXCEPT_ROUND): Rename to...
15374         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15375         bits and rounding bits.
15377         (__libc_feholdbits_ppc): New inline function to mask, set,
15378         and pontentially clear FSPCR bits, and change MSR[FE] bits.
15379         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15380         (libc_feholdexcept_setround_ppc): Likewise.
15382         (__libc_femergeenv_ppc): New function to dynamically mask both
15383         old and new FP environments and merge.
15384         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15385         (libc_feresetround_ppc): Likewise.
15386         (libc_feupdateenv_test_ppc): Likewise.
15387         (libc_feupdateenv_ppc): Likewise.
15389         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15390         of ISA RN bits, and update macro names.
15391         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15392         effectively the same as the previously mentioned function.
15394         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15395         usage with fe_resetround_ppc.
15397         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15398         to be used.
15399         (libc_feholdexcept_setround_ctxf): Likewise.
15400         (libc_feholdexcept_setround_ctxl): Likewise.
15402 2016-10-21  Florian Weimer  <fweimer@redhat.com>
15404         [BZ #20715]
15405         * math/math.h [__cplusplus] (iszero): Define as function template.
15406         * math/Makefile [CXX] (tests): Add test-math-iszero.
15407         (CFLAGS-test-math-iszero.cc): Set.
15408         * math/test-math-iszero.cc: New file.
15410 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
15412         [BZ #20660]
15413         * sysdeps/arm/e_sqrt.c: New file.
15414         * sysdeps/arm/e_sqrtf.c: Likewise.
15416 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
15418         [BZ #20718]
15419         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15420         not use floating-point comparisons to test sign.
15421         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15422         Likewise.
15424         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15425         (getpayload): New declaration.
15426         * math/Versions (getpayload): New libm symbol at version
15427         GLIBC_2.25.
15428         (getpayloadf): Likewise.
15429         (getpayloadl): Likewise.
15430         * math/Makefile (libm-calls): Add s_getpayloadF.
15431         * math/libm-test.inc: Include <nan-high-order-bit.h>.
15432         (struct test_f_f_data): Add comment.
15433         (RUN_TEST_fp_f): New macro.
15434         (RUN_TEST_LOOP_fp_f): Likewise.
15435         (getpayload_test_data): New array.
15436         (getpayload_test): New function.
15437         (main): Call getpayload_test.
15438         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15439         descriptor.
15440         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15441         getpayloadf and getpayloadl.
15442         * manual/libm-err-tab.pl: Update comment on interfaces without
15443         ulps tabulated.
15444         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15445         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15446         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15447         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15448         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15449         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15450         * sysdeps/nacl/libm.abilist: Update.
15451         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15452         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15453         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15454         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15455         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15456         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15457         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15458         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15459         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15460         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15461         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15462         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15464         Likewise.
15465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15466         Likewise.
15467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15468         Likewise.
15469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15470         Likewise.
15471         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15472         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15473         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15474         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15475         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15477         Likewise.
15478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15479         Likewise.
15480         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15481         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15482         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15484 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15486         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15487         tst-fallocate{64}.
15488         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15489         on syscall return.
15491 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
15493         [BZ #20689]
15494         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15495         usable.
15497 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
15499         * sysdeps/generic/nan-high-order-bit.h: New file.
15500         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15501         * sysdeps/mips/nan-high-order-bit.h: Likewise.
15502         * sysdeps/hppa/math_private.h: Remove file.
15503         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15504         not define here.
15505         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15506         <nan-high-order-bit.h>.
15507         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15508         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15509         <nan-high-order-bit.h>.
15510         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15511         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15512         <nan-high-order-bit.h>.
15513         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15514         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15515         <nan-high-order-bit.h>.
15516         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15517         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15518         <nan-high-order-bit.h>.
15519         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15520         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15521         <nan-high-order-bit.h>.
15522         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15523         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15524         <nan-high-order-bit.h>.
15525         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15526         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15527         <nan-high-order-bit.h>.
15528         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15529         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15530         <nan-high-order-bit.h>.
15531         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15532         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15533         <nan-high-order-bit.h>.
15534         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15535         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15536         <nan-high-order-bit.h>.
15537         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15538         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15539         <nan-high-order-bit.h>.
15540         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15541         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15542         <nan-high-order-bit.h>.
15543         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15544         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15545         <nan-high-order-bit.h>.
15546         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15547         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15548         <nan-high-order-bit.h>.
15549         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15550         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15551         <nan-high-order-bit.h>.
15552         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15553         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15554         <nan-high-order-bit.h>.
15555         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15556         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15557         <nan-high-order-bit.h>.
15558         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15560 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15562         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15564 2016-09-22  John David Anglin  <dave.anglin@bell.net>
15566         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15567         abort-instr.h.
15568         (EFAULT): Remove conditional define.
15569         (ENOSYS): Likewise.
15570         (atomic_compare_and_exchange_val_acq): Use instruction nullification
15571         instead of conditional branch instructions.
15573 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
15575         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15576         (totalordermag): New declaration.
15577         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15578         New macro.
15579         * math/Versions (totalordermag): New libm symbol at version
15580         GLIBC_2.25.
15581         (totalordermagf): Likewise.
15582         (totalordermagl): Likewise.
15583         * math/Makefile (libm-calls): Add s_totalordermagF.
15584         * math/libm-test.inc (totalordermag_test_data): New array.
15585         (totalordermag_test): New function.
15586         (main): Call totalordermag_test.
15587         * math/test-tgmath.c (NCALLS): Increase to 125.
15588         (F(compile_test)): Call totalordermag.
15589         (F(totalordermag)): New function.
15590         * manual/arith.texi (FP Comparison Functions): Document
15591         totalordermag, totalordermagf and totalordermagl.
15592         * manual/libm-err-tab.pl: Update comment on interfaces without
15593         ulps tabulated.
15594         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15595         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15596         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15597         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15598         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15599         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15600         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15601         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15602         totalordermag.
15603         (CFLAGS-nldbl-totalordermag.c): New variable.
15604         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15605         (do_test): Also test totalordermagl.
15606         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15607         Likewise.
15608         * sysdeps/nacl/libm.abilist: Update.
15609         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15610         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15611         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15612         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15613         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15614         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15615         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15616         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15617         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15618         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15619         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15620         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15622         Likewise.
15623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15624         Likewise.
15625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15626         Likewise.
15627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15628         Likewise.
15629         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15630         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15631         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15632         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15633         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15635         Likewise.
15636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15637         Likewise.
15638         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15639         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15640         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15642 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
15644         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15645         boolean.
15647 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
15649         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15650         raising FE_INVALID with feraisexcept in case where part of
15651         argument is infinite, subtract that part of argument from itself.
15652         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15653         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15654         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15656 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15658         * math/libm-test.inc (totalorder_test_data): Add more tests.
15660 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15662         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15663         Undefine weak_alias and add a comment why mips64 require
15664         versioning.
15666 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15668         [BZ #20647]
15669         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15670         maximum CPUID level is less than 2.
15672 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15674         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15675         (totalorder): New declaration.
15676         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15677         New macro.
15678         * math/Versions (totalorder): New libm symbol at version
15679         GLIBC_2.25.
15680         (totalorderf): Likewise.
15681         (totalorderl): Likewise.
15682         * math/Makefile (libm-calls): Add s_totalorderF.
15683         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15684         string.
15685         * math/libm-test.inc (PAYLOAD_DIG): New macro.
15686         (qnan_value_pl): Likewise.
15687         (snan_value_pl): Likewise.
15688         (qnan_value): Define using qnan_value_pl.
15689         (snan_value): Define using snan_value_pl.
15690         (struct test_ff_i_data): Add comment about which tests use this
15691         structure.
15692         (RUN_TEST_ff_b): New macro.
15693         (RUN_TEST_LOOP_ff_b): Likewise.
15694         (totalorder_test_data): New array.
15695         (totalorder_test): New function.
15696         (main): Call totalorder_test.
15697         * math/test-tgmath.c (NCALLS): Increase to 122.
15698         (F(compile_test)): Call totalorder.
15699         (F(totalorder)): New function.
15700         * manual/arith.texi (FP Comparison Functions): Document
15701         totalorder, totalorderf and totalorderl.
15702         * manual/libm-err-tab.pl: Update comment on interfaces without
15703         ulps tabulated.
15704         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15705         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15706         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15707         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15708         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15709         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15710         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15711         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15712         totalorder.
15713         (CFLAGS-nldbl-totalorder.c): New variable.
15714         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15715         file.
15716         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15717         Add test-totalorderl-ldbl-128ibm.
15718         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15719         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15720         test-totalorderl-ldbl-96.
15721         * sysdeps/nacl/libm.abilist: Update.
15722         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15723         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15724         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15725         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15726         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15727         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15728         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15729         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15730         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15731         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15732         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15733         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15735         Likewise.
15736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15737         Likewise.
15738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15739         Likewise.
15740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15741         Likewise.
15742         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15743         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15744         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15745         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15746         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15748         Likewise.
15749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15750         Likewise.
15751         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15752         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15753         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15755 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15757         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15758         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15759         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15760         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15761         remove ENOSYS implementation.
15762         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15763         Consolidate all Linux implementations.
15765 2016-10-11  Florian Weimer  <fweimer@redhat.com>
15767         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15768         * resolv/herror.c (herror): Cast away const-ness.
15769         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15770         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15772 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
15774         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15775         instead of M_NAN + M_NAN.
15776         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15778 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15780         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15781         unused variable 'p'.
15783 2016-10-09  Alan Modra  <amodra@gmail.com>
15784             Andreas Schwab  <schwab@linux-m68k.org>
15786         [BZ #20554]
15787         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15788         [PIC && !SHARED]: Set up PIC register for PLT call.
15790 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
15792         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15793         conditional on value of [__FLT_EVAL_METHOD__].
15794         * math/test-iseqsig-excess-precision.c: New file.
15795         * math/Makefile (tests): Add test-iseqsig-excess-precision.
15797 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15799         * math/s_iseqsig_template.c: Include math-private.h.
15801         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15802         * posix/tst-posix_fadvise.c: New file.
15803         * posix/tst-posix_fadvise64.c: Likewise.
15804         * posix/tst-posix_fadvise-common.c: Likewise.
15805         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15806         (__ASSUME_FADVISE64_64_6ARG): Define.
15807         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15808         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15809         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15810         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15811         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15812         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15813         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15814         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15815         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15816         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15817         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15818         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15821         Likewise.
15822         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15823         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15824         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15825         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15826         Alias to __posix_fadvise64_l32.
15827         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15828         Add compat definition to posix_fadvise64.
15829         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15830         Add versioned definition to posix_fadvise64.
15831         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15832         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15833         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15834         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15835         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15837         * io/Makefile (tests): Add tst-posix_fallocate and
15838         tst-posix_fallocate64.
15839         * io/tst-posix_fallocate-common.c: New file.
15840         * io/tst-posix_fallocate.c: Likewise.
15841         * io/tst-posix_fallocate64.c: Likewise.
15842         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15843         file.
15844         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15845         Likewise.
15846         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15847         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15848         Likewise.
15849         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15850         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15851         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15852         SYSCALL_LL to pass both offset and len arguments.
15853         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15854         Likewise.
15855         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15856         __libc_pwrite64 alias used by posix_fallocate64.
15858         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15859         tst-fallocate64.
15860         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15861         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15862         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15863         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15864         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15865         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15866         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15867         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15868         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15869         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15870         macro on offset argument.
15871         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15872         SYSCALL_LL64 on offset argument.
15874         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15875         tst-fallocate64.
15876         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15877         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15878         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15879         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15880         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15881         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15882         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15883         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15884         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15885         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15886         macro on offset argument.
15887         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15888         SYSCALL_LL64 on offset argument.
15889         * test-skeleton.c (FAIL_RET): Add macro.
15890         (FAIL_EXIT): Likewise.
15891         (FAIL_EXIT1): Likewise.
15892         (_FAIL): Likewise.
15894 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15896         [BZ #20629]
15897         resolv: Remove RES_USEBSTRING and its implementation.
15898         * resolv/resolv.h (RES_USEBSTRING): Remove.
15899         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15900         (digitvalue, encode_bitstring, decode_bitstring): Remove.
15901         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15902         (labellen): Remove extended label types support.
15903         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15904         * resolv/res_init.c (res_setoptions): Likewise.
15905         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15907 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15909         resolv: Remove RES_NOIP6DOTINT and its implementation.
15910         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15911         (RES_NOIP6DOTINT): Remove.
15912         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15913         handling.
15914         * resolv/res_debug.c (p_option): Likewise.
15915         * resolv/res_init.c (res_setoptions): Likewise.
15916         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15918 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15920         resolv: Deprecate unimplemented flags.
15921         * misc/sys/cdefs.h (__glibc_macro_warning1)
15922         (__glibc_macro_warning): Define.
15923         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15924         (RES_KEEPTSIG): Mark as deprecated.
15925         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15926         RES_NOCHECKNAME, RES_KEEPTSIG.
15927         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15929 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15931         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15932         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15933         Use strong_alias to create symbols for glibc verison 2.19.
15935 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15937         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15939 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15941         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15943 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15945         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15947 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15949         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15950         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15951         in header for using it as type for ifunc function because __GI_* symbols
15952         for ppc32 do not target the ifunc symbols.
15953         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15955 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15957         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
15958         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
15959         libc_ifunc_hidden_def.
15960         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
15961         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
15962         Redirect ifunced function in header for using it as type of ifunc'ed
15963         function. Redefine libc_hidden_def to use fallback non ifunc'ed
15964         function for __GI_* symbol.
15965         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
15966         * include/libc-symbols.h
15967         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15969 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15971         [BZ #20478]
15972         * sysdeps/s390/multiarch/ifunc-resolve.h
15973         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
15974         to create ifunc symbols.
15975         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
15976         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
15977         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
15978         for using it as type for ifunc function.
15979         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15980         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15981         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15982         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15983         * sysdeps/s390/multiarch/strcat.c: Likewise.
15984         * sysdeps/s390/multiarch/strchr.c: Likewise.
15985         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15986         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15987         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15988         * sysdeps/s390/multiarch/strlen.c: Likewise.
15989         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15990         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15991         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15992         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15993         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15994         * sysdeps/s390/multiarch/strspn.c: Likewise.
15995         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15996         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15997         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15998         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15999         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16000         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16001         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16002         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
16003         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
16004         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16005         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
16006         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
16008 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16010         * include/libc-symbols.h (__ifunc_resolver):
16011         New macro is used by __ifunc* macros.
16012         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
16013         depending on HAVE_GCC_IFUNC.
16014         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
16015         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
16016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16017         Redirect ifunced function in header for using as type for ifunc function.
16018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
16019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
16020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
16021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
16022         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16023         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16024         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16025         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16026         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16027         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16028         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16029         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16030         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16031         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
16034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
16036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16037         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16038         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16039         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16040         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16041         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16042         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16043         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16044         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16045         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16046         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16047         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16048         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16049         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
16050         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
16052         Add libc_hidden_def() and use libc_ifunc_hidden() macro
16053         instead of libc_ifunc() macro.
16054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
16055         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16057 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16059         * config.h.in (HAVE_GCC_IFUNC): New undef.
16060         * configure.ac: Add check if gcc supports attribute ifunc feature.
16061         * configure: Regenerated.
16062         * manual/install.texi: Add recommendation for gcc with
16063         indirect-function support.
16064         * INSTALL: Regenerated.
16066 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
16068         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
16069         macro.
16070         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16071         (__iseqsig): New declaration.
16072         * math/s_iseqsig_template.c: New file.
16073         * math/Versions (__iseqsigf): New libm symbol at version
16074         GLIBC_2.25.
16075         (__iseqsig): Likewise.
16076         (__iseqsigl): Likewise.
16077         * math/libm-test.inc (iseqsig_test_data): New array.
16078         (iseqsig_test): New function.
16079         (main): Call iseqsig_test.
16080         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
16081         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
16082         * manual/libm-err-tab.pl: Update comment on interfaces without
16083         ulps tabulated.
16084         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
16085         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
16086         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
16087         * sysdeps/nacl/libm.abilist: Update.
16088         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16089         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16090         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16091         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16092         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16093         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16094         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16095         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16096         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16097         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16098         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16099         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16101         Likewise.
16102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16103         Likewise.
16104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16105         Likewise.
16106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16107         Likewise.
16108         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16109         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16110         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16111         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16112         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16114         Likewise.
16115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16116         Likewise.
16117         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16118         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16119         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16121 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16123         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16124         do_sincos_2, sloww, sloww1): Update comments.
16126         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16127         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16129         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16130         K boolean and rename it.
16131         (__sin): Adjust.
16132         (__cos): Adjust.
16134 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16135             Siddhesh Poyarekar  <siddhesh@sourceware.org>
16137         * manual/nss.texi: Fix typos in the manual.
16139 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16141         * manual/contrib.texi: Fix typos in the manual.
16143         * manual/maint.texi: Fix typos in the manual.
16145         * manual/install.texi: Fix typos in the manual.
16146         * INSTALL: Regenerated.
16148         * manual/lang.texi: Fix typos in the manual.
16150         * manual/probes.texi: Fix typos in the manual.
16152         * manual/threads.texi: Fix typos in the manual.
16154         * manual/debug.texi: Fix typos in the manual.
16156         * manual/crypt.texi: Fix typos in the manual.
16158         * manual/conf.texi: Fix typos in the manual.
16160         * manual/sysinfo.texi: Fix typos in the manual.
16162         * manual/users.texi: Fix typos in the manual.
16164         * manual/job.texi: Fix typos in the manual.
16166         * manual/process.texi: Fix typos in the manual.
16168         * manual/argp.texi: Fix typos in the manual.
16169         * manual/getopt.texi: Likewise.
16170         * manual/startup.texi: Likewise.
16172         * manual/signal.texi: Fix typos in the manual.
16174         * manual/setjmp.texi: Fix typos in the manual.
16176         * manual/resource.texi: Fix typos in the manual.
16178         * manual/time.texi: Fix typos in the manual.
16180         * manual/arith.texi: Fix typos in the manual.
16182         * manual/math.texi: Fix typos in the manual.
16184         * manual/syslog.texi: Fix typos in the manual.
16186         * manual/terminal.texi: Fix typos in the manual.
16188         * manual/socket.texi: Fix typos in the manual.
16190         * manual/filesys.texi: Fix typos in the manual.
16192         * manual/llio.texi: Fix typos in the manual.
16194         * manual/stdio.text: Fix typos in the manual.
16196 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16198         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16199         instead of K1.
16201         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16202         SHIFT_QUADRANT and make it bool.
16203         (do_sincos_2): Likewise.
16204         (sloww): Likewise.
16205         (sloww1): Likewise.
16206         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16207         (__cos): Likewise.
16209 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16211         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16213 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
16215         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16216         Define to __WORDSIZE, not conditional on [LONG_MAX ==
16217         0x7fffffffL].
16218         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16220 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16222         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16223         inline by __inline__.
16224         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16225         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16226         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16227         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16228         sigset_t from signal.h.
16229         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16230         which is already required.
16232 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
16234         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16236 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
16238         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16239         (struct tcp_repair_window): New type.
16241 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16243         * libio/tst-memstream3.c: Include string.h.
16245 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16247         [BZ #18241]
16248         [BZ #20181]
16249         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16250         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16251         write position is at the end the buffer.
16252         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16253         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16254         (_IO_str_seekoff): Set correct offset from negative displacement and
16255         set EINVAL for invalid ones.
16256         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16257         buffer length.
16258         (_IO_wstr_switch_to_get_mode): New function.
16259         (_IO_wstr_seekoff): Set correct offset from negative displacement and
16260         set EINVAL for invalid ones.
16261         * libio/tst-memstream3.c: New file.
16262         * libio/tst-wmemstream3.c: Likewise.
16263         * manual/examples/memstrm.c: Remove warning when priting size_t.
16265 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16267         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16268         macro to use __builtin_fma.
16269         * sysdeps/x86_64/fpu/dla.h: Remove file.
16271         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16272         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16273         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16275 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
16277         [BZ #20292]
16278         * elf/Makefile (routines): Add dl-addr-obj.
16279         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16280         tst-_dl_addr_inside_object.
16281         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16282         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16283         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16284         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16285         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16286         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16287         * elf/dl-open.c: Likewise.
16288         * elf/dl-addr-obj.c: New file.
16289         * elf/tst-_dl_addr_inside_object.c: New file.
16291 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16293         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16294         <bits/iscanonical.h>.
16295         * bits/iscanonical.h: New file.
16296         * math/s_iscanonicall.c: Likewise.
16297         * math/Versions (__iscanonicall): New libm symbol at version
16298         GLIBC_2.25.
16299         * math/libm-test.inc (iscanonical_test_data): New array.
16300         (iscanonical_test): New function.
16301         (main): Call iscanonical_test.
16302         * math/Makefile (headers): Add bits/iscanonical.h.
16303         (type-ldouble-routines): Add s_iscanonicall.
16304         * manual/arith.texi (Floating Point Classes): Document
16305         iscanonical.
16306         * manual/libm-err-tab.pl: Update comment on interfaces without
16307         ulps tabulated.
16308         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16309         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16310         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16311         Likewise.
16312         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16313         test-iscanonical-ldbl-128ibm.
16314         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16315         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16316         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16317         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16318         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16319         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16320         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16322         Likewise.
16323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16324         Likewise.
16325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16326         Likewise.
16327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16328         Likewise.
16329         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16330         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16332 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16334         * string/bits/string3.h: Remove C++ style comments.
16336 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16338         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16339         instead of ternary condition.
16340         (do_sincos_2): Likewise.
16341         (__sin): Likewise.
16342         (__cos): Likewise.
16343         (slow): Likewise.
16344         (sloww): Likewise.
16345         (sloww1): Likewise.
16346         (bsloww): Likewise.
16347         (bsloww1): Likewise.
16349         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16350         instead of ternary condition.
16351         (do_sin_slow): Likewise.
16352         (do_sincos_1): Likewise.
16353         (do_sincos_2): Likewise.
16354         (__cos): Likewise.
16355         (sloww): Likewise.
16356         (sloww1): Likewise.
16357         (sloww2): Likewise.
16358         (bsloww): Likewise.
16359         (bsloww1): Likewise.
16360         (bsloww2): Likewise.
16362         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16363         check from here...
16364         (slow2): ... and here...
16365         (__sin): ... to here.
16367 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
16369         * math/math.h
16370         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16371         Cast argument to its own type.
16372         * math/test-iszero-excess-precision.c: New file.
16373         * math/Makefile (tests): Add test-iszero-excess-precision.
16374         (CFLAGS-test-iszero-excess-precision.c): New variable.
16376 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
16378         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16379         field, add err field.
16380         (__spawni_child): Report error through err member instead of pipe.
16381         (__spawnix): Likewise.
16383 2016-09-28  Zack Weinberg  <zackw@panix.com>
16385         * scripts/check-installed-headers.sh: Generalize treatment of
16386         sys/elf.h to all target architectures.
16388         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16389         deleted typedef ucontext_t.
16391 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16393         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16394         (__INTERNAL_SYSCALL1): Likewise.
16395         (__INTERNAL_SYSCALL2): Likewise.
16396         (__INTERNAL_SYSCALL3): Likewise.
16397         (__INTERNAL_SYSCALL4): Likewise.
16398         (__INTERNAL_SYSCALL5): Likewise.
16399         (__INTERNAL_SYSCALL6): Likewise.
16400         (__INTERNAL_SYSCALL7): Likewise.
16401         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16402         (__INTERNAL_SYSCALL_NARGS): Likewise.
16403         (__INTERNAL_SYSCALL_DISP): Likewise.
16404         (INTERNAL_SYSCALL_CALL): Likewise.
16405         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16406         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16407         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16408         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16409         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16410         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16411         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16412         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16413         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16414         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16415         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16416         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16417         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16419 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
16421         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16422         macro.
16423         * math/libm-test.inc (iszero_test_data): New array.
16424         (iszero_test): New function.
16425         (main): Call iszero_test.
16426         * manual/arith.texi (Floating Point Classes): Document iszero.
16427         * manual/libm-err-tab.pl: Update comment on interfaces without
16428         ulps tabulated.
16430 2016-09-23  Zack Weinberg  <zackw@panix.com>
16432         * scripts/check-installed-headers.sh: New script.
16433         * Rules: In each directory that defines header files to be installed,
16434         run check-installed-headers.sh on them as a special test.
16435         * Makefile: Likewise for the headers installed at top level.
16437         * include/aliases.h, include/alloca.h, include/argz.h
16438         * include/arpa/nameser.h, include/arpa/nameser_compat.h
16439         * include/elf.h, include/envz.h, include/err.h
16440         * include/execinfo.h, include/fpu_control.h, include/getopt.h
16441         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16442         * include/link.h, include/malloc.h, include/mcheck.h
16443         * include/mntent.h, include/netinet/ether.h
16444         * include/nss.h, include/obstack.h, include/printf.h
16445         * include/pty.h, include/resolv.h, include/rpc/auth.h
16446         * include/rpc/auth_des.h, include/rpc/auth_unix.h
16447         * include/rpc/clnt.h, include/rpc/des_crypt.h
16448         * include/rpc/key_prot.h, include/rpc/netdb.h
16449         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16450         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16451         * include/rpc/rpc_msg.h, include/rpc/svc.h
16452         * include/rpc/svc_auth.h, include/rpc/xdr.h
16453         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16454         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16455         * include/rpcsvc/ypupd.h, include/shadow.h
16456         * include/stdio_ext.h, include/sys/epoll.h
16457         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16458         * include/sys/prctl.h, include/sys/profil.h
16459         * include/sys/statfs.h, include/sys/sysctl.h
16460         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16461         * sysdeps/arm/nacl/include/bits/setjmp.h
16462         * sysdeps/mips/include/sys/asm.h
16463         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16464         * sysdeps/unix/sysv/linux/include/sys/timex.h
16465         * sysdeps/x86/fpu/include/bits/fenv.h:
16466         Add #ifndef _ISOMAC guard around internal declarations.
16467         Add multiple-inclusion guard if not already present.
16469 2016-09-23  Zack Weinberg  <zackw@panix.com>
16471         * sysdeps/generic/sys/ucontext.h
16472         * sysdeps/arm/sys/ucontext.h
16473         * sysdeps/i386/sys/ucontext.h
16474         * sysdeps/m68k/sys/ucontext.h
16475         * sysdeps/mips/sys/ucontext.h
16476         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16477         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16478         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16479         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16480         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16481         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16482         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16483         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16484         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16485         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16486         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16487         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16488         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16489         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16490         Include both bits/sigcontext.h and bits/sigstack.h.
16491         Fix grammar error in comment, if present.
16493         * bits/sigstack.h
16494         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16495         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16496         * sysdeps/unix/sysv/linux/bits/sigstack.h
16497         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16498         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16499         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16500         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16501         * bits/sigcontext.h
16502         * sysdeps/mach/hurd/i386/bits/sigcontext.h
16503         * sysdeps/unix/sysv/linux/bits/sigcontext.h
16504         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16505         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16506         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
16507         as well as signal.h, if this was not already allowed.  Request
16508         definition of size_t if necessary.  Minimize semantically-null
16509         differences across files.
16511 2016-09-23  Zack Weinberg  <zackw@panix.com>
16513         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16514         Remove all logic conditional on __need macros.  Move all the
16515         conditionally defined types to their own headers...
16516         * time/bits/types/clock_t.h: Define clock_t here.
16517         * time/bits/types/clockid_t.h: Define clockid_t here.
16518         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16519         * time/bits/types/struct_timespec.h: Define struct timespec here.
16520         * time/bits/types/struct_timeval.h: Define struct timeval here.
16521         * time/bits/types/struct_tm.h: Define struct tm here.
16522         * time/bits/types/time_t.h: Define time_t here.
16523         * time/bits/types/timer_t.h: Define timer_t here.
16524         * time/Makefile: Install the new headers.
16526         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16527         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16528         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16529         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16530         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16531         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16532         * sysdeps/unix/sysv/linux/bits/resource.h
16533         * sysdeps/unix/sysv/linux/bits/timex.h
16534         * sysdeps/unix/sysv/linux/mips/bits/resource.h
16535         * sysdeps/unix/sysv/linux/net/ppp_defs.h
16536         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16537         * sysdeps/unix/sysv/linux/sys/acct.h
16538         * sysdeps/unix/sysv/linux/sys/timerfd.h
16539         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16540         * time/sys/time.h, time/sys/timeb.h
16541         Use the new bits/types headers.
16543         * include/time.h: Remove __need logic.
16544         * include/bits/time.h
16545         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16546         * include/bits/types/time_t.h, include/bits/types/timer_t.h
16547         * include/bits/types/struct_itimerspec.h
16548         * include/bits/types/struct_timespec.h
16549         * include/bits/types/struct_timeval.h
16550         * include/bits/types/struct_tm.h:
16551         New wrapper headers.
16553 2016-09-23  Zack Weinberg  <zackw@panix.com>
16555         * sysdeps/mach/hurd/net/if_ppp.h
16556         * sysdeps/unix/sysv/linux/net/if_ppp.h:
16557         Only define struct ifpppstatsreq and struct ifpppcstatsreq
16558         if __USE_MISC is defined, to ensure struct ifreq is declared.
16560         * inet/netinet/ether.h: Condition all function prototypes
16561         on __USE_MISC, to ensure struct ether_addr is declared.
16563         * socket/bits/types/struct_osockaddr.h: New header.
16564         * include/bits/types/struct_osockaddr.h: New wrapper.
16565         * socket/Makefile: Install the new header.
16566         * socket/sys/socket.h, inet/protocols/talkd.h:
16567         Refer to bits/types/struct_osockaddr.h for the definition of
16568         struct osockaddr.
16570 2016-09-23  Zack Weinberg  <zackw@panix.com>
16572         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16573         * inet/protocols/routed.h, inet/protocols/talkd.h
16574         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16575         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16576         * sysdeps/generic/netinet/if_ether.h
16577         * sysdeps/generic/netinet/in_systm.h
16578         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16579         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16580         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16581         * sysdeps/mach/hurd/net/if_arp.h
16582         * sysdeps/mach/hurd/net/if_ppp.h
16583         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16584         * sysdeps/unix/sysv/linux/bits/in.h
16585         * sysdeps/unix/sysv/linux/net/ethernet.h
16586         * sysdeps/unix/sysv/linux/net/if_arp.h
16587         * sysdeps/unix/sysv/linux/net/if_ppp.h
16588         * sysdeps/unix/sysv/linux/net/if_shaper.h
16589         * sysdeps/unix/sysv/linux/net/route.h
16590         * sysdeps/unix/sysv/linux/netinet/if_ether.h
16591         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16592         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16593         * sysdeps/unix/sysv/linux/netipx/ipx.h
16594         * sysdeps/unix/sysv/linux/sys/acct.h
16595         * include/arpa/nameser.h, include/resolv.h:
16596         Change all uses of u_char to unsigned char,
16597         u_short and ushort to unsigned short, u_int and uint to unsigned int,
16598         u_long and ulong to unsigned long, u_int8_t to uint8_t,
16599         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16600         and u_int64_t and u_quad_t to uint64_t.
16602         * mach/sys/reboot.h: Remove two casts of integer literals
16603         to the types they already have.
16605         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16606         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16607         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16608         from referring to 'unsigned char' to 'uint8_t' for consistency with
16609         the macro definition below.
16611         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16612         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16613         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16614         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16615         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16616         * sysdeps/unix/sysv/linux/sys/acct.h
16617         * include/arpa/nameser.h, include/resolv.h:
16618         Fix indentation disrupted by mechanical edits.
16620         * inet/protocols/talkd.h, resolv/arpa/nameser.h
16621         * sysdeps/generic/netinet/in_systm.h
16622         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16623         * sysdeps/gnu/netinet/udp.h
16624         * sysdeps/unix/sysv/linux/net/ethernet.h
16625         * sysdeps/unix/sysv/linux/net/if_arp.h
16626         * sysdeps/unix/sysv/linux/net/if_ppp.h
16627         * sysdeps/unix/sysv/linux/net/if_shaper.h
16628         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16629         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16630         * sysdeps/unix/sysv/linux/netipx/ipx.h
16631         * sysdeps/unix/sysv/linux/sys/acct.h
16632         Include stdint.h for uintNN_t definitions.
16633         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16635 2016-09-23  Zack Weinberg  <zackw@panix.com>
16637         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16638         * sysdeps/unix/sysv/linux/netrose/rose.h:
16639         Include sys/socket.h and netax25/ax25.h.
16641         * inet/netinet/icmp6.h, inet/netinet/ip6.h
16642         * resolv/arpa/nameser_compat.h:
16643         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16645         * sysdeps/unix/sysv/linux/sys/quota.h:
16646         Use __caddr_t instead of caddr_t.
16647         * sysdeps/unix/sysv/linux/sys/timerfd.h:
16648         Use __clockid_t instead of clockid_t.
16650         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16652         * argp/argp.h: Check whether _LIBC is defined before expanding it.
16653         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16654         expanding it.
16656         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16657         Define __glibc_c99_flexarr_available to 1 when the compiler
16658         supports C99-compatible flexible array members, 0 otherwise.
16659         * sysdeps/unix/sysv/linux/bits/socket.h
16660         * sysdeps/mach/hurd/bits/socket.h
16661         * bits/socket.h: Use __glibc_c99_flexarr_available in
16662         definitions of struct cmsghdr and CMSG_DATA.
16664 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16666         * manual/nss.texi (NSS Modules Interface): Adjust function return
16667         type to enum nss_status.  Document errnop argument.  Clarify
16668         h_errnop semantics.  Fix cross-reference formatting.
16669         (NSS Module Function Internals): Mention that *errnop needs to be
16670         set on failure, but not to zero.
16672 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16674         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16675         (get_random_name): New functions.
16676         (check_wrapper_flags_mode): Use linkat to give the new file a name
16677         determined by get_random_name.
16678         (do_test): Add calls to test open64 and openat64.
16680 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16682         * test-skeleton.c: Remove #include <stdarg.h>.
16684 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
16686         [BZ #19826]
16687         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16688         initialization of static TLS entries.
16689         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16690         * nptl/allocatestack.c (init_one_static_tls): Likewise.
16692 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16694         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16695         _hurd_malloc_fork_prepare.
16696         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16697         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16698         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16699         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16700         (_hurd_fork_child_hook): Drop malloc_fork_child.
16701         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16702         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16703         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16704         after locking locks (notably hurd_dtable_lock). Call
16705         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16706         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16707         __malloc_fork_unlock_child.
16708         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16710 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
16712         * soft-fp/extendhftf2.c: New.
16713         * soft-fp/fixhfti.c: Likewise.
16714         * soft-fp/fixunshfti.c: Likewise.
16715         * soft-fp/floattihf.c: Likewise.
16716         * soft-fp/floatuntihf.c: Likewise.
16717         * soft-fp/half.h: Likewise.
16718         * soft-fp/trunctfhf2.c: Likewise.
16720 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
16722         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16723         macro.
16724         * math/libm-test.inc (issubnormal_test_data): New array.
16725         (issubnormal_test): New function.
16726         * manual/arith.texi (Floating Point Classes): Document
16727         issubnormal.
16728         * manual/libm-err-tab.pl: Update comment on interfaces without
16729         ulps tabulated.
16731         * sysdeps/generic/stdint.h: Define
16732         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16733         <bits/libc-header-start.h> instead of including <features.h>.
16734         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16735         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16736         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16737         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16738         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16739         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16740         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16741         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16742         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16743         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16744         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16745         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16746         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16748         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16751         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16752         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16753         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16754         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16755         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16756         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16757         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16758         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16759         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16760         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16761         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16762         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16763         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16764         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16765         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16766         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16767         * manual/arith.texi (Integers): Document these macros for types
16768         specified by width properties.
16769         * manual/lang.texi (Width of Type): Document these macros for
16770         other standard typedefs.
16771         * stdlib/tst-width-stdint.c: New file.
16772         * stdlib/Makefile (tests): Add tst-width-stdint.
16774 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16776         [BZ #20016]
16777         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16778         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16779         Move ...
16780         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16781         ... here, as compatibility symbols in a new file.
16782         * resolv/Makefile (libresolv-routines): Add compat-hooks.
16783         * resolv/res_init.c (__res_vinit): Adjust member names.
16784         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16785         * resolv/resolv.h (res_sendhookact, res_send_qhook)
16786         (res_send_rhook): Remove.
16787         (struct __res_state): Rename qhook, rhook members.
16789 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16791         malloc: Use __libc_lock wrappers.
16792         * malloc/arena.c (list_lock, free_list_lock): Define using
16793         __libc_lock_define_initialized.
16794         (arena_lock): Adjust formatting.
16795         * malloc/malloc.c (struct malloc_state): Define mutex using
16796         __libc_lock_define.
16797         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16798         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16799         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16800         (mutex_unlock, mutex_trylock): Remove.
16801         (__pthread_initialize): Remove unused macro.
16802         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16803         (mutex_unlock, mutex_trylock): Remove.
16805 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16807         [BZ #20592]
16808         Remove RR type classification macros.
16809         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16810         (ns_t_udp_p, ns_t_xfr_p): Remove.
16812 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16814         Remove misleading version information.
16815         * resolv/arpa/nameser.h (__NAMESER): Remove.
16816         * resolv/arpa/nameser_compat.h (__BIND): Remove.
16818 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16820         Remove the always-defined BIND_4_COMPAT macro.
16821         * resolv/arpa/nameser.h: Unconditionally include
16822         <arpa/nameser_compat.h>.
16823         (BIND_4_COMPAT): Remove.
16824         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16826 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16828         [BZ #20591]
16829         Remove obsolete DNSSEC support.
16830         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16831         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16832         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16833         (ns_verify_tcp, ns_verify_tcp_init): Remove.
16834         (ns_cert_types): Add comment.
16835         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16836         separately.
16837         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16838         (dst_s_dns_key_id): Remove.
16839         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16840         variables.
16842 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16844         [BZ #20524]
16845         * manual/string.texi (String/Array Comparison): Clarify the
16846         strverscmp behavior.
16848 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16850         * test-skeleton.c (xasprintf): Add function.
16851         * io/tst-open-tmpfile.c: New test.
16852         * io/Makefile (tests): Add it.
16854 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16856         Avoid running $(CXX) during build to obtain header file paths.
16857         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16858         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16859         * Makerules (cstdlib, cmath): Remove variables.  Use
16860         $(c++-cstdlib-header), $(c++-cmath-header) instead.
16861         * configure: Regenerate.
16863 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16865         * Makeconfig (all-object-suffixes): Include .op only if
16866         $(build-profile).
16868 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16870         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16871         conditionals.  Do not define PATH_MAX.
16873 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16875         * posix/Makefile (tests): Add tst-spawn3.
16876         * posix/tst-spawn3.c: New file.
16877         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16878         if it is already opened for open action.
16880         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16881         all signals when executing the clone vfork child.
16882         (SIGALL_SET): Remove macro.
16884         * nptl/Makefile (tests): Add tst-exec5.
16885         * nptl/tst-exec5.c: New file.
16886         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16887         asynchronous cancellation.
16889 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16891         * hurd/exc2signal.c: #include <hurd/signal.h>
16892         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16893         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
16894         accordingly.
16895         * mach/mach_error.c (mach_error): Fix old-style function definition.
16896         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16898 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16900         * math/Makefile (libm-calls): Remove s_nanF.
16901         (gen-libm-calls): Add s_nanF.
16903         * math/s_nan.c: Refactor into ...
16904         * math/s_nan_template.c: New file.
16906         * math/s_nanf.c: Removed.
16907         * math/s_nanl.c: Removed.
16908         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16909         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16911         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16912         (LDOUBLE_nanl_libm_version): New macro.
16914         * sysdeps/generic/math-type-macros-double.h:
16915         (M_STRTO_NAN): New macro.
16916         * sysdeps/generic/math-type-macros-float.h: Likewise.
16917         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16919         * sysdeps/generic/math-type-macros.h: Document
16920         M_STRTO_NAN.
16922 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16924         * math/s_nanf.c: Remove __nanf undef.
16925         * math/s_nan.c: Remove __nan undef.
16926         * math/s_nanl.c: Remove __nanl undef.
16928         * sysdeps/generic/math_private.h (__nan): Remove macro
16929         override.
16930         (__nanf): Likewise.
16931         (__nanl): Likewise.
16933 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16935         * math/Makefile (gen-all-calls): New variable.
16936         (generated): Replace gen-libm-calls with gen-all-calls.
16937         (gen-libm-templates.stmp): Likewise.  Also, ensure
16938         the output directory exists or is created and add
16939         dependency on the Makefile.
16940         (calls): Move s_ldexpF into gen-calls.
16941         (gen-calls): New variable.
16943         * math/s_ldexpf.c: Removed.
16944         * math/s_ldexpl.c: Removed.
16945         * math/s_ldexp.c: Refactored into ...
16946         * math/s_ldexp_template.c: New file.
16948         * sysdeps/generic/math-type-macros-double.h: Remove
16949         redundant fall-through definition of declare_mgen_alias.
16950         (declare_mgen_alias_2): New macro.
16952         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16953         New macro for function aliased to two exported symbols.
16955         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16956         new template file.
16957         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16959 2016-09-20  Florian Weimer  <fweimer@redhat.com>
16961         * Makeconfig (all-object-suffixes): Remove .og.
16962         * Makerules (elide-routines.og): Remove.
16963         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
16964         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
16965         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
16967 2016-09-20  Florian Weimer  <fweimer@redhat.com>
16969         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
16970         .os objects.
16972 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16974         [BZ #20615]
16975         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
16976         fpu directory by non-fpu.
16977         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
16978         on non-fpu directory from a fpu directory.
16980 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
16982         * include/limits.h: Define
16983         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16984         <bits/libc-header-start.h> instead of including <features.h>.
16985         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
16986         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
16987         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
16988         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
16989         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
16990         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
16991         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
16992         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
16993         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16994         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
16995         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
16996         * manual/lang.texi (Width of Type): Document these macros.
16997         * stdlib/tst-width.c: New file.
16998         * stdlib/Makefile (tests): Add tst-width.
17000 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17002         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
17003         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
17005 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17007         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
17008         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17009         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17011 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17013         [BZ #18243]
17014         * rt/Makefile (test): Add tst-shm-cancel.
17015         * rt/tst-shm-cancel.c: New file.
17016         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
17018         [BZ #18243]
17019         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
17020         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
17021         definition.
17022         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
17023         uncontended case.
17024         * nptl/sem_wait.c (__new_sem_wait): Likewise.
17025         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
17026         (tf): Fix check for uncontended case.
17027         (do_test): Likewise.
17028         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
17029         (tf): Fix check for uncontended case.
17030         (do_test): Likewise.
17031         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
17032         (tf): Fix check for uncontended case.
17033         (do_test): Likewise.
17034         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
17035         (tf): Fix check for uncontended case.
17036         (do_test): Likewise.
17038         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
17039         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
17041         [BZ #15765]
17042         * nptl/Makefile (tests): Add tst-sem16.
17043         * nptl/tst-sem16.c: New file.
17044         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
17046         * nptl/sem_open.c (sem_open): Init pad value to 0.
17047         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17048         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17050 2016-09-15  Florian Weimer  <fweimer@redhat.com>
17052         [BZ #20611]
17053         * inet/Makefile (routines): Add inet6_scopeid_pton.
17054         (tests): Add tst-inet6_scopeid_pton.
17055         * inet/inet6_scopeid_pton.c: New file.
17056         * inet/net-internal.h: Likewise.
17057         * inet/tst-inet6_scopeid_pton.c: New test.
17058         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
17059         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
17060         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17062 2016-09-14  Florian Weimer  <fweimer@redhat.com>
17064         Remove support for compiling wrappers with PTW.
17065         * sysdeps/nptl/Makeconfig: Drop ptw- support.
17066         * nptl/Makefile (pthread-compat-wrappers): Define.
17067         (libpthread-routines): Use pthread-compat-wrappers.
17068         * sysdeps/unix/sysv/linux/alpha/Makefile
17069         (libpthread-routines, libpthread-shared-only-routines): Remove
17070         ptw- prefix.
17071         * sysdeps/s390/nptl/Makefile
17072         (libpthread-routines, libpthread-shared-only-routines): Likewise.
17073         * sysdeps/ia64/nptl/Makefile
17074         (libpthread-routines, libpthread-shared-only-routines): Likewise.
17075         * sysdeps/nacl/Makefile (libpthread-routines): Use
17076         pthread-compat-wrappers to filter the routines list instead of the
17077         ptw- prefix.
17079 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17081         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
17082         with L() and remove explicit suffix, convert real literals
17083         which can be equivalentally substituted with integers, and
17084         transform -L(x) to L(-x).
17086         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17087         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17088         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17089         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17090         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17091         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17092         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17093         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17094         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17095         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17096         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17097         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17098         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17099         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17100         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17101         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17102         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17103         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17104         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17105         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17106         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17107         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17108         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17109         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17110         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17111         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17112         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17113         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17114         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17115         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17116         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17117         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17118         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17119         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17120         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17121         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17122         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17123         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17124         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17125         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17126         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17127         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17128         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17129         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17130         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17131         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17132         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17133         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17134         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17135         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17137 2016-09-13  Florian Weimer  <fweimer@redhat.com>
17139         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17141 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17143         * malloc/Makefile (tests): Remove individual static test names
17144         and just add all of tests-static.
17146         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17148 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
17150         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17151         file.
17153         * sysdeps/sparc/fpu/fegetmode.c: New file.
17154         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17156         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17157         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17159         * sysdeps/s390/fpu/fegetmode.c: New file.
17160         * sysdeps/s390/fpu/fesetmode.c: Likewise.
17162         * sysdeps/powerpc/fpu/fegetmode.c: New file.
17163         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17164         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17165         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17166         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17167         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17169         * sysdeps/mips/fpu/fegetmode.c: New file.
17170         * sysdeps/mips/fpu/fesetmode.c: Likewise.
17172         * sysdeps/m68k/fpu/fegetmode.c: New file.
17173         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17175         * sysdeps/ia64/fpu/fegetmode.c: New file.
17176         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17178         * sysdeps/hppa/fpu/fegetmode.c: New file.
17179         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17181         * sysdeps/arm/fegetmode.c: New file.
17182         * sysdeps/arm/fesetmode.c: Likewise.
17184         * sysdeps/alpha/fpu/fegetmode.c: New file.
17185         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17187         * sysdeps/aarch64/fpu/fegetmode.c: New file.
17188         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17190         * math/fegetmode.c: New file.
17191         * math/fesetmode.c: Likewise.
17192         * sysdeps/i386/fpu/fegetmode.c: Likewise.
17193         * sysdeps/i386/fpu/fesetmode.c: Likewise.
17194         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17195         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17196         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17197         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17198         declaration.
17199         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17200         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17201         typedef.
17202         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17203         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17204         (femode_t): New typedef.
17205         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17206         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17207         (femode_t): New typedef.
17208         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17209         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17210         (femode_t): New typedef.
17211         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17212         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17213         (femode_t): New typedef.
17214         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17215         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17216         (femode_t): New typedef.
17217         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17218         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17219         (femode_t): New typedef.
17220         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17221         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17222         (femode_t): New typedef.
17223         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17224         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17225         (femode_t): New typedef.
17226         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17227         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17228         (femode_t): New typedef.
17229         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17230         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17231         (femode_t): New typedef.
17232         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17233         declaration.
17234         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17235         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17236         (femode_t): New typedef.
17237         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17238         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17239         (femode_t): New typedef.
17240         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17241         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17242         (femode_t): New typedef.
17243         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17244         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17245         (femode_t): New typedef.
17246         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17247         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17248         (femode_t): New typedef.
17249         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17250         * manual/arith.texi (FE_DFL_MODE): Document macro.
17251         (fegetmode): Document function.
17252         (fesetmode): Likewise.
17253         * math/Versions (fegetmode): New libm symbol at version
17254         GLIBC_2.25.
17255         (fesetmode): Likewise.
17256         * math/Makefile (libm-support): Add fegetmode and fesetmode.
17257         (tests): Add test-femode and test-femode-traps.
17258         * math/test-femode-traps.c: New file.
17259         * math/test-femode.c: Likewise.
17260         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17261         alias for __fe_dfl_env.
17262         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17263         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17264         (__fe_dfl_mode): Likewise.
17265         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17266         version GLIBC_2.25.
17267         * sysdeps/nacl/libm.abilist: Update.
17268         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17269         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17270         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17271         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17272         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17273         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17274         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17275         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17276         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17277         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17278         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17279         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17281         Likewise.
17282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17283         Likewise.
17284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17285         Likewise.
17286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17287         Likewise.
17288         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17289         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17290         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17291         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17292         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17294         Likewise.
17295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17296         Likewise.
17297         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17298         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17299         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17301 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17303         [BZ #20495]
17304         [BZ #20508]
17305         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17306         processors, set Use_dl_runtime_resolve_slow and set
17307         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17308         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17309         New.
17310         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17311         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17312         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17313         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17314         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17315         if Use_dl_runtime_resolve_opt is set.  Use
17316         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17317         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17318         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
17319         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17320         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17321         New.
17322         (_dl_runtime_resolve_opt): Likewise.
17323         (_dl_runtime_profile): Define only if _dl_runtime_profile is
17324         defined.
17326 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17328         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17329         __libc_memalign with "+ RELA R_390_GLOB_DAT".
17331 2016-09-06  Florian Weimer  <fweimer@redhat.com>
17333         Convert malloc to __libc_lock.  Automated part, using this Perl
17334         s/// command:
17335           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17336             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17337         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17338         conversion.
17340 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
17342         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17343         (linknamespace-symlists-tests): Likewise.
17344         (linknamespace-header-tests): Likewise.
17346 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
17348         [BZ #19810]
17349         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17350         * elf/tst-noload.c: New test case.
17351         * elf/Makefile (tests): Add tst-noload.
17353 2016-09-02  Roland McGrath  <roland@hack.frob.com>
17355         * sysdeps/nacl/dup.c: Add libc_hidden_def.
17357         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17358         not any more.
17360         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17362 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17364         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17365         (do_cos_slow): Likewise.
17366         (do_sin): Likewise.
17367         (do_sin_slow): Likewise.
17368         (slow): Likewise.
17369         (slow1): Likewise.
17370         (slow2): Likewise.
17371         (sloww): Likewise.
17372         (sloww1): Likewise.
17373         (sloww2): Likewise.
17374         (bsloww): Likewise.
17375         (bsloww1): Likewise.
17376         (bsloww2): Likewise.
17377         (cslow2): Likewise.
17379         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17381         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17382         arguments.  Consolidate input partitioning from callers here.
17383         (do_cos_slow): Likewise.
17384         (do_sin): Likewise.
17385         (do_sin_slow): Likewise.
17386         (do_sincos_1): Remove the no longer necessary input partitioning.
17387         (do_sincos_2): Likewise.
17388         (__sin): Likewise.
17389         (__cos): Likewise.
17390         (slow1): Likewise.
17391         (slow2): Likewise.
17392         (sloww1): Likewise.
17393         (sloww2): Likewise.
17394         (bsloww1): Likewise.
17395         (bsloww2): Likewise.
17396         (cslow2): Likewise.
17398 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17400         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17401         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
17402         outside of allocated array.
17404 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17406         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17407         instead of MB_CUR_MAX to avoid variable-length array.
17409 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17411         * math/Makefile (libm-calls): Remove k_rem_pio2F.
17412         (type-double-routines): Add k_rem_pio2.
17413         (type-float-routines): Add k_rem_pio2f.
17415         * sysdeps/generic/math_private.h:
17416         (__kernel_rem_pio2l): Removed.
17418         * math/k_rem_pio2l.c: Removed.
17419         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17420         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17421         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17422         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17424 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17426         * math/Makefile (gen-libm-calls): Add s_fmin
17427         (libm-calls): Remove above.
17429         * math/s_fmin.c: Refactor into ...
17430         * math/s_fmin_template.c: New file.
17432         * math/s_fminf.c: Removed.
17433         * math/s_fminl.c: Removed.
17434         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17435         (LDOUBLE_fmin_libm_version): New macro.
17437         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17438         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17440 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17442         * math/Makefile: (gen-libm-calls): Add s_fmax.
17443         (libm-calls): Remove above.
17445         * math/s_fmax.c: Refactor into ...
17446         * math/s_fmax_template.c: New file.
17447         * math/s_fmaxf.c: Removed.
17448         * math/s_fmaxl.c: Removed.
17450         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17451         (LDOUBLE_fmaxl_libm_version): New macro.
17453         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17454         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17456         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17457         s_fmin.c to pick the aarch64 version of the file.
17458         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17459         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17461 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17463         * math/Makefile: (gen-libm-calls): Add s_nextdown.
17464         (libm-calls): Remove above.
17466         * math/s_nextdown.c: Refactor into ...
17467         * math/s_nextdown_template.c: New file.
17468         * math/s_nextdownf.c: Removed.
17469         * math/s_nextdownl.c: Removed.
17471         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17473 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17475         * math/Makefile (gen-libm-calls): Add s_fdim.
17476         (libm-calls): Move to above.
17478         * math/s_fdim.c: Renamed and refactored into to ...
17479         * math/s_fdim_template.c: New file.
17480         * math/s_fdiml.c: Removed.
17481         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17482         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17484         * sysdeps/generic/math-type-macros-double.h:
17485         (declare_mgen_alias): Don't declare if already declared.
17486         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17487         Likewise.
17489         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17490         (declare_mgen_alias): Don't declare if already declared.
17491         (M_LIBM_NEED_COMPAT): Likewise.
17492         (declare_mgen_libm_compat): Likewise.
17493         (LDOUBLE_fdiml_libm_version): New macro.
17495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17496         Include math/s_fdim.c now that ldbl-opt version is not needed.
17497         (declare_mgen_alias): New macro to disable aliasing.
17499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17500         (declare_mgen_alias): Likewise.
17501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17502         (declare_mgen_alias): Likewise.
17503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17504         (declare_mgen_alias): Likewise.
17505         (M_LIBM_NEED_COMPAT): Likewise.
17507 2016-09-01  Florian Weimer  <fweimer@redhat.com>
17509         [BZ #20525]
17510         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17511         Include <linux/quota.h>.
17512         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17513         and btodb.
17514         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17515         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17516         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17517         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17518         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17519         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17520         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17521         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17522         types.
17523         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17524         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17526 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17528         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17529         (gammal_positive): Fix spacing.
17530         (__ieee754_gammal_r): Likewise.
17532 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17534         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17535         (_Float128): Define as long double, always.
17536         (L): Apply long double type suffix, always.
17538         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17539         _Float128, excepting comments.
17541         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17542         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17543         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17544         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17545         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17546         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17547         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17548         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17549         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17550         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17551         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17552         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17553         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17554         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17555         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17556         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17557         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17558         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17559         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17560         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17561         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17562         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17563         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17564         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17565         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17566         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17567         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17568         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17569         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17570         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17571         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17572         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17573         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17574         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17575         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17576         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17577         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17578         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17579         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17580         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17581         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17582         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17583         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17584         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17585         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17586         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17587         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17588         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17589         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17590         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17591         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17592         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17593         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17594         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17595         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17596         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17597         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17598         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17599         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17600         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17601         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17602         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17603         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17604         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17605         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17606         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17607         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17608         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17610         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17611         _Float128, and include math_private.h.
17612         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17614         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17615         long double semantics.
17616         (_Float128): Likewise.
17617         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17618         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17619         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17620         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17622 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17624         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17625         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17626         * sysdeps/s390/configure: Regenerated.
17627         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17628         instruction for raising over-/underflow if z196 zarch is supported
17629         by default.
17630         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17632 2016-08-30  Svante Signell  <svante.signell@gmail.com>
17634         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17635         it point to a dumb buffer for RPC to fill it.
17637 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17639         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17640         instead of if/else.
17641         (do_sin_slow): Likewise.
17642         (do_sincos_1): Use fabs instead of if/else.
17643         (do_sincos_2): Likewise.
17644         (__sin): Likewise.
17645         (__cos): Likewise.
17646         (slow2): Likewise.
17647         (sloww): Likewise.
17648         (sloww1): Likewise.  Drop argument M.
17649         (sloww2): Use fabs instead of if/else.
17650         (bsloww): Likewise.
17651         (bsloww1): Likewise.
17652         (bsloww2): Likewise.
17654         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17655         fall through comment.
17656         (do_sincos_1): Likewise.
17658         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17659         Consolidate switch cases 0 and 2.
17661 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17663         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17664         (libm-calls): Remove the above.
17666         * math/s_cexp_template.c: Update using type-generic macros.
17667         * math/s_clog10_template.c: Likewise.
17668         * math/s_cpow_template.c: Likewise.
17669         * math/s_clog_template.c: Likewise.
17670         * math/s_cproj_template.c: Likewise.
17671         * math/s_csqrt_template.c: Likewise.
17673         * math/s_cexp.c: Removed.
17674         * math/s_cexpf.c: Removed.
17675         * math/s_cexpl.c: Removed.
17676         * math/s_clog10.c: Removed.
17677         * math/s_clog10f.c: Removed.
17678         * math/s_clog10l.c: Removed.
17679         * math/s_cpow.c: Removed.
17680         * math/s_cpowf.c: Removed.
17681         * math/s_cpowl.c: Removed.
17682         * math/s_clog.c: Removed.
17683         * math/s_clogf.c: Removed.
17684         * math/s_clogl.c: Removed.
17685         * math/s_cproj.c: Removed.
17686         * math/s_cprojf.c: Removed.
17687         * math/s_cprojl.c: Removed.
17688         * math/s_csqrt.c: Removed.
17689         * math/s_csqrtf.c: Removed.
17690         * math/s_csqrtl.c: Removed.
17692         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17693         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17694         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17695         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17696         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17697         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17699         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17700         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17701         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17702         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17703         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17704         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17705         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17706         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17707         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17708         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17709         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17711         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17712         version.
17714         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17715         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17716         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17717         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17719 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17721         * s_cexp_template.c: Copy of s_cexp.c.
17722         * s_clog_template.c: Copy of s_clog.c.
17723         * s_clog10_template.c: Copy of s_clog10.c.
17724         * s_cpow_template.c: Copy of s_cpow.c.
17725         * s_cproj_template.c: Copy of s_cproj.c.
17726         * s_csqrt_template.c: Copy of s_csqrt.c.
17728 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17730         [BZ #20517]
17731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17732         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17733         exported.
17735 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
17737         * math/fetestexceptflag.c: New file.
17738         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
17739         Stefan Liebler.
17740         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17741         (fetestexceptflag): New function declaration.
17742         * manual/arith.texi (fetestexceptflag): Document function.
17743         * math/Versions (fetestexceptflag): New libm symbol at version
17744         GLIBC_2.25.
17745         * math/Makefile (libm-support): Add fetestexceptflag.
17746         (tests): Add test-fetestexceptflag.
17747         * math/test-fetestexceptflag.c: New file.
17748         * sysdeps/nacl/libm.abilist: Update.
17749         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17750         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17751         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17752         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17753         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17754         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17755         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17756         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17757         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17758         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17759         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17760         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17762         Likewise.
17763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17764         Likewise.
17765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17766         Likewise.
17767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17768         Likewise.
17769         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17770         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17771         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17772         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17773         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17775         Likewise.
17776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17777         Likewise.
17778         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17779         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17780         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17782 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17784         [BZ #20432]
17785         Avoid strong references to malloc-internal symbols when linking
17786         statically, to support statically interposed mallocs.
17787         * include/libc-symbols.h (call_function_static_weak): New macro.
17788         * malloc/Makefile (tests): Add tst-interpose-nothread,
17789         tst-interpose-thread, tst-interpose-static-nothread,
17790         tst-interpose-static-thread.
17791         (tests-static): Add tst-interpose-static-nothread,
17792         tst-interpose-static-thread.
17793         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17794         tst-interpose-aux-thread.o.
17795         (test-extras): Add tst-interpose-aux-nothread,
17796         tst-interpose-aux-thread.
17797         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17798         tst-interpose-aux-nothread.o.
17799         (tst-interpose-thread, tst-interpose-static-thread): Link with
17800         tst-interpose-aux-thread.o and libthread.
17801         * malloc/tst-interpose-aux-nothread.c: New file.
17802         * malloc/tst-interpose-aux-thread.c: Likewise.
17803         * malloc/tst-interpose-aux.c: Likewise.
17804         * malloc/tst-interpose-aux.h: Likewise.
17805         * malloc/tst-interpose-nothread.c: Likewise.
17806         * malloc/tst-interpose-skeleton.c: Likewise.
17807         * malloc/tst-interpose-static-nothread.c: Likewise.
17808         * malloc/tst-interpose-static-thread.c: Likewise.
17809         * malloc/tst-interpose-thread.c: Likewise.
17810         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17811         * sysdeps/mach/hurd/fork.c (__fork): Only call
17812         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17813         __malloc_fork_unlock_child if defined.
17814         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17816 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17818         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17819         timespec C99 designated initialization.
17821 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17823         [BZ #19946]
17824         Avoid expected SIGALRM signals.
17825         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17826         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17827         (xpthread_create, xpthread_detach, xpthread_join)
17828         (delayed_exit_thread, delayed_exit): New functions.
17829         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17830         (tf): Use xpthread_cond_wait.
17831         (do_test): Likewise.  Replace alarm with delayed_exit.
17832         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17833         (do_test): Call delayed_exit.  Report failure.
17834         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17835         (do_test): Call delayed_exit.
17836         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17837         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
17838         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17839         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
17840         error.
17841         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17842         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
17843         error.
17844         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17845         (do_test): Call delayed_exit.
17846         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17847         (do_test): Call delayed_exit.
17848         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17849         (do_test): Call delayed_exit instead of alarm.  Use
17850         xpthread_mutex_lock.
17851         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17852         (do_test): Call delayed_exit instead of alarm.  Use
17853         xpthread_mutex_lock.
17854         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17855         (do_test): Call delayed_exit instead of alarm.
17856         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17857         (do_test): Call delayed_exit instead of alarm.  Use
17858         xpthread_spin_lock.
17859         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17860         (do_test): Call delayed_exit instead of alarm.  Use
17861         xpthread_join.
17863 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17865         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17866         adjust CFA when allocating register save area on re-aligned
17867         stack.
17869 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17871         * string/tst-cmp.c: New test.
17872         * string/Makefile (tests): Add it.
17874 2016-08-25  Mark Wielaard  <mark@klomp.org>
17876         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17877         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
17878         (check_tree_recurse): Use newly defined accessors.
17879         (check_tree): Likewise.
17880         (maybe_split_for_insert): Likewise.
17881         (__tfind): Likewise.
17882         (__tdelete): Likewise.
17883         (trecurse): Likewise.
17884         (tdestroy_recurse): Likewise.
17885         (__tsearch): Likewise. And add asserts for malloc alignment.
17886         (__twalk): Cast root to node in case CHECK_TREE is defined.
17888 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17890         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17892 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17894         * math/Makefile (libm-gen-calls): Add
17895         catan, catanh, ctan, ctanh.
17896         (libm-calls): Remove the above.
17898         * math/s_catan_template.c: Update using type-generic macros.
17899         * math/s_catanh_template.c: Likewise.
17900         * math/s_ctan_template.c: Likewise.
17901         * math/s_ctanh_template.c: Likewise.
17903         * math/s_catanf.c: Removed.
17904         * math/s_catan.c: Removed.
17905         * math/s_catanl.c: Removed.
17906         * math/s_catanhf.c: Removed.
17907         * math/s_catanh.c: Removed.
17908         * math/s_catanhl.c: Removed.
17909         * math/s_ctanf.c: Removed.
17910         * math/s_ctan.c: Removed.
17911         * math/s_ctanl.c: Removed.
17912         * math/s_ctanhf.c: Removed.
17913         * math/s_ctanh.c: Removed.
17914         * math/s_ctanhl.c: Removed.
17916         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17917         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17918         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17919         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17920         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17921         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17923         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17924         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17925         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17926         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17928 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17930         * s_catan_template.c: Copy of s_catan.c.
17931         * s_catanh_template.c: Copy of s_catanh.c.
17932         * s_ctan_template.c: Copy of s_ctan.c.
17933         * s_ctanh_template.c: Copy of s_ctanh.c.
17935 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17937         * math/Makefile (gen-libm-calls): Move
17938         casin, casinh, csin, csinh here.
17939         (libm-calls): Remove the above.
17941         * math/s_casin_template.c: Update using type-generic macros.
17942         * math/s_casinh_template.c: Likewise.
17943         * math/s_csin_template.c: Likewise.
17944         * math/s_csinh_template.c: Likewise.
17945         * math/k_casinh_template.c: Likewise.
17947         * math/s_casinf.c: Removed.
17948         * math/s_casin.c: Removed.
17949         * math/s_casinl.c: Removed.
17950         * math/s_casinh.c: Removed.
17951         * math/s_casinhf.c: Removed.
17952         * math/s_casinhl.c: Removed.
17953         * math/s_csin.c: Removed.
17954         * math/s_csinf.c: Removed.
17955         * math/s_csinl.c: Removed.
17956         * math/s_csinh.c: Removed.
17957         * math/s_csinhf.c: Removed.
17958         * math/s_csinhl.c: Removed.
17959         * math/k_casinh.c: Removed.
17960         * math/k_casinhf.c: Removed.
17961         * math/k_casinhl.c: Removed.
17963         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
17964         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17965         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17966         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17968         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
17969         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
17970         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
17971         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
17972         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
17973         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
17974         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
17975         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
17977         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
17978         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
17979         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
17980         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
17982         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
17983         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
17984         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
17985         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
17987 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17989         * s_casin_template.c: Copy of s_casin.c.
17990         * s_casinh_template.c: Copy of s_casinh.c.
17991         * s_csin_template.c: Copy of s_csin.c.
17992         * s_csinh_template.c: Copy of s_csinh.c.
17993         * k_casinh_template.c: Copy of k_casinh.c.
17995 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17997         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
17999 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18001         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
18002         (mul_split) Remove, rename as mul_splitl, remove
18003         redundant float.h include, and include via mul_splitl.h
18005         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18006         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18007         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18008         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18009         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18011         * math/mul_splitl.h: New file.
18013         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
18014         Move into mul_split.h, and remove redundant float.h include.
18016         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18017         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
18018         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18019         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
18021         * math/mul_split.h: New file.
18023 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18025         * math/Makefile (libm-gen-calls): Move
18026         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
18027         (libm-calls): Remove above.
18029         * math/s_cacos_template.c: Update using type-generic macros.
18030         * math/s_cacosh_template.c: Likewise.
18031         * math/s_ccos_template.c: Likewise.
18032         * math/s_ccosh_template.c: Likewise.
18034         * math/s_cacosf.c: Removed.
18035         * math/s_cacos.c: Removed.
18036         * math/s_cacosl.c: Removed.
18037         * math/s_cacoshf.c: Removed.
18038         * math/s_cacosh.c: Removed.
18039         * math/s_cacoshl.c: Removed.
18040         * math/s_ccosf.c: Removed.
18041         * math/s_ccos.c: Removed.
18042         * math/s_ccosl.c: Removed.
18043         * math/s_ccoshf.c: Removed.
18044         * math/s_ccosh.c: Removed.
18045         * math/s_ccoshl.c: Removed.
18047         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
18048         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
18049         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
18050         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
18051         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
18052         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
18054         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
18055         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
18056         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
18057         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
18059         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
18060         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18061         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18062         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18064 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18066         * s_cacos_template.c: Copy of s_cacos.c.
18067         * s_cacosh_template.c: Copy of s_cacosh.c.
18068         * s_ccos_template.c: Copy of s_ccos.c.
18069         * s_ccosh_template.c: Copy of s_ccosh.c.
18071 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18073         * stdlib/tst-strtod-round-skeleton.c:
18074         Refactored from tst-strtod-round.c.
18076         (L_): New macro to apply literal modifier.
18077         (FNPFX): New macro to select str or wcs prefix.
18078         (CHAR): New macro to choose wchar_t or char.
18079         (STRM): New macro to choose printf for tested character type.
18081         (STRTO): New macro to choose appropriate string -> real function.
18082         (FNPFXS): Stringitized version of FNPFX.
18083         (STR): Support for above macro.
18084         (STRX): Likewise.
18086         (TEST): Update with above macros.
18087         (test): Likewise.
18088         (GEN_ONE_TEST): Likewise.
18089         (test_in_one_mode): Likewise.
18091         * stdlib/tst-strtod-round.c: New file.
18092         * wcsmbs/tst-wcstod-round.c: New file.
18094         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
18095         (tst-wcstod-round): Add libm depencency for fesetround.
18097 2016-08-19  Zack Weinberg  <zackw@panix.com>
18099         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
18101 2016-08-18  Torvald Riegel  <triegel@redhat.com>
18103         [BZ #20477]
18104         * resolv/res_hconf.c (do_init): Use atomic access.
18105         * resolv/res_hconf.h: Add comments.
18106         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
18107         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
18108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18110 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18112         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18113         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
18114         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18115         Likewise.
18117 2016-08-18  Florian Weimer  <fweimer@redhat.com>
18119         [BZ #16907]
18120         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18121         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18122         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18123         (__attribute__): Remove definition.
18125 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18127         * sysdeps/ieee754/ldbl-128/e_asinl.c:
18128         Remove unused sqrtl declaration.
18130 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18132         * math/Makefile: (gen-libm-templates.stmp): New rule.
18133         (libm-calls): Move carg conj cimag and cabs into ...
18134         (gen-libm-calls): New variable.
18135         (generated): Inform Make objects from gen-libm-calls
18136         may be generated.
18138         * sysdeps/generic/math-type-macros.h: New file.
18139         * sysdeps/generic/math-type-macros-float.h: Likewise.
18140         * sysdeps/generic/math-type-macros-double.h: Likewise.
18141         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18142         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18143         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18145         * math/cabs.c: Refactor into
18146         * math/cabs_template.c: new file.
18147         * math/cabsf.c: Removed.
18148         * math/cabsl.c: Removed.
18149         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18150         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18152         * math/carg.c: Refactor into
18153         * math/carg_template.c: new file.
18154         * math/cargf.c: Removed.
18155         * math/cargl.c: Removed.
18156         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18157         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18159         * math/conj.c: Refactor into
18160         * math/conj_template.c: new file.
18161         * math/conjf.c: Removed.
18162         * math/conjl.c: Removed.
18163         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18164         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18166         * math/cimag.c: Refactor into
18167         * math/cimag_template.c: new file.
18168         * math/cimagf.c: Removed.
18169         * math/cimagl.c: Removed.
18170         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18171         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18173         * math/cimag.c: Refactor into
18174         * math/cimag_template.c: new file.
18175         * math/cimagf.c: Removed.
18176         * math/cimagl.c: Removed.
18177         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18178         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18180 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18182         Reduce time to expected nptl/tst-once5 failure.
18183         * nptl/tst-once5.cc (TIMEOUT): Define.
18185 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18187         [BZ #20452]
18188         Avoid additional copies of objects in libc.a in static libraries.
18189         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18190         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18191         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18192         rt-sysdep.
18193         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18194         Add nptl-sysdep.
18195         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18196         Add ptw-sysdep.
18197         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18198         rt-sysdep.
18199         * sysdeps/unix/sysv/linux/alpha/Makefile
18200         (libpthread-shared-only-routines): Add ptw-sysdep,
18201         ptw-sigprocmask, ptw-rt_sigaction.
18202         * sysdeps/unix/sysv/linux/ia64/Makefile
18203         (librt-shared-only-routines): Add rt-sysdep.
18204         * sysdeps/unix/sysv/linux/i386/Makefile
18205         (libpthread-shared-only-routines): Add libc-do-syscall.
18206         * sysdeps/unix/sysv/linux/microblaze/Makefile
18207         (libpthread-shared-only-routines): Add sysdep.
18208         * sysdeps/unix/sysv/linux/powerpc/Makefile
18209         (librt-shared-only-routines): Add rt-sysdep.
18210         (libpthread-shared-only-routines): Add sysdep.
18211         * sysdeps/unix/sysv/linux/s390/Makefile
18212         (librt-shared-only-routines): Add rt-sysdep.
18213         * sysdeps/unix/sysv/linux/sparc/Makefile
18214         (librt-shared-only-routines): Add rt-sysdep.
18215         (libpthread-shared-only-routines): Add sysdep.
18216         * sysdeps/unix/sysv/linux/tile/Makefile
18217         (libpthread-shared-only-routines): Likewise.
18219 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
18221         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18222         Mask implicit bit out of unpacked value.
18223         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18224         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18225         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18227         * sysdeps/sparc/fpu/fesetexcept.c: New file.
18229         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18231         * sysdeps/s390/fpu/fesetexcept.c: New file.
18233         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18234         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18235         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18237         * sysdeps/mips/fpu/fesetexcept.c: New file.
18239         * sysdeps/m68k/fpu/fesetexcept.c: New file.
18241         * sysdeps/ia64/fpu/fesetexcept.c: New file.
18243         * sysdeps/hppa/fpu/fesetexcept.c: New file.
18245         * sysdeps/arm/fesetexcept.c: New file.
18247         * sysdeps/alpha/fpu/fesetexcept.c: New file.
18249         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18251         * math/fesetexcept.c: New file.
18252         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18253         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18254         * math/fenv.h: Define
18255         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18256         <bits/libc-header-start.h> instead of including <features.h>.
18257         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18258         declaration.
18259         * manual/arith.texi (fesetexcept): Document function.
18260         * math/Versions (fesetexcept): New libm symbol at version
18261         GLIBC_2.25.
18262         * math/Makefile (libm-support): Add fesetexcept.
18263         (tests): Add test-fesetexcept and test-fesetexcept-traps.
18264         * math/test-fesetexcept.c: New file.
18265         * math/test-fesetexcept-traps.c: Likewise.
18266         * sysdeps/nacl/libm.abilist: Update.
18267         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18268         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18269         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18270         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18271         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18272         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18273         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18274         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18275         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18276         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18277         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18278         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18280         Likewise.
18281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18282         Likewise.
18283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18284         Likewise.
18285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18286         Likewise.
18287         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18288         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18289         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18290         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18291         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18293         Likewise.
18294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18295         Likewise.
18296         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18297         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18298         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18300 2016-08-16  Florian Weimer  <fweimer@redhat.com>
18302         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18303         New.
18304         (do_test): Apply default_stack_size_in_mb if not set.
18305         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18307 2016-08-15  Andreas Schwab  <schwab@suse.de>
18309         [BZ #20435]
18310         CVE-2016-6323
18311         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18312         as .cantunwind.
18314 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
18316         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18317         comment from fraiseexcpt.c.
18319         * math/test-fexcept.c (feraiseexcept_exact): New function.
18320         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18321         (test_except): Likewise.
18323 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
18325         [BZ #20455]
18326         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18327         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18328         to be restored.
18330         * math/test-fexcept-traps.c: New file.
18331         * math/test-fexcept.c: Likewise.
18332         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18333         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18334         macro.
18335         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18336         (EXCEPTION_SET_FORCES_TRAP): Likewise.
18338 2016-08-09  Torvald Riegel  <triegel@redhat.com>
18340         * include/atomic.h (atomic_fetch_and_relaxed,
18341         atomic_fetch_and_release, atomic_fetch_or_release,
18342         atomic_fetch_xor_release): New.
18344 2016-08-06  Christian Seiler  <christian@iwakd.de>
18346         [BZ #20444]
18347         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18348         MACH_PORT_NULL.
18350 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18352         * math/s_fdim.c: Avoid alias renamed.
18353         * math/s_fdimf.c: Likewise.
18354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18355         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18356         Add s_fdimf-vis3, s_fdim-vis3.
18357         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18358         (CFLAGS-s_fdim-vis3.c): Likewise.
18359         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18360         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18362 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18365         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18366         Remove s_fdimf-vis3, s_fdim-vis3.
18367         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18368         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18375         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18376         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18378 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18380         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18381         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18382         -Wa,-Av9a -mvis.
18384 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18386         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18387         LIT() to individual constants in simple expressions
18388         after splitting on spaces.
18389         (_apply_lit): Rename replaced version, and use it to
18390         apply to what appears to be a token.
18392         * math/libm-test.inc: Fix many, many issues with
18393         spacing.
18395 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
18397         * math/math.h: Move comment about <bits/mathdef.h> definitions
18398         above inclusion of <bits/mathdef.h>.  Do not mention
18399         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18401 2016-08-05  Torvald Riegel  <triegel@redhat.com>
18403         * include/atomic.h (atomic_exchange_relaxed): New.
18405 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
18407         * math/e_scalb.c: Do not include <fenv.h>.
18408         (invalid_fn): Do calculation resulting in NaN instead of raising
18409         FE_INVALID and returning a NaN explicitly.
18410         * math/e_scalbf.c: Do not include <fenv.h>.
18411         (invalid_fn): Do calculation resulting in NaN instead of raising
18412         FE_INVALID and returning a NaN explicitly.
18413         * math/e_scalbl.c: Do not include <fenv.h>.
18414         (invalid_fn): Do calculation resulting in NaN instead of raising
18415         FE_INVALID and returning a NaN explicitly.
18417 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
18419         * po/de.po: Updated from Translation Project.
18420         * po/fi.po: Likewise.
18421         * po/sv.po: Likewise.
18423 2016-08-04  Florian Weimer  <fweimer@redhat.com>
18425         [BZ #20452]
18426         Use sysdep.o from libc.a in static libraries.
18427         * sysdeps/unix/sysv/linux/i386/Makefile
18428         (libpthread-shared-only-routines): Add sysdep.
18429         (librt-shared-only-routines): Likewise.
18431 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18433         * math/tgmath.h (nextdown): Define if
18434         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18435         (nextup): Likewise.
18437         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18438         macro.
18439         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18440         Document.
18441         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18442         Document macro.
18443         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18444         (exp10f): Likewise.
18445         (exp10l): Likewise.
18446         * math/bits/mathcalls.h (exp10): Declare if
18447         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18449         * manual/arith.texi (nextup): Fix typo in last change.
18451 2016-08-03  Zack Weinberg  <zackw@panix.com>
18453         [BZ #19239]
18454         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18455         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18456         define major, minor, and makedev to issue deprecation warnings on use.
18457         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18458         previously-activated deprecation warnings for these macros and prevent
18459         subsequent inclusions of this header from having any effect.
18460         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18461         including <sys/sysmacros.h>, and undefine it again afterward.
18463 2016-08-03  Zack Weinberg  <zackw@panix.com>
18465         * sysdeps/generic/sys/sysmacros.h: Delete file.
18466         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18467         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18468         * bits/sysmacros.h: ... here; this encoding is now the generic
18469         encoding.  Now defines only the following macros:
18470         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18471         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18472         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18474         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18475         bits/sysmacros.h and the above new macros to generate the
18476         public implementations of major, minor, and makedev.
18477         * misc/tst-makedev.c: New test.
18478         * include/sys/sysmacros.h: New wrapper.
18480         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18481         (routines): Add makedev.
18482         (tests): Add tst-makedev.
18483         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18484         gnu_dev_makedev.
18485         * posix/Makefile (headers): Remove sys/sysmacros.h.
18486         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18488         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18489         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18490         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18491         * sysdeps/unix/sysv/linux/alpha/libc.abilist
18492         * sysdeps/unix/sysv/linux/arm/libc.abilist
18493         * sysdeps/unix/sysv/linux/hppa/libc.abilist
18494         * sysdeps/unix/sysv/linux/i386/libc.abilist
18495         * sysdeps/unix/sysv/linux/ia64/libc.abilist
18496         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18497         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18498         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18499         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18500         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18501         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18502         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18503         * sysdeps/unix/sysv/linux/nios2/libc.abilist
18504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18508         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18509         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18510         * sysdeps/unix/sysv/linux/sh/libc.abilist
18511         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18512         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18515         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18516         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18517         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18518         Add GLIBC_2.25.
18520         * include/features.h (__glibc_clang_prereq): New macro.
18521         * misc/sys/cdefs.h (__glibc_clang_has_extension)
18522         (__attribute_deprecated_msg__): New macros.
18524 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18526         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18527         macro.
18528         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18529         * manual/arith.texi (issignaling): Document as ISO from TS
18530         18661-1:2014.
18531         (nextup): Likewise.
18532         (nextupf): Likewise.
18533         (nextupl): Likewise.
18534         (nextdown): Likewise.
18535         (nextdownf): Likewise.
18536         (nextdownl): Likewise.
18537         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18538         macro.
18539         * math/math.h: Define
18540         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18541         <bits/libc-header-start.h> instead of including <features.h>.
18542         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18543         [__USE_GNU].
18544         * math/bits/mathcalls.h (nextdown): Declare if
18545         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18546         (nextup): Likewise.
18547         (__issignaling): Likewise.
18549 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18551         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18552         check, and remove __glibc_likely hint
18553         from FP_INFINITE check.
18554         * s_csinhf.c (__csinhf): Likewise.
18556         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18557         hint from FP_INFINITE check.
18558         * s_csinhl.c (__csinhl): Likewise.
18560 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18562         * math/Makefile (libm-calls): Insert F placeholder into
18563         object names.  Move w_lgamma_compat* routines into
18564         (libm-compat-calls): New variable.
18565         (libm-compat-calls-ldouble-yes): New variable.
18566         (calls): Insert F placeholder.
18567         (generated): Redefine using new type-foreach macro call.
18568         (routines): Likewise.
18570         (types): New variable to hold a list of symbolic names
18571         for each type supported by the target machine.
18572         (libm-routines): Redefine using new types variable.
18573         (type-foreach): macro to replace fooF with the
18574         appropriately suffixed foo for each types.
18576         (type-ldouble-suffix): New variable.
18577         (type-ldouble-routines): Likewise.
18578         (type-ldouble-yes): Likewise.
18579         (type-double-suffix): Likewise.
18580         (type-double-routines): Likewise.
18581         (type-float-suffix): Likewise.
18582         (type-float-routines): Likewise.
18584         (dbl-only-routines): Remove.
18585         (long-c-yes): Likewise.
18586         (long-m-routines): Likewise.
18587         (long-m-support): Likewise.
18588         (long-m-yes): Likewise.
18589         (test-longdouble-yes): Likewise.
18591         (test-float.o): Simplify by increasing the scope of the
18592         recipe which adds libm-test.stmp to the vector types.
18593         (test-ifloat.o): Likewise.
18594         (test-float-finite.o): Likewise.
18595         (test-double.o): Likewise
18596         (test-idouble.o): Likewise.
18597         (test-double-finite.o): Likewise.
18598         (test-ldouble.o): Likewise
18599         (test-ildoubl.o): Likewise.
18600         (test-ldouble-finite.o): Likewise.
18602         (libm-tests): Redefine type tests using foreach and the
18603         list of types in types.
18605         (CPPFLAGS-test-ildoubl.c): Rename to
18606         (CPPFLAGS-test-ildouble.c): New variable
18608         * math/test-ildoubl.c: Rename to
18609         * math/test-ildouble.c: New file.
18611 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18613         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18614         Use fabsl instead of fabs.
18615         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18616         Likewise.
18617         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18618         Add long double suffix to constant to ensure proper
18619         promotion to long double.
18621 2016-08-03  Tom Tromey  <tom@tromey.com>
18623         [BZ #20311]
18624         * nptl_db/Makefile (headers): Add proc_service.h.
18625         * nptl_db/proc_service.h: Add include guard.  Use
18626         __BEGIN/__END_DECLS.
18627         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18628         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18629         arguments.
18632 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18634         [BZ #17730]
18635         Avoid using memalign for TCB allocations.
18636         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18637         (_dl_allocate_tls_storage): Use malloc and manual alignment.
18638         Avoid alignment gap in the TLS_DTV_AT_TP case.
18639         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18640         determine the pointer to free.
18641         * nptl/tst-tls3-malloc.c: New test.
18642         * nptl/Makefile (tests): Add it.
18643         (tst-tls3-malloc): Link with libdl, libpthread.
18644         (LDFLAGS-tst-tls3-malloc): Set.
18645         (tst-tls3-malloc.out): Depend on DSO used in test.
18647 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18649         [BZ #17730]
18650         Avoid using memalign for TLS allocations.
18651         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
18652         is_static member with to_free member.
18653         (union dtv): Use struct dtv_pointer.
18654         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18655         dtv_pointer instead of is_static.
18656         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18657         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18658         instead of val.
18659         (allocate_dtv_entry): New function.
18660         (allocate_and_init): Return struct dtv_pointer.  Call
18661         allocate_dtv_entry instead of __libc_memalign.
18662         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18663         instead of val.
18664         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18665         instead of is_static.  Adjust call to allocate_and_init.
18666         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18667         struct dtv_pointer instead of val.
18669 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18671         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18672         (MALLOC_ALIGN_MASK): Move ...
18673         * malloc/malloc-internal.h: ... to here.
18674         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18676 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18678         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18679         (UDP_ENCAP_GTP1U): Likewise.
18681         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18682         (PF_MAX): Update value.
18683         (AF_QIPCRTR): New macro.
18685 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18687         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18688         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18689         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18690         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18691         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18692         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18693         s_truncf-vis3, s_trunc-vis3.
18694         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18695         (CFLAGS-s_ceil-vis3.c): Likewise.
18696         (CFLAGS-s_floorf-vis3.c): Likewise.
18697         (CFLAGS-s_floor-vis3.c): Likewise.
18698         (CFLAGS-s_truncf-vis3.c): Likewise.
18699         (CFLAGS-s_trunc-vis3.c): Likewise.
18700         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18701         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18702         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18703         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18704         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18705         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18706         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18707         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18708         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18709         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18710         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18711         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18713 2016-08-02  David S. Miller  <davem@davemloft.net>
18715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18716         (__nearbyint_vis3): Don't check for sNaN before float register is
18717         loaded with the incoming argument.
18718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18719         (__nearbyintf_vis3): Likewise.
18720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18721         Likewise.
18722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18723         Likewise.
18725         * string/test-strncmp.c (do_test_limit): Make sure the test data
18726         stream is aligned as required for the type "CHAR".
18727         (do_test): Likewise.
18729 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18731         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18732         by beq instructions jumping to the end of the function.
18733         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18734         clobber list. Use "i" constraint instead of "X".
18735         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18736         of "X".
18738 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
18740         * bits/libc-header-start.h: New file.
18741         * Makefile (headers): Add bits/libc-header-start.h.
18742         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18743         (__GLIBC_USE): New macro.
18744         * libio/stdio.h: Define
18745         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18746         <bits/libc-header-start.h> instead of including <features.h>.
18747         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18748         (open_memstream): Likewise.
18749         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18750         (__asprintf): Likewise.
18751         (asprintf): Likewise.
18752         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18753         (getdelim): Likewise.
18754         (getline): Likewise.
18755         * string/string.h: Define
18756         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18757         <bits/libc-header-start.h> instead of including <features.h>.
18758         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18759         (strndup): Likewise.
18760         * wcsmbs/wchar.h: Define
18761         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18762         <bits/libc-header-start.h> instead of including <features.h>.
18763         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18764         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18766 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18768         Support linking against compatibility symbols, for use in tests.
18769         * include/libc-symbols.h (symbol_version_reference): New macro.
18770         (symbol_version): Use it.
18771         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18772         (compat_symbol): Use compat_symbol_reference.
18773         (compat_symbol_1, compat_symbol_2): Remove.
18774         (compat_symbol_reference, compat_symbol_reference_1)
18775         (compat_symbol_reference_2): New macro.  Use
18776         symbol_version_reference.
18778 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18780         [BZ #19469]
18781         * malloc/Makefile (CPPFLAGS): Compile tests with
18782         -DTEST_NO_MALLOPT.
18783         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18785 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
18787         [BZ #20033]
18788         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18789         finite version.
18790         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18791         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18792         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18793         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18794         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18795         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18796         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18797         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18798         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18799         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18800         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18801         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18802         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18803         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18804         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18805         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18806         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18807         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18808         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18809         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18810         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18811         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18812         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18813         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18814         in zero power.
18816 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18818         [BZ #20370]
18819         * malloc/arena.c (get_free_list): Update comment.  Assert that
18820         arenas on the free list have no attached threads.
18821         (remove_from_free_list): New function.
18822         (reused_arena): Call it.
18824 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
18826         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18827         when it is a NaN.
18828         [_IEEE_FP_INEXACT] Remove.
18829         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18830         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18831         when it is a NaN.
18832         [_IEEE_FP_INEXACT] Remove.
18833         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18834         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18835         when it is a NaN.
18836         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18837         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18838         when its absolute value is greater than 0x1.0p52.
18839         [_IEEE_FP_INEXACT] Remove.
18840         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18841         when its absolute value is greater than 0x1.0p23.
18842         [_IEEE_FP_INEXACT] Remove.
18844 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
18846         * version.h (RELEASE): Set to "development"
18847         (VERSION): Set to 2.24.90.
18848         * NEWS: Add 2.25 section.
18850         * version.h (RELEASE): Set to "stable"
18851         (VERSION): Set to 2.24.
18852         * include/features.h (__GLIBC_MINOR__): Set to 24.
18854         * NEWS: Add 2.24 fixed bugs.
18855         * po/libc.pot: Regenerate.
18857 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
18859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18860         [$(subdir) = math] (libm-sysdep_routines): Remove.
18861         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18862         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18863         s_truncf-vis3, s_trunc-vis3.
18864         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18866         file.
18867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18888         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18889         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18890         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18891         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18892         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18894         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18896         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18897         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18898         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18899         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18900         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18901         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18902         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18903         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18904         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18905         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18906         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18907         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18908         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18909         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18911 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
18913         [BZ #20384]
18914         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18915         test-double-libmvec-sincos-avx-main.o,
18916         test-double-libmvec-sincos-avx2-main.o,
18917         test-double-libmvec-sincos-main.o,
18918         test-float-libmvec-sincosf-avx-main.o,
18919         test-float-libmvec-sincosf-avx2-main.o and
18920         test-float-libmvec-sincosf-main.o.
18921         test-float-libmvec-sincosf-avx512-main.o.
18922         ($(objpfx)test-double-libmvec-sincos): Also link with
18923         $(objpfx)test-double-libmvec-sincos-main.o.
18924         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18925         $(objpfx)test-double-libmvec-sincos-avx-main.o.
18926         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18927         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18928         ($(objpfx)test-float-libmvec-sincosf): Also link with
18929         $(objpfx)test-float-libmvec-sincosf-main.o.
18930         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18931         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18932         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18933         test-double-libmvec-sincos-avx512-main.o and
18934         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18935         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18936         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18937         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18938         (CFLAGS-test-double-libmvec-sincos.c): Removed.
18939         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18940         (CFLAGS-test-double-libmvec-sincos-main.c): New.
18941         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18942         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18943         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18944         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18945         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18946         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18947         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18948         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18949         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18950         -DREQUIRE_AVX2.
18951         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18952         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18953         -DREQUIRE_AVX512F.
18954         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18955         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18956         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18957         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
18958         file.
18959         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
18960         Likewise.
18961         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
18962         Likewise.
18963         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
18964         Likewise.
18965         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
18966         Likewise.
18967         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
18968         Likewise.
18969         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
18970         Likewise.
18971         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
18972         Likewise.
18974 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
18976         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
18978 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
18980         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
18981         and typo in a comment about AT_HWCAP entry.
18983 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18985         * sysdeps/aarch64/libm-test-ulps: Updated.
18987 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18989         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
18990         of r13 as it is not restored in mvcle case.
18992 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
18994         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
18995         Rename "ret" to "__ret".
18996         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
18997         inline_syscall5, inline_syscall6): Likewise.
18999 2016-07-19   Will Newton  <will.newton@gmail.com>
19001         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
19002         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
19003         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
19004         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
19005         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
19007 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
19009         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
19010         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
19011         -mfpmath=387 with $(rtld-CFLAGS).
19012         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
19013         $(rtld-CFLAGS).
19015 2016-07-18   Ross Burton  <ross.burton@intel.com>
19016              Khem Raj  <raj.khem@gmail.com>
19018         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
19019         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
19020         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
19021         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
19022         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
19023         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
19024         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
19025         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
19026         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
19027         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
19028         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
19029         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
19030         R_METAG_TLS_DTPOFF): New.
19032 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19033             Matt Clay  <mclay@lycos.com>
19035         [BZ #20357]
19036         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
19037         to call __mpsin/__mpcos and to negate values.
19038         * math/auto-libm-test-in: Add test.
19039         * math/auto-libm-test-out: Regenerate.
19041 2016-07-18  Zack Weinberg  <zackw@panix.com>
19043         * grp/Makefile: Don't install the internal header grp-merge.h.
19045 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19047         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19049 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19051         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
19053 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19055         [BZ #15368]
19056         * sysdeps/unix/sysv/linux/nptl-signals.h
19057         (__nptl_clear_internal_signals): New function.
19058         (__libc_signal_block_all): Likewise.
19059         (__libc_signal_block_app): Likewise.
19060         (__libc_signal_restore_set): Likewise.
19061         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
19062         implementation.
19063         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
19064         the cached pid/tid value in pthread structure.
19066 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
19068         [BZ #20347]
19069         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19071 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19073         [BZ #20348]
19074         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
19075         preadv64, pwrite64 and pwritev64.
19077 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19079         [BZ #20350]
19080         * posix/tst-preadwrite.c: Renamed to ...
19081         * posix/tst-preadwrite-common.c: This.
19082         (PREAD): Removed.
19083         (PWRITE): Likewise.
19084         (STRINGIFY): Likewise.
19085         (STRINGIFY2): Likewise.
19086         (do_prepare): Make it static and remove function arguments.
19087         (do_test): Likewise.
19088         (PREPARE): Updated.
19089         (TEST_FUNCTION): New.
19090         (name): Make it static.
19091         (fd): Likewise.
19092         (do_prepare): Use create_temp_file.
19093         (do_test): Renamed to ...
19094         (do_test_with_offset): This.  Make it static and accept offset.
19095         Properly check return value of PWRITE and PREAD.  Return bytes
19096         read.  Don't close fd nor unlink name.
19097         * posix/tst-preadwrite.c: Rewrite.
19098         * posix/tst-preadwrite64.c: Likewise.
19100 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19102         [BZ #20309]
19103         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
19104         -mtls-dialect=gnu2 works.
19105         * configure: Regenerated.
19106         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
19107         (tests): Add tst-gnu2-tls1.
19108         (modules-names): Add tst-gnu2-tls1mod.
19109         ($(objpfx)tst-gnu2-tls1): New.
19110         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
19111         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
19112         * elf/tst-gnu2-tls1.c: New file.
19113         * elf/tst-gnu2-tls1mod.c: Likewise.
19114         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
19115         bytes for push in the PLT entry to align the stack.
19117 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19119         [BZ #20349]
19120         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19122 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19124         [BZ #18707]
19125         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19126         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19128 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19130         * sysdeps/unix/sysv/linux/sysdep.h
19131         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19132         guards.
19133         * misc/tst-preadvwritev-common.c: New file.
19134         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19135         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19136         a check for files larger than 2GB.
19138         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19139         (__ASSUME_OFF_DIFF_OFF64): Remove define.
19140         * sysdeps/unix/sysv/linux/pread.c
19141         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19142         __OFF_T_MATCHES_OFF64_T.
19143         * sysdeps/unix/sysv/linux/pread64.c
19144         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19145         * sysdeps/unix/sysv/linux/preadv.c
19146         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19147         * sysdeps/unix/sysv/linux/preadv64.c
19148         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19149         * sysdeps/unix/sysv/linux/pwrite.c
19150         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19151         * sysdeps/unix/sysv/linux/pwrite64.c
19152         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19153         * sysdeps/unix/sysv/linux/pwritev.c
19154         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19155         * sysdeps/unix/sysv/linux/pwritev64.c
19156         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19158 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
19160         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19161         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19163 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19165         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19167 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19169         [BZ #20240]
19170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19171         (CFLAGS-s_modf-ppc32.c): New variable.
19172         (CFLAGS-s_modff-ppc32.c): Likewise.
19173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19174         (CFLAGS-s_modf-ppc64.c): Likewise.
19175         (CFLAGS-s_modff-ppc64.c): Likewise.
19177 2016-07-07  Andreas Schwab  <schwab@suse.de>
19179         [BZ #20263]
19180         * nptl/tst-robust10.c: New test.
19181         * nptl/Makefile (tests): Add tst-robust10.
19183 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
19185         [BZ #20263]
19186         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19188 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
19190         * sysdeps/s390/linkmap.h (struct link_map_machine):
19191         Remove member gotplt and add member jmprel.
19192         * sysdeps/s390/s390-32/dl-machine.h
19193         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19194         instead of gotplt with &got[3].
19195         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19196         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19198 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
19200         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19202 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19204         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19205         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19206         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19207         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19208         * libio/vtables.c (_IO_vtable_check)
19209         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19210         * libio/libioP.h (IO_set_accept_foreign_vtables)
19211         [!PTR_MANGLE]: Do not call PTR_MANGLE.
19213 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
19215         [BZ #20314]
19216         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19217         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19218         $(common-objpfx)cmath.
19219         ($(common-objpfx)cstdlib): New target.
19220         ($(common-objpfx)cmath): Likewise.
19222 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
19224         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19226 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19228         [BZ #20327]
19229         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19230         are not part of the string.
19232 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19234         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19235         * nptl/tst-cancel4-common.h (fifoname): New variable.
19236         (fifofd): Likewise.
19237         (cl_fifo): New function.
19238         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19239         SIGINT.
19240         (tf_open): Add early cancel test.
19242 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
19244         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19246 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
19248         * sysdeps/generic/ldsodefs.h
19249         (dl_symbol_visibility_binds_local_p): New inline function.
19250         * elf/dl-addr.c (determine_info): Treat hidden and internal
19251         symbols as local.
19252         * elf/dl-lookup.c (do_lookup_x): Likewise.
19253         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19255 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
19257         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19258         invalid exception for a sNaN input.
19259         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19260         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19261         (__nearbyint_vis3): Likewise
19262         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19263         (__nearbyintf_vis3): Likewise
19264         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19265         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19266         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19267         Likewise.
19268         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19269         Likewise.
19271 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
19273         [BZ #20139]
19274         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19275         (HAVE_AVX512DQ_ASM_SUPPORT): This.
19276         * sysdeps/x86_64/configure.ac: Require assembler from binutils
19277         2.24 or above.
19278         (HAVE_AVX512_ASM_SUPPORT): Removed.
19279         (HAVE_AVX512DQ_ASM_SUPPORT): New.
19280         * sysdeps/x86_64/configure: Regenerated.
19281         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19282         check unconditional.
19283         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19284         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19285         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19286         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19287         Likewise.
19288         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19289         Likewise.
19290         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19291         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19292         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19293         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19294         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19295         Likewise.
19296         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19297         Likewise.
19298         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19299         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19300         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19301         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19302         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19303         Likewise.
19304         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19305         Likewise.
19306         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19307         Likewise.
19308         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19309         Likewise.
19310         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19311         Likewise.
19312         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19313         Likewise.
19314         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19315         Likewise.
19316         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19317         Likewise.
19318         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19319         Likewise.
19320         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19321         Likewise.
19322         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19323         Likewise.
19325 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
19327         [BZ #20024]
19328         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19329         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19330         of this implementation of vector function.
19331         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19332         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19333         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19334         Likewise.
19335         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19336         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19337         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19338         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19339         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19340         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19341         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19342         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19343         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19344         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19345         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19346         for testing vector sincos with fixed ABI.
19347         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19348         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19349         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19350         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19351         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19352         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19353         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19354         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19355         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19356         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19357         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19358         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19359         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19360         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19361         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19362         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19364 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19366         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19368 2016-06-30  Anton Blanchard  <anton@samba.org>
19370         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19371         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19372         s_sinf-ppc64.
19373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19376         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19378 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19382         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19383         e_expf-ppc64.
19384         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19385         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19386         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19387         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19389 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
19391         [BZ #20277]
19392         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19393         when SHARED is defined.
19395 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
19397         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19398         (index_arch_Prefer_ERMS): Likewise.
19399         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19400         __memcpy_erms for Prefer_ERMS.
19401         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19402         (__memmove_erms): Enabled for libc.a.
19403         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19404         __memmove_erms or Prefer_ERMS.
19405         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19406         __mempcpy_erms for Prefer_ERMS.
19407         * sysdeps/x86_64/multiarch/memset.S (memset): Return
19408         __memset_erms for Prefer_ERMS.
19410 2016-06-30  Andreas Schwab  <schwab@suse.de>
19412         [BZ #20262]
19413         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19414         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
19415         of memory.
19417 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
19419         [BZ #18645]
19420         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19421         (test-extras): Add tst-cleanupx4aux.
19422         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
19423         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19424         tst-cleanupx4aux.o.
19425         * nptl/tst-cleanupx4aux.c: New file.
19427 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19429         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19431 2016-06-29  Andreas Schwab  <schwab@suse.de>
19433         [BZ #20260]
19434         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19435         address before the beginning of the string as an integer to avoid
19436         array-bounds warning.
19438 2016-06-28  Richard Henderson  <rth@redhat.com>
19440         * elf/elf.h (EM_BPF): New.
19441         (EM_NUM): Update.
19442         (R_BPF_NONE, R_BPF_MAP_FD): New.
19444         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19445         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19446         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19447         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19448         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19449         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19450         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19451         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19452         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19453         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19454         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19455         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19456         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19457         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19458         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19459         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19460         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19461         (EM_NUM): Update.
19463 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
19465         [BZ #18960]
19466         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19467         Set _nl_current_LC_CATEGORY_used to two instead of one.
19469 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
19471         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19472         (do_test): ... this.
19473         (TEST_FUNCTION): New macro.
19474          Include test-skeleton.c.
19475         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19476         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19478 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
19480         [BZ #15479]
19481         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19482         floating-point environment rather than just control word.
19483         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19484         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19485         floating-point environment, with "invalid" exceptions merged in,
19486         rather than just control word.
19487         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19488         * math/libm-test.inc (trunc_test_data): Do not allow spurious
19489         "inexact" exceptions.
19491         [BZ #15479]
19492         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19493         floating-point environment rather than just control word.
19494         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19495         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19496         floating-point environment, with "invalid" exceptions merged in,
19497         rather than just control word.
19498         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19499         * math/libm-test.inc (floor_test_data): Do not allow spurious
19500         "inexact" exceptions.
19502         [BZ #15479]
19503         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19504         floating-point environment rather than just control word.
19505         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19506         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19507         floating-point environment, with "invalid" exceptions merged in,
19508         rather than just control word.
19509         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19510         * math/libm-test.inc (ceil_test_data): Do not allow spurious
19511         "inexact" exceptions.
19513 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
19515         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19516         __libc_vfork.
19517         (__vfork) [IS_IN (libc)]: Remove alias.
19518         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19519         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19520         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19522 2016-06-24  Torvald Riegel  <triegel@redhat.com>
19524         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19525         of atomic_compare_and_exchange_bool_rel.
19526         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19527         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19528         catomic_compare_and_exchange_bool_rel): Remove.
19529         * sysdeps/aarch64/atomic-machine.h
19530         (atomic_compare_and_exchange_bool_rel): Likewise.
19531         * sysdeps/alpha/atomic-machine.h
19532         (atomic_compare_and_exchange_bool_rel): Likewise.
19533         * sysdeps/arm/atomic-machine.h
19534         (atomic_compare_and_exchange_bool_rel): Likewise.
19535         * sysdeps/mips/atomic-machine.h
19536         (atomic_compare_and_exchange_bool_rel): Likewise.
19537         * sysdeps/microblaze/atomic-machine.h
19538         ( __arch_compare_and_exchange_bool_8_rel,
19539         __arch_compare_and_exchange_bool_16_rel): Likewise.
19540         * sysdeps/powerpc/atomic-machine.h
19541         ( __arch_compare_and_exchange_bool_8_rel,
19542         __arch_compare_and_exchange_bool_16_rel): Likewise.
19543         * sysdeps/powerpc/powerpc32/atomic-machine.h
19544         ( __arch_compare_and_exchange_bool_32_rel,
19545         __arch_compare_and_exchange_bool_64_rel): Likewise.
19546         * sysdeps/powerpc/powerpc64/atomic-machine.h
19547         ( __arch_compare_and_exchange_bool_32_rel,
19548         __arch_compare_and_exchange_bool_64_rel): Likewise.
19549         * sysdeps/tile/atomic-machine.h
19550         (atomic_compare_and_exchange_bool_rel): Likewise.
19552 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
19554         [BZ #20296]
19555         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19556         when either argument is a NaN.
19557         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19558         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19560         * math/libm-test.inc (snan_value_ld): New macro.
19561         (isgreater_test_data): Add sNaN tests.
19562         (isgreaterequal_test_data): Likewise.
19563         (isless_test_data): Likewise.
19564         (islessequal_test_data): Likewise.
19565         (islessgreater_test_data): Likewise.
19566         (isunordered_test_data): Likewise.
19567         (nextafter_test_data): Likewise.
19568         (nexttoward_test_data): Likewise.
19569         (remainder_test_data): Likewise.
19570         (remquo_test_data): Likewise.
19571         (significand_test_data): Likewise.
19572         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19574 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19576         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19577         environment macros are defined.
19578         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19580 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19582         [BZ #20191]
19583         Implement vtable verification in libio.
19584         * Makerules (shlib.lds): Place __libc_IO_vtables section.
19585         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19586         * debug/vdprintf_chk.c (__vdprintf_chk): Call
19587         _IO_new_file_init_internal instead of _IO_file_init.
19588         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19589         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19590         * libio/Makefile (routines): Add vtables.
19591         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19592         (_IO_init): Remove, not for internal use.
19593         (_IO_init_internal): Declare, internal replacement for _IO_init.
19594         (_IO_file_init): Remove, not for internal use.
19595         (_IO_new_file_init): Remove, not for internal use.
19596         (_IO_new_file_init_internal): Declare, internal replacement for
19597         _IO_new_file_init.
19598         (_IO_old_file_init): Remove, not for internal use.
19599         (_IO_old_file_init_internal): Declare, internal replacement for
19600         _IO_old_file_init.
19601         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19602         internal use.
19603         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19604         Declare.
19605         (libio_vtable): New macro.
19606         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19607         functions.
19608         * libio/fileops.c (_IO_new_file_init_internal): Rename from
19609         _IO_new_file_init.
19610         (_IO_new_file_init): New externally visible wrapper which disables
19611         vtable verification.
19612         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19613         Define as vtables.
19614         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19615         (_IO_init): New externally visible wrapper which disables
19616         vtable verification.
19617         * libio/iofdopen.c (_IO_new_fdopen): Call
19618         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
19619         comment.
19620         * libio/iofopen.c (__fopen_internal): Call
19621         _IO_new_file_init_internal instead of _IO_file_init.
19622         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19623         Define as vtables.
19624         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19625         _IO_new_file_init_internal instead of _IO_file_init.
19626         * libio/iopopen.c (_IO_new_popen): Likewise.
19627         (_IO_proc_jumps): Define as vtable.
19628         * libio/iovdprintf.c (_IO_vdprintf): Call
19629         _IO_new_file_init_internal instead of _IO_file_init.
19630         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19631         (__open_memstream): Call _IO_init_internal instead of _IO_init.
19632         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19633         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19634         _IO_old_file_init.
19635         (_IO_old_file_init): New externally visible wrapper which disables
19636         vtable verification.
19637         (_IO_old_file_jumps): Define as vtable.
19638         * libio/oldiofdopen.c (_IO_old_fdopen): Call
19639         _IO_old_file_init_internal instead of _IO_old_file_init.
19640         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19641         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19642         (_IO_old_proc_jumps): Define as vtable.
19643         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19644         Define as vtables.
19645         * libio/vtables.c: New file.
19646         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19647         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19648         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19649         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19650         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19651         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19652         instead of _IO_init.
19654 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19656         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19658 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19660         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19661         potentially unused.
19663 2016-06-22  Florian Weimer  <fweimer@redhat.com>
19665         * test-skeleton.c (write_message): New function.
19666         * malloc/tst-mallocfork2.c (write_message): Remove.
19667         * debug/tst-longjmp_chk2.c (write_indented): New function.
19668         (write_message): Remove.
19669         (stackoverflow_handler): Call write_indented.
19671 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
19673         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19674         "inexact" exceptions after fnstenv.
19675         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19676         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19677         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19679 2015-06-22  Zack Weinberg  <zackw@panix.com>
19681         * sysdeps/generic/bits/hwcap.h: Moved to ...
19682         * bits/hwcap.h: Here.
19684 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
19686         * sysdeps/aarch64/memcpy.S (memcpy):
19687         Further tuning for performance.
19689 2016-06-21  Florian Weimer  <fweimer@redhat.com>
19691         [BZ #20284]
19692         * malloc/arena.c (reused_arena): Do not return NULL if we start
19693         out with a non-corrupted arena.
19695 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19697         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19698         * misc/tst-preadvwritev.c: New file.
19699         * misc/tst-preadvwritev64.c: Likewise.
19700         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19701         usage.
19702         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19703         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19704         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19705         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19707 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
19709         [BZ #19654]
19710         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19711         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19712         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19713         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19714         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19715         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19716         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19717         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19718         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19719         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19720         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19721         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19722         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19723         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19724         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19725         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19726         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19727         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19728         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19729         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19730         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19731         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19732         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19733         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19734         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19735         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19737 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19739         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19740         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19742 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19744         * sysdeps/aarch64/memcpy.S (memcpy):
19745         Rewrite of optimized memcpy and memmove.
19746         * sysdeps/aarch64/memmove.S (memmove): Remove
19747         memmove code (merged into memcpy.S).
19749 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19751         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19752         * sysdeps/generic/dl-dtv.h: New file.
19753         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19754         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19755         (dtv_t): Remove.
19756         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19757         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19758         (dtv_t): Remove.
19759         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19760         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19761         (dtv_t): Remove.
19762         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19763         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19764         (dtv_t): Remove.
19765         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19766         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19767         (dtv_t): Remove.
19768         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19769         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19770         (dtv_t): Remove.
19771         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19772         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19773         (dtv_t): Remove.
19774         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19775         (dtv_t): Remove.
19776         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19777         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19778         (dtv_t): Remove.
19779         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19780         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19781         (dtv_t): Remove.
19782         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19783         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19784         (dtv_t): Remove.
19785         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19786         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19787         (dtv_t): Remove.
19788         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19789         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19790         (dtv_t): Remove.
19791         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19792         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19793         (dtv_t): Remove.
19794         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19795         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19796         (dtv_t): Remove.
19797         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19798         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19799         (dtv_t): Remove.
19801 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19803         Revert symbol poisoning of  __malloc_initialize_hook.
19804         * include/stdc-predef.h (__malloc_initialize_hook): Remove
19805         poisoning.
19806         * malloc/Makefile: Remove un-poisoning.
19807         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19808         instead of old__malloc_initialize_hook.
19809         * malloc/malloc-hooks.h: Likewise.
19810         * malloc/malloc.c: Likewise.
19811         * malloc/mcheck-init.c: Likewise.
19813 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
19815         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19817 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
19819         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19820         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19821         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19822         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19824 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19826         * NEWS: Mention addition of nextup and nextdown.
19827         * manual/arith.texi: Document nextup and nextdown.
19828         * manual/libm-err-tab.pl: Add nextup and nextdown.
19829         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19830         * math/Versions (libm): Add GLIBC_2.24.
19831         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19832         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19833         Add new test.
19834         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19835         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19836         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19837         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19838         (nextup_test_data): Likewise.
19839         (nextdown_test_data): Likewise.
19840         * math/s_nextdown.c: New file.
19841         * math/s_nextdownf.c: Likewise.
19842         * math/s_nextdownl.c: Likewise.
19843         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19844         F(nextup): New function.
19845         F(nextdown): Likewise.
19846         * math/tgmath.h: Add nextup and nextdown.
19847         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19848         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19849         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19850         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19851         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19852         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19853         Add nextup and nextdown.
19854         (CFLAGS-nldbl-nextup.c): New variable.
19855         (CFLAGS-nldbl-nextdown.c): Likewise.
19856         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19857         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19858         * sysdeps/nacl/libm.abilist: Update.
19859         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19860         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19861         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19862         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19863         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19864         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19865         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19866         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19867         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19868         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19869         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19870         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19873         Likewise.
19874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19876         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19877         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19878         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19879         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19880         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19883         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19884         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19885         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19886         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19888 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19890         * manual/pattern.texi: Fix typos & grammar errors.
19892 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19894         * manual/search.texi: Fix typos & grammar errors.
19896 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19898         * manual/message.texi: Fix typos & grammar errors.
19900 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
19902         * manual/contrib.texi: Fix spelling typos.
19903         * manual/crypt.texi: Likewise.
19904         * manual/filesys.texi: Likewise.
19905         * manual/locale.texi: Likewise.
19906         * manual/message.texi: Likewise.
19907         * manual/nss.texi: Likewise.
19908         * manual/string.texi: Likewise.
19910 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19912         * manual/locale.texi: Fix typos & grammar errors.
19914 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19916         * manual/charset.texi: Fix typos & grammar errors.
19918 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19920         * manual/string.texi: Fix typos.
19922 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19924         * manual/ctype.texi: Fix typos.
19926 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19928         * manual/memory.texi: Fix various typos & grammar errors.
19930 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
19932         [BZ #20255]
19933         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
19934         * math/libm-test.inc (fdim_test_data): Add another test.
19936         [BZ #6796]
19937         [BZ #20255]
19938         [BZ #20256]
19939         * math/s_fdim.c: Include <math_private.h>.
19940         (__fdim): Use math_narrow_eval on result.
19941         * math/s_fdimf.c: Include <math_private.h>.
19942         (__fdimf): Use math_narrow_eval on result.
19943         * sysdeps/i386/fpu/s_fdim.S: Remove file.
19944         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19945         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19946         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19947         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19948         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19949         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19950         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19951         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19952         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19953         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19954         * math/libm-test.inc (fdim_test_data): Expect errno setting on
19955         overflow.  Add sNaN tests.
19957         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
19958         fpclassify.
19959         * math/s_fdimf.c (__fdimf): Likewise.
19960         * math/s_fdiml.c (__fdiml): Likewise.
19962 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19964         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19965         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
19966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19967         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19968         ifunc'ed strcasecmp/strncasecmp.
19969         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
19970         [EALIGN]: Removed.
19971         [END]: Likewise.
19972         [__strcasecmp]: Define instead of the above to control symbol name.
19973         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
19974         for __strcasecmp_power8.
19975         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
19976         for __strncasecmp_power8.
19977         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
19978         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
19979         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19980         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
19981         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
19982         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
19984 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
19986         [BZ #20252]
19987         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
19988         arguments when second argument is a NaN.
19989         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
19990         qNaN tests.
19992         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
19993         (conj_test_data): Likewise.
19994         (copysign_test_data): Likewise.
19995         (creal_test_data): Likewise.
19996         (fma_test_data): Likewise.
19997         (fmod_test_data): Likewise.
19999         [BZ #20250]
20000         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
20001         itself.
20002         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
20003         zero input to itself.
20004         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
20005         Likewise.
20006         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
20007         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
20008         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20009         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
20010         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
20012 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20014         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
20015         * nptl/tst-cancel4-common.c: New file.
20016         * nptl/tst-cancel4-common.h: Likewise.
20017         * nptl/tst-cancel4.c: Move common definitions to
20018         tst-cancel4-common.{c,h} file.
20019         * nptl/tst-cancel4_1.c: New test.
20020         * nptl/tst-cancel4_2.c: New test.
20022 2016-06-13  Florian Weimer  <fweimer@redhat.com>
20024         [BZ #20248]
20025         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
20026         (write_message): New function.
20027         (stackoverflow_handler): Call it instead of printf, to avoid
20028         excessive stack usage by printf.
20029         (do_test): Restore SIGSEGV, SIGBUS default handlers.
20031 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20033         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
20034         (prio_inherit_missing): Remove define.
20035         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20036         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20037         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
20038         Likewise.
20039         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20040         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20041         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20042         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20043         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20044         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20046 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20048         [BZ #19670]
20049         [BZ #19672]
20051         * io/test-lfs.c (do_prepare): Use xmalloc.
20052         * io/tst-fcntl.c (do_prepare): Likewise.
20053         * libio/tst-fopenloc.c (do_bz17916): Likewise.
20054         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
20055         * login/tst-utmp.c (do_prepare): Likewise.
20056         * posix/tst-exec.c (do_prepare): Likewise.
20057         * posix/tst-pathconf.c (prepare): Likewise.
20058         * posix/tst-spawn.c (do_prepare): Likewise.
20059         * posix/tst-truncate.c (do_prepare): Likewise.
20060         * rt/tst-aio.c (do_prepare): Likewise.
20061         * rt/tst-aio64.c (do_prepare): Likewise.
20063 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20065         [BZ #20237]
20066         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
20067         (get*ent): Set entidx to NULL during initialization.  If entidx is
20068         NULL, start iteration from the beginning.
20070 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20072         * malloc/malloc.c (musable): Return correct size for dumped fake
20073         mmapped chunk.
20075 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20077         [BZ #20222]
20078         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
20079         (_IO_cookie_write): Likewise.
20080         (_IO_cookie_seek): Likewise.
20081         (_IO_cookie_close): Likewise.
20082         (_IO_old_cookie_seek): Likewise.
20083         (set_callbacks): New function.
20084         (_IO_cookie_init): Call set_callbacks to copy callbacks.
20086 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
20088         * locale/programs/localedef.c (oldstyle_tables): Remove.
20089         * locale/programs/localedef.h (oldstyle_tables): Likewise.
20091 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
20093         [BZ #20240]
20094         * math/Makefile (CFLAGS-s_modf.c): New variable.
20095         (CFLAGS-s_modff.c): Likewise.
20096         (CFLAGS-s_modfl.c): Likewise.
20097         * math/libm-test.inc (modf_test_data): Add sNaN tests.
20099 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
20101         [BZ #20215]
20102         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
20103         [!__GNUC_PREREQ (3,2)]: Likewise.
20105 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
20107         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
20108         (msghdr.msg_controllen): Likewise.
20109         (cmsghdr.cmsg_len): Likewise.
20110         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
20111         ptw-oldsendmsg.
20112         (CFLAGS-oldrecvmsg.c): Remove rule.
20113         (CFLAGS-oldsendmsg.c): Likewise.
20114         (CFLAGS-recvmsg.c): Add rule.
20115         (CFLAGS-sendmsg.c): Likewise.
20116         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20117         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20118         (CFLAGS-recvmsg.c): Remove rule.
20119         (CFLAGS-sendmsg.c): Likewise.
20120         (CFLAGS-oldrecvmsg.c): Likewise.
20121         (CFLAGS-oldsendmsg.c): Likewise.
20122         (CFLAGS-recvmmsg.c): Likewise.
20123         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20124         to kernel defined interfaces.
20125         (msghdr.msg_controllen): Likewise.
20126         (cmsghdr.cmsg_len): Likewise.
20127         (msghdr.__glibc_reserved1): Remove member.
20128         (msghdr.__glibc_reserved2): Likewise.
20129         (cmsghdr.__glibc_reserved1): Likewise.
20130         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20131         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20132         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20133         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20134         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20135         version.
20136         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20137         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20138         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20139         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20140         Remove recvmsg and sendmsg.
20141         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20142         Likewise.
20143         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20144         Likewise.
20145         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20146         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20147         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20148         Likewise.
20149         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20150         Likewise.
20151         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20152         [libc] (GLIBC_2.24): Likewise.
20153         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20154         Likewise.
20155         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20156         Likewise.
20157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20158         [libc] (GLIBC_2.24): Likewise.
20159         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20160         Likewise.
20161         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20162         Likewise.
20163         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20164         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20165         Likewise.
20166         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20167         Likewise.
20168         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20169         Likewise.
20170         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20171         Likewise.
20172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20173         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20174         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20175         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20176         version for {recv,send,recm,sendm}msg.
20177         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20178         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20179         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20180         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20181         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20182         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20183         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20184         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20185         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20186         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20187         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20188         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20190         Likewise.
20191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20192         Likewise.
20193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20195         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20196         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20197         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20198         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20199         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20200         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20203         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20204         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20205         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20207 2016-06-10  Florian Weimer  <fweimer@redhat.com>
20209         [BZ #19564]
20210         Remove __malloc_initialize_hook from the API.
20211         * malloc/malloc.h (__malloc_initialize_hook): Remove.
20212         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20213         #pragma GCC poison.
20214         * malloc/malloc-hooks.h: New file.
20215         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20216         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20217         (old__malloc_initialize_hook): Rename from
20218         __malloc_initialize_hook to evade poisoning.  Turn into compat
20219         symbol.
20220         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20221         __malloc_initialize_hook.
20222         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20223         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20224         * manual/memory.texi (Hooks for Malloc): Remove
20225         __malloc_initialize_hook.  Adjust hook example.
20227 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
20229         [BZ #20235]
20230         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20231         itself.
20232         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20233         * math/libm-test.inc (log2_test_data): Add sNaN tests.
20235         [BZ #20234]
20236         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20237         infinity or NaN input to itself.
20239         [BZ #20233]
20240         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20241         to itself.
20243         [BZ #20232]
20244         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20245         itself.
20247 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20249         * sysdeps/x86_64/start.S (_start): Always indirect branch to
20250         __libc_start_main via GOT.
20252 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20254         * sysdeps/x86_64/memcopy.h: New file.
20255         * sysdeps/x86_64/wordcopy.c: Likewise.
20257 2016-06-09  Florian Weimer  <fweimer@redhat.com>
20259         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20260         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20261         <cstdlib>.
20262         (optimization_barrier): New.
20263         (do_test): Use it.  Call quick_exit in the global namespace.
20264         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20265         instead of <cstdlib>, <thread>.
20266         (optimization_barrier): New.
20267         (non_main_thread): Adjust declaration.  Call optimization_barrier.
20268         Call quick_exit in the global namespace.
20269         (do_test): Call optimization_barrier.  Use pthread_create,
20270         pthread_join instead of std::thread.
20272 2016-06-09  Andreas Schwab  <schwab@suse.de>
20274         [BZ #19755]
20275         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20276         new entries in auto-propagate mode.
20277         * nscd/grpcache.c (cache_addgr): Likewise.
20279 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20281         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20282         New functions.
20283         (add_temp_file): Use them.
20285 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
20287         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20289 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
20291         [BZ #20229]
20292         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20293         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20294         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20296         [BZ #20228]
20297         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20298         itself.
20299         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20300         * math/libm-test.inc (log10_test_data): Add sNaN tests.
20302         [BZ #20227]
20303         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20304         itself.
20305         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20306         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20307         * math/libm-test.inc (log_test_data): Add sNaN tests.
20309         [BZ #20226]
20310         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20311         itself.
20312         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20313         * math/libm-test.inc (exp_test_data): Add sNaN tests.
20314         (exp10_test_data): Likewise.
20315         (expm1_test_data): Likewise.
20317         [BZ #20225]
20318         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20319         itself.
20320         * math/s_ldexpf.c (__ldexpf): Likewise.
20321         * math/s_ldexpl.c (__ldexpl): Likewise.
20322         * math/w_scalbln.c (__w_scalbln): Likewise.
20323         * math/w_scalblnf.c (__w_scalblnf): Likewise.
20324         * math/w_scalblnl.c (__w_scalblnl): Likewise.
20325         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20326         (scalbln_test_data): Likewise.
20328         [BZ #20224]
20329         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20330         argument to itself.
20331         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20333 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20335         [BZ #19776]
20336         * sysdeps/x86_64/memcpy.S: Make it dummy.
20337         * sysdeps/x86_64/mempcpy.S: Likewise.
20338         * sysdeps/x86_64/memmove.S: New file.
20339         * sysdeps/x86_64/memmove_chk.S: Likewise.
20340         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20341         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20342         * sysdeps/x86_64/memmove.c: Removed.
20343         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20344         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20345         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20346         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20347         Likewise.
20348         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20349         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20351         memcpy-sse2-unaligned, memmove-avx-unaligned,
20352         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20353         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20354         (__libc_ifunc_impl_list): Replace
20355         __memmove_chk_avx512_unaligned_2 with
20356         __memmove_chk_avx512_unaligned.  Remove
20357         __memmove_chk_avx_unaligned_2.  Replace
20358         __memmove_chk_sse2_unaligned_2 with
20359         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
20360         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
20361         with __memmove_avx512_unaligned.  Replace
20362         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20363         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
20364         with __memcpy_chk_avx512_unaligned.  Remove
20365         __memcpy_chk_avx_unaligned_2.  Replace
20366         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20367         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
20368         Replace __memcpy_avx512_unaligned_2 with
20369         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
20370         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
20371         with __mempcpy_chk_avx512_unaligned.  Remove
20372         __mempcpy_chk_avx_unaligned_2.  Replace
20373         __mempcpy_chk_sse2_unaligned_2 with
20374         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
20375         Replace __mempcpy_avx512_unaligned_2 with
20376         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
20377         Replace __mempcpy_sse2_unaligned_2 with
20378         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
20379         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20380         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20381         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20382         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
20383         (ENTRY): Removed.
20384         (END): Likewise.
20385         (ENTRY_CHK): Likewise.
20386         (libc_hidden_builtin_def): Likewise.
20387         Don't include ../memcpy.S.
20388         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20389         __memcpy_chk_avx512_unaligned_erms and
20390         __memcpy_chk_avx512_unaligned.  Use
20391         __memcpy_chk_avx_unaligned_erms and
20392         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20393         Default to __memcpy_chk_sse2_unaligned.
20394         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20395         Change function suffix from unaligned_2 to unaligned.
20396         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20397         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20398         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20399         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
20400         (ENTRY): Removed.
20401         (END): Likewise.
20402         (ENTRY_CHK): Likewise.
20403         (libc_hidden_builtin_def): Likewise.
20404         Don't include ../mempcpy.S.
20405         (mempcpy): New.  Add a weak alias.
20406         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20407         __mempcpy_chk_avx512_unaligned_erms and
20408         __mempcpy_chk_avx512_unaligned.  Use
20409         __mempcpy_chk_avx_unaligned_erms and
20410         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20411         Default to __mempcpy_chk_sse2_unaligned.
20413 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20415         [BZ #19881]
20416         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20417         into ...
20418         * sysdeps/x86_64/memset.S: This.
20419         (__bzero): Removed.
20420         (__memset_tail): Likewise.
20421         (__memset_chk): Likewise.
20422         (memset): Likewise.
20423         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20424         defined.
20425         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20426         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20427         (__memset_zero_constant_len_parameter): Check SHARED instead of
20428         PIC.
20429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20430         memset-avx2 and memset-sse2-unaligned-erms.
20431         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20432         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20433         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20434         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20435         (__bzero): Enabled.
20436         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20437         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20438         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
20439         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
20440         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20441         (memset): Removed.
20442         (__memset_chk): Likewise.
20443         (MEMSET_SYMBOL): New.
20444         (libc_hidden_builtin_def): Replace __memset_sse2 with
20445         __memset_sse2_unaligned.
20446         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20447         __memset_chk_sse2 and __memset_chk_avx2 with
20448         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20449         Use __memset_chk_sse2_unaligned_erms or
20450         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
20451         __memset_chk_avx512_unaligned_erms and
20452         __memset_chk_avx512_unaligned.
20454 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20456         * math/gen-auto-libm-test.c (fp_format_desc): remove
20457         suffix member.
20458         (output_generic_value): Remove usage of suffix member,
20459         and the resulting unuse of the fp_format argument.
20460         (output_for_one_input_case): Remove unused fp_format
20461         parameter.
20463         * math/auto-libm-test-out: Regenerate.
20465         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20466         usage with TEST_COND_ibm128.
20467         (TEST_COND_flt_32): Remove.
20468         (TEST_COND_dbl_64): Remove.
20469         (TEST_COND_ldbl_96_intel): Remove.
20470         (TEST_COND_ldbl_96_m68k): Remove.
20471         (TEST_COND_ldbl_128): Remove.
20473 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20475         * auto-libm-test-in:
20476         Replace flt-32 usage with binary32.
20477         Replace dbl-64 usage with binary64.
20478         Replace ldbl-intel-96 usage with intel96.
20479         Replace ldbl-m68k-96 usage with m68k96.
20480         Replace ldbl-128ibm usage with ibm128.
20481         Replace ldbl-128 usage with binary128.
20483         * auto-libm-test-out: Regenerate.
20485 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20487         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20488         (parse_ulps): Dynamically generate type name matching
20489         string from all_floats.
20490         (get_ulps): Generate the ulps as an array instead.
20491         (output_ulps): Dynamically compose the type based
20492         on the number of supported formats, and print
20493         the indices as type specific helper macros.
20495         * math/libm-test.inc: Remove comment about CHOOSE.
20496         (ulp_data): Generate the type in libm-test-ulps.h.
20497         (ULP_IDX): New macro.
20498         (find_ulps): Update usage of max_ulp.
20500         * math/test-double-vlen2.h (CHOOSE): Remove.
20501         * math/test-double-vlen4.h (CHOOSE): Likewise.
20502         * math/test-double-vlen8.h (CHOOSE): Likewise.
20503         * math/test-float.c (CHOOSE): Likewise.
20504         * math/test-float-finite.c (CHOOSE): Likewise.
20505         * math/test-double.c (CHOOSE): Likewise.
20506         * math/test-double-finite.c (CHOOSE): Likewise.
20507         * math/test-idouble.c (CHOOSE): Likewise.
20508         * math/test-ifloat.c (CHOOSE): Likewise.
20509         * math/test-ildoubl.c (CHOOSE): Likewise.
20510         * math/test-ldouble-finite.c (CHOOSE): Likewise.
20511         * math/test-ldouble.c (CHOOSE): Likewise.
20513         * math/test-float.h (TEST_FLOAT): Remove.
20514         * math/test-double.h (TEST_DOUBLE): Likewise.
20515         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20517 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20519         * math/gen-libm-test.pl: (apply_lit): New subroutine.
20520         (parse_args): Strip C suffix from floating point literals
20521         typed with 'f' and wrap them with LIT().
20523         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20524         (test_ff_f_data_nexttoward): Rename to
20525         (test_fj_f_data): New struct.
20526         (nexttoward_test_data): Relabel tests as
20527         TEST_fj_f instead of TEST_ff_f.
20529 2016-06-08  Florian Weimer  <fweimer@redhat.com>
20531         Emacs bug 23726.
20532         * malloc/malloc.c (dumped_main_arena_start): Update comment.
20533         (__libc_realloc): Correct size computation for dumped fake mmapped
20534         chunks.
20536 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
20538         [BZ #20219]
20539         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20540         to itself.
20541         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20543         [BZ #20218]
20544         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20545         to itself.
20546         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20548 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
20550         [BZ #20195]
20551         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20552         check to ...
20553         (init_cpu_features): Here.
20555 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
20557         [BZ #20214]
20558         * sysdeps/unix/sysv/linux/bits/in.h
20559         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20560          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20561         Define to 1.
20562         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20563          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20564         Define to 0.
20565         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20566         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20568 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
20570         [BZ #20198]
20571         * stdlib/Makefile (tests): Add tst-quick_exit, and
20572         tst-thread-quick_exit.
20573         [ifeq ($(have-cxx-thread_local),yes)]
20574         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20575         (CFLAGS-tst-thread-quick_exit.o): Likewise.
20576         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20577         (LDLIBS-tst-thread-quick_exit): Likewise.
20578         [ifneq ($(have-cxx-thread_local),yes)]
20579         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20580         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20581         If run_dtors is true call __call_tls_dtors.
20582         (exit): Call __run_exit_handlers with run_dtors set to true.
20583         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20584         definition.
20585         * stdlib/quick_exit.c (quick_exit): Remove function.
20586         (__new_quick_exit): New function.
20587         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20588         function.
20589         * stdlib/tst-quick_exit.cc: New file.
20590         * stdlib/tst-thread-quick_exit.cc: New file.
20591         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20592         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20593         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20594         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20595         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20596         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20597         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20598         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20599         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20600         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20601         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20602         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20603         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20604         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20605         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20606         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20611         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20612         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20613         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20614         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20615         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20618         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20619         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20620         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20622 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20624         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20625         a typo in comments.
20627 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20629         [BZ #20213]
20630         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20631         argument to itself.
20632         * math/libm-test.inc (asin_test_data): Add sNaN tests.
20634 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20636         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20637         required flags.
20638         (CFLAGS-pwritev64.c): Likewise.
20639         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20640         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20641         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20642         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20643         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20644         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20645         syscall from auto-generation.
20646         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20647         [WORDSIZE == 64] (pwritev64): Remove macro.
20648         [!PWRITEV] (PWRITEV): Likewise.
20649         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20650         [!PWRITEV] (PWRITE): Likewise.
20651         [!PWRITEV] (OFF_T): Likewise.
20652         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20653         (LO_HI_LONG): Remove macro.
20654         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20655         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20656         (PWRITEV): Remove macro.
20657         (PWRITEV_REPLACEMENTE): Likewise.
20658         (PWRITE): Likewise.
20659         (OFF_T): Likewise.
20660         (pwritev64): New function.
20661         * nptl/tst-cancel4.c (tf_writev): Add test.
20663         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20664         required flags.
20665         (CFLAGS-preadv64.c): Likewise.
20666         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20667         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20668         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20669         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20670         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20671         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20672         syscall from auto-generation.
20673         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20674         [WORDSIZE == 64] (preadv64): Remove macro.
20675         [!PREADV] (PREADV): Likewise.
20676         [!PREADV] (PREADV_REPLACEMENT): Likewise.
20677         [!PREADV] (PREAD): Likewise.
20678         [!PREADV] (OFF_T): Likewise.
20679         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20680         (LO_HI_LONG): Remove macro.
20681         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20682         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20683         (PREADV): Remove macro.
20684         (PREADV_REPLACEMENTE): Likewise.
20685         (PREAD): Likewise.
20686         (OFF_T): Likewise.
20687         (preadv64): New function.
20688         * nptl/tst-cancel4.c (tf_preadv): Add test.
20690 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20692         [BZ #20212]
20693         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20694         argument to itself.
20695         * math/libm-test.inc (acos_test_data): Add sNaN tests.
20697 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20699         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20700         New symbol defined as libc_hidden_def.
20701         (strcasestr): Became a weak alias to __strcasestr.
20702         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20703         according to multi-arch support.  Move __stpncpy hidden
20704         definition from here to...
20705         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
20706         symbol stpncpy.
20707         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20708         libc_hidden_builtin_def.
20709         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20710         memset symbol to use when multi-arch support is available.
20712 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
20714         * dlfcn/tst-rec-dlopen.c: Include string.h.
20716 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20718         * manual/install.texi: Remove mention of --without-tls
20719         * INSTALL: Regenerate.
20721 2016-06-05  Florian Weimer  <fweimer@redhat.com>
20723         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20724         Remove.
20725         (call_function, interposed_malloc_called): New variables.
20726         (malloc): New function.
20727         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
20728         and clear call_function as needed.
20730 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
20732         * include/wchar.h (__wmemset): Use __typeof.
20734 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
20736         * include/wchar.h (__wmemset): Declare function without typeof.
20738 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
20740         [BZ #20205]
20741         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20742         exponent when incrementing negative subnormal with low mantissa
20743         word zero.
20744         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20745         Add another test.
20747 2016-06-03  Florian Weimer  <fweimer@redhat.com>
20749         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20750         __wmemset instead of wmemset.
20752 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
20754         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20755         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20756         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20757         __USE_KERNEL_IPV6_DEFS to 0.
20758         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20759         Update comment.
20761 2016-06-01  Florian Weimer  <fweimer@redhat.com>
20763         [BZ #19861]
20764         Do not use IFUNC resolver with potentially unrelocated symbol.
20765         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20766         (DEFINE_FORK): Remove macro and inline definition.
20767         (fork_alias): Renamed from fork_ifunc.
20768         (__fork_alias): Renamed from __fork_ifunc.
20770 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
20772         [BZ 19653]
20773         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20774         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20776 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20778         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20779         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20780         i386-linux-gnu).
20781         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20782         Set to no.
20783         * sysdeps/mach/hurd/configure: Refresh.
20785 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20787         [BZ #20178]
20788         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20789         on failure instead of exit.
20791 2016-05-30  Roland McGrath  <roland@hack.frob.com>
20793         [BZ #3629]
20794         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20795         of POSIX.1-2008.
20797 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20799         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20800           Use PLT entry for calling _hurd_self_sigstate.
20802 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
20804         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20805         available logical processors with SMT level type sharing L2
20806         cache for Intel processors.
20808 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20810         [BZ #20160]
20811         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20812         argument to itself before returning the result.
20813         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20814         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20815         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20816         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20817         Likewise.
20818         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20819         Likewise.
20820         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20821         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20822         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20823         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20824         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20825         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20827         [BZ #20160]
20828         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20829         argument to itself before returning the result.
20830         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20831         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20832         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20833         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20834         Likewise.
20835         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20836         Likewise.
20837         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20838         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20839         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20840         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20841         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20842         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20844 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20846         * libm-test.inc: Replace usage of M_El with
20847         (lit_e): New macro.
20849 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20851         * libm-test.inc: Replace usage of M_PI_4l with
20852         (lit_pi_4_d): New macro.
20854 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20856         * libm-test.inc: Replace usage of M_PIl with
20857         (lit_pi): New macro.
20859 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20861         * libm-test.inc: Replace usage of M_PI2l with
20862         (lit_pi_2_d): New macro.
20864         * math/test-double.h (LITM): New macro.
20865         * math/test-float.h (LITM): Likewise.
20866         * math/test-ldouble.h (LITM): Likewise.
20868 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20870         * libm-test.inc (M_PI_34l): Rename to
20871         (lit_pi_3_m_4_d): New Macro.
20872         (M_PI_34_LOG10El): Rename to
20873         (lit_pi_3_m_4_ln10_m_d): New Macro.
20874         (M_PI2_LOG10El): Rename to
20875         (lit_pi_2_ln10_m_d):  New Macro.
20876         (M_PI4_LOG10El): Rename to
20877         (lit_pi_4_ln10_m_d):  New Macro.
20878         (M_PI_LOG10El): Rename to
20879         (lit_pi_ln10_d):  New Macro.
20881 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20883         [BZ #20157]
20884         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20885         determine whether to negate low half if [_ARCH_PPCGR], and integer
20886         comparison otherwise.
20887         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20888         determine whether to negate low half.
20890         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20891         (NO_TEST_INLINE_DOUBLE): Likewise.
20892         (TEST_COND_x86_64): Likewise.
20893         (TEST_COND_x86): Likewise.
20894         (M_PI_6l): Likewise.
20896 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20898         * math/libm-test.inc:
20899         (TEST_FLOAT): Change usage to TEST_COND_binary32.
20900         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20901         (TEST_LDOUBLE): Update usage to evaluate as true if
20902         the guarded tests match the property being tested.
20903         (LDBL_MAX_EXP): Change to MAX_EXP.
20904         (LDBL_MIN_EXP): Change to MIN_EXP.
20905         (LDBL_MANT_DIG): Change to MANT_DIG, except for
20906         nexttoward tests.
20908 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20910         * math/libm-test.inc:
20911         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20912         (TYPE_MIN): Likewise.
20913         (TYPE_TRUE_MIN): Likewise.
20914         (TYPE_MAX): Likewise.
20915         (MIN_EXP): Likewise.
20916         (MAX_EXP): Likewise.
20917         (MANT_DIG): Likewise.
20919         (FSTR_MAX): New macro.
20920         (__CONCATX): Likewise.
20921         (QTYPE_STR): Likewise.
20922         (TEST_COND_binary32): Likewise.
20923         (TEST_COND_binary64): Likewise.
20924         (TEST_COND_binary128): Likewise.
20925         (TEST_COND_ibm128): Likewise.
20926         (TEST_COND_intel96): Likewise.
20927         (TEST_COND_m68k96): Likewise.
20929         (TEST_COND_flt_32): Redefine as equivalent format test macro.
20930         (TEST_COND_dbl_64): Likewise.
20931         (TEST_COND_ldbl_96_intel): Likewise.
20932         (TEST_COND_ldbl_96_m68k): Likewise.
20933         (TEST_COND_ldbl_128): Likewise.
20934         (TEST_COND_ldbl_128ibm): Likewise.
20936         (plus_zero): Redefine using LIT macro.
20937         (minus_zero): Likewise.
20938         (plus_infty): Redefine as (INF).
20939         (minux_infty): Redefine as (-INF).
20940         (max_value): Redefine as TYPE_MAX.
20941         (min_value): Redefine as TYPE_MIN.
20942         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20944         (print_float): Refactor to use snprintf to convert FLOAT values
20945         to string. This brings it closer to dropin replacement of strtof
20946         for the TS 18661 defined types.
20947         (update_stats): Likewise.
20948         (print_complex_function_ulps): Likewise.
20949         (print_max_error): Likewise.
20950         (print_complex_max_error): Likewise.
20951         (check_float_internal): Likewise.
20953         * math/test-float.h (PREFIX): New macro.
20954         (LIT): Likewise.
20955         (TYPE_STR): Likewise.
20956         (FTOSTR): Likewise.
20958         * math/test-double.h (PREFIX): New macro.
20959         (LIT): Likewise.
20960         (TYPE_STR): Likewise.
20961         (FTOSTR): Likewise.
20963         * math/test-ldouble.h (PREFIX): New macro.
20964         (LIT): Likewise.
20965         (TYPE_STR): Likewise.
20966         (FTOSTR): Likewise.
20968 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20970         [BZ #20156]
20971         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
20972         to itself when zero or not finite.
20973         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
20974         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20975         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
20976         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
20978 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
20980         [BZ #20153]
20981         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
20982         x * x + x for infinities and NaNs.
20984         [BZ #20151]
20985         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
20986         argument to itself before returning result.
20987         (__ieee754_y0l): Likewise.
20988         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20989         (__ieee754_y1l).
20991         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
20992         (atan_test_data): Likewise.
20993         (ceil_test_data): Likewise.
20994         (cos_test_data): Likewise.
20995         (cosh_test_data): Likewise.
20996         (erf_test_data): Likewise.
20997         (exp2_test_data): Likewise.
20998         (fabs_test_data): Likewise.
20999         (floor_test_data): Likewise.
21000         (ilogb_test_data): Likewise.
21001         (j0_test_data): Likewise.
21002         (j1_test_data): Likewise.
21003         (jn_test_data): Likewise.
21004         (lgamma_test_data): Likewise.
21005         (lrint_test_data): Likewise.
21006         (llrint_test_data): Likewise.
21007         (logb_test_data): Likewise.
21008         (lround_test_data): Likewise.
21009         (llround_test_data): Likewise.
21010         (nearbyint_test_data): Likewise.
21011         (rint_test_data): Likewise.
21012         (round_test_data): Likewise.
21013         (sin_test_data): Likewise.
21014         (sincos_test_data): Likewise.
21015         (sinh_test_data): Likewise.
21016         (sqrt_test_data): Likewise.
21017         (tan_test_data): Likewise.
21018         (tanh_test_data): Likewise.
21019         (tgamma_test_data): Likewise.
21020         (trunc_test_data): Likewise.
21021         (y0_test_data): Likewise.
21022         (y1_test_data): Likewise.
21023         (yn_test_data): Likewise.
21025         * math/libm-test.inc: Update comment about NaN testing.
21026         (TEST_SNAN): New macro.
21027         (snan_value): Likewise.
21028         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
21029         (fpclassify_test_data): Add sNaN tests.
21030         (isfinite_test_data): Likewise.
21031         (isinf_test_data): Likewise.
21032         (isnan_test_data): Likewise.
21033         (isnormal_test_data): Likewise.
21034         (issignaling_test_data): Likewise.
21035         (signbit_test_data): Likewise.
21036         * math/gen-libm-test.pl (%beautify): Add snan_value.
21037         (show_exceptions): Add argument $test_snan.
21038         (parse_args): Handle snan_value as non-finite.  Update call to
21039         show_exceptions.
21040         * math/Makefile (libm-test-no-inline-cflags): Add
21041         -fsignaling-nans.
21043 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21045         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
21046         (CFLAGS-oldsendmsg.c): Add rule.
21047         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
21048         Correct recvmsg symbol name.
21049         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
21050         Likewise.
21052 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21054         * sysdeps/unix/sysv/linux/Makefile
21055         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
21056         oldsendmmsg.
21057         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
21058         sendmmsg.
21059         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21060         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21061         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21062         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21064         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21065         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21067         Likewise.
21068         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21069         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
21070         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
21071         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
21072         iovlen and controllen fields to adjust to POSIX specification.
21073         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21075         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
21076         and change to correct expected type.
21077         (msghdr.msg_controllen): Likewise.
21078         (cmsghdr.cmsg_len): Likewise.
21079         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
21080         expected POSIX assumption about the size.
21081         (msghdr.msg_controllen): Likewise.
21082         (msghdr.__glibc_reserved1): Likewise.
21083         (msghdr.__glibc_reserved2): Likewise.
21084         (cmsghdr.cmsg_len): Likewise.
21085         (cmsghdr.__glibc_reserved1): Likewise.
21086         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
21087         Add ptw-oldrecvmsg and ptw-oldsendmsg.
21088         (CFLAGS-sendmsg.c): Remove rule.
21089         (CFLAGS-recvmsg.c): Likewise.
21090         (CFLAGS-oldsendmsg.c): Add rule.
21091         (CFLAGS-oldrecvmsg.c): Likewise.
21092         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
21093         recvmsg and sendmsg.
21094         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
21095         Likewise.
21096         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
21097         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
21098         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
21099         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
21100         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
21101         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
21102         Likewise.
21103         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
21104         Likewise.
21105         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
21106         Likewise.
21107         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
21108         Likewise.
21109         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
21110         Likewise.
21111         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
21112         Likewise.
21113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
21114         (GLIBC_2.24): Likewise.
21115         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
21116         Likewise.
21117         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21118         Likewise.
21119         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21120         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21121         Likewise.
21122         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21123         Likewise.
21124         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21125         Likewise.
21126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21127         (GLIBC_2.24): Likewise.
21128         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21129         Likewise.
21130         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21131         Likewise.
21132         * sysdeps/unix/sysv/linux/Makefile
21133         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21134         (CFLAGS-sendmsg.c): Add rule.
21135         (CFLAGS-recvmsg.c): Likewise.
21136         (CFLAGS-oldsendmsg.c): Likewise.
21137         (CFLAGS-oldrecvmsg.c): Likewise.
21138         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21139         initialization.
21140         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21141         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21142         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21143         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21144         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21145         iovlen and controllen fields to adjust to POSIX specification.
21146         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21147         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21148         added recvmsg and sendmsg.
21149         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21150         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21151         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21152         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21153         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21154         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21155         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21156         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21157         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21158         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21159         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21160         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21162         Likewise.
21163         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21165         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21166         Likewise.
21167         Likewise.
21168         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21169         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21170         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21171         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21172         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21173         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21175         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21177         Likewise.
21178         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21179         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21181         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21182         from auto-generation.
21183         (sendmsg): Likewise.
21184         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21185         (sendmsg): Likewise.
21186         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21187         (sendmsg): Likewise.
21188         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21189         (sendmsg): Likewise.
21190         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21191         (sendmsg): Likewise.
21192         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21193         (sendmsg): Likewise.
21194         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21195         Likewise.
21196         (sendmsg): Likewise.
21197         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21198         (sendmsg): Likewise.
21199         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21200         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21201         Remove.
21202         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21203         Likewise.
21204         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21205         Undefine.
21206         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21207         Likewise.
21208         * sysdeps/unix/sysv/linux/kernel-features.h
21209         (__ASSUME_SENDMSG_SYSCALL): Define.
21210         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21211         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21212         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21213         Remove.
21214         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21215         Likewise.
21216         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21217         Undefine.
21218         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21219         Likewise.
21220         * sysdeps/unix/sysv/linux/s390/kernel-features.h
21221         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21222         Remove.
21223         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21224         Likewise.
21225         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21226         Undefine.
21227         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21228         Likewise.
21229         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21230         (__ASSUME_SENDMSG_SYSCALL): Undefine.
21231         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21232         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21233         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21234         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21235         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21236         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21237         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21239 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21241         * stdlib/gen-tst-strtod-round.c: Add backslash to
21242         compile command in comment.
21243         (printfp): Remove the literal suffix, and define an infinite
21244         value as INF to avoid expansion clash with INFINITY.
21245         (round_str): Remove the literal suffix.
21246         (round_for_all): Likewise, remove the now duplicate ldbl-64
21247         entry, and remove some magic constants.
21249         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21250         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
21251         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21252         (_CONCAT): New macro.
21253         (CONCAT): Likewise.
21254         (CHOOSE_ld): Likewise.
21255         (CHOOSE_f): Likewise.
21256         (CHOOSE_d): Likewise.
21257         (FTYPE_MEMBER): Likewise.
21258         (BOOL_MEMBER): Likewise.
21259         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21260         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21261         (_XNTRY): Likewise.
21262         (XNTRY): Likewise.
21263         (_ENTRY): Likewise.
21264         (ENTRY): Likewise.
21265         (test_exactness): Generate members via macro.
21266         (test_results): Likewise.
21267         (test): Update members.
21268         (TEST): Redefine using new macros.
21269         (INF): New macro.
21270         (fetestmodes): New structure.
21271         (do_test): Refactor to be type generic.
21272         (test_in_one_mode): Refactor duplicate code into
21273         (GEN_ONE_TEST): New macro.
21275         * stdlib/tst-strtod-round-data.h: Regenerate.
21277         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21278         Extend to pass additional arbitrary parameters to
21279         generators.
21281 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
21283         [BZ #15479]
21284         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21285         floating-point state after first floating-point operation on
21286         input.  Restore full floating-point state instead of just rounding
21287         mode.
21288         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21289         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21290         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21291         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21292         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21294         [BZ #15479]
21295         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21296         floating-point state after first floating-point operation on
21297         input.  Restore full floating-point state instead of just rounding
21298         mode.
21299         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21300         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21301         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21302         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21303         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21305 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21307         [BZ #19727]
21308         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21309         valid high surrogate.
21310         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21311         of an utf16 surrogate.
21312         * iconv/gconv_simple.c (BODY): Likewise.
21313         * iconvdata/bug-iconv12.c: New file.
21314         * iconvdata/Makefile (tests): Add bug-iconv12.
21316 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21318         [BZ #19726]
21319         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21320         outptrp in case of an illegal input.
21321         * iconv/tst-iconv6.c: New file.
21322         * iconv/Makefile (tests): Add tst-iconv6.
21324 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21326         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21327         an error in case of a value in range of an utf16 low surrogate.
21329 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21331         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21332         an error in case of a value in range of an utf16 low surrogate.
21334 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21336         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21337         Move to ...
21338         * sysdeps/s390/Makefile: ... here.
21339         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21340         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21341         (BRANCH_ON_COUNT): New define.
21342         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21343         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21344         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21345         run on s390-32, too.
21346         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21347         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21348         run on s390-32, too.
21349         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21350         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21351         run on s390-32, too.
21353 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21355         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21356         etf3eh or new vector loop-variant.
21358 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21360         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21361         etf3eh or new vector loop-variant.
21363 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21365         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21366         or new vector loop-variant.
21368 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21370         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21371         Rename to TR_LOOP and usage of tr instead of troo instruction.
21373 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21375         * sysdeps/s390/multiarch/gconv_simple.c: New File.
21376         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21378 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21380         * sysdeps/s390/multiarch/8bit-generic.c: New File.
21381         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21382         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21383         New override define.
21384         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21386 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21388         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21389         * sysdeps/s390/configure.ac: Add test for S390 vector register
21390         support in gcc.
21391         * sysdeps/s390/configure: Regenerated.
21393 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21395         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21396         Install file from $(objpfx)gconv-modules.
21397         ($(objpfx)gconv-modules): Concatenate architecture specific file
21398         in variable sysdeps-gconv-modules and gconv-modules in src dir.
21399         * sysdeps/s390/gconv-modules: New file.
21400         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21401         Deleted.
21402         ($(objpfx)gconv-modules-s390): Deleted.
21403         (sysdeps-gconv-modules): New variable.
21405 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21407         [BZ #15479]
21408         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21409         of immediate operand to rounding instruction.
21410         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21411         Likewise.
21412         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21413         Likewise.
21414         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21415         Likewise.
21417 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21419         * math/libm-test.inc (MIN_EXP): Directly define as
21420         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21422 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21424         * math/libm-test.inc (MANT_DIG): Directly define as
21425         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21427 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21429         * stdlib/gen-tst-strtod-round.c (main):
21430           Change usage to more closely match the generated
21431           output.  Add usage and compilation instructions.
21432           (string_to_fp): Add and use FILE* parameter as
21433           output target.
21434           (print_fp): Likewise.
21435           (round_str): Likewise.
21436           (round_for_all): Likewise.
21437         * stdlib/tst-strtod-round.c (tests): Move into
21438         * stdlib/tst-strtod-round-data.h: New file.
21440 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21442         [BZ #15479]
21443         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21444         (__round): Do not force "inexact" exception.
21445         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21446         variable.
21447         (__round): Do not force "inexact" exception.
21448         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21449         (__roundf): Do not force "inexact" exception.
21450         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21451         (__roundl): Do not force "inexact" exception.
21452         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21453         (__roundl): Do not force "inexact" exception.
21454         * math/libm-test.inc (round_test_data): Do not allow spurious
21455         "inexact" exceptions.
21457         [BZ #15479]
21458         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21459         exception in comment.
21460         (huge): Remove variable.
21461         (__floor): Do not force "inexact" exception.
21462         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21463         "inexact" exception in comment.
21464         (huge): Remove variable.
21465         (__floor): Do not force "inexact" exception.
21466         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21467         exception in comment.
21468         (huge): Remove variable.
21469         (__floorf): Do not force "inexact" exception.
21470         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21471         exception in comment.
21472         (huge): Remove variable.
21473         (__floorl): Do not force "inexact" exception.
21475         [BZ #15479]
21476         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21477         exception in comment.
21478         (huge): Remove variable.
21479         (__ceil): Do not force "inexact" exception.
21480         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21481         "inexact" exception in comment.
21482         (huge): Remove variable.
21483         (__ceil): Do not force "inexact" exception.
21484         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21485         (__ceilf): Do not force "inexact" exception.
21486         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21487         exception in comment.
21488         (huge): Remove variable.
21489         (__ceill): Do not force "inexact" exception.
21491 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21493         * config.h.in (BIND_NOW): New.
21494         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
21495         * configure: Regenerated.
21496         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21497         indirect branch via the GOT slot.
21499 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21501         [BZ #19765]
21502         * sysdeps/s390/mempcpy.S: New File.
21503         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21504         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21505         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21506         Add mempcpy variants.
21507         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21508         (memcpy): Adjust to be usable from mempcpy entry point.
21509         (__memcpy_mvcle): Likewise.
21510         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21511         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21512         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21513         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21514         (__memcpy_z10): Likewise.
21515         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21517 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21519         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21520         Remove __GI_ symbol.
21521         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21522         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21523         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21524         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21525         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21526         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21528 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21530         * sysdeps/s390/s390-64/memcpy.S (memcpy):
21531         Use cghi instead of chi to compare 64bit value.
21533 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21535         * sysdeps/s390/s390-32/memcpy.S (memcpy):
21536         Jump to 1MB check before executing mvc-loop.
21538 2016-05-24  Florian Weimer  <fweimer@redhat.com>
21540         [BZ #6527]
21541         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21542         unconditionally.
21543         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21545 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21547         * stdlib/tst-strtod6.c (do_test): Use new type generic
21548         invocation of the test function.
21549         (test): Refactor into ...
21550         (TEST_STRTOD): New macro base function.
21552 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21554         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21555         (TEST_STRTOD): New macro.
21556         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21558 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21560         * stdlib/tst-strtod6.c (do_test): Use new type generic
21561         invocation of the test function.
21562         (test): Refactor into ...
21563         (TEST_STRTOD): New macro base function.
21565 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21567         CVE-2016-4429
21568         [BZ #20112]
21569         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21570         payload.
21572 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21574         [BZ #20111]
21575         * bits/sockaddr.h (_SS_SIZE): Define.
21576         * bits/socket.h (_SS_SIZE): Remove.
21577         (_SS_PADSIZE): Adjust to account for all padding.
21578         (struct sockaddr_storage): Update comment.  Avoid implicit
21579         padding.
21580         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21581         (_SS_PADSIZE): Adjust to account for all padding.
21582         (struct sockaddr_storage): Update comment.  Avoid implicit
21583         padding.
21584         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21585         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21586         (_SS_PADSIZE): Adjust to account for all padding.
21587         (struct sockaddr_storage): Update comment.  Avoid implicit
21588         padding.
21589         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21590         __SS_SIZE is 126 in this version.
21591         * inet/tst-sockaddr.c: New file.
21592         * inet/Makefile (tests): Add tst-sockaddr.c
21593         (tst-sockaddr.c): Compile with non-strict aliasing.
21595 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
21597         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21598         [XPG3 || XPG4].
21599         (NL_ARGMAX): Also expect for [XPG3].
21600         (NL_LANGMAX): Likewise.
21601         (NL_MSGMAX): Likewise.
21602         (NL_NMAX): Likewise.
21603         (NL_SETMAX): Likewise.
21604         (NL_TEXTMAX): Likewise.
21605         (NZERO): Likewise.
21606         (TMP_MAX): Likewise.
21607         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21608         variable.
21610         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21611         (PF_MAX): Update value.
21612         (AF_KCM): New macro.
21613         (SOL_NETBEUI): Likewise.
21614         (SOL_LLC): Likewise.
21615         (SOL_DCCP): Likewise.
21616         (SOL_NETLINK): Likewise.
21617         (SOL_TIPC): Likewise.
21618         (SOL_RXRPC): Likewise.
21619         (SOL_PPPOL2TP): Likewise.
21620         (SOL_BLUETOOTH): Likewise.
21621         (SOL_PNPIPE): Likewise.
21622         (SOL_RDS): Likewise.
21623         (SOL_IUCV): Likewise.
21624         (SOL_CAIF): Likewise.
21625         (SOL_ALG): Likewise.
21626         (SOL_NFC): Likewise.
21627         (SOL_KCM): Likewise.
21628         (MSG_BATCH): New enum value and macro.
21630 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
21632         [BZ #18185]
21633         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21634         sharing L2 cache to 2 for Knights Landing.
21636 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
21638         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21639         (FTW_DP): Do not expect for [XPG3 || XPG4].
21640         (FTW_SL): Do not expect for [XPG3].
21641         (FTW_SLN): Likewise.
21642         (FTW_PHYS): Likewise.
21643         (FTW_MOUNT): Likewise.
21644         (FTW_DEPTH): Likewise.
21645         (FTW_CHDIR): Likewise.
21646         (nftw): Likewise.
21647         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21648         variable.
21650 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21652         * manual/errno.texi: Fix various typos & grammar errors.
21654 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21656         * manual/intro.texi: Fix duplicated typo.
21658 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21660         [BZ #13304]
21661         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21662         <float.h>, <math_private.h> and <stdlib.h>.
21663         (add_split): New function.
21664         (mul_split): Likewise.
21665         (ext_val): New typedef.
21666         (store_ext_val): New function.
21667         (mul_ext_val): New function.
21668         (compare): New function.
21669         (add_split_ext): New function.
21670         (__fmal): After checking for Inf, NaN and zero, compute result as
21671         an exact sum of scaled double values in round-to-nearest before
21672         adding those up and adjusting for other rounding modes.
21673         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21674         tests of fma.
21675         * math/auto-libm-test-out: Regenerated.
21677 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21679         [BZ #20119]
21680         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21681         processor level type mask for CPUID with EAX == 11.
21683 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21685         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21686         logical threads if the HTT bit is 0.
21687         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21688         (index_cpu_HTT): Likewise.
21689         (reg_HTT): Likewise.
21691 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21693         [BZ #20115]
21694         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21695         Remove alignments on jump targets.
21697 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21699         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21700         (getpwent): Likewise.
21701         (setpwent): Likewise.
21702         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21703         variable.
21705         * conform/data/search.h-data (insque): Do not expect for [XPG3].
21706         (remque): Likewise.
21707         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21708         variable.
21710 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21712         * math/libm-test.inc: Update comment not to refer to signs of NaNs
21713         not being tested.
21715 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21717         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21718         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
21719         call.
21720         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21721         (__condvar_cleanup1): Likewise.
21723 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21725         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21726         New
21727         (__pthread_unwind): Renamed to ...
21728         (PTHREAD_UNWIND): This.
21729         (__pthread_enable_asynccancel): Replace
21730         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21732 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21734         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21735         (CLONE_NEWCGROUP): New macro.
21737         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21738         (Q_GETNEXTQUOTA): New macro.
21740 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21742         [BZ #19907]
21743         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21744         buffer updated by the previous run.
21745         * string/test-memcpy.c (do_one_test): Likewise.
21746         * benchtests/bench-memmove.c (do_one_test): Add a comment.
21747         * string/test-memmove.c (do_one_test): Likewise.
21749 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
21751         [BZ #20094]
21752         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21753         not [__USE_XOPEN].
21754         (unlockpt): Likewise.
21755         (ptsname): Likewise.
21756         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21757         variable.
21759         [BZ #20076]
21760         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21761         instead of [__USE_UNIX98].
21762         (S_ISSOCK): Likewise.
21763         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21764         variable.
21766         [BZ #20074]
21767         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21768         [__USE_POSIX].
21769         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21770         variable.
21772         [BZ #20051]
21773         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21774         (ttyslot): Do not declare.
21775         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21776         (ttyslot): New prototype.
21777         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21778         variable.
21779         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21781 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21783         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21785 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21787         Fix race condition in tst-mallocfork2, use fewer resources.
21788         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21789         to current process group.
21790         (signal_sender): Yield in the non-sleeping case.
21792 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
21794         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21795         (ecvt): Likewise.
21796         (fcvt): Likewise.
21797         (gcvt): Likewise.
21798         (getsubopt): Likewise.
21799         (grantpt): Likewise.
21800         (initstate): Likewise.
21801         (l64a): Likewise.
21802         (mktemp): Likewise.
21803         (mkstemp): Likewise.
21804         (ptsname): Likewise.
21805         (random): Likewise.
21806         (realpath): Likewise.
21807         (setstate): Likewise.
21808         (srandom): Likewise.
21809         (ttyslot): Likewise.
21810         (unlockpt): Likewise.
21811         (valloc): Likewise.
21813         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21814         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21815         variable.
21817 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21819         [BZ #20072]
21820         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21821         init_cpu_features only if SHARED is defined.
21822         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21824 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21826         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21827         non-inclusive caches on Intel processors.
21829 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21831         * malloc/malloc.c (dumped_main_arena_start)
21832         (dumped_main_arena_end): New variables.
21833         (DUMPED_MAIN_ARENA_CHUNK): New macro.
21834         (do_check_chunk): Skip dumped fake mmapped chunks.
21835         (munmap_chunk): Likewise.
21836         (__libc_free): Do not adjust statistics for fake mmapped chunks.
21837         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
21838         mmapped chunks.
21839         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21840         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
21841         and dumped_main_arena_end to cover the dumped heap.
21843 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
21845         * conform/data/time.h-data (getdate_err): Do not expect for
21846         [XPG3].
21847         (getdate): Likewise.
21848         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21849         variable.
21851         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21852         (F_ULOCK): Likewise.
21853         (F_TEST): Likewise.
21854         (F_TLOCK): Likewise.
21855         (useconds_t): Likewise.
21856         (intptr_t): Do not expect for [XPG3] or [XPG4].
21857         (brk): Do not expect for [XPG3]
21858         (fchown): Likewise.
21859         (fchdir): Likewise.
21860         (ftruncate): Likewise.
21861         (getdtablesize): Likewise.
21862         (gethostid): Likewise.
21863         (getpagesize): Likewise.
21864         (getpgid): Likewise.
21865         (getsid): Likewise.
21866         (getwd): Likewise.
21867         (lchown): Likewise.
21868         (lockf): Likewise.
21869         (readlink): Likewise.
21870         (sbrk): Likewise.
21871         (setpgrp): Likewise.
21872         (setregid): Likewise.
21873         (setreuid): Likewise.
21874         (symlink): Likewise.
21875         (sync): Likewise.
21876         (truncate): Likewise.
21877         (ualarm): Likewise.
21878         (usleep): Likewise.
21879         (vfork): Likewise.
21880         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21881         variable.
21883         [BZ #20054]
21884         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21885         not [__USE_UNIX98].
21886         * conform/data/unistd.h-data (gethostname): Do not expect for
21887         [XPG3].
21889         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21890         [!POSIX] (S_IFBLK): Likewise.
21891         [!POSIX] (S_IFCHR): Likewise.
21892         [!POSIX] (S_IFIFO): Likewise.
21893         [!POSIX] (S_IFREG): Likewise.
21894         [!POSIX] (S_IFDIR): Likewise.
21895         [!POSIX] (S_IFLNK): Likewise.
21896         [!POSIX] (S_IFSOCK): Likewise.
21897         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21898         variable.
21899         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21901 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
21903         * sysdeps/aarch64/memset.S (__memset):
21904         Rewrite of optimized memset.
21906 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21908         [BZ #19703]
21909         Partially async-signal-safe fork for single-threaded processes.
21910         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21911         variable.  Do not acquire and reset/release malloc and libio locks
21912         in single-threaded processes.
21913         * malloc/tst-mallocfork2.c: New file.
21914         * malloc/Makefile (tests): Add it.
21916 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21918         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21919         argument.  Use scratch buffer instead of extend_alloca.
21920         (gethosts): Use scratch buffer instead of extend_alloca.
21921         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
21922         extend_alloca.
21923         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21925 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
21927         [BZ #20055]
21928         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21929         instead of [__USE_UNIX98].
21930         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21931         [__USE_UNIX98].
21932         * conform/data/termios.h-data (tcgetsid): Do not expect for
21933         [XPG3].
21934         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21935         variable.
21936         (test-xfail-XPG4/termios.h/conform): Likewise.
21938 2016-05-11  Florian Weimer  <fweimer@redhat.com>
21940         Do not use mcheck in localedef.
21941         * locale/programs/localedef.c (turn_on_mcheck)
21942         (__malloc_initialize_hook): Remove.
21944 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21946         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21947         * sysdeps/s390/s390-64/Makefile: Likewise.
21949 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21951         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21952         Remove ifunc-defines.sym.
21953         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21954         Likewise.
21955         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21956         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21957         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
21958         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
21959         rtld-global-offsets.sym.
21960         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
21961         * sysdeps/x86/cpu-features-offsets.sym: This.
21962         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
21963         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
21965 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
21967         [BZ #20073]
21968         * io/sys/stat.h (fchmod): Declare for
21969         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
21970         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
21971         variable.
21973         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
21974         [XPG3] (S_IFSOCK): Likewise.
21975         [XPG3] (S_ISVTX): Likewise.
21976         [XPG3] (S_ISLNK): Likewise.
21977         [XPG3] (S_ISSOCK): Likewise.
21978         [XPG3] (fchmod): Likewise.
21979         [XPG3] (lstat): Likewise.
21980         [XPG3] (mknod): Likewise.
21982         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
21983         [XPG3].  Expect type long and XFAIL for [XPG4].
21984         (st_blocks): Likewise.
21986         [BZ #20044]
21987         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
21988         (pthread_atfork): New prototype.
21989         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
21990         variable.
21992         [BZ #20043]
21993         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
21994         prototype.
21996 2016-05-10  Florian Weimer  <fweimer@redhat.com>
21998         [BZ #20017]
21999         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
22000         gmtime.
22002 2016-05-10  Florian Weimer  <fweimer@redhat.com>
22004         [BZ #19994]
22005         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
22006         flag in _res.options.
22008 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
22010         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
22011         [XPG3 || XPG4].
22012         (blksize_t): Likewise.
22013         (clockid_t): Likewise.
22014         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
22015         variable.
22016         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22018 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22020         * sysdeps/unix/sysv/linux/s390/init-first.c:
22021         Add VDSO_SYMBOL(getcpu).
22022         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
22023         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
22024         Add VDSO_SYMBOL(getcpu).
22025         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
22026         New define HAVE_GETCPU_VSYSCALL.
22027         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22029 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22031         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
22032         instead of <sysdeps/x86_64/cacheinfo.c>.
22033         * sysdeps/x86_64/cacheinfo.c: Moved to ...
22034         * sysdeps/x86/cacheinfo.c: Here.
22036 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22038         * malloc/malloc-internal.h: Adjust header file guard.
22040 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22042         [BZ #19787]
22043         * inet/getnameinfo.c (check_sprintf_result): New function.
22044         (CHECKED_SNPRINTF): New macro.
22045         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
22046         to the host buffer.
22047         (gni_host_local): Use checked_copy to copy the host name.
22048         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
22049         (gni_serv_local): Use checked_copy to copy the service name.
22050         (getnameinfo): Remove unnecessary truncation of result buffers.
22052 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22054         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
22055         in case of inet_ntop failure.
22057 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22059         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
22060         avoid long lines.
22061         (gni_host_inet_numeric): Likewise.  Reduce scope of local
22062         variables.
22063         (gni_host_inet, gni_host_local): Add comment.
22064         (gni_host): Add comment.  Use temporary to avoid long lines.
22066 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22068         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
22069         registers specifiers where general purpose registers specifiers should
22070         have been used.
22072 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22074         [BZ #19779]
22075         CVE-2016-1234
22076         Avoid copying names of directory entries.
22077         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
22078         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
22079         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
22080         (struct readdir_result): New type.
22081         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
22082         (GL_READDIR): New macros.
22083         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
22084         (convert_dirent, convert_dirent64): New functions.
22085         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
22086         convert_dirent64.  Adjust references to the readdir result.
22087         * sysdeps/unix/sysv/linux/i386/glob64.c:
22088         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
22089         * posix/bug-glob2.c (LONG_NAME): Define.
22090         (filesystem): Add LONG_NAME.
22091         (my_DIR): Increase the size of room_for_dirent.
22093 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
22095         [BZ #20041]
22096         * misc/sys/select.h (__need_timespec): Only define if
22097         [__USE_XOPEN2K].
22098         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
22099         variable.
22100         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22101         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22102         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22104 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22105             Segher Boessenkool  <segher@gcc.gnu.org>
22107         [BZ #20004]
22108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
22109         (__novec_swapcontext): Add missing load.
22111 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
22113         [BZ #20023]
22114         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
22115         <time.h>.
22116         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22117         variable.
22118         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22120 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22123         flags CLONE_VM compare.
22125 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22127         [BZ #20031]
22128         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22129         completely empty.
22131 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22133         [BZ #19573]
22134         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22135         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22136         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22137         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22138         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22139         (hesiod_free_list): Mark as hidden.
22140         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22141         res_set, res_get.
22142         * hesiod/hesiod.c: Remove unnecessary forward declarations.
22143         (init, __hesiod_res_get, __hesiod_res_set): Remove.
22144         (hesiod_init): Remove obsolete res_ninit call.
22145         (hesiod_end): Do not free resolver state.  Do not invoke callback.
22146         (hesiod_bind): Do not call init.
22147         (get_txt_records): Use res_mkquery, res_send instead of
22148         res_nmkquery, res_nsend.
22149         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22150         instead of _nss_hesiod_init.
22151         (_nss_hesiod_initgroups_dyn): Likewise.
22152         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22153         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22154         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22156 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22158         * hesiod/hesiod_p.h (DEF_RHS): Remove.
22159         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22161 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22163         * hesiod/hesiod.h: Remove RCS keyword.
22164         * hesiod/hesiod_p.h: Likewise.
22166         * hesiod/hesiod.c: Likewise.
22168 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
22170         [BZ #12450]
22171         * locale/iso-639.def: Add Samogitian/sgs.
22173 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
22175         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22177         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22179 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
22180             Carlos O'Donell  <carlos@redhat.com>
22182         [BZ #19072]
22183         * grp/Makefile (headers): Add grp-merge.h
22184         (routines): Add grp-merge.
22185         * grp/getgrgid_r.c: Include grp-merge.h.
22186         (DEEPCOPY_FN): Define.
22187         (MERGE_FN): Define.
22188         * grp/getgrname_r.c: Include grp-merge.h.
22189         (DEEPCOPY_FN): Define.
22190         (MERGE_FN): Define.
22191         * grp/grp-merge.c: New file.
22192         * grp/grp-merge.h: New file.
22193         * include/grp-merge.h: New file.
22194         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22195         __copy_grp@GLIBC_PRIVATE.
22196         * manual/nss.texi (Actions in the NSS configuration): Describe
22197         return, continue, and merge.
22198         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22199         (DEEPCOPY_FN): Define.
22200         (MERGE_FN): Define.
22201         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22202         (DEEPCOPY_FN): Define.
22203         (MERGE_FN): Define.
22204         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22205         [!MERGE_FN]: Define __merge_einval.
22206         (CHECK_MERGE): Define.
22207         (REENTRANT_NAME): Process merge if do_merge is true.
22208         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22209         (__nss_getent_r): Likewise.
22210         * nss/nsswitch.c (nss_parse_service_list): Likewise.
22211         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22213 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22215         [BZ #20012]
22216         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22217         length to calculate the buffer to read.
22218         (fmemopen_write): Set the buffer position based on bytes written.
22219         (fmemopen_seek): Return EINVAL for invalid whence modes.
22221         [BZ #19957]
22222         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22223         tst-getpid2.
22224         (test): Add tst-clone2.
22225         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22226         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22227         pid/tid fields for CLONE_VM.
22228         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22229         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22230         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22231         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22232         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22233         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22234         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22235         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22237         Likewise.
22238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22239         Likewise.
22240         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22241         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22242         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22243         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22244         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22245         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22246         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22247         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22249 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22251         [BZ #19642]
22252         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22253         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22254         (gni_serv_local, gni_serv): New functions extracted from
22255         getnameinfo.
22256         (getnameinfo): Call gni_host and gni_serv to perform the
22257         processing.  Always free scratch buffer.
22259 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22261         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22262         remaining bytes in the dest string, with zeros.
22264 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22266         [BZ #20010]
22267         CVE-2016-3706
22268         * sysdeps/posix/getaddrinfo.c
22269         (convert_hostent_to_gaih_addrtuple): New function.
22270         (gethosts): Call convert_hostent_to_gaih_addrtuple.
22271         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22272         AF_INET data.
22274 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22276         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22277         callback function gl_readdir.
22278         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22279         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22280         (glob_in_dir): Remove len.  Use strdup instead of malloc and
22281         memcpy to copy the name.
22282         * manual/pattern.texi (Calling Glob): Document requirements for
22283         implementations of the gl_readdir callback function.
22284         * manual/examples/mkdirent.c: New example.
22285         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22286         per the manual guidance.
22287         * posix/tst-gnuglob.c (my_readdir): Likewise.
22289 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
22291         [BZ #20014]
22292         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22293         not [__USE_POSIX].
22294         (getchar_unlocked): Likewise.
22295         (putc_unlocked): Likewise.
22296         (putchar_unlocked): Likewise.
22297         (flockfile): Likewise.
22298         (ftrylockfile): Likewise.
22299         (funlockfile): Likewise.
22300         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22301         variable.
22302         (test-xfail-XPG4/stdio.h/conform): Likewise.
22304         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22305         Expect constant.
22306         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22307         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22308         variable.
22309         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22310         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22312         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22313         [__USE_LARGEFILE64] (off64_t): Likewise.
22314         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22315         variable.
22317 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22319         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22321 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22323         * resolv/inet_addr.c: Reindent preprocessor conditionals.
22324         * resolv/res_init.c: Likewise.
22325         * resolv/res_mkquery.c: Likewise.
22327 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22329         * resolv/res_init.c (isascii): Do not define.  Use definition in
22330         <ctype.h>.
22331         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22332         (LOG_AUTH): Remove.
22333         (SPRINTF): Remove, adjust caller.
22334         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22336 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22338         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22339         SUNSECURITY conditional.
22340         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22342 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22344         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22345         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22346         Remove BSD-related preprocessor conditionals.
22347         * conf/portability.h: Remove.
22349 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22351         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22352         * resolv/res_data.c: Likewise.
22354 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22356         * resolv/res_comp.c: Remove code conditional on __ultrix__.
22357         * resolv/res_data.c: Remove code conditional on ultrix.
22359 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22361         * resolv/res_init.c (RFC1535): Do not define.  Remove
22362         RFC1535 preprocessor conditionals.
22363         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
22364         because there configuration options which make the resolver
22365         behavior different.
22367 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22369         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
22370         RESOLVSORT preprocessor conditionals.
22371         * resolv/nss_dns/dns-host.c: Likewise.
22372         * resolv/res_init.c: Likewise.
22374 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22376         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
22377         is never defined.
22379 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22381         * inet/inet_lnaof.c: Remove SCSS keyword.
22382         * inet/inet_mkadr.c: Likewise.
22383         * inet/inet_net.c: Likewise.
22384         * inet/inet_netof.c: Likewise.
22385         * inet/rcmd.c: Likewise.
22386         * inet/rexec.c: Likewise.
22387         * inet/ruserpass.c: Likewise.
22389 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22391         * resolv/inet_addr.c: Remove _LIBC conditionals.
22392         * resolv/res_data.c: Likewise.
22393         * resolv/res_init.c: Likewise.
22394         * resolv/res_mkquery.c: Likewise.
22395         * resolv/res_libc.c: Update comment.
22396         * resolv/README: Update.
22398 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22400         * resolv/gethnamaddr.c: Remove SCSS keyword.
22401         * resolv/herror.c: Likewise.
22402         * resolv/inet_addr.c: Likewise.
22403         * resolv/inet_net_ntop.c: Likewise.
22404         * resolv/inet_net_pton.c: Likewise.
22405         * resolv/inet_neta.c: Likewise.
22406         * resolv/inet_ntop.c: Likewise.
22407         * resolv/inet_pton.c: Likewise.
22408         * resolv/ns_date.c: Remove RCS keyword.
22409         * resolv/ns_name.c: Likewise.
22410         * resolv/ns_netint.c: Likewise.
22411         * resolv/ns_parse.c: Likewise.
22412         * resolv/ns_print.c: Likewise.
22413         * resolv/ns_samedomain.c: Likewise.
22414         * resolv/ns_ttl.c: Likewise.
22415         * resolv/nsap_addr.c: Likewise.
22416         * resolv/res_comp.c: Remove SCSS and RCS keyword.
22417         * resolv/res_data.c: Remove RCS keyword.
22418         * resolv/res_debug.c: Remove SCSS and RCS keyword.
22419         * resolv/res_init.c: Likewise.
22420         * resolv/res_mkquery.c: Likewise.
22421         * resolv/res_query.c: Likewise.
22422         * resolv/res_send.c: Likewise.
22424 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22426         * conform/data/stdio.h-data (fdopen): Expect also for
22427         [XPG3 || XPG4].
22429         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22430         (fseeko): Likewise.
22431         (ftello): Likewise.
22432         (ftrylockfile): Likewise.
22433         (funlockfile): Likewise.
22434         (getc_unlocked): Likewise.
22435         (getchar_unlocked): Likewise.
22436         (putc_unlocked): Likewise.
22437         (putchar_unlocked): Likewise.
22439 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22441         [BZ #19868]
22442         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22443         DNS packet syntax checks (which were not needed before).  Skip
22444         over non-PTR records.
22446 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22448         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22449         definition.  Include <stddef.h> instead.
22451 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22453         [BZ #19831]
22454         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22455         function.
22456         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22457         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22459 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22461         [BZ #19862]
22462         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22463         (getanswer_r): Do not call syslog.
22464         (gaih_getanswer_slice): Likewise.
22465         * resolv/gethnamaddr.c (AskedForGot): Remove.
22466         (getanswer): Do not call syslog.
22467         (gethostbyaddr): Likewise.
22469 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22471         * conform/data/signal.h-data (union sigval): Expect also if
22472         [XOPEN2K].
22473         (struct sigevent): Likewise.
22474         (SIGEV_NONE): Likewise.
22475         (SIGEV_SIGNAL): Likewise.
22476         (SIGEV_THREAD): Likewise.
22477         (SIGRTMIN): Likewise.
22478         (SIGRTMAX): Likewise.
22479         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22480         variable.
22481         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22483 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22485         [BZ #19830]
22486         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22487         (gaih_getanswer_slice): Likewise.
22488         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22489         Also check for availability of RR metadata.
22491 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22493         [BZ #19825]
22494         * resolv/res_send.c (send_vc): Remove early *resplen2
22495         initialization.  Set *resplen2 on socket error.  Call
22496         close_and_return_error for other errors.
22498 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22500         * sysdeps/unix/sysv/linux/netiucv/iucv.h
22501         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22502         (SCM_IUCV_TRGCLS): New define.
22504 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22506         [BZ #20005]
22507         * libio/fmemopen.c (fmemopen_write): Update internal position after
22508         write.
22509         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22510         * stdio-common/tst-fmemopen4.c: New file..
22512 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
22514         [BZ #19996]
22515         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22516         not [__USE_XOPEN2K].
22517         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22518         variable.
22520         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22521         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22522         variable.
22524         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22525         [__USE_XOPEN2K8].
22526         [__USE_LARGEFILE64] (off64_t): Likewise.
22527         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22528         variable.
22530 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
22532         [BZ #19989]
22533         * libio/stdio.h (cuserid): Do not declare if
22534         [__USE_XOPEN2K && !__USE_GNU].
22535         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22536         variable.
22538 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22540         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22541         (sysdep_routines): Add P8 and PPC64 strcspn targets.
22542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22543         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22544         ifunc'ed strcspn.
22545         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22546         [EALIGN]: Removed.
22547         [END]: Likewise
22548         [STRSPN]: Define instead of the above to control symbol name.
22549         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22550         New file.
22551         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22552         Likewise.
22553         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22554         Likewise.
22555         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22556         Likewise.
22557         * sysdeps/powerpc/powerpc64/power8/strspn.S:
22558         [INITIAL_MASK]: New macro.
22559         [STRCSPN]: Likewise.
22560         [UPDATE_MASK]: Likewise.
22561         [USE_AS_STRCSPN]: Likewise.
22563 2016-04-25  Florian Weimer  <fweimer@redhat.com>
22565         [BZ #19931]
22566         * stdio-common/tst-vfprintf-width-prec.c: New file.
22567         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22568         (tests-special): Add tst-vfprintf-width-prec-mem.out.
22569         (generated): Add mtrace-related files.
22570         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22571         (tst-%-mem.out): New pattern rule, replaces
22572         tst-printf-bz18872-mem.out.
22573         * stdio-common/vfprintf.c (vfprintf): When handling a precision
22574         specifier, deallocate any previously allocated work buffer.
22576 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22578         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22579         Add nop before __startcontext, add explaining comments.
22581 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
22583         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22584         any more. Notably since IPV6_PKTINFO has been reintroduced with a
22585         completely different API.
22587         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22588         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22589         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22590         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22591         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22592         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22593         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22594         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22595         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22596         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22598 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
22600         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22602 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
22604         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22605         when it is the default of 0.
22607 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22609         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
22610         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22611         (sysdep_routines): Add new strcasestr targets.
22612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22613         (__libc_ifunc_impl_list): Likewise.
22614         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22615         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22616         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22617         * sysdeps/powerpc/powerpc64/power8/Makefile:
22618         New file to add strcasestr-ppc64 to sysdep_routines.
22619         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22620         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22622 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
22624         * benchtests/Makefile (wcsmbs-benchset): Include only for
22625         native builds and runs.
22626         (LOCALES): Likewise.
22627         (bench-build): Build timing-type here instead of the bench
22628         target.  Generate locale only for native builds.
22629         * benchtests/README: Add note for cross-building.
22631         * benchtests/Makefile (bench-clean): Clean up extra-objs.
22633         * benchtests/README: Update README to include instructions on
22634         using bench-build.
22636         * Makefile.in (bench-build): New target.
22637         * Rules (PHONY): Add bench-build target.
22638         * benchtests/Makefile (bench): Depend on bench-build.
22639         (bench-build): New target.
22641 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22643         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22644         profil_reply_port.
22645         (profile_waiter): Do not initialize profil_reply_port.
22646         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22647         frequency instead of tick length in us.
22649 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
22651         [BZ #18712]
22652         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22653         (__old_mempcpy_small): Likewise.
22654         (__old_strcpy_small): Likewise.
22655         (__old_stpcpy_small): Likewise.
22656         (__old_strpbrk_c2): Fix compat symbol name.
22657         (__old_strpbrk_c3): Likewise.
22658         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22659         (__mempcpy_small): Remove.
22660         (__strcpy_small): Remove.
22661         (__stpcpy_small): Remove.
22663 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
22665         [BZ #19400]
22666         * locale/iso-639.def: Add the Talossan/tzl language.
22668 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22670         [BZ #16983]
22671         * locale/programs/ld-address.c (address_finish): Update postal_fmt
22672         comment.  Add "ln" to strchr check on postal_fmt.
22674 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22676         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22677         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
22678         tel_dom_fmt.
22680 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22682         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22683         (sysdep_routines): Added __strlen_power8.
22684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22685         __strlen_power8 entry.
22686         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22687         Implementation for POWER8.
22688         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22689         for __strlen_power8.
22690         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22691         Implementation for POWER8.
22693 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
22695         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22697 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
22699         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22700         Goldmont and Airmont processors.
22702 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
22704         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22705         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22706         (__STRING2_SMALL_GET32): Remove.
22707         (memset): Remove.
22708         (__memset_1): Remove.
22709         (__memset_gc): Remove.
22710         (__mempcpy): Remove.
22711         (mempcpy): Remove.
22712         (__mempcpy_args): Remove.
22713         (strchr): Remove.
22714         (strcpy): Remove.
22715         (strcpy_args): Remove.
22716         (__stpcpy_args): Remove.
22717         (__strcmp_cc): Remove.
22718         (__strcmp_gc): Remove.
22719         (strstr): Remove.
22721 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
22723         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22724         * nis/nis_call.c (nis_server_cache_add): Likewise.
22726 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22728         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22730 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22732         * malloc/arena.c (__malloc_fork_lock_parent)
22733         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22734         internal_function attribute.
22736 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
22738         * stdio-common/printf_fp.c (__printf_fp_l):
22739         Rename ___printf_fp_l to __printf_fp_l and
22740         remove strong alias. Use libc_hidden_def instead
22741         of ldbl_hidden_def macro.
22743 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22745         Remove malloc hooks from fork handler.  They are no longer needed
22746         because malloc runs right before fork, and no malloc calls from
22747         other fork handlers are not possible anymore.
22748         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22749         declarations.
22750         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22751         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22752         (atfork_recursive_cntr): Remove.
22753         (__malloc_fork_lock_parent): Do not override malloc hooks and
22754         thread_arena.
22755         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22756         thread_arena.
22757         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
22758         thread_arena instead of save_arena.
22760 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22762         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22763         (thread_atfork, thread_atfork_static): Remove.
22764         * sysdeps/mach/hurd/malloc-machine.h:
22765         (thread_atfork, thread_atfork_static): Remove.
22767 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22769         [BZ #19431]
22770         Run the malloc fork handler as late as possible to avoid deadlocks.
22771         * malloc/malloc-internal.h: New file.
22772         * malloc/malloc.c: Include it.
22773         * malloc/arena.c (ATFORK_MEM): Remove.
22774         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22775         Update comment.
22776         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22777         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22778         Remove outdated comment.
22779         (ptmalloc_init): Do not call thread_atfork.  Remove
22780         thread_atfork_static.
22781         * malloc/tst-malloc-fork-deadlock.c: New file.
22782         * Makefile (tests): Add tst-malloc-fork-deadlock.
22783         (tst-malloc-fork-deadlock): Link against libpthread.
22784         * manual/memory.texi (Aligned Memory Blocks): Update safety
22785         annotation comments.
22786         * sysdeps/nptl/fork.c (__libc_fork): Call
22787         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22788         __malloc_fork_unlock_child.
22789         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22791 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22793         [BZ #19613]
22794         Remove union wait.
22795         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22796         (w_stopsig, w_stopval): Remove.
22797         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22798         stat_loc argument.
22799         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22800         (__WAIT_STATUS_DEFN): Remove.
22801         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22802         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22803         (wait, wait3, wait4): Use int * for the stat_loc argument.
22804         * posix/wait.c (__wait): Likewise.
22805         * posix/wait3.c (__wait3): Likewise.
22806         * posix/wait4.c (__wait4): Likewise.
22807         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22808         (__WAIT_STATUS_DEFN): Remove.
22809         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22810         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22811         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22812         argument.
22813         * sysdeps/posix/wait.c (__libc_wait): Likewise.
22814         * sysdeps/posix/wait3.c (__wait3): Likewise.
22815         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22816         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22817         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22818         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22819         stat_loc argument.
22820         * manual/process.texi (BSD Wait Functions): Remove union wait.
22822 2016-04-13  Andreas Schwab  <schwab@suse.de>
22824         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22825         (test-extras): Add tst-tlsalign-vars.
22826         * math/Makefile: Wrap long lines.
22827         (libm-vec-test-wrappers): Define.
22828         (test-extras): Add $(libm-vec-test-wrappers).
22829         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22830         * nss/Makefile (extra-test-objs): Add nss_test1.os.
22831         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22832         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22833         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22834         (extra-test-objs): Add corresponding objects.
22836 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
22838         [BZ #19928]
22839         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22840         New.
22841         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22842         times of shared cache size.
22843         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22844         (VMOVNT): New.
22845         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22846         (VMOVNT): Likewise.
22847         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22848         (VMOVNT): Likewise.
22849         (VMOVU): Changed to movups for smaller code sizes.
22850         (VMOVA): Changed to movaps for smaller code sizes.
22851         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22852         comments.
22853         (PREFETCH): New.
22854         (PREFETCH_SIZE): Likewise.
22855         (PREFETCHED_LOAD_SIZE): Likewise.
22856         (PREFETCH_ONE_SET): Likewise.
22857         Rewrite to use forward and backward loops, which move 4 vector
22858         registers at a time, to support overlapping addresses and use
22859         non temporal store if size is above the threshold and there is
22860         no overlap between destination and source.
22862 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
22864         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22865         Include dl-vdso.
22866         * sysdeps/unix/sysv/linux/mips/Versions: Add
22867         __vdso_clock_gettime.
22868         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22869         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22870         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22871         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22872         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22873         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22874         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22875         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22876         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22878 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22880         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22881         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22882         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22883         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22884         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22885         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22888         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22889         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22890         syscalls generation.
22891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22892         [__NR_pwrite64] (__NR_write): Remove define.
22893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22894         [__NR_pwrite64] (__NR_write): Remove define.
22895         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22896         Remove define.
22897         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22898         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22899         Remove define.
22900         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22901         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22902         Linux implementation as base.
22903         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22905         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22906         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22907         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22908         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22911         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22912         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22913         syscall generation.
22914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22915         [__NR_pread64] (__NR_pread): Remove define.
22916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22917         [__NR_pread64] (__NR_pread): Likewise.
22918         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22919         define.
22920         (__libc_pread): Use SYSCALL_LL macro on offset argument.
22921         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22922         Remove define.
22923         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22924         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22925         Linux implementation as base.
22926         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22927         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22928         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22930         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22931         definition.
22932         (__ALIGNMENT_COUNT): Likewise.
22933         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22934         (__ALIGNMENT_COUNT): Likewise.
22935         (SYSCALL_LL): New define.
22936         (SYSCALL_LL64): Likewise.
22937         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22938         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22939         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22940         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22942         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22943         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22944         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22945         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22946         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22947         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22949 2016-04-11  Florian Weimer  <fweimer@redhat.com>
22951         [BZ #19865]
22952         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22953         original buffer before retry.
22955 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22957         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
22958         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
22959         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
22960         GLRO(dl_auxv) list.
22961         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
22962         including <ldsodefs.h>.
22963         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
22965 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
22967         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
22968         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
22969         $(CPPFLAGS).
22971 2016-04-09  Khem Raj  <raj.khem@gmail.com>
22973         [BZ #17950]
22974         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
22975         Add -mfpmath=387.
22977 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
22979         * sysdeps/i386/configure.ac: Change == to = when calling test.
22980         * sysdeps/x86_64/configure.ac: Likewise.
22981         * sysdeps/i386/configure: Regenerated.
22982         * sysdeps/x86_64/configure: Likewise.
22984 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
22986         [BZ #16137]
22987         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
22988         * benchtests/bench-strcoll.c (input_files): Likewise.
22989         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22990         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
22991         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
22993 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
22995         [BZ #19929]
22996         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
22997         [__USE_XOPEN2K8 && !__USE_GNU].
22998         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
22999         variable.
23001         [BZ #19925]
23002         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
23003         define if [!__USE_MISC && __USE_XOPEN2K].
23004         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
23005         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
23006         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
23007         Likewise.
23008         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
23009         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
23010         variable.
23011         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23013 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23015         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
23016         (sysdep_routines): Add new strspn targets.
23017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23018         (__libc_ifunc_impl_list): Add strspn.
23019         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
23020         New file.
23021         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
23022         Likewise.
23023         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
23024         Likewise.
23025         * sysdeps/powerpc/powerpc64/power8/strspn.S:
23026         Likewise.
23028 2016-04-07  Florian Weimer  <fweimer@redhat.com>
23030         * misc/hsearch_r.c: Include <limits.h>.
23032 2016-04-07  Florian Weimer  <fweimer@redhat.com>
23034         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
23036 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23038         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
23039         (MEMCPY_SYMBOL): New.
23040         (MEMPCPY_SYMBOL): Likewise.
23041         (MEMMOVE_CHK_SYMBOL): Likewise.
23042         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
23043         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
23044         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
23045         Provide alias for memcpy in libc.a and ld.so.
23047 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23049         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
23050         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
23051         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
23052         Disabled fro now.
23053         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
23054         symbols.  Properly check USE_MULTIARCH on __memset symbols.
23056 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23058         * benchtests/Makefile (string-benchset): Add memcpy-large,
23059         memmove-large and memset-large.
23060         * benchtests/bench-memcpy-large.c: New file.
23061         * benchtests/bench-memmove-large.c: Likewise.
23062         * benchtests/bench-memmove-large.c: Likewise.
23063         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
23065 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
23067         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
23068         32-bit displacement to avoid long nop between instructions.
23070 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
23072         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
23073         a comment on VMOVU and VMOVA.
23075 2016-04-04  Florian Weimer  <fweimer@redhat.com>
23077         [BZ #19633]
23078         Use specified locale for number formatting in strfmon_l.
23079         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
23080         (__nl_lookup_word): New inline functions.
23081         * include/printf.h (__print_fp_l): Declare.
23082         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
23083         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
23084         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
23085         (___printf_fp): New function.
23086         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
23087         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
23088         * stdlib/tst-strfmon_l.c (do_test): New test.
23089         * stdlib/Makefile (tests): Add kt.
23090         (LOCALES): Build additional locales.
23091         (tst-strfmon_l.out): Require locales.
23093 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
23095         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
23096         if not in libc.
23097         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23098         Likewise.
23099         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
23100         Likewise.
23101         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23102         Likewise.
23104 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
23106         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23107         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
23108         with unaligned_erms.
23109         (__memmove_erms): Skip if source == destination.
23110         (__memmove_unaligned_erms): Don't check source == destination
23111         first.
23113 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23115         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23116         bit_arch_Fast_Copy_Backward for Intel Core proessors.
23118 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23120         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23121         * string/strspn.c (strspn): Likewise.
23123 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23125         * benchtests/bench-memset.c (do_test): Support 64-byte
23126         alignment.
23127         (test_main): Test 64-byte alignment.
23129 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23131         * benchtests/bench-memmove.c (test_main): Test 64-byte
23132         alignment.
23134 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23136         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23138 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23140         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23141         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23142         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23144         * string/strpbrk.c (strpbrk): Rewrite function.
23145         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23146         (__strpbrk_c2): Likewise.
23147         (__strpbrk_c3): Likewise.
23148         * string/string-inlines.c
23149         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23150         Likewise.
23151         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23152         Likewise.
23154         * string/strspn.c (strcspn): Rewrite function.
23155         * string/bits/string2.h (strspn): Use __builtin_strcspn.
23156         (__strspn_c1): Remove inline function.
23157         (__strspn_c2): Likewise.
23158         (__strspn_c3): Likewise.
23159         * string/string-inlines.c
23160         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23161         compatibility symbol.
23162         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23163         Likewise.
23164         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23165         Likewise.
23166         * string/string-inlines.c: Include generic version.
23168 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
23169             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23171         * string/Version (libc): Add GLIBC_2.24.
23172         * string/strcspn.c (strcspn): Rewrite function.
23173         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23174         (__strcspn_c1): Remove inline function.
23175         (__strcspn_c2): Likewise.
23176         (__strcspn_c3): Likewise.
23177         * string/string-inline.c
23178         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23179         compatibility symbol.
23180         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23181         Likewise.
23182         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23183         Likewise.
23184         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23186 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23188         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23189         Use ahi instead of aghi to adjust stack pointer.
23191 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23193         [BZ #19853]
23194         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23195         TEST to take significant digits as second parameter.
23196         [TEST]: Redefine in terms of TEST_N taking 30
23197         significant digits.
23198         (do_test): Add test case to demonstrate precision
23199         failure in the ldbl-128ibm printf.
23200         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23201         (__mpn_extract_long_double): Carry 7 extra intermediate
23202         bits of precision to aide computing difference when
23203         signs differ.
23205 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23207         [BZ #19881]
23208         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23209         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23210         memset-avx512-unaligned-erms.
23211         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23212         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23213         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23214         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23215         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23216         __memset_sse2_unaligned_erms, __memset_erms,
23217         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23218         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23219         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23220         file.
23221         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23222         Likewise.
23223         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23224         Likewise.
23225         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23226         Likewise.
23228 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23230         [BZ #19776]
23231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23232         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23233         memmove-avx512-unaligned-erms.
23234         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23235         (__libc_ifunc_impl_list): Test
23236         __memmove_chk_avx512_unaligned_2,
23237         __memmove_chk_avx512_unaligned_erms,
23238         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23239         __memmove_chk_sse2_unaligned_2,
23240         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23241         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23242         __memmove_avx512_unaligned_erms, __memmove_erms,
23243         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23244         __memcpy_chk_avx512_unaligned_2,
23245         __memcpy_chk_avx512_unaligned_erms,
23246         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23247         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23248         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23249         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23250         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23251         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23252         __mempcpy_chk_avx512_unaligned_erms,
23253         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23254         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23255         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23256         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23257         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23258         __mempcpy_erms.
23259         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23260         file.
23261         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23262         Likewise.
23263         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23264         Likewise.
23265         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23266         Likewise.
23268 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23270         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23271         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23272         (La_s390_64_regs): Likewise.
23273         (La_s390_32_retval): Append vector register lrv_v24.
23274         (La_s390_64_retval): Likeweise.
23275         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23276         Handle extended structs La_s390_32_regs and La_s390_32_retval.
23277         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23278         Handle extended structs La_s390_64_regs and La_s390_64_retval.
23280 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23282         [BZ #19916]
23283         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23284         to create a non-vector/vector version for _dl_runtime_resolve and
23285         _dl_runtime_profile. Move implementation to ...
23286         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23287         (_dl_runtime_resolve) Save and restore fpr/vrs.
23288         (_dl_runtime_profile) Save and restore vrs and fix some issues
23289         if _dl_call_pltexit is called.
23290         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23291         Choose the correct resolver function if running on a machine with vx.
23292         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23293         to create a non-vector/vector version for _dl_runtime_resolve and
23294         _dl_runtime_profile. Move implementation to ...
23295         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23296         (_dl_runtime_resolve) Save and restore fpr/vrs.
23297         (_dl_runtime_profile) Save and restore vrs and fix some issues
23298         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23299         Choose the correct resolver function if running on a machine with vx.
23301 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23303         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23305 2016-03-31  Florian Weimer  <fweimer@redhat.com>
23307         [BZ #19509]
23308         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23309         skip_map != NULL.
23310         * elf/tst-dlsym-error.c: New file.
23311         * elf/Makefile (tests): Add tst-dlsym-error.
23312         (tst-dlsym-error): Link against libdl.
23314 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
23316         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23317         (__ASSUME_FUTIMESAT): Remove macro.
23318         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23320 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23322         [BZ #19879]
23323         CVE-2016-3075
23324         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23325         copy name.
23327 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23329         [BZ #19837]
23330         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23331         error if parse_line fails.
23333 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23335         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23336         (index_cpu_ERMS): Likewise.
23337         (reg_ERMS): Likewise.
23339 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
23341         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23342         PER_LINUX_FDPIC): Add.
23344 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23347         memcpy-avx512-no-vzeroupper.
23348         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23349         to ...
23350         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23351         (MEMCPY): Don't define.
23352         (MEMCPY_CHK): Likewise.
23353         (MEMPCPY): Likewise.
23354         (MEMPCPY_CHK): Likewise.
23355         (MEMPCPY_CHK): Renamed to ...
23356         (__mempcpy_chk_avx512_no_vzeroupper): This.
23357         (MEMPCPY_CHK): Renamed to ...
23358         (__mempcpy_chk_avx512_no_vzeroupper): This.
23359         (MEMCPY_CHK): Renamed to ...
23360         (__memmove_chk_avx512_no_vzeroupper): This.
23361         (MEMCPY): Renamed to ...
23362         (__memmove_avx512_no_vzeroupper): This.
23363         (__memcpy_avx512_no_vzeroupper): New alias.
23364         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23366 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23368         [BZ #18858]
23369         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23370         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23371         and mempcpy-avx512-no-vzeroupper.
23372         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23373         New.
23374         (MEMPCPY): Likewise.
23375         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23376         (MEMPCPY_CHK): New.
23377         (MEMPCPY): Likewise.
23378         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23379         (MEMPCPY): Likewise.
23380         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23381         (MEMPCPY): Likewise.
23382         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23383         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23384         Likewise.
23385         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23386         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23388 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23389              Amit Pawar  <Amit.Pawar@amd.com>
23391         [BZ #19583]
23392         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23393         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23394         processors.  Set Fast_Copy_Backward for AMD Excavator
23395         processors.
23396         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23397         New.
23398         (index_arch_Fast_Unaligned_Copy): Likewise.
23399         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23400         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23402 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23404         [BZ #19791]
23405         * resolv/res_send.c (close_and_return_error): New function.
23406         (send_dg): Initialize *resplen2 after reopen failure.  Call
23407         close_and_return_error for error returns.  On error paths without
23408         __res_iclose, initialze *resplen2 explicitly.  Update comment for
23409         successful return.
23411 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23413         [BZ #19860]
23414         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23415         zero if the compiler does not provide the AVX512F bit.
23417 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
23419         [BZ #19848]
23420         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23421         from 8 to 4.
23422         (__ieee754_powl): Compare integer exponent against 4 not 8.
23423         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23424         from 8 to 4.
23425         (__ieee754_powl): Compare integer exponent against 4 not 8.
23426         * math/auto-libm-test-in: Add more tests of pow.
23427         * math/auto-libm-test-out: Regenerated.
23428         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23431 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23433         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23434         Make code unconditional.
23435         [!__NR_utimensat]: Remove conditional code.
23436         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23437         Make code unconditional.
23438         [!__NR_utimensat]: Remove conditional code.
23439         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23440         Make code unconditional.
23441         [!__NR_utimensat]: Remove conditional code.
23443 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23445         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23446         Make code unconditional.
23448 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
23450         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23451         call-clobbered %eax on retry path.
23452         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23454 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23456         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23457         Don't set %rcx twice before "rep movsb".
23459 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23461         [BZ #19583]
23462         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23463         inline.  Check family before setting family, model and
23464         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
23465         bits here.
23466         (init_cpu_features): Replace HAS_CPU_FEATURE and
23467         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23468         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
23469         for Intel processors with usable AVX2.  Call get_common_indeces
23470         for other processors with family == NULL.
23471         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23472         (CPU_FEATURES_ARCH_P): Likewise.
23473         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23474         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23476 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23478         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23479         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23480         $(shared-thread-library) instead of hardcoding the path to libpthread.
23482 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
23484         * sysdeps/unix/sysv/linux/kernel-features.h
23485         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23486         * sysdeps/unix/sysv/linux/getdents.c
23487         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23488         [!have_no_getdents64_defined]: Likewise.
23489         (__GETDENTS): Remove __have_no_getdents64 conditional.
23491 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
23493         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23494         Remove macro.
23495         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23496         <kernel-features.h>.
23497         (signalfd) [__NR_signalfd4]: Make code unconditional.
23498         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23500 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23502         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23503         style.
23505 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23507         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23508         (__pthread_enable_asynccancel): Use JUMPTARGET to call
23509         __pthread_unwind.
23510         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23511         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23512         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23513         (__condvar_cleanup1): Likewise.
23515 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
23517         [BZ #19822]
23518         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23519         move it to the final $@ location.
23521 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23523         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23524         access where posix_spawn success and pid argument is null.
23525         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23526         success case.
23528 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
23530         * sysdeps/mach/hurd/i386/c++-types.data: New file.
23532         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23534         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23535         and __fcntl.
23536         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23537         __fcntl only.
23538         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23539         adding attribute_hidden to __open and __fcntl.
23541         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23542         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23543         depend on libc-modules.h,
23544         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23546 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
23548         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23549         Remove macro.
23550         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23551         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23552         entry.
23554         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23555         Remove macro.
23556         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23557         include <kernel-features.h>.
23558         [!__ASSUME_FALLOCATE]: Remove conditional code.
23559         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23561 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23563         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23564         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23565         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23566         (_ZGVdN4v_cos_avx2): Likewise.
23567         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23568         (_ZGVdN4v_cos): Likewise.
23569         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23570         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23571         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23572         (_ZGVdN4v_exp_avx2): Likewise.
23573         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23574         (_ZGVdN4v_exp): Likewise.
23575         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23576         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23577         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23578         (_ZGVdN4v_log_avx2): Likewise.
23579         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23580         (_ZGVdN4v_log): Likewise.
23581         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23582         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23583         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23584         (_ZGVdN4vv_pow_avx2): Likewise.
23585         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23586         (_ZGVdN4vv_pow): Likewise.
23587         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23588         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23589         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23590         (_ZGVdN4v_sin_avx2): Likewise.
23591         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23592         (_ZGVdN4v_sin): Likewise.
23593         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23594         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23595         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23596         (_ZGVdN4vvv_sincos_avx2): Likewise.
23597         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23598         (_ZGVdN4vvv_sincos): Likewise.
23599         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23600         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23601         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23602         (_ZGVbN4v_cosf_sse4): Likewise.
23603         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23604         (_ZGVdN8v_cosf_avx2): Likewise.
23605         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23606         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23607         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23608         (_ZGVbN4v_expf_sse4): Likewise.
23609         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23610         (_ZGVdN8v_expf_avx2): Likewise.
23611         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23612         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23613         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23614         (_ZGVbN4v_logf_sse4): Likewise.
23615         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23616         (_ZGVdN8v_logf_avx2): Likewise.
23617         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23618         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23619         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23620         (_ZGVbN4vv_powf_sse4): Likewise.
23621         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23622         (_ZGVdN8vv_powf_avx2): Likewise.
23623         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23624         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23625         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23626         (_ZGVbN4vvv_sincosf_sse4): Likewise.
23627         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23628         (_ZGVdN8vvv_sincosf_avx2): Likewise.
23629         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23630         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23631         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23632         (_ZGVbN4v_sinf_sse4): Likewise.
23633         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23634         (_ZGVdN8v_sinf_avx2): Likewise.
23635         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23636         Use JUMPTARGET to call callee.
23637         (WRAPPER_IMPL_SSE2_ff): Likewise.
23638         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23639         (WRAPPER_IMPL_AVX): Likewise.
23640         (WRAPPER_IMPL_AVX_ff): Likewise.
23641         (WRAPPER_IMPL_AVX_fFF): Likewise.
23642         (WRAPPER_IMPL_AVX512): Likewise.
23643         (WRAPPER_IMPL_AVX512_ff): Likewise.
23644         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23645         Likewise.
23646         (WRAPPER_IMPL_SSE2_ff): Likewise.
23647         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23648         (WRAPPER_IMPL_AVX): Likewise.
23649         (WRAPPER_IMPL_AVX_ff): Likewise.
23650         (WRAPPER_IMPL_AVX_fFF): Likewise.
23651         (WRAPPER_IMPL_AVX512): Likewise.
23652         (WRAPPER_IMPL_AVX512_ff): Likewise.
23653         (WRAPPER_IMPL_AVX512_fFF): Likewise.
23655 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23657         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23658         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23659         qualifier.
23660         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23661         internal_function qualifiers.
23663 2016-03-15  Carlos O'Donell <carlos@redhat.com>
23665         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23666         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23667         * math/atest-exp.c (exp_mpn): Mark chk unused.
23668         * math/atest-exp2.c (exp_mpn): Likewise.
23669         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23670         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23672 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
23674         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23675         Remove macro.
23676         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23677         <kernel-features.h>.
23678         [__NR_ppoll]: Make code unconditional.
23679         [!__ASSUME_PPOLL]: Remove conditional code.
23681         * sysdeps/unix/sysv/linux/kernel-features.h
23682         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23683         (__ASSUME_ACCEPT4): Likewise.
23684         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23685         Define.
23686         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23687         Likewise.
23688         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23689         Likewise.
23690         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23691         Likewise.
23692         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23693         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23694         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23695         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23696         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23697         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23698         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23699         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23700         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23701         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23702         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23703         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23704         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23705         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23706         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23707         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23708         Likewise.
23709         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23710         Likewise.
23711         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23712         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23713         0x040300].
23714         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23715         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23716         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23717         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23718         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23719         0x030300].
23720         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23721         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23722         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23723         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23724         0x040300].
23725         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23726         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23727         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23728         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23729         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23730         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23731         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23732         0x030300].
23733         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23734         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23735         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23736         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23737         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23738         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23739         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23740         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23741         * sysdeps/unix/sysv/linux/s390/kernel-features.h
23742         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23743         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23744         0x040300].
23745         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23746         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23747         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23748         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23749         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23750         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23751         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23752         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23753         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23754         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23755         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23756         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23757         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23758         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23759         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23760         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23761         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23762         Likewise.
23763         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23764         Likewise.
23766 2016-03-15  Andreas Schwab  <schwab@suse.de>
23768         [BZ #19257]
23769         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23770         statp->_u._ext.nscount as loop count.
23772 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23774         * math/test-signgam-finite-c99.c: Also #undef
23775         __LIBC_INTERNAL_MATH_INLINES.
23776         * math/test-signgam-main.c: Likewise.
23778 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
23780         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23781         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23782         (MADV_FREE): Likewise.
23783         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23784         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23785         EPOLLEXCLUSIVE.
23787 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
23789         * timezone/README: Remove mention of checktab.awk. Mention wiki
23790         SharedSourceFiles.
23792 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
23794         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23795         WUNTRACED.
23797 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23799         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23800         order to match the type of p when calling atomic_exchange_acq().
23802 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23804         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23805         cfi_offset calls.
23806         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23807         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23808         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23809         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23810         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23812 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
23814         * timezone/checktab.awk: Removed.
23816 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
23818         * manual/math.texi (Errors in Math Functions): Document relaxed
23819         accuracy goals for IBM long double.
23820         * math/libm-test.inc (test_exceptions): Always allow spurious
23821         "underflow" and "inexact" exceptions for IBM long double.
23823 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
23825         [BZ #19762]
23826         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23827         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23828         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23829         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23830         (bit_arch_*): This for feature array.
23831         (bit_*): Renamed to ...
23832         (bit_cpu_*): This for cpu array.
23833         (index_*): Renamed to ...
23834         (index_arch_*): This for feature array.
23835         (index_*): Renamed to ...
23836         (index_cpu_*): This for cpu array.
23837         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23838         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23839         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23840         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23841         bit_##name with index_cpu_##name and bit_cpu_##name.
23842         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23843         bit_##name with index_arch_##name and bit_arch_##name.
23845 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
23847         [BZ #19792]
23848         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23849         Terminate FDE before return label.
23851 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
23853         [BZ #19790]
23854         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23855         (rintl): Define as macro.
23856         [USE_AS_NEARBYINTL] (__rintl): Likewise.
23857         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23858         of fesetround.  Ensure results are evaluated before end of scope.
23859         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23860         USE_AS_NEARBYINTL and include s_rintl.c.
23861         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23862         Disable exception traps in new environment.
23863         (libc_feholdsetround_ppc_ctx): Likewise.
23865 2016-03-08  Roland McGrath  <roland@hack.frob.com>
23867         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23868         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23869         (tst_audit10_aux) [__AVX512F__]: ... here.
23871 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
23873         * include/sys/auxv.h: New file.
23875 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23877         [BZ #19759]
23878         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23880 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23882         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23883         operand modifier.
23884         (feclearexcept): Likewise.
23886 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23888         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23889         to reflect the entire 32-bit HWCAP.
23890         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23891         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
23893 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23895         [BZ #19783]
23896         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23897         $(test-via-rtld-prefix).
23898         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23900 2016-03-08  Florian Weimer  <fweimer@redhat.com>
23902         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23903         union wait.  Report any non-zero exit status as error.
23905 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23907         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23908         configured with --enable-hardcoded-path-in-tests.
23910 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
23912         [BZ #19677]
23913         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23914         (__ieee754_remainderl): Put zero low parts in canonical form.
23915         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23916         file.  Based on
23917         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23918         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23919         with wrapper round test-fmodrem-ldbl-128ibm.c.
23920         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23921         file.
23922         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23923         Likewise.
23924         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23925         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23927 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23929         [BZ #19610]
23930         * elf/ldconfig.c (opt_link): Update comment.
23931         (options): Update help string for option -X.
23932         (search_dir): Unlink stale symbolic link only if updating symbolic
23933         links.
23934         * elf/tst-ldconfig-X.sh: New file.
23935         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23936         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23938 2016-03-07  Andreas Schwab  <schwab@suse.de>
23940         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23941         needed arguments.
23943 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
23945         [BZ #15333]
23946         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23947         to lstat64.
23949 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23951         * libio/filedoalloc.c (isatty): Remove.
23952         (local_isatty): Add comment.  Call __isatty directly.
23953         (_IO_file_doallocate): Update comment.  Assume _LIBC.
23954         * libio/wfiledoalloc.c (isatty): Remove.
23955         (_IO_wfile_doallocate): Update comment.
23957 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23959         [BZ #19269]
23960         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
23961         tst-audit4-aux.o.
23962         (tst-audit10): Depend on tst-audit10-aux.o.
23963         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
23964         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
23965         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
23966         instead of inline AVX code.
23967         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
23968         instead of inline AVX512 code.
23969         * sysdeps/x86_64/tst-audit4-aux.c: New file
23970         * sysdeps/x86_64/tst-audit10-aux.c: New file
23972         [BZ #19648]
23973         * test-skeleton.c (main): Do not set RLIMIT_DATA.
23975 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23977         [BZ #14750]
23978         [BZ #10354]
23979         [BZ #18433]
23980         * include/sched.h (__clone): Add hidden prototype.
23981         (__clone2): Likewise.
23982         * include/unistd.h (__dup): Likewise.
23983         * posix/Makefile (tests): Add tst-spawn2.
23984         * posix/tst-spawn2.c: New file.
23985         * sysdeps/posix/dup.c (__dup): Add hidden definition.
23986         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
23987         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
23988         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
23989         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
23990         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
23991         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
23992         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
23993         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
23994         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
23995         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
23996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
23997         Likewise.
23998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23999         Likewise.
24000         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
24001         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
24002         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
24003         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
24004         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
24005         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
24006         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
24007         * sysdeps/unix/sysv/linux/nptl-signals.h
24008         (____nptl_is_internal_signal): New function.
24009         * sysdeps/unix/sysv/linux/spawni.c: New file.
24011         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
24012         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
24013         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
24014         * posix/tst-execvp2.c (do_test): Likewise.
24015         * posix/tst-execvp3.c (do_test): Likewise.
24016         * posix/tst-execvp4.c (do_test): Likewise.
24017         * posix/tst-execvpe1.c: New file.
24018         * posix/tst-execvpe2.c: Likewise.
24019         * posix/tst-execvpe3.c: Likewise.
24020         * posix/tst-execvpe4.c: Likewise.
24021         * posix/tst-execvpe5.c: Likewise.
24022         * posix/tst-execvpe6.c: Likewise.
24024         [BZ #19534]
24025         * posix/execl.c (execl): Remove dynamic memory allocation.
24026         * posix/execle.c (execle): Likewise.
24027         * posix/execlp.c (execlp): Likewise.
24029 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24031         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
24032         Replace .text with .text.avx512.
24033         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
24034         Likewise.
24036 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
24038         * sysdeps/generic/libnsl.abilist: New file.
24039         * sysdeps/generic/libutil.abilist: New file.
24041 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24043         [BZ #19762]
24044         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
24045         HAS_ARCH_FEATURE with Fast_Rep_String.
24046         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
24047         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
24048         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
24049         Likewise.
24050         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
24051         Likewise.
24052         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
24053         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
24054         Likewise.
24055         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
24056         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
24057         Likewise.
24059 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24061         [BZ #19745]
24062         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
24063         with *%rax in call.
24065 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24067         [BZ #19745]
24068         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
24069         with *__libc_start_main@GOTPCREL(%rip) in call.
24071 2016-03-04  Roland McGrath  <roland@hack.frob.com>
24073         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
24074         inside conditional for nonempty $(CXX).
24076         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
24077         nonempty.
24079         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
24080         to test for empty $(CXX) rather than $(CXX) of "no".
24082 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24084         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
24086 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
24087             H.J. Lu  <hongjiu.lu@intel.com>
24089         [BZ #18880]
24090         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
24091         instead of Slow_BSF, and also check for Fast_Copy_Backward to
24092         enable __memcpy_ssse3_back.
24094 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
24096         [BZ #19758]
24097         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24098         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
24100 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24102         [BZ #19490]
24103         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
24104         (__fentry__): Likewise.
24106 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
24108         * gmon/Makefile (noprof): Add $(sysdep_noprof).
24109         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
24111 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24113         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
24114         __mcount_internal directly.
24115         (C_LABEL(__fentry__)): Likewise.
24116         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24117         directly.
24119 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24121         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24122         (__start_context): Call __setcontext directly.
24124 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
24126         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24127         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24128         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24129         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24130         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24131         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24132         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24133         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24134         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24135         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24136         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24137         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24138         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24139         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24140         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24141         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24142         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24143         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24144         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24145         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24146         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24147         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24148         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24149         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24150         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24151         Remove conditional code.
24152         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24153         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24154         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24155         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24156         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24157         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24158         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24159         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24160         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24161         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24162         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24163         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24165 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
24167         * NEWS (2.23): Fix typo in bug 19048 text.
24169 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
24171         [BZ #14259]
24172         * Makeconfig: Rename msgcatdir to localedir.
24173         Rename inst_msgcatdir to inst_localedir.
24174         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24175         * config.make.in: Add localedir.
24176         * elf/Makefile ($(objpfx)sotruss): Use localedir.
24177         (ldd-rewrite): Likewise.
24178         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24179         (install-others): Use inst_localedir.
24180         (CPPFLAGS): Use localedir.
24181         * locale/Makefile (locale-CPPFLAGS): Likewise.
24182         * po/Makefile (mo-installed): Use inst_localedir.
24184         [BZ #19575]
24185         * localedata/charmaps/GB18030: Update comments regarding PAU to
24186         non-PUA mappings.
24188 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
24190         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24191         test for header.
24192         * sysdeps/unix/sysv/linux/configure: Regenerated.
24193         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24194         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24195         Remove conditional code.
24196         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24198         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24199         Define to 3.2.0.
24200         (arch_minimum_kernel): Likewise.
24201         * sysdeps/unix/sysv/linux/configure: Regenerated.
24202         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24203         Define to 2.6.32.
24204         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24205         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24206         (arch_minimum_kernel): Define to 2.6.32.
24207         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24208         * README: Document Linux 3.2 requirement.
24209         * manual/install.texi (Linux): Document Linux 3.2 headers
24210         requirement.
24211         * INSTALL: Regenerated.
24213 2016-02-24  Andreas Schwab  <schwab@suse.de>
24215         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24216         if !NO_LONG_DOUBLE.
24218 2016-02-22  Roland McGrath  <roland@hack.frob.com>
24220         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24221         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24223 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
24225         [BZ #19512]
24226         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24228 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24230         * posix/tst-dir.c: Include libc-internal.h.
24232 2016-02-20  Florian Weimer  <fweimer@redhat.com>
24234         [BZ #19056]
24235         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24236         * manual/filesys.texi (Reading/Closing Directory): Mention
24237         deprecaion.
24238         * posix/tst-dir.c (main): Disable deprecation warning in test.
24240 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
24242         [BZ #19679]
24243         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24244         Renamed to ...
24245         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
24246         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24247         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
24248         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24249         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24250         * sysdeps/x86_64/dl-trampoline.h
24251         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24252         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24254 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24256         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24258 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24260         * elf/elf.h (R_386_GOT32X): New.
24261         (R_386_NUM): Update.
24262         (R_X86_64_GOTPCRELX: New.
24263         (R_X86_64_REX_GOTPCRELX): New.
24264         (R_X86_64_NUM): Update.
24266 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
24268         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24270 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
24272         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24273         assign attr->stackaddr to it, and adjust it down when
24274         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
24275         [_STACK_GROWS_UP]: Delete assert.
24276         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24277         Implement stack grows up logic.
24278         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24279         stack grows up logic.
24281 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24283         * NEWS: Update with 2.24 template.
24285 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24287         [BZ #19678]
24288         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24289         Ensure +0.0 is returned when taking the next value below the least
24290         positive value.
24292 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24294         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24295         available.  Do not define NO_THREADS.
24296         * malloc/malloc.c: Do not check NO_THREADS.
24297         * malloc/arena.c: Likewise.
24299 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24301         * malloc/malloc.c (__libc_mallinfo): Update comment.
24302         (struct malloc_par): Remove max_total_mem member, it was always 0.
24303         (int_mallinfo): Store 0 into usmblks (no functional change).
24304         * malloc/hooks.c (struct malloc_state): Document that
24305         max_total_mem is always 0.
24306         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24307         always 0.
24308         * manual/memory.texi (Statistics of Malloc): Likewise.
24310 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24312         * malloc/malloc.c (sysmalloc): Do not update arena_max.
24313         * malloc/arena.c (arena_max): Remove.
24314         (heap_trim, _int_new_arena): Do not update arena_max.
24316 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24318         * resolv/res_init.c (res_ninit): Update comment.
24320 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24322         [BZ #19505]
24323         * posix/spawn_int.h: Add headers and include guard.
24324         (__spawn_valid_fd): New function.
24325         * posix/spawn_faction_addopen.c
24326         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24327         * posix/spawn_faction_addclose.c
24328         (posix_spawn_file_actions_addclose): Likewise.
24329         * posix/spawn_faction_adddup2.c
24330         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
24331         second file descriptor.
24332         * posix/spawn_valid_fd.c: New file.
24333         * posix/tst-posix_spawn-fd.c: New file.
24334         * posix/Makefile (routines): Add spawn_valid_fd.
24335         (tests): Add tst-posix_spawn-fd.
24337 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24339         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24340         (do_test): Limit the number of arenas, so that we can use fewer
24341         outer threads.  Limit timeout to 3 seconds, in preparation for a
24342         larger TIMEOUT value.
24344 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24346         [BZ #19674]
24347         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24348         sign in overflowing and underflowing results when overflow or
24349         underflow is detected early.  Include sign in result before rather
24350         than after scaling.
24352         [BZ #19603]
24353         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24354         (__ieee754_remainderl): Adjust sign of integer version of low part
24355         when taking absolute value of high part.
24356         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24357         * math/libm-test.inc (remainder_test_data): Add another test.
24358         (remquo_test_data): Likewise.
24360 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
24362         [BZ #19602]
24363         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24364         equal high parts and both low parts zero specially.
24365         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24366         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24367         Add test-fmodl-ldbl-128ibm.
24369         [BZ #19595]
24370         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24371         common logic for all cases of shifting subnormal results.  Do not
24372         insert sign bit in shifted mantissa.  Always pass -1023 as biased
24373         exponent to ldbl_insert_mantissa in subnormal case.
24375         [BZ #19594]
24376         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24377         on high and low parts then adjust result and use
24378         ldbl_canonicalize_int if needed.
24380         [BZ #19593]
24381         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24382         on high part and __floor or __ceil on low part then use
24383         ldbl_canonicalize_int if needed.
24385         [BZ #19592]
24386         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24387         high and low parts then use ldbl_canonicalize_int if needed.
24389         [BZ #17899]
24390         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24391         New function.
24392         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24393         on high and low parts then use ldbl_canonicalize_int if needed.
24395 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24397         * configure: Regenerated.
24399         * po/libc.pot: Regenerated.
24401         * po/be.po: Updated translation.
24402         * po/bg.po: Likewise.
24403         * po/ca.po: Likewise.
24404         * po/cs.po: Likewise.
24405         * po/da.po: Likewise.
24406         * po/el.po: Likewise.
24407         * po/eo.po: Likewise.
24408         * po/es.po: Likewise.
24409         * po/fi.po: Likewise.
24410         * po/fr.po: Likewise.
24411         * po/gl.po: Likewise.
24412         * po/hr.po: Likewise.
24413         * po/hu.po: Likewise.
24414         * po/ia.po: Likewise.
24415         * po/id.po: Likewise.
24416         * po/it.po: Likewise.
24417         * po/ja.po: Likewise.
24418         * po/lt.po: Likewise.
24419         * po/nb.po: Likewise.
24420         * po/nl.po: Likewise.
24421         * po/pt_BR.po: Likewise.
24422         * po/rw.po: Likewise.
24423         * po/sk.po: Likewise.
24424         * po/sl.po: Likewise.
24425         * po/sv.po: Likewise.
24426         * po/tr.po: Likewise.
24427         * po/zh_CN.po: Likewise.
24428         * po/zh_TW.po: Likewise.
24430         * version.h (RELEAES): Set to "development".
24431         (VERSION): Set to 2.23.90.
24433         * version.h (RELEASE): Set to "stable".
24434         (VERSION): Set to 2.23.
24435         * include/feature.h (__GLIBC_MINOR__): Set to 23.
24437         * NEWS: Updated fixed bugs.
24439 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
24440             Wilco Dijkstra  <wdijkstr@arm.com>
24442         [BZ #19462]
24443         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24444         (_STRING_INLINE_unaligned): This.
24445         * include/string.h: Include <string_private.h>.
24446         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24447         _STRING_INLINE_unaligned.
24448         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24449         (_STRING_INLINE_unaligned): New.
24450         * sysdeps/aarch64/string_private.h: New file.
24451         * sysdeps/generic/string_private.h: Likewise.
24452         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24453         * sysdeps/s390/string_private.h: Likewise.
24454         * sysdeps/x86/string_private.h: Likewise.
24455         * sysdeps/m68k/m680x0/m68020/bits/string.h
24456         (_STRING_ARCH_unaligned): Renamed to ...
24457         (_STRING_INLINE_unaligned): This.
24458         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24459         to ...
24460         (_STRING_INLINE_unaligned): This.
24461         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24462         to ...
24463         (_STRING_INLINE_unaligned): This.
24464         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24465         to ...
24466         (_STRING_INLINE_unaligned): This.
24468 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
24469             H.J. Lu  <hongjiu.lu@intel.com>
24471         [BZ #19590]
24472         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24473         relocation.
24475 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
24477         [BZ #18665]
24478         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24479         *herrno_p.
24480         (gaih_getanswer): Document functional behviour. Return tryagain
24481         if any result is tryagain.
24482         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24483         when freed.
24484         * resolv/res_send.c: Add copyright text.
24485         (__libc_res_nsend): Document that MAXPACKET is expected.
24486         (send_vc): Document. Remove buffer reuse.
24487         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24488         size of the buffer. Add Dprint for truncated UDP buffer.
24490 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
24492         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24493         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24494         * INSTALL: Regenerate.
24496 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
24497             Jonathan Wakely  <jwakely@redhat.com>
24498             Carlos O'Donell  <carlos@redhat.com>
24500         [BZ 19439]
24501         * math/Makefile (tests): Add test-math-isinff.
24502         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24503         * math/bits/mathcalls.h [__USE_MISC]: Use
24504         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24505         functions not in C++11 and which don't conflict e.g. isinff,
24506         isinfl etc.
24507         * math/test-math-isinff.cc: New file.
24509 2016-02-12  Florian Weimer  <fweimer@redhat.com>
24511         * misc/bug18240.c (do_test): Set RLIMIT_AS.
24513 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24515         [BZ #19529]
24516         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24518 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24520         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24522 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
24524         [BZ #19550]
24525         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24526         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24527         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24528         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24529         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24530         New syscall entry.
24531         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24532         New syscall entry.
24533         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24534         syscall entry.
24536 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
24538         [BZ #18240]
24539         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24540         unsigned int wraparound.
24542 2016-01-27  Florian Weimer  <fweimer@redhat.com>
24544         [BZ #18240]
24545         * misc/bug18240.c: New test.
24546         * misc/Makefile (tests): Add it.
24548 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
24549             Joseph Myers  <joseph@codesourcery.com>
24551         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24552         load in branch delay slot when less than a word of input left.
24554 2016-01-27  Andreas Schwab  <schwab@suse.de>
24556         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24557         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24558         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24559         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24561 2016-01-26  David S. Miller  <davem@davemloft.net>
24563         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24565 2016-01-25  David S. Miller  <davem@davemloft.net>
24567         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24568         __sqrtl_finite.
24569         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24570         instead using versioned_symbol.
24571         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24572         of entries.
24574         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24575         __sqrtl_finite to GLIBC_2.23
24577 2016-01-25  Ricchard Henderson  <rth@redhat.com>
24579         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24581 2016-01-25  Andreas Schwab  <schwab@suse.de>
24583         [BZ #17514]
24584         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24585         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24586         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24587         * nptl/tst-mutex-errorcheck.c: New file.
24589 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24591         [BZ #18560]
24592         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24593         (IPCOP_semop): Likewise.
24594         (IPCOP_semget): Likewise.
24595         (IPCOP_semctl): Likewise.
24596         (IPCOP_msgsnd): Likewise.
24597         (IPCOP_msgrcv): Likewise.
24598         (IPCOP_msgget): Likewise.
24599         (IPCOP_msgctl): Likewise.
24600         (IPCOP_shmat): Likewise.
24601         (IPCOP_shmdt): Likewise.
24602         (IPCOP_shmget): Likewise.
24603         (IPCOP_shmctl): Likewise.
24605 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24607         * string/tst-endian.c: Include <libc-internal.h>.
24608         (do_test): Ignore tautological-compare warnings around
24609         "htobeXX (beXXtoh (i)) != i" and
24610         "htoleXX (leXXtoh (i)) != i" if-statements.
24612 2016-01-24  David S. Miller  <davem@davemloft.net>
24614         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24615         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24616         alias.
24617         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24618         __sqrtl_finite.
24620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24622 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
24624         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24625         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24626         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24628 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24630         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24631         (thread_func): Use new function to simplify barrier check.
24632         (do_test): Use new function to simplify checking barrier exit
24633         code, and actually join the child thread.
24635 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24637         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24638         semicolon.
24639         (__libc_tend): Likewise.
24640         (__libc_tabort): Likewise.
24642 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
24644         * sysdeps/nios2/libm-test-ulps: Update.
24645         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24646         (__gtsf2): Likewise.
24647         (__unorddf2): Likewise.
24648         (__unordsf2): Likewise.
24649         (__ledf2): Likewise.
24651 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
24653         * nis/nis_table.c (__follow_path): Disable diagnostic for
24654         uninitialized variable that is a false positive for gcc 4.7.
24655         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24657 2016-01-20  Roland McGrath  <roland@hack.frob.com>
24659         * sysdeps/nacl/lowlevellock-futex.h
24660         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24661         Always evaluate PRIVATE argument.
24663 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
24665         [BZ #19490]
24666         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24667         (pthread_cond_broadcast): Use ENTRY/END
24668         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24669         (pthread_cond_signal): Likewise.
24670         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24671         Likewise.
24672         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24673         Likewise.
24674         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24675         Likewise.
24677 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
24679         * sysdeps/ieee754/dbl-64/s_finite.c
24680         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24681         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24682         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24683         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24684         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24687         (__gtsf2): Add as optional for libc.so.
24688         (__unordsf2): Likewise.
24689         (__signbit): Remove for libc.so.
24690         (__signbitl): Likewise.
24692 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24694         * iconvdata/bug-iconv11.c (test_ibm93x):
24695         Use %zu printf format specifier for size_t argument.
24697 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
24699         * math/gen-libm-test.pl (parse_ulps): Do not reduce
24700         already-recorded ulps.
24701         * sysdeps/arm/libm-test-ulps: Regenerated.
24702         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24703         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24704         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24706 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24707             Paul Pluzhnikov  <ppluzhnikov@google.com>
24709         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24710         assembler not supporting AVX-512.
24712 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
24714         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24716 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
24718         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24719         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24721         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24723         * sysdeps/arm/libm-test-ulps: Regenerated.
24725 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24727         [BZ #19451]
24728         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24730 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24732         [BZ #19486]
24733         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24734         * sysdeps/generic/fix-fp-int-convert-overflow.h
24735         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24736         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24737         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24738         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24739         Likewise.
24740         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24741         Avoid conversions to long int where inexact exceptions
24742         could be raised.
24743         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24744         Likewise.
24745         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24746         Avoid conversions to long long int where inexact exceptions
24747         could be raised.
24748         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24749         Likewise.
24751 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
24753         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24754         * configure: Regenerated.
24756 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24758         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24760 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
24762         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24763         outside of comment.
24765 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24767         * nptl/tst-barrier1.c: Add description on first line.
24768         * nptl/tst-barrier2.c: Likewise.
24769         * nptl/tst-barrier3.c: Likewise.
24770         * nptl/tst-barrier4.c: Likewise.
24771         * nptl/tst-barrier5.c: Likewise.
24773 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24775         [BZ #18868]
24776         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24778 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24780         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24782         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24783         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24784         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24785         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24786         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24787         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24788         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24789         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24790         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24792 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24794         [BZ #13065]
24795         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24796         new implementation.
24797         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24798         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24799         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24800         (BARRIER_IN_THRESHOLD): New macro.
24801         * nptl/pthread_barrierattr_setpshared.c
24802         (pthread_barrierattr_setpshared): Clean up.
24803         * nptl/tst-barrier4.c: Correct comment.
24804         * nptl/tst-barrier5.c: New file.
24805         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24806         (gen-as-const-headers): Remove lowlevelbarrier.sym.
24807         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24808         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24809         * nptl/lowlevelbarrier.sym: Remove.
24810         * nptl/DESIGN-barrier.txt: Remove.
24811         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24812         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24813         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24814         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24815         error.
24816         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24817         implementation.
24819 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24821         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24822         (do_child): Mask SIGRTMIN while thr is running.
24824 2016-01-15  Martin Sebor  <msebor@redhat.com>
24826         [BZ #19432]
24827         * iconvdata/Makefile: Add bug-iconv11.
24828         * iconvdata/bug-iconv11.c: New test.
24829         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24830         * iconvdata/ibm933.c: Same.
24831         * iconvdata/ibm935.c: Same.
24832         * iconvdata/ibm937.c: Same.
24833         * iconvdata/ibm939.c: Same.
24835 2016-01-15  Martin Sebor  <msebor@redhat.com>
24837         [BZ #19443]
24838         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24839         [DEBUG] (_ufc_set_bits): Declare used.
24840         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24841         [DEBUG] (print_all): Declare used.
24842         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24843         operands of the ternary ?: expression to target type.
24844         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24845         calling the undeclared abort.
24846         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24848 2016-01-15  Martin Sebor  <msebor@redhat.com>
24850         [BZ #18755]
24851         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24852         warnings.
24853         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24854         (__gai_create_helper_thread): Same.
24855         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24856         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24857         to suppress -Wmaybe-uninitialized warnings.
24859 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
24861         [BZ #19465]
24862         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24863         inside if.
24864         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24865         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24866         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24868 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
24870         [BZ #19466]
24871         * time/tst-mktime2.c (time_t_max): Removed.
24872         (time_t_min): Likewise.
24873         (TYPE_SIGNED): New.
24874         (TYPE_MINIMUM): Likewise.
24875         (TYPE_MAXIMUM): Likewise.
24876         (TIME_T_MIN): Likewise.
24877         (TIME_T_MAX): Likewise.
24878         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24879         and TIME_T_MIN.
24880         (do_test): Likewise.
24882 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
24884         [BZ #19467]
24885         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24886         index_Fast_Unaligned_Load flag for Excavator family CPUs.
24888 2016-01-02  Marcin Koƛcielnicki  <koriakin@0x04.net>
24890         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24892 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
24894         * benchtests/Makefile (PYTHON): Define.
24895         (bench-func): Use $(PYTHON) to run python scripts.
24896         ($(objpfx)bench-%.c): Likewise.
24898 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
24900         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24901         leading slash when `file_name' is "/".
24903 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
24905         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24906         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24907         Likewise.
24908         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24909         Likewise.
24910         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24911         Likewise.
24912         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24913         enum constant and macro.
24914         (PTRACE_SETSIGMASK): Likewise.
24915         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24916         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24917         (PTRACE_GETSIGMASK): Likewise.
24918         (PTRACE_SETSIGMASK): Likewise.
24919         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24920         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24921         Likewise.
24922         (PTRACE_SETSIGMASK): Likewise.
24923         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24924         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24925         (PTRACE_GETSIGMASK): Likewise.
24926         (PTRACE_SETSIGMASK): Likewise.
24927         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24928         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24929         Likewise.
24930         (PTRACE_SETSIGMASK): Likewise.
24931         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24932         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24933         Likewise.
24934         (PTRACE_SETSIGMASK): Likewise.
24935         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24936         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24937         Likewise.
24938         (PTRACE_SETSIGMASK): Likewise.
24939         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24941 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
24942             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24944         [BZ #19439]
24945         * math/bits/mathcalls.h
24946         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24947         prototype.
24948         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24950 2016-01-11  Andreas Schwab  <schwab@suse.de>
24952         [BZ #19253]
24953         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24954         cache when TZDEFRULES was used.
24955         * time/tst-tzname.c: New file.
24956         * time/Makefile (test): Add tst-tzname.
24957         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
24958         * timezone/Makefile (test-zones): Add $(posixrules-file).
24959         ($(testdata)/$(posixrules-file)): New rule.
24961 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
24963         Fix doc quoting problems with Texinfo 5
24964         Without this change, in the info file output, Texinfo 5 quotes code
24965         in text with undirected single quotes 'like this' and generates
24966         code examples that with many PDF readers cannot be cut out of PDFs
24967         and pasted into code.
24968         * manual/libc.texinfo: Configure the libc manual like the GNU
24969         Emacs manual, by using @documentencoding and setting
24970         txicodequoteundirected and txicodequotebacktick.  This way,
24971         Texinfo 5 quotes code in text with directed single quotes â€˜like
24972         this’ and produces examples that can be cut out of PDFs.  This
24973         change causes Texinfo 5 to generate info files that contain UTF-8
24974         characters in the set {'‘', '’', '“', '”', 'Ä', 'Ă€', 'ö', '−',
24975         '–', '—', '©', '⇒', '‱', '
'}, which is OK nowadays.
24977 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24979         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
24980         __libc_tabort, __libc_tend): New wrappers that enforce compiler
24981         barriers to their respective compiler built-ins.
24982         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
24983         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
24984         * sysdeps/powerpc/sysdep.h: Likewise.
24985         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
24986         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
24987         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
24989 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
24991         * scripts/config.guess: Revert previous shebang change.
24992         * scripts/config.sub: Likewise.
24993         * scripts/mkinstalldirs: Likewise.
24995 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24997         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
24998         PPC_FEATURE2_HAS_IEEE128.
24999         * sysdeps/powerpc/dl-procinfo.c:
25000         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
25002 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
25004         [BZ #19415]
25005         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
25006         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
25007         (_dl_lookup_address): Rewrite using function resolver trampoline.
25008         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
25009         two bits in address.
25011 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
25013         * longlong.h: Change !__SHMEDIA__ to
25014         (!defined (__SHMEDIA__) || !__SHMEDIA__).
25015         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
25017 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
25018             Joseph Myers  <joseph@codesourcery.com>
25019             Mark Shinwell  <shinwell@codesourcery.com>
25020             Andrew Stubbs  <ams@codesourcery.com>
25021             Rich Felker <dalias@libc.org>
25023         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
25025 2016-01-07  Richard Henderson  <rth@redhat.com>
25027         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
25029 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
25031         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
25032         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
25033         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25034         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25035         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
25037 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
25038             Joseph Myers  <joseph@codesourcery.com>
25040         * timezone/private.h: Update from tzcode 2015g.
25041         * timezone/tzfile.h: Likewise.
25042         * timezone/tzselect.ksh: Likewise.
25043         * timezone/zdump.c: Likewise.
25044         * timezone/zic.c: Likewise.
25045         * timezone/ialloc.c: Remove file.
25046         * timezone/scheck.c: Likewise.
25047         * timezone/Makefile (extra-objs): Remove variable.
25048         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
25049         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
25050         -Wno-maybe-uninitialized.
25051         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
25052         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
25053         (CFLAGS-ialloc.c): Remove variable.
25054         (CFLAGS-scheck.c): Likewise.
25055         * timezone/README: Update list of files from tzcode.
25057 2016-01-07  Khem Raj  <raj.khem@gmail.com>
25059         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
25060         instead of __fxprintf when _LIBC is undefined.
25062 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
25064         * catgets/test-gencat.sh: Remove space after shebang.
25065         * conform/GlibcConform.pm: Likewise.
25066         * conform/check-header-lists.sh: Likewise.
25067         * conform/conformtest.pl: Likewise.
25068         * conform/linknamespace.pl: Likewise.
25069         * conform/list-header-symbols.pl: Likewise.
25070         * debug/catchsegv.sh: Likewise.
25071         * elf/genrtldtbl.awk: Likewise.
25072         * elf/tst-pathopt.sh: Likewise.
25073         * elf/tst-rtld-load-self.sh: Likewise.
25074         * grp/tst_fgetgrent.sh: Likewise.
25075         * iconvdata/gen-8bit-gap-1.sh: Likewise.
25076         * iconvdata/gen-8bit-gap.sh: Likewise.
25077         * iconvdata/gen-8bit.sh: Likewise.
25078         * iconvdata/run-iconv-test.sh: Likewise.
25079         * intl/tst-gettext.sh: Likewise.
25080         * intl/tst-gettext2.sh: Likewise.
25081         * intl/tst-gettext4.sh: Likewise.
25082         * intl/tst-gettext6.sh: Likewise.
25083         * intl/tst-translit.sh: Likewise.
25084         * io/ftwtest-sh: Likewise.
25085         * libio/test-freopen.sh: Likewise.
25086         * locale/gen-translit.pl: Likewise.
25087         * malloc/tst-mtrace.sh: Likewise.
25088         * manual/check-safety.sh: Likewise.
25089         * manual/libc-texinfo.sh: Likewise.
25090         * manual/tsort.awk: Likewise.
25091         * manual/xtract-typefun.awk: Likewise.
25092         * nptl/tst-cancel-wrappers.sh: Likewise.
25093         * nptl/tst-tls6.sh: Likewise.
25094         * posix/globtest.sh: Likewise.
25095         * posix/tst-getconf.sh: Likewise.
25096         * posix/wordexp-tst.sh: Likewise.
25097         * scripts/check-c++-types.sh: Likewise.
25098         * scripts/check-local-headers.sh: Likewise.
25099         * scripts/config.guess: Likewise.
25100         * scripts/config.sub: Likewise.
25101         * scripts/cpp: Likewise.
25102         * scripts/cross-test-ssh.sh: Likewise.
25103         * scripts/documented.sh: Likewise.
25104         * scripts/evaluate-test.sh: Likewise.
25105         * scripts/gen-libc-abis: Likewise.
25106         * scripts/gen-sorted.awk: Likewise.
25107         * scripts/list-fixed-bugs.py: Likewise.
25108         * scripts/merge-test-results.sh: Likewise.
25109         * scripts/mkinstalldirs: Likewise.
25110         * scripts/rellns-sh: Likewise.
25111         * scripts/test-installation.pl: Likewise.
25112         * scripts/update-copyrights: Likewise.
25113         * stdio-common/tst-printf.sh: Likewise.
25114         * stdio-common/tst-unbputc.sh: Likewise.
25115         * stdlib/tst-fmtmsg.sh: Likewise.
25116         * stdlib/tst-setcontext3.sh: Likewise.
25117         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25118         * sysdeps/unix/make-syscalls.sh: Likewise.
25120 2016-01-06  John David Anglin  <dave.anglin@bell.net>
25122         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25123         asm stw with atomic_exchange_rel.  Add explanatory comment.
25124         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25125         Likewise.
25127 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25129         [BZ #19122]
25130         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25131         * sysdeps/generic/dl-unistd.h: New file.
25132         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25134 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25136          [BZ #19122]
25137          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25138          * sysdeps/generic/dl-mman.h: New file.
25139          * sysdeps/mach/hurd/dl-mman.h: Likewise.
25141 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
25143         * manual/texinfo.tex: Update to version 2016-01-04.21 with
25144         trailing whitespace removed.
25145         * scripts/config.guess: Update to version 2016-01-01.
25146         * scripts/config.sub: Update to version 2016-01-01.
25147         * scripts/move-if-change: Update from gnulib.
25149 2016-01-04  Anton Blanchard  <anton@samba.org>
25151         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25152         for array indices.
25153         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25155 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
25157         * NEWS: Update copyright dates.
25158         * catgets/gencat.c (print_version): Likewise.
25159         * csu/version.c (banner): Likewise.
25160         * debug/catchsegv.sh: Likewise.
25161         * debug/pcprofiledump.c (print_version): Likewise.
25162         * debug/xtrace.sh (do_version): Likewise.
25163         * elf/ldconfig.c (print_version): Likewise.
25164         * elf/ldd.bash.in: Likewise.
25165         * elf/pldd.c (print_version): Likewise.
25166         * elf/sotruss.sh: Likewise.
25167         * elf/sprof.c (print_version): Likewise.
25168         * iconv/iconv_prog.c (print_version): Likewise.
25169         * iconv/iconvconfig.c (print_version): Likewise.
25170         * locale/programs/locale.c (print_version): Likewise.
25171         * locale/programs/localedef.c (print_version): Likewise.
25172         * login/programs/pt_chown.c (print_version): Likewise.
25173         * malloc/memusage.sh (do_version): Likewise.
25174         * malloc/memusagestat.c (print_version): Likewise.
25175         * malloc/mtrace.pl: Likewise.
25176         * manual/libc.texinfo: Likewise.
25177         * nptl/version.c (banner): Likewise.
25178         * nscd/nscd.c (print_version): Likewise.
25179         * nss/getent.c (print_version): Likewise.
25180         * nss/makedb.c (print_version): Likewise.
25181         * posix/getconf.c (main): Likewise.
25182         * scripts/test-installation.pl: Likewise.
25183         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25185         * All files with FSF copyright notices: Update copyright dates
25186         using scripts/update-copyrights.
25187         * intl/plural.c: Regenerated.
25188         * locale/programs/charmap-kw.h: Likewise.
25189         * locale/programs/locfile-kw.h: Likewise.
25191 2016-01-02  Helge Deller  <deller@gmx.de>
25193         [BZ #19285]
25194         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25195         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25196         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25197         (MADV_xxK_PAGES): Remove.
25199 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
25201         [BZ #15421]
25202         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25203         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
25204         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25205         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25207 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
25209         [BZ #19408]
25210         * sysdeps/unix/sysv/linux/personality.c: New file.
25211         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25212         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25213         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25214         (sysdep_routines): Add personality.
25215         (tests): Add tst-personality.
25216         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25217         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25218         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25219         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25220         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25221         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25222         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25223         Likewise.
25224         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25225         Likewise.
25226         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25227         Likewise.
25228         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25229         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25230         Likewise.
25232 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
25234         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25235         (PATH_ARM_SYSTYPE): Remove.
25236         (PATH_CPUINFO): Likewise.
25237         (IO_BASE_FOOTBRIDGE): Likewise.
25238         (IO_SHIFT_FOOTBRIDGE): Likewise.
25239         (struct platform): Likewise.
25240         (init_iosys): Remove compatibility code for 2.4 kernels.
25241         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25243 2015-12-29  Florian Weimer  <fweimer@redhat.com>
25245         * malloc/tst-malloc-thread-fail.c: New file.
25246         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25247         (tst-malloc-thread-fail): Link against libpthread.
25249 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
25251         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
25252         (get_parser): New function.
25253         (main): New function.
25255 2015-12-29  Rob Wu  <rob@robwu.nl>
25257         [BZ #19369]
25258         * resolv/res_init.c (__res_vinit): Reset defdname before use.
25260 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
25262         [BZ #19270]
25263         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25265 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
25267         [BZ #15421]
25268         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25270 2015-12-23  Torvald Riegel  <triegel@redhat.com>
25272         [BZ #13690]
25273         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25274         after releasing it.
25275         (__lll_robust_unlock): Likewise.
25276         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25277         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25278         (lll_robust_unlock): Likewise.
25279         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25280         Prevent warnings in callers.
25282 2015-12-23  Florian Weimer  <fweimer@redhat.com>
25284         * malloc/arena.c (list_lock): Update comment.
25286 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25288         * sysdeps/powerpc/hwcapinfo.c: Export symbol
25289         __parse_hwcap_and_convert_at_platform to libc.a.
25291 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25293         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25294         platform and feature support for POWER9.
25295         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25296         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25297         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25298         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25299         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25300         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25301         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25302         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25304 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25306         Harmonize generic stdio-lock support with nptl
25308         This fixes build when _IO_funlockfile is a macro, fixes build where
25309         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25310         stack unwind.
25312         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25313         _IO_release_lock ): Use cleanup attribute on new
25314         _IO_acquire_lock_file variable instead of assuming that
25315         _IO_release_lock will be called.
25316         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25317         _IO_acquire_lock_needs_exceptions_enabled.
25318         (_IO_acquire_lock_clear_flags2): New macro.
25320 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25322         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25324 2015-12-21  Florian Weimer  <fweimer@redhat.com>
25326         [BZ #19182]
25327         * malloc/arena.c (list_lock): Document lock ordering requirements.
25328         (free_list_lock): New lock.
25329         (ptmalloc_lock_all): Comment on free_list_lock.
25330         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25331         (detach_arena): Update comment.  free_list_lock is now needed.
25332         (_int_new_arena): Use free_list_lock around detach_arena call.
25333         Acquire arena lock after list_lock.  Add comment, including FIXME
25334         about incorrect synchronization.
25335         (get_free_list): Switch to free_list_lock.
25336         (reused_arena): Acquire free_list_lock around detach_arena call
25337         and attached threads counter update.  Add two FIXMEs about
25338         incorrect synchronization.
25339         (arena_thread_freeres): Switch to free_list_lock.
25340         * malloc/malloc.c (struct malloc_state): Update comments to
25341         mention free_list_lock.
25343 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
25345         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25346         Remove functions.
25347         (sloww, sloww1): Accept argument to offset quadrant.
25348         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25349         quadrant.
25350         (__sin, __cos): Consolidate common code into new functions.
25351         (reduce_sincos_1, do_sincos_1): New functions.
25352         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25354         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25355         code to new functions.
25356         (reduce_sincos_2, do_sincos_2): New functions.
25357         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25359         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25360         common code for sincos.
25361         (__cos) [!IN_SINCOS]: Likewise.
25362         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25363         New function.
25364         (__sincos): Use it.
25366 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
25368         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25369         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25370         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25372 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25374         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25375         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25376         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25377         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25378         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25379         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25380         index_Prefer_No_VZEROUPPER): New feature.
25381         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25382         Prefer_No_VZEROUPPER for Knights Landing.
25384 015-12-18  Torvald Riegel  <triegel@redhat.com>
25386         * math/atest-exp2.c (mp_exp_m1): Remove.
25388 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25390         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25391         syscalls.
25392         (__SYSCALL0): New macro.
25393         (__SYSCALL1): Likewise.
25394         (__SYSCALL2): Likewise.
25395         (__SYSCALL3): Likewise.
25396         (__SYSCALL4): Likewise.
25397         (__SYSCALL5): Likewise.
25398         (__SYSCALL6): Likewise.
25399         (__SYSCALL_CONCAT_X): Likewise.
25400         (__SYSCALL_CONCAT): Likewise.
25401         (__SYSCALL_DIST): Likewise.
25402         (__SYSCALL_CALL): Likewise.
25404 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
25406         [BZ #19363]
25407         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25409 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25411         [BZ #19375]
25412         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25413         negative subnormals.
25415 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
25417         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25418         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25419         (INTERNAL_SYSCALL_NCS): Use it.
25420         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25422 2015-12-16  Florian Weimer  <fweimer@redhat.com>
25424         [BZ #19243]
25425         * malloc/arena.c (get_free_list): Remove assert and adjust
25426         reference count handling.  Add comment about reused_arena
25427         interaction.
25428         (reused_arena): Add comments abount get_free_list interaction.
25429         * malloc/tst-malloc-thread-exit.c: New file.
25430         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25431         (tst-malloc-thread-exit): Link against libpthread.
25433 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25435         [BZ #19367]
25436         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25437         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25438         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25439         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25440         (index_Prefer_MAP_32BIT_EXEC): Likewise.
25442 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25444         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25445         Silvermont optimizations for Knights Landing.
25447 2015-12-15  Andreas Schwab  <schwab@suse.de>
25449         [BZ #17197]
25450         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25451         immediately after emitting SI.
25452         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25453         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25454         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25455         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25456         * iconvdata/bug-iconv10.c: New file.
25457         * iconvdata/Makefile (tests): Add bug-iconv10.
25458         ($(objpfx)bug-iconv10.out): New rule.
25460 2015-12-15  Florian Weimer  <fweimer@redhat.com>
25462         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25463         aliasing violation.
25465 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
25467         [BZ #18472]
25468         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25469         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25470         conditionals for them.
25471         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25472         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25473         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25474         sys/kdaemon.h.
25475         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25476         compat-only syscall, obsoleted in glibc 2.23.
25477         (create_module): Likewise.
25478         (get_kernel_syms): Likewise.
25479         (query_module): Likewise.
25480         (uselib): Likewise.
25481         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25483 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
25485         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25486         <linux/version.h>.
25487         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25488         conditional code.
25489         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25490         and ioshift_name initialization.
25492 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25494         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25495         Fix indentation.
25497 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25499         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25501 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25503         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25505 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
25506             Jakub Wilk  <jwilk@debian.org>
25508         [BZ #19347]
25509         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25510         to change the group of the device to the tty group.
25512 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
25514         Split large string section; add truncation advice
25515         * manual/examples/strncat.c: Remove.
25516         This example was misleading, as the code would have undefined
25517         behavior if "hello" was longer than SIZE.  Anyway, the manual
25518         shouldn't encourage strncpy+strncat for this sort of thing.
25519         * manual/string.texi (Copying Strings and Arrays): Split into
25520         three sections Copying Strings and Arrays, Concatenating Strings,
25521         and Truncating Strings, as this section was way too long.  All
25522         cross-referenced changed.  Add advice about string-truncation
25523         functions.  Remove misleading strncat example.
25525 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
25527         * manual/nss.texi (NSS Modules Interface): Document
25528         NSS_STATUS_NOTFOUND and SUCCESS.
25530 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25532         [BZ 18568]
25533         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25534         201505L, for Unicode 8.
25536 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
25538         * locale/C-translit.h: Regenerate.
25540 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25542         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25543         and U+0153.
25545 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
25547         [BZ #19351]
25548         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25549         expanding log(1+z), compare z rather than its square with epsilon
25550         to determine when to avoid evaluating the expansion.
25552         [BZ #19350]
25553         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25554         Increase overflow threshold.
25556         [BZ #19349]
25557         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25558         when small.
25560         * sysdeps/unix/sysv/linux/i386/kernel-features.h
25561         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25562         New macro.
25563         [__LINUX_KERNEL_VERSION >= 0x040300]
25564         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25565         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25566         Likewise.
25567         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25568         Likewise.
25569         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25570         Likewise.
25571         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25572         Likewise.
25573         [__LINUX_KERNEL_VERSION >= 0x040300]
25574         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25575         [__LINUX_KERNEL_VERSION >= 0x040300]
25576         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25577         [__LINUX_KERNEL_VERSION >= 0x040300]
25578         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25579         [__LINUX_KERNEL_VERSION >= 0x040300]
25580         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25581         [__LINUX_KERNEL_VERSION >= 0x040300]
25582         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25583         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25584         Likewise.
25585         [__LINUX_KERNEL_VERSION >= 0x040300]
25586         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25587         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25588         Likewise.
25589         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25590         Likewise.
25591         [__LINUX_KERNEL_VERSION >= 0x040300]
25592         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25593         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25594         Likewise.
25595         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25596         Likewise.
25597         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25598         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25599         Likewise.
25600         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25601         Likewise.
25602         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25603         Likewise.
25604         [__LINUX_KERNEL_VERSION >= 0x040300]
25605         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25606         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25607         Likewise.
25608         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25609         Likewise.
25610         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25611         Likewise.
25612         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25613         Likewise.
25614         [__LINUX_KERNEL_VERSION >= 0x040300]
25615         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25616         [__LINUX_KERNEL_VERSION >= 0x040300]
25617         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25618         [__LINUX_KERNEL_VERSION >= 0x040300]
25619         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25620         [__LINUX_KERNEL_VERSION >= 0x040300]
25621         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25622         [__LINUX_KERNEL_VERSION >= 0x040300]
25623         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25624         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25625         Likewise.
25626         [__LINUX_KERNEL_VERSION >= 0x040300]
25627         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25628         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25629         Likewise.
25630         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25631         Likewise.
25632         [__LINUX_KERNEL_VERSION >= 0x040300]
25633         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25634         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25635         Likewise.
25636         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25637         Likewise.
25638         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25639         (__ASSUME_SOCKET_SYSCALL): Likewise.
25640         (__ASSUME_BIND_SYSCALL): Likewise.
25641         (__ASSUME_CONNECT_SYSCALL): Likewise.
25642         (__ASSUME_LISTEN_SYSCALL): Likewise.
25643         (__ASSUME_ACCEPT_SYSCALL): Likewise.
25644         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25645         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25646         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25647         (__ASSUME_SEND_SYSCALL): Likewise.
25648         (__ASSUME_SENDTO_SYSCALL): Likewise.
25649         (__ASSUME_RECV_SYSCALL): Likewise.
25650         (__ASSUME_RECVFROM_SYSCALL): Likewise.
25651         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25652         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25653         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25654         (__ASSUME_SENDMSG_SYSCALL): Likewise.
25655         (__ASSUME_RECVMSG_SYSCALL): Likewise.
25656         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25657         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25658         Likewise.
25659         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25660         Likewise.
25661         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25662         Likewise.
25663         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25664         Likewise.
25665         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25666         Likewise.
25667         [__LINUX_KERNEL_VERSION >= 0x020625]
25668         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25669         [__LINUX_KERNEL_VERSION >= 0x020625]
25670         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25671         [__LINUX_KERNEL_VERSION >= 0x020625]
25672         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25673         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25674         Likewise.
25675         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25676         Likewise.
25677         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25678         Likewise.
25679         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25680         Likewise.
25681         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25682         Likewise.
25683         [__LINUX_KERNEL_VERSION >= 0x020625]
25684         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25685         [__LINUX_KERNEL_VERSION >= 0x020625]
25686         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25687         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25688         Likewise.
25689         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25690         Likewise.
25692 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25694         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25695         record the current if the current ABI and CPU support the FP64
25696         extension.
25697         (has-modd-spreg): Define to record the current if the current ABI and
25698         CPU support 32-bit floating point values in odd FPU registers.
25699         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25700         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25701         $(has-modd-spreg) equals yes.
25702         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25703         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25704         $(has-modd-spreg) equal yes.
25706 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25708         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25709         basename.
25711 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
25713         * benchtests/Makefile (bench-math): Move ffs and ffsll...
25714         (bench-string): ... here.
25715         (bench): Add bench-string.
25716         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25717         to *-benchset to reflect what they are.
25718         (benchset): Adjust.
25720         * benchtests/sincos-inputs: Add inputs from sin-inputs and
25721         cos-inputs.
25723 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
25725         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25726         __attribute__ ((__simd__)) for vector math function declarations.
25728 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25730         Fix typo in strncat, wcsncat manual entries
25731         * manual/string.texi (Copying and Concatenation): Fix typos in
25732         sample implementations of strncat and wcsncat, by having them use
25733         the old value of the destination length, not the new one.
25735 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
25737         [BZ #16961]
25738         [BZ #16962]
25739         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25740         string on the stack for strtod.
25741         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25742         a string on the stack for strtof.
25743         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25744         constructing a string on the stack for strtold.
25745         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25746         __strtold_nan to GLIBC_PRIVATE.
25747         * math/test-nan-overflow.c: New file.
25748         * math/test-nan-payload.c: Likewise.
25749         * math/Makefile (tests): Add test-nan-overflow and
25750         test-nan-payload.
25752 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25754         Consistency about byte vs character in string.texi
25755         * manual/string.texi (String and Array Utilities):
25756         Distinguish more carefully among bytes, multibyte characters,
25757         and wide characters.  Use "byte" when talking about C 'char',
25758         to distinguish it more clearly from multibyte characters.
25759         Say "wide character" or "multibyte character" instead of
25760         "character", when a wide or multibyte character is intended.
25761         Similarly for "multibyte string" versus "string".
25762         Define these terms more carefully.
25764 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
25766         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25767         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25768         Likewise.
25769         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25770         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25771         * sysdeps/sh/math_private.h: New file.
25772         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25773         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25774         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25775         long double function name.
25776         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25777         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25778         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25779         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25780         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25782         Remove __finitel, __isinfl, and __isnanl.
25783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25784         Likewise.
25785         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25787         Remove __finitel.
25788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25789         Likewise.
25790         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25792 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
25794         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25795         installed libmvec_nonshared.a.
25797 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25799         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25800         (sysdep_routines): Likewise.
25801         (sysdep-rtld-routines): Likewise.
25802         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25803         [$(subdir) = nptl](tests-static): test-get_hwcap-static
25804         * sysdeps/powerpc/Versions: Added new
25805         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25806         * sysdeps/powerpc/hwcapinfo.c: New file.
25807         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25808         and parse hwcap, hwcap2 and platform number information.
25809         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
25810         to store HWCAP+HWCAP2 and platform number.
25811         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25812         for HWCAP+HWCAP2 and platform number in the TCB.
25813         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
25814         the HWCAP, HWCAP2 and platform number in the TCB.
25815         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25816         (TLS_INIT_TP): Included calls to add the hwcap and
25817         at_platform values in the TCB in TP initialization.
25818         (TLS_DEFINE_INIT_TP): Likewise.
25819         (THREAD_GET_HWCAP): New macro.
25820         (THREAD_SET_HWCAP): Likewise.
25821         (THREAD_GET_AT_PLATFORM): Likewise.
25822         (THREAD_SET_AT_PLATFORM): Likewise.
25823         * sysdeps/powerpc/powerpc32/dl-machine.h:
25824         (dl_platform_init): New function that calls
25825         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25826         powerpc32.
25827         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25828         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
25829         this functionality, static linking case.
25830         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
25831         linking case.
25832         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25833         __parse_hwcap_and_convert_at_platform for the static linking case.
25834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25835         Included the new __parse_hwcap_and_convert_at_platform symbol in the
25836         ABI list for GLIBC 2.23.
25837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25838         Likewise.
25839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25840         Likewise.
25842 2015-12-02  Ludovic CourtĂšs  <ludo@gnu.org>
25844         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25845         * configure: Regenerate.
25846         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25847         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
25849 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
25851         * iconvdata/ibm930.c: Add comment explaining encoding uses.
25852         * iconvdata/ibm933.c: Likewise.
25853         * iconvdata/ibm935.c: Likewise.
25854         * iconvdata/ibm937.c: Likewise.
25855         * iconvdata/ibm939.c: Likewise.
25857 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25859         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25860         pthread_join.
25861         * nptl/tst-cancel21.c (tf): Likewise.
25863 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
25865         [BZ #19313]
25866         * bits/typesizes.h (__CPU_MASK_TYPE): New.
25867         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25868         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25869         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25870         Likewise.
25871         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25872         Likewise.
25873         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25874         Likewise.
25875         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25876         Likewise.
25877         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25878         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25879         unsigned long int with __CPU_MASK_TYPE.
25881 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25883         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25885 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
25887         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25888         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25889         t512.x.
25890         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25892 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
25894         [BZ #19214]
25895         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25896         argument to return extended model.  Update family and model
25897         with extended family and model when family == 0x0f.
25898         (init_cpu_features): Updated.
25900 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25902         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25903         signed off_t, so 32bit bigger than 2GiB values are fine actually.
25905         * sysdeps/mach/hurd/mmap64.c: New file.
25907 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
25909         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25910         rights for its main user thread in NEWTASK.
25912 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
25914         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25915         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25917 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
25919         [BZ #14259]
25920         * Makeconfig: Rename localedir to complocaledir.
25921         Rename inst_localedir to inst_complocaledir.
25922         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25923         * config.make.in: Use complocaledir and libc_cv_complocaledir.
25924         * configure.ac: Use libc_cv_complocaledir.
25925         * configure: Regenerate.
25926         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25927         -DCOMPLOCALEDIR.
25928         * locale/findlocale.c: Use COMPLOCALEDIR.
25929         * locale/loadarchive.c: Likewise.
25930         * locale/programs/locale.c: Likewise.
25931         * locale/programs/localedef.c: Likewise.
25932         * locale/programs/locarchive.c: Likewise.
25933         * localedata/Makefile: Use inst_complocaledir.
25934         * sysdeps/gnu/configure: Regenerate.
25935         * sysdeps/hppa/configure: Regenerate.
25936         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25937         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25939         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25940         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25941         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25942         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25944 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
25946         [BZ #19058]
25947         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25948         AS_NEEDED.
25949         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25950         workaround.
25951         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25952         libmvec-static-only-routines): Added new file.
25953         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25955 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25957         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
25958         of interrupted RPC instead of restoring it.
25960         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
25961         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
25962         libc_hidden_def.
25963         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
25964         into initialized data instead of common. Define rtld_hidden_data_def.
25965         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
25966         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
25967         libc_hidden_def.
25968         (if_freenameindex): Add libc_hidden_weak.
25969         (if_nameindex): Add libc_hidden_weak.
25970         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
25971         __open64.
25972         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
25973         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
25974         * sysdeps/mach/nanosleep.c: Include <time.h>
25975         (__nanosleep): Rename to __libc_nanosleep.
25976         (__nanosleep): Add weak_alias.
25977         (nanosleep): Update alias.
25979 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
25981         * stdlib/strtod_nan.c: New file.
25982         * stdlib/strtod_nan_double.h: Likewise.
25983         * stdlib/strtod_nan_float.h: Likewise.
25984         * stdlib/strtod_nan_main.c: Likewise.
25985         * stdlib/strtod_nan_narrow.h: Likewise.
25986         * stdlib/strtod_nan_wide.h: Likewise.
25987         * stdlib/strtof_nan.c: Likewise.
25988         * stdlib/strtold_nan.c: Likewise.
25989         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
25990         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
25991         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
25992         * wcsmbs/wcstod_nan.c: Likewise.
25993         * wcsmbs/wcstof_nan.c: Likewise.
25994         * wcsmbs/wcstold_nan.c: Likewise.
25995         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
25996         strtold_nan.
25997         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
25998         wcstof_nan.
25999         * include/stdlib.h (__strtof_nan): Declare and use
26000         libc_hidden_proto.
26001         (__strtod_nan): Likewise.
26002         (__strtold_nan): Likewise.
26003         (__wcstof_nan): Likewise.
26004         (__wcstod_nan): Likewise.
26005         (__wcstold_nan): Likewise.
26006         * include/wchar.h (____wcstoull_l_internal): Declare.
26007         * stdlib/strtod_l.c: Do not include <ieee754.h>.
26008         (____strtoull_l_internal): Remove declaration.
26009         (STRTOF_NAN): Define macro.
26010         (SET_MANTISSA): Remove macro.
26011         (STRTOULL): Likewise.
26012         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
26013         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
26014         (STRTOF_NAN): Define macro.
26015         (SET_MANTISSA): Remove macro.
26016         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
26017         (SET_MANTISSA): Remove macro.
26018         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
26019         macro.
26020         (SET_MANTISSA): Remove macro.
26021         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
26022         macro.
26023         (SET_MANTISSA): Remove macro.
26024         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
26025         (SET_MANTISSA): Remove macro.
26026         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
26027         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
26028         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
26030         [BZ #19266]
26031         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
26032         upper case and lower case letters inside NAN(), not using TOLOWER.
26033         * stdlib/tst-strtod-nan-locale-main.c: New file.
26034         * stdlib/tst-strtod-nan-locale.c: Likewise.
26035         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
26036         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
26037         Depend on $(gen-locales).
26038         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
26039         * wcsmbs/tst-wcstod-nan-locale.c: New file.
26040         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
26041         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
26042         Depend on $(gen-locales).
26043         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
26045 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
26047         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
26049         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
26050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
26051         __finitel, __isinfl, and __isnanl.
26052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26053         Likewise.
26054         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
26056         __finitel.
26057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26058         Likewise.
26059         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26061 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26063         * malloc/memusage.c (me): Remove redundant getenv call.
26065 2015-10-24  Florian Weimer  <fweimer@redhat.com>
26067         [BZ #19143]
26068         [BZ #19164]
26069         * nptl/check-cpuset.h: Remove.
26070         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26071         Remove CPU set size check.
26072         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26073         Likewise.
26074         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
26075         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26076         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
26077         (__pthread_setaffinity_new): Remove CPU set size check.
26078         * sysdeps/unix/sysv/linux/sched_setaffinity.c
26079         (__kernel_cpumask_size): Remove.
26080         (__sched_setaffinity_new): Remove CPU set size check.
26081         * manual/threads.texi (Default Thread Attributes): Remove stale
26082         reference to check_cpuset_attr, determine_cpumask_size in comment.
26083         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
26084         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
26085         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
26086         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
26087         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
26088         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
26089         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
26090         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
26091         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
26092         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
26093         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
26094         skeleton test file.
26095         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
26096         tst-affinity-pid.
26098 2015-11-24  Florian Weimer  <fweimer@redhat.com>
26100         * scripts/update-abilist.sh: New file.
26101         * Makefile (+subdir_targets): Add subdir_update-all-abi.
26102         * Makerules (update-all-abi-%, update-all-abi)
26103         (subdir_update-all-abi): New targets.
26104         * elf/Makefile (update-all-abi): New target.
26106 2015-11-24  Florian Weimer  <fweimer@redhat.com>
26108         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
26109         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
26110         (__libc_lock_define_initialized): Use it.
26111         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
26112         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
26113         * malloc/malloc.c (main_arena): Likewise.
26114         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26115         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26117 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
26119         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26120         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26121         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26122         (PTRACE_O_MASK): Update value.
26123         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26124         New value in enum __ptrace_setoptions.
26125         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26126         (PTRACE_O_MASK): Update value.
26127         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26128         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26129         (PTRACE_O_MASK): Update value.
26130         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26131         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26132         (PTRACE_O_MASK): Update value.
26133         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26134         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26135         (PTRACE_O_MASK): Update value.
26136         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26137         New value in enum __ptrace_setoptions.
26138         (PTRACE_O_MASK): Update value.
26139         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26140         New value in enum __ptrace_setoptions.
26141         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26142         (PTRACE_O_MASK): Update value.
26144         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26145         New macro.
26146         (PACKET_AUXDATA): Likewise.
26147         (PACKET_ORIGDEV): Likewise.
26148         (PACKET_VERSION): Likewise.
26149         (PACKET_HDRLEN): Likewise.
26150         (PACKET_RESERVE): Likewise.
26151         (PACKET_TX_RING): Likewise.
26152         (PACKET_LOSS): Likewise.
26153         (PACKET_VNET_HDR): Likewise.
26154         (PACKET_TX_TIMESTAMP): Likewise.
26155         (PACKET_TIMESTAMP): Likewise.
26156         (PACKET_FANOUT): Likewise.
26157         (PACKET_TX_HAS_OFF): Likewise.
26158         (PACKET_QDISC_BYPASS): Likewise.
26159         (PACKET_ROLLOVER_STATS): Likewise.
26160         (PACKET_FANOUT_DATA): Likewise.
26161         (PACKET_MR_UNICAST): Likewise.
26163         [BZ #19242]
26164         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26165         (TOUPPER): Likewise.
26166         * stdlib/tst-strtol-locale-main.c: New file.
26167         * stdlib/tst-strtol-locale.c: Likewise.
26168         * stdlib/Makefile (tests): Add tst-strtol-locale.
26169         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26170         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26171         Depend on $(gen-locales).
26172         * wcsmbs/tst-wcstol-locale.c: New file.
26173         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26174         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26175         tr_TR.ISO-8859-9.
26176         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26177         Depend on $(gen-locales).
26179 2015-11-20  Roland McGrath  <roland@hack.frob.com>
26181         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26182         __glibc_likely instead of __builtin_expect.  After falling back to
26183         dyncode_create in a non-ET_DYN case, use the allocate_code_data
26184         system interface to register the code pages as occupied.
26186 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
26188         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26189         [!ARM_MATH_PRIVATE_H].
26190         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26191         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26192         [!HPPA_MATH_PRIVATE_H].
26193         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26194         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26195         to [!I386_MATH_PRIVATE_H].
26196         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26197         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26198         Change guard to [!M68K_MATH_PRIVATE_H].
26199         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26200         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26201         guard to [!MICROBLAZE_MATH_PRIVATE_H].
26202         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26203         macro.
26204         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26205         [!MIPS_MATH_PRIVATE_H].
26206         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26207         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26208         [!NIO2_MATH_PRIVATE_H].
26209         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26210         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26211         [!TILE_MATH_PRIVATE_H].
26212         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26214         [BZ #15421]
26215         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26216         initialize with 0 and define as weak alias of __signgam.
26217         * include/math.h [!_ISOMAC] (__signgam): Declare.
26218         * math/Makefile (libm-calls): Add w_lgamma_compat.
26219         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26220         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26221         test-signgam-ullong-init.
26222         (tests-static): Add test-signgam-uchar-static,
26223         test-signgam-uchar-init-static, test-signgam-uint-static,
26224         test-signgam-uint-init-static, test-signgam-ullong-static and
26225         test-signgam-ullong-init-static.
26226         (CFLAGS-test-signgam-uchar.c): New variable.
26227         (CFLAGS-test-signgam-uchar-init.c): Likewise.
26228         (CFLAGS-test-signgam-uchar-static.c): Likewise.
26229         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26230         (CFLAGS-test-signgam-uint.c): Likewise.
26231         (CFLAGS-test-signgam-uint-init.c): Likewise.
26232         (CFLAGS-test-signgam-uint-static.c): Likewise.
26233         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26234         (CFLAGS-test-signgam-ullong.c): Likewise.
26235         (CFLAGS-test-signgam-ullong-init.c): Likewise.
26236         (CFLAGS-test-signgam-ullong-static.c): Likewise.
26237         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26238         * math/Versions (libm): Add GLIBC_2.23.
26239         * math/lgamma-compat.h: New file.
26240         * math/test-signgam-main.c: Likewise.
26241         * math/test-signgam-uchar-init-static.c: Likewise.
26242         * math/test-signgam-uchar-init.c: Likewise.
26243         * math/test-signgam-uchar-static.c: Likewise.
26244         * math/test-signgam-uchar.c: Likewise.
26245         * math/test-signgam-uint-init-static.c: Likewise.
26246         * math/test-signgam-uint-init.c: Likewise.
26247         * math/test-signgam-uint-static.c: Likewise.
26248         * math/test-signgam-uint.c: Likewise.
26249         * math/test-signgam-ullong-init-static.c: Likewise.
26250         * math/test-signgam-ullong-init.c: Likewise.
26251         * math/test-signgam-ullong-static.c: Likewise.
26252         * math/test-signgam-ullong.c: Likewise.
26253         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26254         wrapper of w_lgamma_main.c.
26255         * math/w_lgamma_compat.c: New file.
26256         * math/w_lgamma_compatf.c: Likewise.
26257         * math/w_lgamma_compatl.c: Likewise.
26258         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
26259         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26260         defining compatibility symbols.
26261         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
26262         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26263         wrapper of w_lgammaf_main.c.
26264         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
26265         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26266         defining compatibility symbols.
26267         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
26268         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26269         wrapper of w_lgammal_main.c.
26270         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
26271         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26272         defining compatibility symbols.
26273         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
26274         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26275         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26276         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
26277         <lgamma-compat.h>.
26278         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
26279         (__ieee754_gamma): Define as alias.
26280         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26281         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
26282         <lgamma-compat.h>.
26283         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
26284         (__ieee754_gammaf): Define as alias.
26285         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26286         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
26287         <lgamma-compat.h>.
26288         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
26289         (__ieee754_gammal): Define as alias.
26290         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26291         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
26292         <math/w_lgamma_compat.c>.
26293         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26294         Define as alias of __lgamma_compat and use in defining lgammal.
26295         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26296         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
26297         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26298         (USE_AS_COMPAT): New macro.
26299         (LGAMMA_OLD_VER): Undefine and redefine.
26300         (lgammal): Do not define here.
26301         (gammal): Only define here if [GAMMA_ALIAS].
26302         * conform/linknamespace.pl (@whitelist): Remove signgam.
26303         * sysdeps/nacl/libm.abilist: Update.
26304         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26305         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26306         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26307         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26308         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26309         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26310         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26311         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26312         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26313         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26314         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26315         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26317         Likewise.
26318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26319         Likewise.
26320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26321         Likewise.
26322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26323         Likewise.
26324         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26325         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26326         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26327         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26328         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26330         Likewise.
26331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26332         Likewise.
26333         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26334         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26335         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26337 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26339         [BZ #16364]
26340         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26341         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26343 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26345         * sysdeps/s390/fpu/bits/mathinline.h:
26346         Use __asm__ [__volatile__] instead of asm [volatile].
26347         * sysdeps/s390/abort-instr.h: Likewise.
26348         * sysdeps/s390/atomic-machine.h: Likewise.
26349         * sysdeps/s390/bits/string.h: Likewise.
26350         * sysdeps/s390/dl-tls.h: Likewise.
26351         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26352         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26353         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26354         * sysdeps/s390/fpu/fesetround.c: Likewise.
26355         * sysdeps/s390/fpu/fpu_control.h: Likewise.
26356         * sysdeps/s390/fpu/s_fma.c: Likewise.
26357         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26358         * sysdeps/s390/memusage.h: Likewise.
26359         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26360         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26361         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26362         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26363         * sysdeps/s390/nptl/tls.h: Likewise.
26364         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26365         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26366         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26367         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26368         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26369         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26370         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26371         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26372         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26373         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26374         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26375         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26376         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26377         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26378         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26379         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26380         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26381         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26382         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26383         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26384         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26385         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26386         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26388 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26389             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26391         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26392         Add lwarx hint, and use macro for acquire instruction.
26393         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26394         Likewise.
26395         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26396         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26397         update to use new atomic macros.
26399 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26401         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26402         (__lll_trylock_elision): Fix setting of adapt_count.
26403         * sysdeps/unix/sysv/linux/powerpc/htm.h
26404         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26405         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26406         (_ABORT_SYSCALL): Renumber, and clarify definition.
26407         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26409 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26411         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26412         after system headers to prevent MIN/MAX redefinition.  Define
26413         HAVE_ALLOCA to preserve builtin alloca usage.
26415 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
26417         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26418         static and don't set or restore rounding.
26419         (__cos)[IN_SINCOS]: Likewise.
26420         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26421         (__sincos): Set and restore rounding mode.  Remove check for infinite
26422         or NaN input.
26424         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26426         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26427         as used.
26429 2015-11-16  Florian Weimer  <fweimer@redhat.com>
26431         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26433 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26435         * config.make.in (have-glob-dat-reloc): New.
26436         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
26437         target supports GLOB_DAT relocaton. AC_SUBST.
26438         * configure: Regenerated.
26439         * elf/Makefile (tests): Add tst-prelink.
26440         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26441         (tst-prelink-ENV): New.
26442         ($(objpfx)tst-prelink-conflict.out): Likewise.
26443         ($(objpfx)tst-prelink-cmp.out): Likewise.
26444         * sysdeps/x86/tst-prelink.c: Moved to ...
26445         * elf/tst-prelink.c: Here.
26446         * sysdeps/x86/tst-prelink.exp: Moved to ...
26447         * elf/tst-prelink.exp: Here.
26448         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26449         (tst-prelink-ENV): Removed.
26450         ($(objpfx)tst-prelink-conflict.out): Likewise.
26451         ($(objpfx)tst-prelink-cmp.out): Likewise.
26452         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26454 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
26456         [BZ #14551]
26457         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26458         (__mpn_construct_long_double): If high part overflows to infinity,
26459         set errno and recompute overflowed result of the correct sign.
26460         * sysdeps/ieee754/ldbl-128ibm/Makefile
26461         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26462         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26463         $(libm).
26464         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26466 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
26468         [BZ #15479]
26469         [BZ #19238]
26470         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26471         floating-point state after first operation on input.  Restore full
26472         state rather than just rounding mode.
26473         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26474         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26475         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26477         [BZ #19235]
26478         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26479         add 0.5 to integer arguments.
26480         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26481         Likewise.
26482         (.LC2): New object.
26484 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
26486         * scripts/pylintrc (reports): Set to no.
26488 2015-11-10  Roland McGrath  <roland@hack.frob.com>
26490         * elf/dl-load.c (open_verify): Take new argument FD.
26491         Skip __open call if passed FD is not -1.
26492         (_dl_map_object, open_path): Update callers.
26493         * elf/dl-sysdep-open.h: New file.
26494         * elf/dl-load.c: Include it.
26495         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26496         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26497         * sysdeps/nacl/dl-sysdep-open.h: New file.
26498         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26499         from libc to rtld.
26501 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26503         [BZ #19228]
26504         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26505         and restore full floating-point state.
26506         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26507         Likewise.
26508         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26509         Likewise.
26510         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26511         Likewise.
26512         * math/test-nearbyint-except-2.c: New file.
26513         * math/Makefile (tests): Add test-nearbyint-except-2.
26515 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
26517         [BZ #19178]
26518         * sysdeps/x86/Makefile (tests): Add tst-prelink.
26519         (tst-prelink-ENV): New.
26520         ($(objpfx)tst-prelink-conflict.out): Likewise.
26521         ($(objpfx)tst-prelink-cmp.out): Likewise.
26522         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26523         * sysdeps/x86/tst-prelink.c: New file.
26524         * sysdeps/x86/tst-prelink.exp: Likewise.
26526 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26528         * math/auto-libm-test-in: Add another test of pow.
26529         * math/auto-libm-test-out: Regenerated.
26530         * math/libm-test.inc (pow_test_data): Add another test.
26532 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26534         [BZ #19219]
26535         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26536         weak_alias to nearbyintl.
26538 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26540         * sysdeps/aarch64/bits/string.h: New file.
26541         (_STRING_ARCH_unaligned): Define.
26543 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26545         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26546         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26547         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26548         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26551 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
26553         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26554         for original name of the DSO.  Add it to the name list of the DSO
26555         if it is actually given.
26556         (_dl_map_object): Keep track of whether an audit module rewrote
26557         the file name.  If yes, pass the original name to
26558         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
26559         debugging is enabled, log the change of the file name.
26560         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26561         _dl_map_object_from_fd.
26562         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26563         * elf/tst-audit11.c: New file
26564         * elf/tst-auditmod11.c: New file.
26565         * elf/tst-audit11mod1.c: New file.
26566         * elf/tst-audit11mod2.c: New file.
26567         * elf/tst-audit11mod2.map: New file.
26568         * elf/tst-audit12.c: New file
26569         * elf/tst-auditmod12.c: New file.
26570         * elf/tst-audit12mod1.c: New file.
26571         * elf/tst-audit12mod2.c: New file.
26572         * elf/tst-audit12mod2.map: New file.
26573         * elf/tst-audit12mod3.c: New file.
26575 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26577         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26578         Don't create weak aliases,
26579         because versioned symbols are created later.
26580         * sysdeps/s390/s390-32/setjmp.S
26581         (setjmp, _setjmp): Remove weak and rename to an unique name
26582         in SHARED case due to existing versioned symbols.
26583         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26584         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26585         (getcontext): Create weak alias only in non SHARED case.
26586         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26588 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26590         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26591         (__ASSUME_*_SYSCALL) Define new macros.
26592         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26593         Remove socketcall syscalls.
26594         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26595         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26596         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26597         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26598         * sysdeps/unix/sysv/linux/send.c (__libc_send):
26599         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26601 2015-11-09  Florian Weimer  <fweimer@redhat.com>
26603         [BZ #12926]
26604         Terminate process on invalid netlink response.
26605         * sysdeps/unix/sysv/linux/netlinkaccess.h
26606         (__netlink_assert_response): Declare.
26607         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26608         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26609         (sysdep_routines): Add netlink_assert_response.
26610         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26611         __netlink_assert_response.
26612         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26613         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26614         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26615         __netlink_assert_response.
26617 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26619         [BZ #19178]
26620         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26621         (RTYPE_CLASS_PLT): Likewise.
26622         (RTYPE_CLASS_COPY): Likewise.
26623         (RTYPE_CLASS_TLS): Likewise.
26624         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26625         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
26626         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26627         DL_DEBUG_PRELINK.
26629 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
26631         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26632         calls with argument -0.5.
26633         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26635         * configure.ac (libc_cv_z_nodelete): Remove configure test.
26636         (libc_cv_z_nodlopen): Likewise.
26637         (libc_cv_z_initfirst): Likewise.
26638         * configure: Regenerated.
26640 2015-11-06  Florian Weimer  <fweimer@redhat.com>
26642         Simplify abilist format to be line-based.
26643         * scripts/abilist.awk: Collect descriptors in the descs variable.
26644         (emit): Write descs variable and sort it
26645         externally, with sort.
26646         * sysdeps/**/*.abilist: Convert to new format.
26648 2015-11-06  Mark Wielaard  <mjw@redhat.com>
26650         [BZ #11460]
26651         * io/Makefile (routines): Add fts64.
26652         (tests): Add tst-fts and tst-fts-lfs.
26653         (CFLAGS-fts64.c): New.
26654         * io/Versions (GLIBC_2.23): New.
26655         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26656         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26657         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26658         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26659         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26660         (FTSENT64): Likewise.
26661         (fts64_children): Likewise.
26662         (fts64_close): Likewise.
26663         (fts64_open): Likewise.
26664         (fts64_read): Likewise.
26665         (fts64_set): Likewise.
26666         * io/fts64.c: New file.
26667         * io/tst-fts.c: New test.
26668         * io/tst-fts-lfs.c: Likewise.
26669         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26670         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26671         fts64_set.
26672         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26673         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26674         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26675         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26676         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26677         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26678         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26679         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26680         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26681         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26682         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26683         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26684         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26686         Likewise.
26687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26688         Likewise.
26689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26691         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26692         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26693         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26694         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26695         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26698         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26699         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26700         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26701         * sysdeps/wordsize-64/fts.c: New file.
26702         * sysdeps/wordsize-64/fts64.c: Likewise.
26703         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26704         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26705         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26706         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26708 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26710         * math/libm-test.inc (NON_FINITE): New macro.
26711         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26712         * math/gen-libm-test.pl (show_exceptions): Add argument
26713         $non_finite.
26714         (parse_args): Update call to show_exceptions.
26715         * math/test-math-finite.h: New file.
26716         * math/test-math-no-finite.h: Likewise.
26717         * math/test-double-finite.c: Likewise.
26718         * math/test-float-finite.c: Likewise.
26719         * math/test-ldouble-finite.c: Likewise.
26720         * math/test-double.c: Include "test-math-no-finite.h".
26721         * math/test-float.c: Include "test-math-no-finite.h".
26722         * math/test-ldouble.c: Include "test-math-no-finite.h".
26723         * math/test-math-inline.h (TEST_FINITE): New macro.
26724         * math/test-math-vector.h (TEST_FINITE): Likewise.
26725         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26726         (libm-tests): Add test-float-finite and test-double-finite.
26727         ($(objpfx)test-float-finite.o): New dependency on
26728         $(objpfx)libm-test.stmp.
26729         ($(objpfx)test-double-finite.o): Likewise.
26730         ($(objpfx)test-ldouble-finite.o): Likewise.
26731         (libm-test-no-inline-cflags): New variable.
26732         (libm-test-finite-cflags): Likewise.
26733         (CFLAGS-test-float-finite.c): Likewise.
26734         (CFLAGS-test-double-finite.c): Likewise.
26735         (CFLAGS-test-ldouble-finite.c): Likewise.
26736         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26737         (CFLAGS-test-double.c): Likewise.
26738         (CFLAGS-test-ldouble.c): Likewise.
26740 2015-11-05  Roland McGrath  <roland@hack.frob.com>
26742         * io/fcntl.c (__fcntl): Add ... to prototype.
26743         * misc/ioctl.c (__ioctl): Likewise.
26744         * misc/syscall.c (syscall): Likewise.
26746 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26748         * scripts/list-fixed-bugs.py: New file.
26750         [BZ #19213]
26751         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26752         returned for argument 1.
26753         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26754         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26755         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26756         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26757         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26758         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26760         [BZ #19211]
26761         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26762         __USE_XOPEN], not if [!__USE_ISOC99].
26763         (lgammaf): Likewise.
26764         (lgammal): Likewise.
26765         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26766         (gammaf): Likewise.
26767         (gammal): Likewise.
26768         * math/test-signgam-finite-c11.c: New file.
26769         * math/test-signgam-finite-c99.c: Likewise.
26770         * math/test-signgam-finite.c: Likewise.
26771         * math/Makefile (tests): Add test-signgam-finite,
26772         test-signgam-finite-c99 and test-signgam-finite-c11.
26773         (CFLAGS-test-signgam-finite.c): New variable.
26774         (CFLAGS-test-signgam-finite-c99.c): Likewise.
26775         (CFLAGS-test-signgam-finite-c11.c): Likewise.
26777         [BZ #19212]
26778         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26779         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26780         500].
26781         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26782         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26783         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26784         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26785         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26786         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26787         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26788         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26789         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26790         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26792         [BZ #19209]
26793         * math/bits/math-finite.h (ldexp): Remove declaration.
26794         (ldexpf): Likewise.
26795         (ldexpl): Likewise.
26797         [BZ #19205]
26798         * math/bits/math-finite.h (acosf): Condition declaration on
26799         [__USE_ISOC99].
26800         (acosl): Likewise.
26801         (acoshf): Likewise.
26802         (acoshl): Likewise.
26803         (asinf): Likewise.
26804         (asinl): Likewise.
26805         (atan2f): Likewise.
26806         (atan2l): Likewise.
26807         (atanhf): Likewise.
26808         (atanhl): Likewise.
26809         (coshf): Likewise.
26810         (coshl): Likewise.
26811         (expf): Likewise.
26812         (expl): Likewise.
26813         (fmodf): Likewise.
26814         (fmodl): Likewise.
26815         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26816         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26817         (j0l): Likewise.
26818         (y0f): Likewise.
26819         (y0l): Likewise.
26820         (j1f): Likewise.
26821         (j1l): Likewise.
26822         (y1f): Likewise.
26823         (y1l): Likewise.
26824         (jnf): Likewise.
26825         (jnl): Likewise.
26826         (ynf): Likewise.
26827         (ynl): Likewise.
26828         (lgammaf_r): Condition declaration on [__USE_ISOC99].
26829         (lgammal_r): Likewise.
26830         (__lgamma_r_finite): New declaration.
26831         (__lgammaf_r_finite): Likewise.
26832         (__lgammal_r_finite): Likewise.
26833         (lgamma): Use __lgamma_r_finite.
26834         (lgammaf): Condition definition on [__USE_ISOC99].  Use
26835         __lgammaf_r_finite.
26836         (lgammal): Condition definition on [__USE_ISOC99].  Use
26837         __lgammal_r_finite.
26838         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
26839         __lgamma_r_finite.
26840         (gammaf): Condition definition on [__USE_ISOC99].  Use
26841         __lgammaf_r_finite.
26842         (gammal): Condition definition on [__USE_ISOC99].  Use
26843         __lgammal_r_finite.
26844         (logf): Condition declaration on [__USE_ISOC99].
26845         (logl): Likewise.
26846         (log10f): Likewise.
26847         (log10l): Likewise.
26848         (ldexpf): Likewise.
26849         (ldexpl): Likewise.
26850         (powf): Likewise.
26851         (powl): Likewise.
26852         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26853         __USE_ISOC99].
26854         (remainderf): Condition declaration on [__USE_ISOC99].
26855         (remainderl): Likewise.
26856         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26857         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26858         (scalbl): Likewise.
26859         (sinhf): Condition declaration on [__USE_ISOC99].
26860         (sinhl): Likewise.
26861         (sqrtf): Likewise.
26862         (sqrtl): Likewise.
26864 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26866         * sysdeps/arm/atomic-machine.h
26867         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26868         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26869         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26870         Remove conditional code.
26871         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26872         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26873         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26874         Change conditional to [__ASSEMBLER__].
26875         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26876         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26877         [!__ASSEMBLER__].
26878         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26879         code.
26880         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26881         conditional macro definitions.
26882         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26883         (__arch_compare_and_exchange_val_16_acq): Likewise.
26884         (__arch_compare_and_exchange_val_32_acq): Likewise.
26885         (atomic_exchange_and_add): Likewise.
26886         (atomic_add): Likewise.
26887         (atomic_add_negative): Likewise.
26888         (atomic_add_zero): Likewise.
26889         (atomic_bit_set): Likewise.
26890         (atomic_bit_test_set): Likewise.
26891         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26892         code unconditional.
26893         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26895         * math/test-math-errno.h: New file.
26896         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26897         empty.
26898         (TEST_ERRNO): New macro.
26899         (TEST_EXCEPTIONS): Likewise.
26900         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26901         (TEST_EXCEPTIONS): Likewise.
26902         * math/test-math-vector.h (TEST_ERRNO): Likewise.
26903         * math/test-double.c: Include "test-math-errno.h".
26904         * math/test-float.c: Likewise.
26905         * math/test-ldouble.c: Likewise.
26906         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26907         code unconditional.
26908         (test_exceptions): Only run code if TEST_EXCEPTIONS.
26909         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26910         unconditional.
26911         (test_errno): Only run code if TEST_ERRNO.
26912         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26914 2015-11-04  Florian Weimer  <fweimer@redhat.com>
26916         * nptl/tst-once5.cc: Remove attribution.
26918 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26920         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26921         sqrt, tan, tanh, y0, y1 and yn.
26922         * math/auto-libm-test-out: Regenerated.
26923         * math/libm-test.inc (scalb_test_data): Add more tests.
26924         (scalbn_test_data): Likewise.
26925         (scalbln_test_data): Likewise.
26926         (signbit_test_data): Likewise.
26927         (sin_test_data): Likewise.
26928         (sincos_test_data): Likewise.
26929         (sinh_test_data): Likewise.
26930         (sqrt_test_data): Likewise.
26931         (tan_test_data): Likewise.
26932         (tanh_test_data): Likewise.
26933         (tgamma_test_data): Likewise.
26934         (y0_test_data): Likewise.
26935         (y1_test_data): Likewise.
26936         (yn_test_data): Likewise.
26937         (significand_test_data): Likewise.
26938         * sysdeps/i386/fpu/libm-test-ulps: Update.
26940 2015-11-03  David Kastrup  <dak@gnu.org>
26942         [BZ #18604]
26943         * assert/assert.h (assert): Don't macro-expand failed assertion
26944         expression in error message.
26945         * malloc/malloc.c (assert): Likewise.
26947 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
26949         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26950         test.
26951         * configure: Regenerated.
26953 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
26955         * math/libm-test.inc (modf_test_data): Add more tests.
26956         (nearbyint_test_data): Likewise.
26957         (nextafter_test_data): Likewise.
26958         (nexttoward_test_data): Likewise.
26959         (pow_test_data): Likewise.
26960         (remainder_test_data): Likewise.
26961         (remquo_test_data): Likewise.
26962         (rint_test_data): Likewise.
26964         [BZ #19201]
26965         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26966         Check for zero remainder in case of large exponents and ensure
26967         correct sign of result in that case.
26968         * math/libm-test.inc (remainder_test_data): Add more tests.
26970         [BZ #6799]
26971         * math/s_nextafter.c: Include <errno.h>.
26972         (__nextafter): Set errno on overflow and underflow.
26973         * math/s_nexttowardf.c: Include <errno.h>.
26974         (__nexttowardf): Set errno on overflow and underflow.
26975         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
26976         (__nextafterl): Set errno on overflow and underflow.
26977         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
26978         (__nexttoward): Set errno on overflow and underflow.
26979         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
26980         (__nexttowardf): Set errno on overflow and underflow.
26981         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
26982         (__nextafterf): Set errno on overflow and underflow.
26983         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
26984         (__nextafterl): Set errno on overflow and underflow.
26985         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
26986         (__nexttoward): Set errno on overflow and underflow.
26987         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
26988         (__nexttowardf): Set errno on overflow and underflow.
26989         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
26990         (__nextafterl): Set errno on overflow and underflow.
26991         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
26992         (__nexttoward): Set errno on overflow and underflow.
26993         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
26994         (__nexttowardf): Set errno on overflow and underflow.
26995         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
26996         (__nexttoward): Set errno on overflow and underflow.
26997         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
26998         (__nexttowardf): Set errno on overflow and underflow.
26999         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
27000         (__nldbl_nexttowardf): Set errno on overflow and underflow.
27001         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
27002         (__nextafterl): Set errno on overflow and underflow.
27003         * math/libm-test.inc (nextafter_test_data): Do not allow errno
27004         setting to be missing on overflow.  Add more tests.
27005         (nexttoward_test_data): Likewise.
27007         * configure.ac (libc_cv_initfini_array): Remove configure test.
27008         * configure: Regenerated.
27010 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
27012         [BZ #19189]
27013         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
27014         non-finite argument handle arguments with negative sign.
27016         * math/libm-test.inc (j0_test_data): Do not test sign of zero
27017         result from infinite argument.
27018         (j1_test_data): Likewise.
27019         (jn_test_data): Likewise.
27020         (y0_test_data): Likewise.
27021         (y1_test_data): Likewise.
27022         (yn_test_data): Likewise.
27024         [BZ #16171]
27025         * math/w_remainder.c (drem): Define as weak alias of __remainder.
27026         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
27027         * math/w_remainderf.c (dremf): Define as weak alias of
27028         __remainderf.
27029         * math/w_remainderl.c (dreml): Define as weak alias of
27030         __remainderl.
27031         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
27032         __remainder.
27033         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
27034         __remainderf.
27035         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
27036         __remainderl.
27037         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
27038         weak alias of remainderl.
27039         * sysdeps/ieee754/ldbl-opt/w_remainder.c
27040         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
27041         alias of __remainder.
27042         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
27043         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
27044         strong alias of __remainderl.
27045         (dreml): Use long_double_symbol.
27046         * math/Makefile (libm-calls): Remove w_drem.
27047         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
27048         (CFLAGS-nldbl-drem.c): Remove variable.
27049         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
27050         * math/w_drem.c: Remove file.
27051         * math/w_dremf.c: Likewise.
27052         * math/w_dreml.c: Likewise.
27053         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
27054         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
27055         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
27057         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
27058         * sysdeps/i386/configure: Regenerated.
27059         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
27060         * sysdeps/x86_64/configure: Regenerated.
27062         * configure.ac (libc_cv_asm_protected_directive): Remove configure
27063         test.
27064         (libc_cv_visibility_attribute): Likewise.
27065         (libc_cv_protected_data): Test unconditionally.
27066         (libc_cv_broken_visibility_attribute): Remove configure test.
27067         (libc_cv_have_sdata_section): Test unconditionally.
27068         * configure: Regenerated.
27070         * include/libc-internal.h (libc_max_align_t): Remove typedef.
27071         * include/scratch_buffer.h: Include <stddef.h> instead of
27072         <libc-internal.h>.
27073         (struct scratch_buffer): Use max_align_t instead of
27074         libc_max_align_t.
27076 2015-10-29  Florian Weimer  <fweimer@redhat.com>
27078         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
27079         instead of extend_alloca.  Change control flow to avoid a goto.
27080         Remove assert which is trivially always true.
27082 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27084         [BZ #16068]
27085         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
27086         (FE_ALL_EXCEPT_X86): New macro.
27087         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27088         FE_ALL_EXCEPT.  Ensure precision control is included in
27089         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27090         handle "denormal operand exception" and clear FZ and DAZ bits.
27091         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
27092         (FE_ALL_EXCEPT_X86): New macro.
27093         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27094         FE_ALL_EXCEPT.  Ensure precision control is included in
27095         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27096         handle "denormal operand exception" and clear FZ and DAZ bits.
27097         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
27098         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
27099         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27100         test-fenv-x87 and test-fenv-sse-2.
27101         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
27103         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
27104         * math/test-double.h (BUILD_COMPLEX): New macro.
27105         * math/test-float.h (BUILD_COMPLEX): Likewise.
27106         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
27108         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
27109         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
27110         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
27111         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
27112         instead of DBL_DENORM_MIN in comment.
27113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
27114         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27115         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
27116         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27117         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27118         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27120 2015-10-28  Florian Weimer  <fweimer@redhat.com>
27122         [BZ #19048]
27123         * malloc/malloc.c (struct malloc_state): Update comment.  Add
27124         attached_threads member.
27125         (main_arena): Initialize attached_threads.
27126         * malloc/arena.c (list_lock): Update comment.
27127         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27128         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27129         (deattach_arena): New function.
27130         (_int_new_arena): Initialize arena reference count and deattach
27131         replaced arena.
27132         (get_free_list, reused_arena): Update reference count and deattach
27133         replaced arena.
27134         (arena_thread_freeres): Update arena reference count and only put
27135         unreferenced arenas on the free list.
27137 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27139         [BZ #19181]
27140         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27141         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27142         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27143         * math/test-fenv-clear-main.c: New file.
27144         * math/test-fenv-clear.c: Likewise.
27145         * math/Makefile (tests): Add test-fenv-clear.
27146         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27147         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27148         test-fenv-clear-sse.
27149         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27151         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27152         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27153         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27155 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27157         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27158         static libc.
27160 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27162         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27163         test.
27164         * sysdeps/i386/configure: Regenerated.
27165         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27166         test.
27167         * sysdeps/x86_64/configure: Regenerated.
27168         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27170         memset-avx2 unconditionally instead of conditionally on
27171         [$(config-cflags-avx2) = yes].
27172         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27173         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27174         unconditional.
27175         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27176         * sysdeps/x86_64/multiarch/memset_chk.S
27177         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27178         to [IS_IN (libc) && SHARED].
27180 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27182         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27183         configure test.
27184         * sysdeps/arm/configure: Regenerated.
27185         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27186         Define variable if not already defined.
27188         [BZ #17404]
27189         * sysdeps/mips/atomic-machine.h
27190         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27191         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27192         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27194         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27195         unconditional.
27196         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27197         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27198         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27199         unconditional.
27200         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27201         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27202         unconditional.
27203         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27204         * stdlib/setenv.c
27205         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27206         code unconditional.
27207         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27208         Remove conditional code.
27209         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27210         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27211         unconditional.
27212         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27213         code.
27214         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27215         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27216         unconditional.
27217         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27218         code.
27219         * sysdeps/ieee754/ldbl-128/k_tanl.c
27220         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27221         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27222         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27223         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27224         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27225         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27226         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27227         unconditional.
27228         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27229         code.
27230         * sysdeps/ieee754/ldbl-96/k_tanl.c
27231         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27232         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27234         * nptl/tst-initializers1-c11.c: New file.
27235         * nptl/tst-initializers1-gnu11.c: Likewise.
27236         * nptl/Makefile (tests): Add these new tests.
27237         (CFLAGS-tst-initializers1-c11.c): New variable.
27238         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27240         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27241         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27242         instead of -std=gnu99.
27243         * configure.ac (systemtap): Test with -std=gnu11 instead of
27244         -std=gnu99.
27245         * configure: Regenerated.
27246         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27247         in compilation command in comment.
27249         * sysdeps/nptl/configure.ac: Remove file.
27250         * sysdeps/nptl/configure: Remove generated file.
27251         * configure.ac (libc_cv_forced_unwind): Do not substitute.
27252         * configure: Regenerated.
27253         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27254         * config.make.in (have-forced-unwind): Remove variable.
27255         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27256         unconditional.
27257         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27258         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27259         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27260         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27261         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27262         unconditional.
27264 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27266         [BZ #19174]
27267         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27268         .skip_lock_out_of_tbegin_retries.
27269         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27270         (__lll_lock_elision): Likewise, and respect a value of
27271         try_tbegin <= 0.
27273 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27275         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27276         statement.
27278 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27280         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27281         variable.
27282         (test-xfail-ISO11/stdalign.h/conform): Likewise.
27283         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27285         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27286         of -std=c1x -D_ISOC11_SOURCE.
27288         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27289         * configure: Regenerated.
27290         * manual/install.texi (Tools for Compilation): Document
27291         requirement for GCC 4.7 or later.
27292         * INSTALL: Regenerated.
27294 2015-10-27  Ludovic CourtĂšs  <ludo@gnu.org>
27296         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27297         on CNT to a conditional jump to 'puntdata'.
27299 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27301         * configure.ac (libc_cv_gcc___thread): Remove configure test.
27302         (libc_cv_gcc_tls_model_attr): Likewise.
27303         * configure: Regenerated.
27305         * configure.ac (libc_cv_need_minus_P): Remove configure test.
27306         * configure: Regenerated.
27307         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27309 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
27311         * configure.ac (old_glibc_headers): Remove configure test.
27312         * configure: Regenerated.
27313         * config.make.in (old-glibc-headers): Remove variable.
27314         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27315         (install): Remove dependency on remove-old-headers.
27316         (headers2_0): Remove variable.
27317         (remove-old-headers): Remove rule.
27319         * configure.ac (libc_cv_dot_text): Remove configure test.
27320         (libc_cv_asm_set_directive): Use .text instead of
27321         ${libc_cv_dot_text} in configure test.
27322         * configure: Regenerated.
27324 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27326         [BZ #19168]
27327         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27329 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27331         * configure.ac (CXX): Clear the variable if the C++ toolchain does
27332         not support static linking.
27333         * configure: Regenerate.
27335 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
27337         * math/libm-test.inc (check_float_internal): Do not special-case
27338         errors up to 0.5 ulp.
27340         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27341         log2.
27342         * math/auto-libm-test-out: Regenerated.
27343         * math/libm-test.inc (MAX_EXP): New macro.
27344         (ilogb_test_data): Add more tests.
27345         (isfinite_test_data): Likewise.
27346         (isgreater_test_data): Likewise.
27347         (isgreaterequal_test_data): Likewise.
27348         (isinf_test_data): Likewise.
27349         (isless_test_data): Likewise.
27350         (islessequal_test_data): Likewise.
27351         (islessgreater_test_data): Likewise.
27352         (isnan_test_data): Likewise.
27353         (isnormal_test_data): Likewise.
27354         (issignaling_test_data): Likewise.
27355         (isunordered_test_data): Likewise.
27356         (j0_test_data): Likewise.
27357         (j1_test_data): Likewise.
27358         (jn_test_data): Likewise.
27359         (lgamma_test_data): Likewise.
27360         (log_test_data): Likewise.
27361         (log10_test_data): Likewise.
27362         (log1p_test_data): Likewise.
27363         (log2_test_data): Likewise.
27364         (logb_test_data): Likewise.
27365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27367         [BZ #18611]
27368         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27369         avoid excess range and precision on underflow.
27370         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27371         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27372         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27373         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27374         underflow.
27375         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27376         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27377         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27378         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27379         * math/auto-libm-test-in: Do not allow missing errno setting for
27380         tests of j1 and jn.
27381         * math/auto-libm-test-out: Regenerated.
27383 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
27385         [BZ #15491]
27386         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27387         floating-point environment instead of clearing all exceptions.
27388         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27389         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27390         merging in "invalid" exceptions from frndint.
27391         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27392         * math/test-nearbyint-except.c: New file.
27393         * math/Makefile (tests): Add test-nearbyint-except.
27395 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
27397         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27399         * sysdeps/tile/libm-test-ulps: Regenerated.
27401 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27404         (__NR_sync_file_range2): Assume it is always defined.
27405         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27406         (__NR_sync_file_range): Assume it is always defined.
27408 2015-10-22  Andreas Schwab  <schwab@suse.de>
27410         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27411         INTERNAL_SYSCALL_ERRNO.
27412         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27413         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27414         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27415         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27416         Likewise.
27417         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27419 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27421         * io/tst-fcntl.c (fd): New static variable.
27422         (do_prepare): Open temporary file here....
27423         (do_test): ...not here.
27425         * io/ftwtest-sh: Also trap on exit to remove temporary files.
27427 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27429         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27430         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27431         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27432         Moved before "#ifdef __ASSEMBLER__".
27434 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27436         [BZ #19156]
27437         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27438         arguments very close to 0.
27440 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
27442         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27443         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27445 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27447         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27448         New.  Defined for GCC 5 and above when not compiling for
27449         profiling.
27450         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27452         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27453         Renamed to ...
27454         (CFLAGS-epoll_pwait.o): This.
27455         (CFLAGS-mmap.c): Renamed to ...
27456         (CFLAGS-mmap.o): This.
27457         (CFLAGS-mmap64.c): Renamed to ...
27458         (CFLAGS-mmap64.o): This.
27459         (CFLAGS-epoll_pwait.os): New.
27460         (CFLAGS-mmap.os): Likewise.
27461         (CFLAGS-mmap64.os): Likewise.
27462         (CFLAGS-semtimedop.os): Likewise.
27463         (CFLAGS-semtimedop.c): Renamed to ...
27464         (CFLAGS-semtimedop.o): This.
27466 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27468         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27469         warning message.
27471 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27473         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27474         * Makefile ($(objpfx)c++-types-check.out): Filter out
27475         $(+gccwarn-c) instead of -Wstrict-prototypes.
27477         * io/fts.c (fts_open): Convert to prototype-style function
27478         definition.
27479         * malloc/mcheck.c (mcheck): Likewise.
27480         (mcheck_pedantic): Likewise.
27481         * posix/regexec.c (re_search_2_stub): Likewise.  Use
27482         internal_function.
27483         (re_search_internal): Likewise.
27484         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27485         prototype-style function definition.
27486         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27487         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27488         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27489         (xdr_utmpptr): Likewise.
27490         (xdr_utmparr): Likewise.
27491         (xdr_utmpidle): Likewise.
27492         (xdr_utmpidleptr): Likewise.
27493         (xdr_utmpidlearr): Likewise.
27495         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27496         log, log10 and log2.
27497         * math/auto-libm-test-out: Regenerated.
27498         * math/libm-test.inc (fmod_test_data): Add more tests.
27499         (fpclassify_test_data): Likewise.
27500         (frexp_test_data): Likewise.
27501         (hypot_test_data): Likewise.
27502         (ilogb_test_data): Likewise.
27504 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
27506         * debug/fortify_fail.c (__fortify_fail): Convert to
27507         prototype-style function definition.  Use internal_function.
27508         * libio/genops.c (save_for_backup): Convert to prototype-style
27509         function definition.
27510         * libio/wgenops.c (save_for_wbackup): Likewise.
27511         * login/grantpt.c (grantpt): Likewise.
27512         * login/ptsname.c (ptsname): Likewise.
27513         (__ptsname_r): Likewise.
27514         * login/unlockpt.c (unlockpt): Likewise.
27515         * mach/msgserver.c (__mach_msg_server): Likewise.
27516         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27517         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27518         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27519         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27520         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27521         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27522         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27523         Likewise.
27524         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
27525         internal_function.
27526         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27527         prototype-style function definition.
27528         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27529         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27530         (__pthread_create_2_0): Likewise.
27531         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27532         * nptl/register-atfork.c (__register_atfork): Likewise.
27533         * posix/glob.c (glob): Likewise.
27534         * posix/regcomp.c (re_comp): Likewise.
27535         * posix/regexec.c (re_exec): Likewise.
27536         * stdlib/add_n.c [__STDC__]: Make code unconditional.
27537         [!__STDC__]: Remove conditional code.
27538         * stdlib/cmp.c [__STDC__]: Make code unconditional.
27539         [!__STDC__]: Remove conditional code.
27540         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27541         [!__STDC__]: Remove conditional code.
27542         * stdlib/divrem.c [__STDC__]: Make code unconditional.
27543         [!__STDC__]: Remove conditional code.
27544         * stdlib/lshift.c [__STDC__]: Make code unconditional.
27545         [!__STDC__]: Remove conditional code.
27546         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27547         [!__STDC__]: Remove conditional code.
27548         * stdlib/mul.c [__STDC__]: Make code unconditional.
27549         [!__STDC__]: Remove conditional code.
27550         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27551         [!__STDC__]: Remove conditional code.
27552         * stdlib/rshift.c [__STDC__]: Make code unconditional.
27553         [!__STDC__]: Remove conditional code.
27554         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27555         function definition.
27556         (STRTOF): Likewise.
27557         * stdlib/strtod_l.c (__STRTOF): Likewise.
27558         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27559         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27560         (__strtol_l): Likewise.
27561         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27562         [!__STDC__]: Remove conditional code.
27563         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27564         definition.
27565         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27566         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27567         type.
27568         (__strcasecmp): Convert to prototype-style function definition.
27569         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27570         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27571         type.
27572         (__strncasecmp): Convert to prototype-style function definition.
27573         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27574         * sunrpc/xdr.c (xdr_union): Likewise.
27575         * sunrpc/xdr_array.c (xdr_array): Likewise.
27576         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27577         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27578         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27579         Likewise.
27580         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27581         Likewise.
27582         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27583         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27584         Likewise.
27585         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27586         (LOCALE_PARAM_PROTO): Likewise.
27587         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27588         argument type.
27589         (ut_argument_spec): Remove macro.
27590         (ut_argument_spec_iso): Rename to ut_argument_spec.
27591         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
27592         prototype-style function definition.
27593         (memcpy_uppcase): Likewise.
27594         (__strftime_internal): Likewise.
27595         (my_strftime): Likewise.
27596         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27597         (LOCALE_PARAM_DECL): Likewise.
27598         [_LIBC] (LOCALE_PARAM): Include argument type.
27599         (__strptime_internal): Convert to prototype-style function
27600         definition.
27601         (strptime): Likewise.
27602         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27603         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27604         type.
27605         (__wcscasecmp): Convert to prototype-style function definition.
27606         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27607         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27608         type.
27609         (__wcsncasecmp): Convert to prototype-style function definition.
27611         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27612         function definition.
27613         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27614         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27615         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27616         * elf/dl-minimal.c (_itoa): Likewise.
27617         * hurd/hurdmalloc.c (malloc): Likewise.
27618         (free): Likewise.
27619         (realloc): Likewise.
27620         * inet/inet6_option.c (inet6_option_space): Likewise.
27621         (inet6_option_init): Likewise.
27622         (inet6_option_append): Likewise.
27623         (inet6_option_alloc): Likewise.
27624         (inet6_option_next): Likewise.
27625         (inet6_option_find): Likewise.
27626         * io/ftw.c (FTW_NAME): Likewise.
27627         (NFTW_NAME): Likewise.
27628         (NFTW_NEW_NAME): Likewise.
27629         (NFTW_OLD_NAME): Likewise.
27630         * libio/iofwide.c (_IO_fwide): Likewise.
27631         * libio/strops.c (_IO_str_init_static_internal): Likewise.
27632         (_IO_str_init_static): Likewise.
27633         (_IO_str_init_readonly): Likewise.
27634         (_IO_str_overflow): Likewise.
27635         (_IO_str_underflow): Likewise.
27636         (_IO_str_count): Likewise.
27637         (_IO_str_seekoff): Likewise.
27638         (_IO_str_pbackfail): Likewise.
27639         (_IO_str_finish): Likewise.
27640         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27641         (_IO_wstr_overflow): Likewise.
27642         (_IO_wstr_underflow): Likewise.
27643         (_IO_wstr_count): Likewise.
27644         (_IO_wstr_seekoff): Likewise.
27645         (_IO_wstr_pbackfail): Likewise.
27646         (_IO_wstr_finish): Likewise.
27647         * locale/programs/localedef.c (normalize_codeset): Likewise.
27648         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27649         (add_locales_to_archive): Likewise.
27650         (delete_locales_from_archive): Likewise.
27651         * malloc/malloc.c (__libc_mallinfo): Likewise.
27652         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27653         * misc/tsearch.c (__tfind): Likewise.
27654         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27655         * nptl/pthread_attr_getdetachstate.c
27656         (__pthread_attr_getdetachstate): Likewise.
27657         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27658         Likewise.
27659         * nptl/pthread_attr_getinheritsched.c
27660         (__pthread_attr_getinheritsched): Likewise.
27661         * nptl/pthread_attr_getschedparam.c
27662         (__pthread_attr_getschedparam): Likewise.
27663         * nptl/pthread_attr_getschedpolicy.c
27664         (__pthread_attr_getschedpolicy): Likewise.
27665         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27666         Likewise.
27667         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27668         Likewise.
27669         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27670         Likewise.
27671         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27672         Likewise.
27673         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27674         (__pthread_attr_init_2_0): Likewise.
27675         * nptl/pthread_attr_setdetachstate.c
27676         (__pthread_attr_setdetachstate): Likewise.
27677         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27678         Likewise.
27679         * nptl/pthread_attr_setinheritsched.c
27680         (__pthread_attr_setinheritsched): Likewise.
27681         * nptl/pthread_attr_setschedparam.c
27682         (__pthread_attr_setschedparam): Likewise.
27683         * nptl/pthread_attr_setschedpolicy.c
27684         (__pthread_attr_setschedpolicy): Likewise.
27685         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27686         Likewise.
27687         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27688         Likewise.
27689         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27690         Likewise.
27691         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27692         Likewise.
27693         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27694         Likewise.
27695         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27696         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27697         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27698         use internal_function.
27699         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27700         prototype-style function definition.
27701         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27702         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
27703         internal_function.
27704         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27705         Convert to prototype-style function definition.
27706         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27707         Likewise.
27708         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27709         Likewise.
27710         (__pthread_mutex_unlock): Likewise.
27711         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27712         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27713         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27714         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27715         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27716         * nss/makedb.c (process_input): Likewise.
27717         * posix/fnmatch.c (__strchrnul): Likewise.
27718         (__wcschrnul): Likewise.
27719         (fnmatch): Likewise.
27720         * posix/fnmatch_loop.c (FCT): Likewise.
27721         * posix/glob.c (globfree): Likewise.
27722         (__glob_pattern_type): Likewise.
27723         (__glob_pattern_p): Likewise.
27724         * posix/regcomp.c (re_compile_pattern): Likewise.
27725         (re_set_syntax): Likewise.
27726         (re_compile_fastmap): Likewise.
27727         (regcomp): Likewise.
27728         (regerror): Likewise.
27729         (regfree): Likewise.
27730         * posix/regexec.c (regexec): Likewise.
27731         (re_match): Likewise.
27732         (re_search): Likewise.
27733         (re_match_2): Likewise.
27734         (re_search_2): Likewise.
27735         (re_search_stub): Likewise.  Use internal_function
27736         (re_copy_regs): Likewise.
27737         (re_set_registers): Convert to prototype-style function
27738         definition.
27739         (prune_impossible_nodes): Likewise.  Use internal_function.
27740         * resolv/inet_net_pton.c (inet_net_pton): Convert to
27741         prototype-style function definition.
27742         (inet_net_pton_ipv4): Likewise.
27743         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27744         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27745         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27746         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27747         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27748         Make variadic.
27749         * time/strptime_l.c (localtime_r): Convert to prototype-style
27750         function definition.
27751         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27752         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27753         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27754         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27756         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27757         definition.
27758         (_ufc_doit_r): Likewise.
27759         * crypt/crypt_util.c (_ufc_copymem): Likewise.
27760         (_ufc_output_conversion_r): Likewise.
27761         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27762         * inet/rcmd.c (rcmd_af): Likewise.
27763         (rcmd): Likewise.
27764         (ruserok_af): Likewise.
27765         (ruserok): Likewise.
27766         (ruserok2_sa): Likewise.
27767         (ruserok_sa): Likewise.
27768         (iruserok_af): Likewise.
27769         (iruserok): Likewise.
27770         (__ivaliduser): Likewise.
27771         (__validuser2_sa): Likewise.
27772         * inet/rexec.c (rexec_af): Likewise.
27773         (rexec): Likewise.
27774         * inet/ruserpass.c (ruserpass): Likewise.
27775         * locale/programs/xmalloc.c (xcalloc): Likewise.
27776         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27777         * math/w_drem.c (__drem): Likewise.
27778         * math/w_dremf.c (__dremf): Likewise.
27779         * math/w_dreml.c (__dreml): Likewise.
27780         * misc/daemon.c (daemon): Likewise.
27781         * resolv/res_debug.c (p_fqnname): Likewise.
27782         * stdlib/div.c (div): Likewise.
27783         * string/memcmp.c (memcmp_bytes): Likewise.
27784         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27785         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27787         * crypt/cert.c (main): Convert to prototype-style function
27788         definition.
27789         * io/pipe.c (__pipe): Likewise.
27790         * io/pipe2.c (__pipe2): Likewise.
27791         * misc/futimesat.c (futimesat): Likewise.
27792         * misc/utimes.c (__utimes): Likewise.
27793         * posix/execve.c (__execve): Likewise.
27794         * posix/execvp.c (execvp): Likewise.
27795         * posix/execvpe.c (__execvpe): Likewise.
27796         * posix/fexecve.c (fexecve): Likewise.
27797         * socket/socketpair.c (socketpair): Likewise.
27798         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27799         * stdlib/erand48.c (erand48): Likewise.
27800         * stdlib/erand48_r.c (__erand48_r): Likewise.
27801         * stdlib/jrand48.c (jrand48): Likewise.
27802         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27803         * stdlib/lcong48.c (lcong48): Likewise.
27804         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27805         * stdlib/nrand48.c (nrand48): Likewise.
27806         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27807         * stdlib/seed48.c (seed48): Likewise.
27808         * stdlib/seed48_r.c (__seed48_r): Likewise.
27809         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27810         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27811         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27813 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
27815         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27816         * configure: Regenerated.
27817         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27818         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27819         unconditional.
27820         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27821         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27822         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27823         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27824         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27825         unconditional.
27826         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27828         * posix/Makefile (CFLAGS-regex.c): Remove variable.
27829         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27831         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27832         function definition.
27833         * crypt/crypt_util.c (__encrypt_r): Likewise.
27834         * libio/genops.c (_IO_no_init): Likewise.
27835         * libio/iofopncook.c (_IO_fopencookie): Likewise.
27836         (_IO_old_fopencookie): Likewise.
27837         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27838         * libio/iogetline.c (_IO_getline): Likewise.
27839         (_IO_getline_info): Likewise.
27840         * libio/iogetwline.c (_IO_getwline): Likewise.
27841         (_IO_getwline_info): Likewise.
27842         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27843         * libio/vswprintf.c (_IO_vswprintf): Likewise.
27844         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27845         (find_entry): Likewise.
27846         (iterate_table): Likewise.
27847         (lookup): Likewise.
27848         * login/forkpty.c (forkpty): Likewise.
27849         * misc/hsearch_r.c (__hsearch_r): Likewise.
27850         * misc/select.c (__select): Likewise.
27851         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27852         Likewise.
27853         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27854         Likewise.
27855         * nptl/old_pthread_cond_timedwait.c
27856         (__pthread_cond_timedwait_2_0): Likewise.
27857         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27858         * nptl/pthread_barrierattr_getpshared.c
27859         (pthread_barrierattr_getpshared): Likewise.
27860         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27861         Likewise.
27862         * nptl/pthread_mutex_setprioceiling.c
27863         (pthread_mutex_setprioceiling): Likewise.
27864         * nptl/pthread_mutexattr_getprioceiling.c
27865         (pthread_mutexattr_getprioceiling): Likewise.
27866         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27867         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27868         Likewise.
27869         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27870         Likewise.
27871         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27872         Likewise.
27873         * socket/recvfrom.c (__recvfrom): Likewise.
27874         * socket/sendto.c (__sendto): Likewise.
27875         * socket/setsockopt.c (__setsockopt): Likewise.
27876         * stdio-common/_itoa.c (_itoa): Likewise.
27877         * stdio-common/_itowa.c (_itowa): Likewise.
27878         * stdio-common/reg-printf.c (__register_printf_specifier):
27879         Likewise.
27880         (__register_printf_function): Likewise.
27881         * stdio-common/tempname.c (__path_search): Likewise.
27882         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27883         * stdlib/mul_1.c (mpn_mul_1): Likewise.
27884         * stdlib/random_r.c (__initstate_r): Likewise.
27885         * stdlib/setenv.c (__add_to_environ): Likewise.
27886         * stdlib/submul_1.c (mpn_submul_1): Likewise.
27887         * streams/getpmsg.c (getpmsg): Likewise.
27888         * streams/putmsg.c (putmsg): Likewise.
27889         * streams/putpmsg.c (putpmsg): Likewise.
27890         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27891         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27892         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27893         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27894         * sunrpc/pm_getport.c (pmap_getport): Likewise.
27895         * sunrpc/svc_udp.c (cache_get): Likewise.
27896         * sunrpc/xdr_array.c (xdr_vector): Likewise.
27897         * sysdeps/mach/hurd/getcwd.c
27898         (__canonicalize_directory_name_internal): Likewise.
27899         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27900         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27901         * sysdeps/mach/hurd/select.c (__select): Likewise.
27902         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27903         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27904         * sysdeps/sparc/nptl/pthread_barrier_init.c
27905         (__pthread_barrier_init): Likewise.
27906         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27907         (__pthread_cond_timedwait): Likewise.
27908         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27909         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27910         Likewise.
27911         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27912         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27913         Likewise.
27914         * sysvipc/semtimedop.c (semtimedop): Likewise.
27915         * time/setitimer.c (__setitimer): Likewise.
27916         * time/strftime_l.c (emacs_strftime): Likewise.
27918 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
27920         * config.make.in (have-ssp): Delete.
27921         (stack-protector): New variable.
27922         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
27923         cache test for -fstack-protector-strong.  Export stack_protector to
27924         the best ssp flag.
27925         * configure: Regenerated.
27926         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27927         * nscd/Makefile (CFLAGS-nscd): Likewise.
27928         * resolv/Makefile (CFLAGS-libresolv): Likewise.
27930 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
27932         [BZ #19122]
27933         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27934         attribute_hidden.
27936 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27938         [BZ #18743]
27939         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27940         code to...
27941         (ELIDE_LOCK): ...here.
27942         (__get_new_count): New function with part of the code from
27943         __elide_lock that updates the value of adapt_count after a
27944         transaction abort.
27945         (__elided_trylock): Moved this code to...
27946         (ELIDE_TRYLOCK): ...here.
27948 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
27950         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27951         * configure: Regenerate.
27952         * INSTALL: Regenerate.
27953         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27954         and tweak grammar.
27956 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
27958         * login/programs/pt_chown.c: Include signal.h
27959         (main): Clear any signal mask from the parent process.
27961 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
27963         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
27964         * configure: Regenerated.
27965         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
27966         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
27967         $(gnu89-inline-CFLAGS).
27969         * configure.ac (libc_cv_asm_weak_directive): Remove configure
27970         test.
27971         (libc_cv_asm_weakext_directive): Likewise.
27972         * configure: Regenerated.
27973         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
27974         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
27975         * include/libc-symbols.h
27976         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
27977         #error.
27978         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
27979         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
27981         * sysdeps/arm/backtrace.c (__backtrace): Convert to
27982         prototype-style function definition.
27983         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27984         * sysdeps/i386/ffs.c (__ffs): Likewise.
27985         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27986         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
27987         Likewise.
27988         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27989         Likewise.
27990         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27991         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27992         Likewise.
27993         * sysdeps/m68k/ffs.c (__ffs): Likewise.
27994         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
27995         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
27996         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
27997         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
27998         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
27999         * sysdeps/mach/hurd/access.c (__access): Likewise.
28000         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
28001         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
28002         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28003         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
28004         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
28005         (cthread_getspecific): Likewise.
28006         (cthread_setspecific): Likewise.
28007         (__libc_getspecific): Likewise.
28008         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
28009         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
28010         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
28011         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
28012         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
28013         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
28014         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
28015         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
28016         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
28017         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
28018         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
28019         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
28020         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
28021         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
28022         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
28023         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
28024         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
28025         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
28026         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
28027         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
28028         * sysdeps/mach/hurd/link.c (__link): Likewise.
28029         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
28030         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
28031         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28032         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
28033         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28034         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
28035         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
28036         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
28037         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28038         * sysdeps/mach/hurd/rename.c (rename): Likewise.
28039         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
28040         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28041         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
28042         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
28043         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
28044         * sysdeps/mach/hurd/send.c (__send): Likewise.
28045         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
28046         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
28047         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
28048         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
28049         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
28050         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
28051         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
28052         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
28053         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
28054         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
28055         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
28056         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
28057         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
28058         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
28059         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
28060         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28061         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
28062         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28063         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
28064         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28065         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
28066         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
28067         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
28068         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
28069         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
28070         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
28071         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
28072         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
28073         * sysdeps/posix/alarm.c (alarm): Likewise.
28074         * sysdeps/posix/cuserid.c (cuserid): Likewise.
28075         * sysdeps/posix/dirfd.c (dirfd): Likewise.
28076         * sysdeps/posix/dup.c (__dup): Likewise.
28077         * sysdeps/posix/dup2.c (__dup2): Likewise.
28078         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
28079         (main): Likewise.
28080         * sysdeps/posix/flock.c (__flock): Likewise.
28081         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
28082         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28083         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
28084         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
28085         * sysdeps/posix/isatty.c (__isatty): Likewise.
28086         * sysdeps/posix/killpg.c (killpg): Likewise.
28087         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28088         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
28089         * sysdeps/posix/raise.c (raise): Likewise.
28090         * sysdeps/posix/remove.c (remove): Likewise.
28091         * sysdeps/posix/rename.c (rename): Likewise.
28092         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
28093         * sysdeps/posix/seekdir.c (seekdir): Likewise.
28094         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28095         * sysdeps/posix/sigignore.c (sigignore): Likewise.
28096         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
28097         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
28098         * sysdeps/posix/sigset.c (sigset): Likewise.
28099         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
28100         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
28101         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
28102         * sysdeps/posix/time.c (time): Likewise.
28103         * sysdeps/posix/ttyname.c (getttyname): Likewise.
28104         (ttyname): Likewise.
28105         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
28106         * sysdeps/posix/utime.c (utime): Likewise.
28107         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
28108         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
28109         Likewise.
28110         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
28111         (pthread_spin_trylock): Likewise.
28112         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
28113         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
28114         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
28115         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
28116         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28117         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28118         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28119         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28120         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28121         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28122         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28123         * sysdeps/s390/ffs.c (__ffs): Likewise.
28124         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28125         Likewise.
28126         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28127         Likewise.
28128         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28129         Likewise.
28130         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28131         (pthread_barrier_destroy): Likewise.
28132         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28133         (__pthread_barrier_wait): Likewise.
28134         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28135         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28136         (__pthread_barrier_wait): Likewise.
28137         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28138         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28139         (memcmp_not_common_alignment): Likewise.
28140         (MEMCMP): Likewise.
28141         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28142         (_wordcopy_fwd_dest_aligned): Likewise.
28143         (_wordcopy_bwd_aligned): Likewise.
28144         (_wordcopy_bwd_dest_aligned): Likewise.
28145         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28146         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28147         * sysdeps/unix/bsd/stty.c (stty): Likewise.
28148         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28149         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28150         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28151         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28152         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28153         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28154         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28155         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28156         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28157         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28158         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28159         * sysdeps/unix/stime.c (stime): Likewise.
28160         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28161         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28162         Likewise.  Use internal_function.
28163         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28164         Convert to prototype-style function definition.
28165         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28166         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28167         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28168         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28169         Likewise.  Use internal_function.
28170         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28171         prototype-style function definition
28172         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28173         Likewise.
28174         (__getlogin_r): Likewise.
28175         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28176         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28177         (__pthread_cond_broadcast): Likewise.
28178         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28179         (__pthread_cond_destroy): Likewise.
28180         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28181         (__pthread_cond_init): Likewise.
28182         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28183         (__pthread_cond_signal): Likewise.
28184         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28185         (__pthread_cond_wait): Likewise.
28186         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28187         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28188         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28189         Likewise.
28190         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28191         Likewise.
28192         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28193         Likewise.
28194         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28195         Likewise.
28196         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28198         (__ftruncate64): Likewise.
28199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28200         (truncate64): Likewise.
28201         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28202         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28203         (pthread_getcpuclockid): Likewise.
28204         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28205         Likewise.
28206         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28207         Likewise.
28208         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28209         Likewise.
28210         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28211         Likewise.
28212         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28213         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28214         (__libc_sigaction): Likewise.
28215         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28216         Likewise.
28217         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28218         (__sigprocmask): Likewise.
28219         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28220         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28221         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28222         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28223         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28224         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28225         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28226         Likewise.
28227         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28228         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28229         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28230         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28231         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28232         Likewise.
28233         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28234         (__sigprocmask): Likewise.
28235         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28236         (cfgetispeed): Likewise.
28237         (cfsetospeed): Likewise.
28238         (cfsetispeed): Likewise.
28239         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28240         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28241         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28242         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28243         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28244         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28245         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28246         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28247         Likewise.
28248         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28249         Likewise.
28250         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28251         Likewise.
28252         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28253         Likewise.
28254         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28256 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28258         sunrpc: Rewrite with explicit TLS access using __thread.
28259         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28260         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28261         directly.
28262         (__rpc_thread_variables): Access thread_rpc_vars directly.
28263         Eliminate redundant assignment of the tvp variable.
28265 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28267         malloc: Rewrite with explicit TLS access using __thread.
28268         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28269         (tsd_setspecific, tsd_getspecific): Remove.
28270         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28271         (tsd_setspecific, tsd_getspecific): Likewise.
28272         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28273         (tsd_setspecific, tsd_getspecific): Likewise.
28274         * malloc/arena.c (thread_arena): New TLS variable.
28275         (arena_key): Remove variable.
28276         (arena_get): Use thread_arena.
28277         (arena_lookup): Remove macro.
28278         (malloc_atfork, free_atfork, ptmalloc_lock_all)
28279         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28280         (_int_new_arena, get_free_list, reused_arena)
28281         (arena_thread_freeres): Use thread_arena.
28282         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28283         tsd_getspecific, tsd_setspecific from safety annotations.
28284         (Allocating Cleared Space): Remove arena_lookup from safety
28285         annotations.
28287 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28289         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28290         struct scratch_buffer instead of extend_alloca.
28292 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28294         * sysdeps/unix/sysv/linux/kernel-features.h
28295         (__ASSUME_SOCK_CLOEXEC): Remove.
28296         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28297         (__have_paccept): Remove unused macro.
28298         * include/unistd.h (__have_sock_cloexec): Remove declaration.
28299         * misc/syslog.c (openlog_internal): Remove fallback code for
28300         !__ASSUME_SOCK_CLOEXEC.
28301         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28302         missing SOCK_CLOEXEC.
28303         * nscd/connections.c (have_sock_cloexec): Remove definition.
28304         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28305         * nscd/nscd_helper.c (open_socket): Remove fallback code for
28306         !__ASSUME_SOCK_CLOEXEC.
28307         * resolv/res_send.c (__have_o_nonblock): Remove definition.
28308         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28309         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28310         definition.
28311         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28312         code for !__ASSUME_SOCK_CLOEXEC.
28314 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28316         [BZ #18982]
28317         * manual/stdio.texi (Variable Arguments Output): Add portability
28318         note, explaining that vfprintf clobbers the va_list pointer.
28320 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28322         * math/libm-test.inc (fabs_test_data): Add more tests.
28323         (fdim_test_data): Likewise.
28324         (fma_test_data): Likewise.
28325         (fmax_test_data): Likewise.
28326         (fmin_test_data): Likewise.
28327         (fmod_test_data): Likewise.
28329 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
28331         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
28332         data.
28334 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28336         * math/libm-test.inc (ceil_test_data): Add more tests and more
28337         expectations for "inexact".
28338         (floor_test_data): Add more tests.
28339         (round_test_data): Likewise.
28340         (trunc_test_data): Likewise.
28342         * crypt/cert.c (good_bye): Convert to prototype-style function
28343         definition.
28344         (get8): Likewise.
28345         (put8): Likewise.
28346         * crypt/crypt-entry.c (crypt): Likewise.
28347         (__fcrypt): Likewise.
28348         * crypt/crypt_util.c (_ufc_prbits): Likewise.
28349         (_ufc_set_bits): Likewise.
28350         (_ufc_clearmem): Likewise.
28351         (__init_des_r): Likewise.
28352         (shuffle_sb): Likewise.
28353         (shuffle_sb): Likewise.
28354         (_ufc_setup_salt_r): Likewise.
28355         (_ufc_mk_keytab_r): Likewise.
28356         (_ufc_dofinalperm_r): Likewise.
28357         (encrypt): Likewise.
28358         (__setkey_r): Likewise.
28359         (setkey): Likewise.
28360         * crypt/md5.c (md5_init_ctx): Likewise.
28361         (md5_read_ctx): Likewise.
28362         (md5_finish_ctx): Likewise.
28363         (md5_stream): Likewise.
28364         (md5_buffer): Likewise.
28365         (md5_process_bytes): Likewise.
28366         * crypt/sha256.c (__sha256_init_ctx): Likewise.
28367         (__sha256_finish_ctx): Likewise.
28368         (__sha256_process_bytes): Likewise.
28369         * crypt/sha512.c (__sha512_init_ctx): Likewise.
28370         (__sha512_finish_ctx): Likewise.
28371         (__sha512_process_bytes): Likewise.
28372         * ctype/isctype.c (__isctype): Likewise.
28373         * debug/backtrace.c (__backtrace): Likewise.
28374         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28375         * debug/fgets_chk.c (__fgets_chk): Likewise.
28376         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28377         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28378         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28379         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28380         * debug/memset_chk.c (__memset_chk): Likewise.
28381         * debug/strcat_chk.c (__strcat_chk): Likewise.
28382         * debug/strncat_chk.c (__strncat_chk): Likewise.
28383         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28384         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28385         * dirent/dirfd.c (dirfd): Likewise.
28386         * dirent/getdents.c (__getdirentries): Likewise.
28387         * dirent/getdents64.c (getdirentries64): Likewise.
28388         * dirent/rewinddir.c (__rewinddir): Likewise.
28389         * dirent/seekdir.c (seekdir): Likewise.
28390         * dirent/telldir.c (telldir): Likewise.
28391         * elf/sln.c (makesymlinks): Likewise.
28392         (makesymlink): Likewise.
28393         * gmon/gmon.c (__moncontrol): Likewise.
28394         (__monstartup): Likewise.
28395         (write_hist): Likewise.
28396         (write_call_graph): Likewise.
28397         (write_bb_counts): Likewise.
28398         * grp/setgroups.c (setgroups): Likewise.
28399         * inet/inet_lnaof.c (inet_lnaof): Likewise.
28400         * inet/inet_net.c (inet_network): Likewise.
28401         * inet/inet_netof.c (inet_netof): Likewise.
28402         * inet/rcmd.c (rresvport_af): Likewise.
28403         (rresvport): Likewise.
28404         * io/access.c (__access): Likewise.
28405         * io/chdir.c (__chdir): Likewise.
28406         * io/chmod.c (__chmod): Likewise.
28407         * io/chown.c (__chown): Likewise.
28408         * io/close.c (__close): Likewise.
28409         * io/creat.c (creat): Likewise.
28410         * io/creat64.c (creat64): Likewise.
28411         * io/dup.c (__dup): Likewise.
28412         * io/dup2.c (__dup2): Likewise.
28413         * io/dup3.c (__dup3): Likewise.
28414         * io/euidaccess.c (__euidaccess): Likewise.
28415         * io/faccessat.c (faccessat): Likewise.
28416         * io/fchmod.c (__fchmod): Likewise.
28417         * io/fchmodat.c (fchmodat): Likewise.
28418         * io/fchown.c (__fchown): Likewise.
28419         * io/fchownat.c (fchownat): Likewise.
28420         * io/fcntl.c (__fcntl): Likewise.
28421         * io/flock.c (__flock): Likewise.
28422         * io/fts.c (fts_load): Likewise.
28423         (fts_close): Likewise.
28424         (fts_read): Likewise.
28425         (fts_set): Likewise.
28426         (fts_children): Likewise.
28427         (fts_build): Likewise.
28428         (fts_stat): Likewise.
28429         (fts_sort): Likewise.
28430         (fts_alloc): Likewise.
28431         (fts_lfree): Likewise.
28432         (fts_palloc): Likewise.
28433         (fts_padjust): Likewise.
28434         (fts_maxarglen): Likewise.
28435         (fts_safe_changedir): Likewise.
28436         * io/getwd.c (getwd): Likewise.
28437         * io/isatty.c (__isatty): Likewise.
28438         * io/lchown.c (__lchown): Likewise.
28439         * io/link.c (__link): Likewise.
28440         * io/linkat.c (linkat): Likewise.
28441         * io/lseek.c (__libc_lseek): Likewise.
28442         * io/mkdir.c (__mkdir): Likewise.
28443         * io/mkdirat.c (mkdirat): Likewise.
28444         * io/mkfifo.c (mkfifo): Likewise.
28445         * io/mkfifoat.c (mkfifoat): Likewise.
28446         * io/open.c (__libc_open): Likewise.
28447         * io/open64.c (__libc_open64): Likewise.
28448         * io/readlink.c (__readlink): Likewise.
28449         * io/readlinkat.c (readlinkat): Likewise.
28450         * io/rmdir.c (__rmdir): Likewise.
28451         * io/symlink.c (__symlink): Likewise.
28452         * io/symlinkat.c (symlinkat): Likewise.
28453         * io/ttyname.c (ttyname): Likewise.
28454         * io/ttyname_r.c (__ttyname_r): Likewise.
28455         * io/umask.c (__umask): Likewise.
28456         * io/unlink.c (__unlink): Likewise.
28457         * io/unlinkat.c (unlinkat): Likewise.
28458         * io/utime.c (utime): Likewise.
28459         * libio/clearerr.c (clearerr): Likewise.
28460         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28461         * libio/feof.c (_IO_feof): Likewise.
28462         * libio/feof_u.c (feof_unlocked): Likewise.
28463         * libio/ferror.c (_IO_ferror): Likewise.
28464         * libio/ferror_u.c (ferror_unlocked): Likewise.
28465         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28466         * libio/fileno.c (__fileno): Likewise.
28467         * libio/fputc.c (fputc): Likewise.
28468         * libio/fputc_u.c (fputc_unlocked): Likewise.
28469         * libio/fputwc.c (fputwc): Likewise.
28470         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28471         * libio/freopen.c (freopen): Likewise.
28472         * libio/freopen64.c (freopen64): Likewise.
28473         * libio/fseek.c (fseek): Likewise.
28474         * libio/fseeko.c (fseeko): Likewise.
28475         * libio/fseeko64.c (fseeko64): Likewise.
28476         * libio/ftello.c (__ftello): Likewise.
28477         * libio/ftello64.c (ftello64): Likewise.
28478         * libio/fwide.c (fwide): Likewise.
28479         * libio/genops.c (_IO_un_link): Likewise.
28480         (_IO_link_in): Likewise.
28481         (_IO_least_marker): Likewise.
28482         (_IO_switch_to_main_get_area): Likewise.
28483         (_IO_switch_to_backup_area): Likewise.
28484         (_IO_switch_to_get_mode): Likewise.
28485         (_IO_free_backup_area): Likewise.
28486         (_IO_switch_to_put_mode): Likewise.
28487         (__overflow): Likewise.
28488         (__underflow): Likewise.
28489         (__uflow): Likewise.
28490         (_IO_setb): Likewise.
28491         (_IO_doallocbuf): Likewise.
28492         (_IO_default_underflow): Likewise.
28493         (_IO_default_uflow): Likewise.
28494         (_IO_default_xsputn): Likewise.
28495         (_IO_sgetn): Likewise.
28496         (_IO_default_xsgetn): Likewise.
28497         (_IO_sync): Likewise.
28498         (_IO_default_setbuf): Likewise.
28499         (_IO_default_seekpos): Likewise.
28500         (_IO_default_doallocate): Likewise.
28501         (_IO_init): Likewise.
28502         (_IO_old_init): Likewise.
28503         (_IO_default_sync): Likewise.
28504         (_IO_default_finish): Likewise.
28505         (_IO_default_seekoff): Likewise.
28506         (_IO_sputbackc): Likewise.
28507         (_IO_sungetc): Likewise.
28508         (_IO_set_column): Likewise.
28509         (_IO_set_column): Likewise.
28510         (_IO_adjust_column): Likewise.
28511         (_IO_get_column): Likewise.
28512         (_IO_init_marker): Likewise.
28513         (_IO_remove_marker): Likewise.
28514         (_IO_marker_difference): Likewise.
28515         (_IO_marker_delta): Likewise.
28516         (_IO_seekmark): Likewise.
28517         (_IO_unsave_markers): Likewise.
28518         (_IO_nobackup_pbackfail): Likewise.
28519         (_IO_default_pbackfail): Likewise.
28520         (_IO_default_seek): Likewise.
28521         (_IO_default_stat): Likewise.
28522         (_IO_default_read): Likewise.
28523         (_IO_default_write): Likewise.
28524         (_IO_default_showmanyc): Likewise.
28525         (_IO_default_imbue): Likewise.
28526         (_IO_iter_next): Likewise.
28527         (_IO_iter_file): Likewise.
28528         * libio/getc.c (_IO_getc): Likewise.
28529         * libio/getwc.c (_IO_getwc): Likewise.
28530         * libio/iofclose.c (_IO_new_fclose): Likewise.
28531         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28532         * libio/iofflush.c (_IO_fflush): Likewise.
28533         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28534         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28535         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28536         * libio/iofgets.c (_IO_fgets): Likewise.
28537         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28538         * libio/iofgetws.c (fgetws): Likewise.
28539         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28540         * libio/iofopen64.c (_IO_fopen64): Likewise.
28541         * libio/iofopncook.c (_IO_cookie_read): Likewise.
28542         (_IO_cookie_write): Likewise.
28543         (_IO_cookie_seek): Likewise.
28544         (_IO_cookie_close): Likewise.
28545         (_IO_cookie_seekoff): Likewise.
28546         (_IO_old_cookie_seek): Likewise.
28547         * libio/iofputs.c (_IO_fputs): Likewise.
28548         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28549         * libio/iofputws.c (fputws): Likewise.
28550         * libio/iofputws_u.c (fputws_unlocked): Likewise.
28551         * libio/iofread.c (_IO_fread): Likewise.
28552         * libio/iofread_u.c (__fread_unlocked): Likewise.
28553         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28554         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28555         * libio/ioftell.c (_IO_ftell): Likewise.
28556         * libio/iofwrite.c (_IO_fwrite): Likewise.
28557         * libio/iogetdelim.c (_IO_getdelim): Likewise.
28558         * libio/iogets.c (_IO_gets): Likewise.
28559         * libio/iopadn.c (_IO_padn): Likewise.
28560         * libio/iopopen.c (_IO_new_proc_open): Likewise.
28561         (_IO_new_popen): Likewise.
28562         (_IO_new_proc_close): Likewise.
28563         * libio/ioputs.c (_IO_puts): Likewise.
28564         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28565         (_IO_seekoff): Likewise.
28566         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28567         (_IO_seekpos): Likewise.
28568         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28569         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28570         * libio/ioungetc.c (_IO_ungetc): Likewise.
28571         * libio/ioungetwc.c (ungetwc): Likewise.
28572         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28573         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28574         * libio/iowpadn.c (_IO_wpadn): Likewise.
28575         * libio/libc_fatal.c (__libc_fatal): Likewise.
28576         * libio/memstream.c (__open_memstream): Likewise.
28577         (_IO_mem_sync): Likewise.
28578         (_IO_mem_finish): Likewise.
28579         * libio/oldfileops.c (_IO_old_file_init): Likewise.
28580         (_IO_old_file_close_it): Likewise.
28581         (_IO_old_file_finish): Likewise.
28582         (_IO_old_file_fopen): Likewise.
28583         (_IO_old_file_attach): Likewise.
28584         (_IO_old_file_setbuf): Likewise.
28585         (_IO_old_do_write): Likewise.
28586         (old_do_write): Likewise.
28587         (_IO_old_file_underflow): Likewise.
28588         (_IO_old_file_overflow): Likewise.
28589         (_IO_old_file_sync): Likewise.
28590         (_IO_old_file_seekoff): Likewise.
28591         (_IO_old_file_write): Likewise.
28592         (_IO_old_file_xsputn): Likewise.
28593         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28594         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28595         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28596         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28597         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28598         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28599         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28600         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28601         (_IO_old_popen): Likewise.
28602         (_IO_old_proc_close): Likewise.
28603         * libio/oldpclose.c (__old_pclose): Likewise.
28604         * libio/pclose.c (__new_pclose): Likewise.
28605         * libio/peekc.c (_IO_peekc_locked): Likewise.
28606         * libio/putc.c (_IO_putc): Likewise.
28607         * libio/putc_u.c (putc_unlocked): Likewise.
28608         * libio/putchar.c (putchar): Likewise.
28609         * libio/putchar_u.c (putchar_unlocked): Likewise.
28610         * libio/putwc.c (putwc): Likewise.
28611         * libio/putwc_u.c (putwc_unlocked): Likewise.
28612         * libio/putwchar.c (putwchar): Likewise.
28613         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28614         * libio/rewind.c (rewind): Likewise.
28615         * libio/setbuf.c (setbuf): Likewise.
28616         * libio/setlinebuf.c (setlinebuf): Likewise.
28617         * libio/vasprintf.c (_IO_vasprintf): Likewise.
28618         * libio/vscanf.c (_IO_vscanf): Likewise.
28619         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28620         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28621         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28622         * libio/wgenops.c (_IO_least_wmarker): Likewise.
28623         (_IO_switch_to_main_wget_area): Likewise.
28624         (_IO_switch_to_wbackup_area): Likewise.
28625         (_IO_wsetb): Likewise.
28626         (_IO_wdefault_pbackfail): Likewise.
28627         (_IO_wdefault_finish): Likewise.
28628         (_IO_wdefault_uflow): Likewise.
28629         (__woverflow): Likewise.
28630         (__wuflow): Likewise.
28631         (__wunderflow): Likewise.
28632         (_IO_wdefault_xsputn): Likewise.
28633         (_IO_wdefault_xsgetn): Likewise.
28634         (_IO_wdoallocbuf): Likewise.
28635         (_IO_wdefault_doallocate): Likewise.
28636         (_IO_switch_to_wget_mode): Likewise.
28637         (_IO_free_wbackup_area): Likewise.
28638         (_IO_switch_to_wput_mode): Likewise.
28639         (_IO_sputbackwc): Likewise.
28640         (_IO_sungetwc): Likewise.
28641         (_IO_adjust_wcolumn): Likewise.
28642         (_IO_init_wmarker): Likewise.
28643         (_IO_wmarker_delta): Likewise.
28644         (_IO_seekwmark): Likewise.
28645         (_IO_unsave_wmarkers): Likewise.
28646         * libio/wmemstream.c (open_wmemstream): Likewise.
28647         (_IO_wmem_sync): Likewise.
28648         (_IO_wmem_finish): Likewise.
28649         * locale/nl_langinfo.c (nl_langinfo): Likewise.
28650         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28651         * locale/programs/simple-hash.c (init_hash): Likewise.
28652         (delete_hash): Likewise.
28653         (insert_entry): Likewise.
28654         (set_entry): Likewise.
28655         (next_prime): Likewise.
28656         (is_prime): Likewise.
28657         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28658         (xmalloc): Likewise.
28659         (xrealloc): Likewise.
28660         * locale/programs/xstrdup.c (xstrdup): Likewise.
28661         * localedata/collate-test.c (xstrcoll): Likewise.
28662         * localedata/xfrm-test.c (xstrcmp): Likewise.
28663         * login/getlogin_r.c (__getlogin_r): Likewise.
28664         * login/getpt.c (__posix_openpt): Likewise.
28665         * login/login_tty.c (login_tty): Likewise.
28666         * login/setlogin.c (setlogin): Likewise.
28667         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28668         (mach_msg_destroy_port): Likewise.
28669         (mach_msg_destroy_memory): Likewise.
28670         * malloc/mcheck.c (flood): Likewise.
28671         * misc/acct.c (acct): Likewise.
28672         * misc/brk.c (__brk): Likewise.
28673         * misc/chflags.c (chflags): Likewise.
28674         * misc/chroot.c (chroot): Likewise.
28675         * misc/fchflags.c (fchflags): Likewise.
28676         * misc/fstab.c (getfsspec): Likewise.
28677         (getfsfile): Likewise.
28678         * misc/fsync.c (fsync): Likewise.
28679         * misc/ftruncate.c (__ftruncate): Likewise.
28680         * misc/ftruncate64.c (__ftruncate64): Likewise.
28681         * misc/getdomain.c (getdomainname): Likewise.
28682         (getdomainname): Likewise.
28683         * misc/gethostname.c (__gethostname): Likewise.
28684         * misc/getpass.c (getpass): Likewise.
28685         * misc/getttyent.c (skip): Likewise.
28686         (value): Likewise.
28687         * misc/gtty.c (gtty): Likewise.
28688         * misc/hsearch.c (hsearch): Likewise.
28689         (hcreate): Likewise.
28690         * misc/hsearch_r.c (__hcreate_r): Likewise.
28691         (__hdestroy_r): Likewise.
28692         * misc/ioctl.c (__ioctl): Likewise.
28693         * misc/mkdtemp.c (mkdtemp): Likewise.
28694         * misc/mkostemp.c (mkostemp): Likewise.
28695         * misc/mkostemp64.c (mkostemp64): Likewise.
28696         * misc/mkostemps.c (mkostemps): Likewise.
28697         * misc/mkostemps64.c (mkostemps64): Likewise.
28698         * misc/mkstemp.c (mkstemp): Likewise.
28699         * misc/mkstemp64.c (mkstemp64): Likewise.
28700         * misc/mkstemps.c (mkstemps): Likewise.
28701         * misc/mkstemps64.c (mkstemps64): Likewise.
28702         * misc/mktemp.c (__mktemp): Likewise.
28703         * misc/preadv.c (preadv): Likewise.
28704         * misc/preadv64.c (preadv64): Likewise.
28705         * misc/pwritev.c (pwritev): Likewise.
28706         * misc/pwritev64.c (pwritev64): Likewise.
28707         * misc/readv.c (__readv): Likewise.
28708         * misc/revoke.c (revoke): Likewise.
28709         * misc/setdomain.c (setdomainname): Likewise.
28710         * misc/setegid.c (setegid): Likewise.
28711         * misc/seteuid.c (seteuid): Likewise.
28712         * misc/sethostid.c (sethostid): Likewise.
28713         * misc/sethostname.c (sethostname): Likewise.
28714         * misc/setregid.c (__setregid): Likewise.
28715         * misc/setreuid.c (__setreuid): Likewise.
28716         * misc/sstk.c (sstk): Likewise.
28717         * misc/stty.c (stty): Likewise.
28718         * misc/syscall.c (syscall): Likewise.
28719         * misc/syslog.c (setlogmask): Likewise.
28720         * misc/truncate.c (__truncate): Likewise.
28721         * misc/truncate64.c (truncate64): Likewise.
28722         * misc/ualarm.c (ualarm): Likewise.
28723         * misc/usleep.c (usleep): Likewise.
28724         * misc/ustat.c (ustat): Likewise.
28725         * misc/writev.c (__writev): Likewise.
28726         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28727         * nptl/old_pthread_cond_broadcast.c
28728         (__pthread_cond_broadcast_2_0): Likewise.
28729         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28730         Likewise.
28731         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28732         Likewise.
28733         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28734         Likewise.
28735         * nptl/pt-raise.c (raise): Likewise.
28736         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28737         Likewise.
28738         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28739         * nptl/pthread_barrierattr_destroy.c
28740         (pthread_barrierattr_destroy): Likewise.
28741         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28742         Likewise.
28743         * nptl/pthread_barrierattr_setpshared.c
28744         (pthread_barrierattr_setpshared): Likewise.
28745         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28746         Likewise.
28747         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28748         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28749         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28750         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28751         Likewise.
28752         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28753         Likewise.
28754         * nptl/pthread_condattr_getpshared.c
28755         (pthread_condattr_getpshared): Likewise.
28756         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28757         Likewise.
28758         * nptl/pthread_condattr_setpshared.c
28759         (pthread_condattr_setpshared): Likewise.
28760         * nptl/pthread_detach.c (pthread_detach): Likewise.
28761         * nptl/pthread_equal.c (__pthread_equal): Likewise.
28762         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28763         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28764         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28765         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28766         Likewise.
28767         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28768         Likewise.
28769         * nptl/pthread_mutex_getprioceiling.c
28770         (pthread_mutex_getprioceiling): Likewise.
28771         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28772         Likewise.
28773         * nptl/pthread_mutexattr_getprotocol.c
28774         (pthread_mutexattr_getprotocol): Likewise.
28775         * nptl/pthread_mutexattr_getpshared.c
28776         (pthread_mutexattr_getpshared): Likewise.
28777         * nptl/pthread_mutexattr_getrobust.c
28778         (pthread_mutexattr_getrobust): Likewise.
28779         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28780         Likewise.
28781         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28782         Likewise.
28783         * nptl/pthread_mutexattr_setprioceiling.c
28784         (pthread_mutexattr_setprioceiling): Likewise.
28785         * nptl/pthread_mutexattr_setprotocol.c
28786         (pthread_mutexattr_setprotocol): Likewise.
28787         * nptl/pthread_mutexattr_setpshared.c
28788         (pthread_mutexattr_setpshared): Likewise.
28789         * nptl/pthread_mutexattr_setrobust.c
28790         (pthread_mutexattr_setrobust): Likewise.
28791         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28792         Likewise.
28793         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28794         Likewise.
28795         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28796         Likewise.
28797         * nptl/pthread_rwlockattr_getkind_np.c
28798         (pthread_rwlockattr_getkind_np): Likewise.
28799         * nptl/pthread_rwlockattr_getpshared.c
28800         (pthread_rwlockattr_getpshared): Likewise.
28801         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28802         Likewise.
28803         * nptl/pthread_rwlockattr_setkind_np.c
28804         (pthread_rwlockattr_setkind_np): Likewise.
28805         * nptl/pthread_rwlockattr_setpshared.c
28806         (pthread_rwlockattr_setpshared): Likewise.
28807         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28808         Likewise.
28809         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28810         Likewise.
28811         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28812         Likewise.
28813         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28814         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28815         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28816         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28817         * nptl/sem_close.c (sem_close): Likewise.
28818         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28819         * nptl/sem_init.c (__old_sem_init): Likewise.
28820         * nptl/sigaction.c (__sigaction): Likewise.
28821         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28822         * posix/_exit.c (_exit): Likewise.
28823         * posix/alarm.c (alarm): Likewise.
28824         * posix/confstr.c (confstr): Likewise.
28825         * posix/fpathconf.c (__fpathconf): Likewise.
28826         * posix/getgroups.c (__getgroups): Likewise.
28827         * posix/getpgid.c (__getpgid): Likewise.
28828         * posix/group_member.c (__group_member): Likewise.
28829         * posix/pathconf.c (__pathconf): Likewise.
28830         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28831         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28832         * posix/setgid.c (__setgid): Likewise.
28833         * posix/setpgid.c (__setpgid): Likewise.
28834         * posix/setuid.c (__setuid): Likewise.
28835         * posix/sleep.c (__sleep): Likewise.
28836         * posix/sysconf.c (__sysconf): Likewise.
28837         * posix/times.c (__times): Likewise.
28838         * posix/uname.c (__uname): Likewise.
28839         * posix/waitid.c (__waitid): Likewise.
28840         * pwd/getpw.c (__getpw): Likewise.
28841         * resolv/base64.c (b64_pton): Likewise.
28842         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28843         * resolv/gethnamaddr.c (Dprintf): Likewise.
28844         (gethostbyname): Likewise.
28845         (gethostbyname2): Likewise.
28846         (gethostbyaddr): Likewise.
28847         (_sethtent): Likewise.
28848         (_gethtbyname): Likewise.
28849         (_gethtbyname2): Likewise.
28850         (_gethtbyaddr): Likewise.
28851         (map_v4v6_address): Likewise.
28852         (map_v4v6_hostent): Likewise.
28853         (addrsort): Likewise.
28854         (ht_sethostent): Likewise.
28855         (ht_gethostbyname): Likewise.
28856         (ht_gethostbyaddr): Likewise.
28857         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28858         (inet_net_ntop_ipv4): Likewise.
28859         * resolv/inet_neta.c (inet_neta): Likewise.
28860         * resolv/inet_ntop.c (inet_ntop): Likewise.
28861         (inet_ntop4): Likewise.
28862         (inet_ntop6): Likewise.
28863         * resolv/inet_pton.c (__inet_pton): Likewise.
28864         (inet_pton4): Likewise.
28865         (inet_pton6): Likewise.
28866         * resolv/res_debug.c (loc_aton): Likewise.
28867         (loc_ntoa): Likewise.
28868         * resource/getpriority.c (__getpriority): Likewise.
28869         * resource/getrusage.c (__getrusage): Likewise.
28870         * resource/nice.c (nice): Likewise.
28871         * resource/setpriority.c (__setpriority): Likewise.
28872         * resource/setrlimit64.c (setrlimit64): Likewise.
28873         * resource/vlimit.c (vlimit): Likewise.
28874         * resource/vtimes.c (vtimes): Likewise.
28875         * rt/aio_error.c (aio_error): Likewise.
28876         * rt/aio_return.c (aio_return): Likewise.
28877         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28878         * signal/kill.c (__kill): Likewise.
28879         * signal/killpg.c (killpg): Likewise.
28880         * signal/raise.c (raise): Likewise.
28881         * signal/sigaction.c (__sigaction): Likewise.
28882         * signal/sigaddset.c (sigaddset): Likewise.
28883         * signal/sigaltstack.c (sigaltstack): Likewise.
28884         * signal/sigandset.c (sigandset): Likewise.
28885         * signal/sigblock.c (__sigblock): Likewise.
28886         * signal/sigdelset.c (sigdelset): Likewise.
28887         * signal/sigempty.c (sigemptyset): Likewise.
28888         * signal/sigfillset.c (sigfillset): Likewise.
28889         * signal/sighold.c (sighold): Likewise.
28890         * signal/sigignore.c (sigignore): Likewise.
28891         * signal/sigintr.c (siginterrupt): Likewise.
28892         * signal/sigisempty.c (sigisemptyset): Likewise.
28893         * signal/sigismem.c (sigismember): Likewise.
28894         * signal/signal.c (signal): Likewise.
28895         * signal/sigorset.c (sigorset): Likewise.
28896         * signal/sigpause.c (__sigpause): Likewise.
28897         * signal/sigpending.c (sigpending): Likewise.
28898         * signal/sigprocmask.c (__sigprocmask): Likewise.
28899         * signal/sigrelse.c (sigrelse): Likewise.
28900         * signal/sigreturn.c (__sigreturn): Likewise.
28901         * signal/sigset.c (sigset): Likewise.
28902         * signal/sigsetmask.c (__sigsetmask): Likewise.
28903         * signal/sigstack.c (sigstack): Likewise.
28904         * signal/sigsuspend.c (__sigsuspend): Likewise.
28905         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28906         * signal/sysv_signal.c (__sysv_signal): Likewise.
28907         * socket/accept.c (accept): Likewise.
28908         * socket/accept4.c (__libc_accept4): Likewise.
28909         * socket/bind.c (__bind): Likewise.
28910         * socket/connect.c (__connect): Likewise.
28911         * socket/getpeername.c (getpeername): Likewise.
28912         * socket/getsockname.c (__getsockname): Likewise.
28913         * socket/getsockopt.c (getsockopt): Likewise.
28914         * socket/listen.c (__listen): Likewise.
28915         * socket/recv.c (__recv): Likewise.
28916         * socket/recvmsg.c (__recvmsg): Likewise.
28917         * socket/send.c (__send): Likewise.
28918         * socket/sendmsg.c (__sendmsg): Likewise.
28919         * socket/shutdown.c (shutdown): Likewise.
28920         * socket/sockatmark.c (sockatmark): Likewise.
28921         * socket/socket.c (__socket): Likewise.
28922         * stdio-common/ctermid.c (ctermid): Likewise.
28923         * stdio-common/cuserid.c (cuserid): Likewise.
28924         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28925         * stdio-common/remove.c (remove): Likewise.
28926         * stdio-common/rename.c (rename): Likewise.
28927         * stdio-common/renameat.c (renameat): Likewise.
28928         * stdio-common/tempname.c (__gen_tempname): Likewise.
28929         * stdio-common/xbug.c (InitBuffer): Likewise.
28930         (AppendToBuffer): Likewise.
28931         (ReadFile): Likewise.
28932         * stdlib/a64l.c (a64l): Likewise.
28933         * stdlib/drand48_r.c (drand48_r): Likewise.
28934         * stdlib/getcontext.c (getcontext): Likewise.
28935         * stdlib/getenv.c (getenv): Likewise.
28936         * stdlib/l64a.c (l64a): Likewise.
28937         * stdlib/llabs.c (llabs): Likewise.
28938         * stdlib/lldiv.c (lldiv): Likewise.
28939         * stdlib/lrand48_r.c (lrand48_r): Likewise.
28940         * stdlib/mrand48_r.c (mrand48_r): Likewise.
28941         * stdlib/putenv.c (putenv): Likewise.
28942         * stdlib/random.c (__srandom): Likewise.
28943         (__initstate): Likewise.
28944         (__setstate): Likewise.
28945         * stdlib/random_r.c (__srandom_r): Likewise.
28946         (__setstate_r): Likewise.
28947         (__random_r): Likewise.
28948         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28949         * stdlib/setcontext.c (setcontext): Likewise.
28950         * stdlib/setenv.c (setenv): Likewise.
28951         (unsetenv): Likewise.
28952         * stdlib/srand48.c (srand48): Likewise.
28953         * stdlib/srand48_r.c (__srand48_r): Likewise.
28954         * stdlib/swapcontext.c (swapcontext): Likewise.
28955         * stdlib/system.c (__libc_system): Likewise.
28956         * stdlib/tst-strtod.c (expand): Likewise.
28957         * stdlib/tst-strtol.c (expand): Likewise.
28958         * stdlib/tst-strtoll.c (expand): Likewise.
28959         * streams/fattach.c (fattach): Likewise.
28960         * streams/fdetach.c (fdetach): Likewise.
28961         * streams/getmsg.c (getmsg): Likewise.
28962         * streams/isastream.c (isastream): Likewise.
28963         * string/ffs.c (__ffs): Likewise.
28964         * string/ffsll.c (ffsll): Likewise.
28965         * string/memcmp.c (memcmp_common_alignment): Likewise.
28966         (memcmp_not_common_alignment): Likewise.
28967         (MEMCMP): Likewise.
28968         * string/memcpy.c (memcpy): Likewise.
28969         * string/memmove.c (MEMMOVE): Likewise.
28970         * string/memset.c (memset): Likewise.
28971         * string/rawmemchr.c (RAWMEMCHR): Likewise.
28972         * string/strchrnul.c (STRCHRNUL): Likewise.
28973         * string/strerror.c (strerror): Likewise.
28974         * string/strndup.c (__strndup): Likewise.
28975         * string/strverscmp.c (__strverscmp): Likewise.
28976         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
28977         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
28978         (clnttcp_freeres): Likewise.
28979         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
28980         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
28981         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
28982         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
28983         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
28984         (xdr_callhdr): Likewise.
28985         * sunrpc/rpcinfo.c (udpping): Likewise.
28986         (tcpping): Likewise.
28987         (pstatus): Likewise.
28988         (pmapdump): Likewise.
28989         (brdcst): Likewise.
28990         (deletereg): Likewise.
28991         (getprognum): Likewise.
28992         (getvers): Likewise.
28993         (get_inet_address): Likewise.
28994         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
28995         * sunrpc/svc_udp.c (svcudp_create): Likewise.
28996         (svcudp_stat): Likewise.
28997         (svcudp_recv): Likewise.
28998         (svcudp_reply): Likewise.
28999         (svcudp_getargs): Likewise.
29000         (svcudp_freeargs): Likewise.
29001         (svcudp_destroy): Likewise.
29002         * sunrpc/xdr.c (xdr_bytes): Likewise.
29003         (xdr_netobj): Likewise.
29004         (xdr_string): Likewise.
29005         (xdr_wrapstring): Likewise.
29006         * sunrpc/xdr_float.c (xdr_float): Likewise.
29007         (xdr_double): Likewise.
29008         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
29009         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
29010         * sysvipc/ftok.c (ftok): Likewise.
29011         * sysvipc/msgctl.c (msgctl): Likewise.
29012         * sysvipc/msgget.c (msgget): Likewise.
29013         * sysvipc/msgrcv.c (msgrcv): Likewise.
29014         * sysvipc/msgsnd.c (msgsnd): Likewise.
29015         * sysvipc/semget.c (semget): Likewise.
29016         * sysvipc/semop.c (semop): Likewise.
29017         * sysvipc/shmat.c (shmat): Likewise.
29018         * sysvipc/shmctl.c (shmctl): Likewise.
29019         * sysvipc/shmdt.c (shmdt): Likewise.
29020         * sysvipc/shmget.c (shmget): Likewise.
29021         * termios/cfmakeraw.c (cfmakeraw): Likewise.
29022         * termios/speed.c (cfgetospeed): Likewise.
29023         (cfgetispeed): Likewise.
29024         (cfsetospeed): Likewise.
29025         (cfsetispeed): Likewise.
29026         * termios/tcflow.c (tcflow): Likewise.
29027         * termios/tcflush.c (tcflush): Likewise.
29028         * termios/tcgetattr.c (__tcgetattr): Likewise.
29029         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
29030         * termios/tcgetsid.c (tcgetsid): Likewise.
29031         * termios/tcsendbrk.c (tcsendbreak): Likewise.
29032         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
29033         * time/adjtime.c (__adjtime): Likewise.
29034         * time/dysize.c (dysize): Likewise.
29035         * time/ftime.c (ftime): Likewise.
29036         * time/getitimer.c (__getitimer): Likewise.
29037         * time/gettimeofday.c (__gettimeofday): Likewise.
29038         * time/gmtime.c (__gmtime_r): Likewise.
29039         (gmtime): Likewise.
29040         * time/localtime.c (__localtime_r): Likewise.
29041         (localtime): Likewise.
29042         * time/offtime.c (__offtime): Likewise.
29043         * time/settimeofday.c (__settimeofday): Likewise.
29044         * time/stime.c (stime): Likewise.
29045         * time/strftime_l.c (tm_diff): Likewise.
29046         (iso_week_days): Likewise.
29047         * time/strptime.c (strptime): Likewise.
29048         * time/time.c (time): Likewise.
29049         * time/timespec_get.c (timespec_get): Likewise.
29050         * time/tzset.c (tzset_internal): Likewise.
29051         (compute_change): Likewise.
29052         (__tz_compute): Likewise.
29053         * wcsmbs/btowc.c (__btowc): Likewise.
29054         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
29055         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
29056         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
29057         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
29058         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
29059         * wcsmbs/wcscat.c (__wcscat): Likewise.
29060         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29061         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
29062         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
29063         * wcsmbs/wcscspn.c (wcscspn): Likewise.
29064         * wcsmbs/wcsdup.c (wcsdup): Likewise.
29065         * wcsmbs/wcslen.c (__wcslen): Likewise.
29066         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
29067         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
29068         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
29069         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
29070         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29071         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
29072         * wcsmbs/wcsspn.c (wcsspn): Likewise.
29073         * wcsmbs/wcsstr.c (wcsstr): Likewise.
29074         * wcsmbs/wcstok.c (wcstok): Likewise.
29075         * wcsmbs/wctob.c (wctob): Likewise.
29076         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
29077         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29078         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
29079         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
29080         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
29081         * wcsmbs/wmemset.c (__wmemset): Likewise.
29082         * wctype/wcfuncs.c (__towlower): Likewise.
29083         (__towupper): Likewise.
29085         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
29086         (lll_unlock_elision): Add adapt_count parameter.
29088 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29090         * sysdeps/nptl/configure.ac: Do not give errors based on the
29091         results of top-level configure tests.
29092         * sysdeps/nptl/configure: Regenerated.
29094         * configure.ac (libc_cv_Bgroup): Remove configure test.
29095         * configure: Regenerated.
29096         * config.make.in (have-Bgroup): Remove variable.
29098         * configure.ac (sizeof_long_double): Remove configure test.
29099         * configure: Regenerated.
29100         * config.make.in (sizeof-long-double): Remove variable.
29102         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
29103         * configure: Regenerated.
29104         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
29105         variable.
29106         (exceptions): Likewise.
29107         * sysdeps/arm/configure: Regenerated.
29108         * config.make.in (exceptions): Remove variable.
29109         * Makeconfig (uses-callbacks): Use -fexceptions instead of
29110         $(exceptions).
29111         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
29112         (CFLAGS-vdprintf_chk.c): Likewise.
29113         (CFLAGS-printf_chk.c): Likewise.
29114         (CFLAGS-fprintf_chk.c): Likewise.
29115         (CFLAGS-vprintf_chk.c): Likewise.
29116         (CFLAGS-vfprintf_chk.c): Likewise.
29117         (CFLAGS-gets_chk.c): Likewise.
29118         (CFLAGS-fgets_chk.c): Likewise.
29119         (CFLAGS-fgets_u_chk.c): Likewise.
29120         (CFLAGS-fread_chk.c): Likewise.
29121         (CFLAGS-fread_u_chk.c): Likewise.
29122         (CFLAGS-wprintf_chk.c): Likewise.
29123         (CFLAGS-fwprintf_chk.c): Likewise.
29124         (CFLAGS-vwprintf_chk.c): Likewise.
29125         (CFLAGS-vfwprintf_chk.c): Likewise.
29126         (CFLAGS-fgetws_chk.c): Likewise.
29127         (CFLAGS-fgetws_u_chk.c): Likewise.
29128         * libio/Makefile (CFLAGS-fileops.c): Likewise.
29129         (CFLAGS-fputc.c): Likewise.
29130         (CFLAGS-fputwc.c): Likewise.
29131         (CFLAGS-freopen64.c): Likewise.
29132         (CFLAGS-freopen.c): Likewise.
29133         (CFLAGS-fseek.c): Likewise.
29134         (CFLAGS-fseeko64.c): Likewise.
29135         (CFLAGS-fseeko.c): Likewise.
29136         (CFLAGS-ftello64.c): Likewise.
29137         (CFLAGS-ftello.c): Likewise.
29138         (CFLAGS-fwide.c): Likewise.
29139         (CFLAGS-genops.c): Likewise.
29140         (CFLAGS-getc.c): Likewise.
29141         (CFLAGS-getchar.c): Likewise.
29142         (CFLAGS-getwc.c): Likewise.
29143         (CFLAGS-getwchar.c): Likewise.
29144         (CFLAGS-iofclose.c): Likewise.
29145         (CFLAGS-iofflush.c): Likewise.
29146         (CFLAGS-iofgetpos64.c): Likewise.
29147         (CFLAGS-iofgetpos.c): Likewise.
29148         (CFLAGS-iofgets.c): Likewise.
29149         (CFLAGS-iofgetws.c): Likewise.
29150         (CFLAGS-iofputs.c): Likewise.
29151         (CFLAGS-iofputws.c): Likewise.
29152         (CFLAGS-iofread.c): Likewise.
29153         (CFLAGS-iofsetpos64.c): Likewise.
29154         (CFLAGS-iofsetpos.c): Likewise.
29155         (CFLAGS-ioftell.c): Likewise.
29156         (CFLAGS-iofwrite.c): Likewise.
29157         (CFLAGS-iogetdelim.c): Likewise.
29158         (CFLAGS-iogetline.c): Likewise.
29159         (CFLAGS-iogets.c): Likewise.
29160         (CFLAGS-iogetwline.c): Likewise.
29161         (CFLAGS-ioputs.c): Likewise.
29162         (CFLAGS-ioseekoff.c): Likewise.
29163         (CFLAGS-ioseekpos.c): Likewise.
29164         (CFLAGS-iosetbuffer.c): Likewise.
29165         (CFLAGS-iosetvbuf.c): Likewise.
29166         (CFLAGS-ioungetc.c): Likewise.
29167         (CFLAGS-ioungetwc.c): Likewise.
29168         (CFLAGS-oldfileops.c): Likewise.
29169         (CFLAGS-oldiofclose.c): Likewise.
29170         (CFLAGS-oldiofgetpos64.c): Likewise.
29171         (CFLAGS-oldiofgetpos.c): Likewise.
29172         (CFLAGS-oldiofsetpos64.c): Likewise.
29173         (CFLAGS-oldiofsetpos.c): Likewise.
29174         (CFLAGS-peekc.c): Likewise.
29175         (CFLAGS-putc.c): Likewise.
29176         (CFLAGS-putchar.c): Likewise.
29177         (CFLAGS-putwc.c): Likewise.
29178         (CFLAGS-putwchar.c): Likewise.
29179         (CFLAGS-rewind.c): Likewise.
29180         (CFLAGS-wfileops.c): Likewise.
29181         (CFLAGS-wgenops.c): Likewise.
29182         (CFLAGS-oldiofopen.c): Likewise.
29183         (CFLAGS-iofopen.c): Likewise.
29184         (CFLAGS-iofopen64.c): Likewise.
29185         (CFLAGS-oldtmpfile.c): Likewise.
29186         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29187         (CFLAGS-fprintf.c): Likewise.
29188         (CFLAGS-printf.c): Likewise.
29189         (CFLAGS-vfwprintf.c): Likewise.
29190         (CFLAGS-vfscanf.c): Likewise.
29191         (CFLAGS-vfwscanf.c): Likewise.
29192         (CFLAGS-fscanf.c): Likewise.
29193         (CFLAGS-scanf.c): Likewise.
29194         (CFLAGS-isoc99_vfscanf.c): Likewise.
29195         (CFLAGS-isoc99_vscanf.c): Likewise.
29196         (CFLAGS-isoc99_fscanf.c): Likewise.
29197         (CFLAGS-isoc99_scanf.c): Likewise.
29198         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29199         (CFLAGS-isoc99_fwscanf.c): Likewise.
29200         (CFLAGS-isoc99_vwscanf.c): Likewise.
29201         (CFLAGS-isoc99_vfwscanf.c): Likewise.
29203         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29204         after mkstemp64.
29205         * login/tst-utmp.c (do_prepare): Likewise.
29206         * rt/tst-aio.c (do_prepare): Likewise.
29207         * rt/tst-aio64.c (do_prepare): Likewise.
29209 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29211         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29212         (__lll_lock_elision): Remove adapt_count decrement...
29213         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29214         (__lll_trylock_elision): Likewise.
29215         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29216         (__lll_unlock_elision): ... to here. And utilize
29217         new adapt_count parameter.
29218         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29219         (__lll_unlock_elision): Update to include adapt_count
29220         parameter.
29221         (lll_unlock_elision): Pass pointer to adapt_count
29222         variable.
29224 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29226         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29227         Add elision adapt_count parameter to list of arguments.
29228         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29229         (lll_unlock_elision): Update with new parameter list
29230         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29231         (lll_unlock_elision): Likewise.
29232         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29233         (lll_unlock_elision): Likewise.
29235 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29237         [BZ #19122]
29238         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29239         attribute_hidden.
29241         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29242         attribute_hidden.
29243         [IS_IN (rtld)] (__strdup): Likewise.
29244         [IS_IN (rtld)] (__strerror_r): Likewise.
29245         [IS_IN (rtld)] (__strsep_g): Likewise.
29246         [IS_IN (rtld)] (memchr): Likewise.
29247         [IS_IN (rtld)] (memcmp): Likewise.
29248         [IS_IN (rtld)] (memcpy): Likewise.
29249         [IS_IN (rtld)] (memmove): Likewise.
29250         [IS_IN (rtld)] (memset): Likewise.
29251         [IS_IN (rtld)] (rawmemchr): Likewise.
29252         [IS_IN (rtld)] (stpcpy): Likewise.
29253         [IS_IN (rtld)] (strchr): Likewise.
29254         [IS_IN (rtld)] (strcmp): Likewise.
29255         [IS_IN (rtld)] (strlen): Likewise.
29256         [IS_IN (rtld)] (strnlen): Likewise.
29257         [IS_IN (rtld)] (strsep): Likewise.
29259         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29260         attribute_hidden.
29261         [IS_IN (rtld)] (__strtoul_internal): Likewise.
29263         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29264         attribute_hidden.
29265         [IS_IN (rtld)] (__libc_sigaction): Likewise.
29267         * include/setjmp.h (__longjmp): Add attribute_hidden.
29268         [IS_IN (rtld)] (__sigsetjmp): Likewise.
29270         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29271         Add attribute_hidden.
29273         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29274         [IS_IN (rtld)] (__open): Likewise.
29275         [IS_IN (rtld)] (__fcntl): Likewise.
29277         * include/dirent.h (__opendirat): Add attribute_hidden.
29278         (__getdents): Likewise.
29279         (__getdents64): Likewise.
29280         (__alloc_dir): Likewise.
29281         [IS_IN (rtld)] (__closedir): Likewise.
29282         [IS_IN (rtld)] (__fdopendir): Likewise.
29283         [IS_IN (rtld)] (__readdir): Likewise.
29284         [IS_IN (rtld)] (__readdir64): Likewise.
29285         [IS_IN (rtld)] (__rewinddir): Likewise.
29287         * include/dlfcn.h (_dl_catch_error): Moved to ...
29288         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29289         attribute_hidden.
29291         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29292         (_itoa_word): Likewise.
29294         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29295         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29296         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29297         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29298         (_dl_higher_prime_number): Likewise.
29299         (_dl_debug_printf_c): Likewise.
29300         (_dl_signal_cerror): Likewise.
29301         (_dl_receive_error): Likewise.
29302         (_dl_reloc_bad_type): Likewise.
29303         (_dl_resolve_conflicts): Likewise.
29304         (_dl_check_all_versions): Likewise.
29305         (_dl_check_map_versions): Likewise.
29306         (_dl_sort_fini): Likewise.
29307         (_dl_debug_initialize): Likewise.
29308         (_dl_init_paths): Likewise.
29309         (_dl_show_auxv): Likewise.
29310         (_dl_next_ld_env_entry): Likewise.
29311         (_dl_important_hwcaps): Likewise.
29312         (_dl_load_cache_lookup): Likewise.
29313         (_dl_update_slotinfo): Likewise.
29314         (_dl_show_scope): Likewise.
29316         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29317         attribute_hidden.
29318         (_wordcopy_fwd_dest_aligned): Likewise.
29319         (_wordcopy_bwd_aligned): Likewise.
29320         (_wordcopy_bwd_dest_aligned): Likewise.
29322         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29323         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29324         Likewise.
29325         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29326         Likewise.
29327         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29329 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29331         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29332         GCC 5 requirement.
29334 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29336         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29337         test.
29338         * sysdeps/i386/configure: Regenerated.
29339         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29340         code unconditional.
29342         * configure.ac (libc_cv_asm_previous_directive): Remove configure
29343         test.
29344         (libc_cv_asm_popsection_directive): Likewise.
29345         * configure: Regenerated.
29346         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29347         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29348         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29349         (__make_section_unallocated): Make definition unconditional.
29350         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29351         Remove conditional definition.
29352         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29353         (__make_section_unallocated): Likewise.
29355         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29356         * configure: Regenerated.
29357         * config.make.in (static-libgcc): Remove variable.
29358         * Makerules (build-shlib-helper): Use -static-libgcc instead of
29359         $(static-libgcc).
29360         (build-module-helper): Likewise.
29362         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29363         * configure: Regenerated.
29365 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29367         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29368         (struct char_buffer): New type.
29369         (char_buffer_start, char_buffer_size, char_buffer_error)
29370         (char_buffer_rewind, char_buffer_add): New functions.
29371         (ADDW): Remove macro, replaced by the char_buffer_add function.
29372         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29373         of extend_alloca.  Make control flow more explicit.
29375 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29377         [BZ #19137]
29378         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29379         Add -fomit-frame-pointer.
29380         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29382 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29384         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29385         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29386         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29387         only if !__GNUC_PREREQ (5,0).
29388         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29389         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29390         (INTERNAL_SYSCALL_NCS): Likewise.
29391         (LOADREGS_0): New macro for GCC 5.
29392         (ASMARGS_0): Likewise.
29393         (LOADREGS_1): Likewise.
29394         (ASMARGS_1): Likewise.
29395         (LOADREGS_2): Likewise.
29396         (ASMARGS_2): Likewise.
29397         (LOADREGS_3): Likewise.
29398         (ASMARGS_3): Likewise.
29399         (LOADREGS_4): Likewise.
29400         (ASMARGS_4): Likewise.
29401         (LOADREGS_5): Likewise.
29402         (ASMARGS_5): Likewise.
29403         (LOADREGS_6): Likewise.
29404         (ASMARGS_6): Likewise.
29406 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29408         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29409         -fomit-frame-pointer.
29410         (CFLAGS-mmap64.c): Likewise.
29411         (CFLAGS-semtimedop.c): Likewise.
29412         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29413         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29414         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29415         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29417 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29419         [BZ #18928]
29420         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29421         _dl_pointer_guard member.
29422         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29423         initializer.
29424         (security_init): Always set up pointer guard.
29425         (process_envvars): Do not process LD_POINTER_GUARD.
29427 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
29429         [BZ #19134]
29430         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29431         (.LC2): Likewise.
29432         (.LC3): Likewise.
29433         (__lround): Do not add 0.5 to integer or out-of-range arguments.
29435 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29437         [BZ #19129]
29438         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29439         r0 and r1.
29441 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
29443         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29445 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
29447         * include/stap-probe.h: Fix macro definition formatting.
29449 2015-10-14  Florian Weimer  <fweimer@redhat.com>
29451         [BZ #19074]
29452         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29453         load and store num_ifs.
29455 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29457         [BZ #18822]
29458         * sysdeps/unix/sysv/linux/sched_getaffinity.c
29459         (__sched_getaffinity_new): Add libc_hidden_proto and
29460         libc_hidden_def.
29462 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29464         [BZ #19007]
29465         * scripts/localplt.awk: Also allow GOT references.
29466         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29467         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29468         with "+ REL R_386_GLOB_DAT".
29469         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29470         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29472 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29474         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29475         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29476         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29477         Likewise.
29478         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29479         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29480         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29481         INTERNAL_SYSCALLINTERNAL_SYSCALL and
29482         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29483         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29484         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29485         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29486         Likewise.
29487         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29489 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29491         [BZ #19125]
29492         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29493         <math_private.h> and <stdint.h>.
29494         (__llround): Avoid conversions to and from long long int, and
29495         subtractions, where those might raise spurious exceptions.
29496         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29497         <math_private.h> and <stdint.h>.
29498         (__llroundf): Avoid conversions to and from long long int, and
29499         subtractions, where those might raise spurious exceptions.
29501 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29503         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29504         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29505         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29506         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29507         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29508         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29509         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29510         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29511         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29512         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29513         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29514         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29515         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29516         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29517         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29518         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29519         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29520         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29521         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29522         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29523         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29524         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29525         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29526         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29527         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29528         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29529         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29530         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29531         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29532         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29533         (__xstat64_conv): Likewise.
29534         (__xstat32_conv): Likewise.
29536 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29538         * sysdeps/unix/sysv/linux/sysdep.h: New file.
29539         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29540         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29541         <sysdeps/unix/sysv/linux/sysdep.h>.
29542         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29543         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29544         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29545         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29546         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29547         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29548         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29549         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29550         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29553         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29554         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29555         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29556         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29557         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29558         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29559         (sysdep-dl-routines): Add sysdep.
29560         [$(subdir) == nptl] (libpthread-routines): Likewise.
29561         [$(subdir) == rt] (librt-routines): Likewise.
29562         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29563         PIC when branching to SYSCALL_ERROR_LABEL.
29564         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29565         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29566         <sysdeps/unix/sysv/linux/sysdep.h>.
29567         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29568         (SYSCALL_ERROR_ERRNO): Removed.
29569         (SYSCALL_ERROR_HANDLER): Changed to empty.
29570         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29571         (__syscall_error): New prototype.
29572         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29573         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29575 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29577         [BZ #19124]
29578         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29579         (_dl_runtime_resolve_avx512): Make it a hidden alias of
29580         _dl_runtime_resolve_avx.
29581         (_dl_runtime_profile_avx512): Make it a hidden alias of
29582         _dl_runtime_profile_avx.
29584 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29586         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29587         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29588         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29589         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29591         [BZ #16422]
29592         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29593         New configure test.
29594         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29595         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29596         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29597         <math_private.h> and <stdint.h>.
29598         (__llrint): Avoid conversions to long long int where those might
29599         raise spurious exceptions.
29600         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29601         <math_private.h> and <stdint.h>.
29602         (__llrintf): Avoid conversions to long long int where those might
29603         raise spurious exceptions.
29605 2015-10-12  Andreas Schwab  <schwab@suse.de>
29607         [BZ #18969]
29608         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
29609         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29610         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
29611         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29612         $(gen-locales).
29613         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
29614         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29615         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29616         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29617         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29618         $(gen-locales).
29619         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
29620         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29621         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29622         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29623         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29624         ($(objpfx)tst-ftell-active-handler.out)
29625         ($(objpfx)tst-ftell-append.out)
29626         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29627         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29628         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29629         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29630         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
29631         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29632         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29633         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29634         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29635         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29636         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29637         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29638         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29639         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29640         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29641         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29642         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29643         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29644         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
29645         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29646         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29647         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29648         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29649         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
29650         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29651         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29652         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29653         $(gen-locales).
29654         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
29655         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29656         $(gen-locales).
29657         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
29658         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29659         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29660         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29661         $(gen-locales).
29662         * libio/tst_wprintf2.c (main): Use explicit locale.
29663         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29665 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29667         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29668         __msg_sig_post.
29669         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29671 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29673         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29674         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29676         * sysdeps/arm/libm-test-ulps: Regenerated.
29678         [BZ #15470]
29679         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29681         [BZ #16399]
29682         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29683         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29684         and <fix-fp-int-convert-overflow.h>.
29685         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29686         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29687         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29688         and <fix-fp-int-convert-overflow.h>.
29689         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29690         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29691         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29692         <fix-fp-int-convert-overflow.h>.
29693         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29694         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29695         * sysdeps/ieee754/dbl-64/s_lround.c: Include
29696         <fix-fp-int-convert-overflow.h>.
29697         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29698         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29699         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29700         and <fix-fp-int-convert-overflow.h>.
29701         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29702         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29703         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29704         <limits.h> and <fix-fp-int-convert-overflow.h>.
29705         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29706         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29707         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29708         and <fix-fp-int-convert-overflow.h>.
29709         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29710         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29711         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29712         and <fix-fp-int-convert-overflow.h>.
29713         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29714         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29715         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29717 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
29719         [BZ #18589]
29720         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29721         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29722         $(gen-locales).
29724 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29725             Phil Blundell <pb@pbcl.net>
29727         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29728         * nptl/tst-cancel26.c: New file.
29729         * nptl/tst-cancel27.c: Likewise.
29731 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
29733         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29734         __ILP32__ isn't defined.
29735         (lrint): Likewise.
29736         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29737         (lrintf): Likewise.
29738         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29739         (lrintl): Likewise.
29740         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29741         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29742         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29744 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29746         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29747         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29749         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29750         file.
29751         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29752         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29754 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29756         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29757         configure test.
29758         * sysdeps/i386/configure: Regenerated.
29759         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29760         configure test.
29761         * sysdeps/x86_64/configure: Regenerated.
29762         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29763         Make code unconditional.
29765         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29766         test.
29767         * sysdeps/i386/configure: Regenerated.
29768         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29769         test.
29770         * sysdeps/x86_64/configure: Regenerated.
29771         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29772         Make code unconditional.
29773         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29774         Likewise.
29775         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29776         Likewise.
29777         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29778         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29779         code unconditional.
29780         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29781         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29782         code unconditional.
29783         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29784         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29785         code unconditional.
29786         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29787         code unconditional.
29788         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29789         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29790         code unconditional.
29791         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29792         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29793         code unconditional.
29794         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29795         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29796         code unconditional.
29797         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29798         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29799         code unconditional.
29800         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29801         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29803         [BZ #19095]
29804         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29805         mantissa to long int before shifting left.
29807 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29809         [BZ #19094]
29810         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29811         <limits.h>.
29812         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29813         when result overflows but exception would not result from cast.
29814         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29815         <limits.h>.
29816         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29817         when result overflows but exception would not result from cast.
29818         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29819         <limits.h>.
29820         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29821         when result overflows but exception would not result from cast.
29822         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29823         <limits.h>.
29824         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29825         when result overflows but exception would not result from cast.
29826         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29827         <limits.h>.
29828         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29829         when result overflows but exception would not result from cast.
29830         * math/libm-test.inc (lrint_test_data): Add more tests.
29831         (llrint_test_data): Likewise.
29833 2015-10-08  Roland McGrath  <roland@hack.frob.com>
29835         [BZ #18872]
29836         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29837         Move out from under [$(run-built-tests) = yes] conditional.
29838         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29839         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29841 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
29843         [BZ #18589]
29844         * string/Makefile (tests): Add bug-strcoll2.
29845         (LOCALES): Add cs_CZ.UTF-8.
29846         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29848         [BZ #18589]
29849         * string/bug-strcoll2.c: New file.
29850         * locale/categories.def: Revert commit
29851         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29852         * locale/langinfo.h: Likewise.
29853         * locale/localeinfo.h: Likewise.
29854         * locale/C-collate.c: Likewise.
29855         * locale/programs/ld-collate.c (collate_output): Likewise.
29856         * string/strcoll_l.c (STRDIFF): Likewise.
29857         (STRCOLL): Likewise.
29858         * wcsmbs/wcscoll_l.c: Likewise.
29860 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29862         * math/libm-test.inc (lround_test_data): Do not expect the absence
29863         of "inexact" for some tests with non-integer arguments.
29864         (llround_test_data): Likewise.
29866         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29867         test.
29868         (libc_cv_cc_sse2avx): Likewise.
29869         * sysdeps/i386/configure: Regenerated.
29870         * sysdeps/i386/i686/multiarch/Makefile
29871         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29872         [$(subdir) = math].
29873         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29874         code unconditional.
29875         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29876         Likewise.
29877         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29878         Likewise.
29879         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29880         Likewise.
29881         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29882         test.
29883         (libc_cv_cc_sse2avx): Likewise.
29884         * sysdeps/x86_64/configure: Regenerated.
29885         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29886         unconditional.
29887         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29888         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29889         unconditional.
29890         (_dl_runtime_profile)
29891         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29892         conditional code.
29893         * sysdeps/x86_64/fpu/multiarch/Makefile
29894         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29895         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29896         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29897         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29898         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29899         * sysdeps/x86_64/fpu/multiarch/e_log.c
29900         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29901         * sysdeps/x86_64/fpu/multiarch/s_atan.c
29902         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29903         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29904         Likewise.
29905         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29906         Likewise.
29907         * sysdeps/x86_64/fpu/multiarch/s_sin.c
29908         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29909         * sysdeps/x86_64/fpu/multiarch/s_tan.c
29910         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29911         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29912         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29913         (HAVE_SSE2AVX_SUPPORT): Likewise.
29915 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
29917         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29918         instead of #pragma optimize.
29920 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
29922         [BZ #17195]
29923         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29924         as is similarly done in systrim and _int_free already.
29926 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29928         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29930 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29932         [BZ #19088]
29933         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29934         <limits.h>.
29935         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29936         overflows but exception would not result from cast.
29937         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29938         and <limits.h>.
29939         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29940         overflows but exception would not result from cast.
29941         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29942         <limits.h>.
29943         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29944         overflows but exception would not result from cast.
29945         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29946         <limits.h>.
29947         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29948         overflows but exception would not result from cast.
29949         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29950         <limits.h>.
29951         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29952         overflows but exception would not result from cast.
29953         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29954         <limits.h>.
29955         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29956         overflows but exception would not result from cast.
29957         * math/libm-test.inc (lround_test_data): Add more tests.
29958         (llround_test_data): Likewise.
29960 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
29962         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
29963         (CFLAGS-ialloc.c): Ditto.
29964         (CFLAGS-scheck.c): Ditto.
29966 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
29968         [BZ #19086]
29969         * manual/filesys.texi (Storage Allocation): Fix argument order for
29970         posix_fallocate64.
29972 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29974         [BZ #19085]
29975         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
29976         exponent below 48 inside case for non-overflowing exponent.
29977         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29979 2015-10-07  Florian Weimer  <fweimer@redhat.com>
29981         * iconvdata/cp737.h (from_idx): Add const.
29982         * iconvdata/cp775.h (from_idx): Likewise.
29984 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29986         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
29987         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29988         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
29990         [BZ #19079]
29991         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
29992         file, conditioned on [!_LP64].
29993         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
29994         [!_LP64] (__lround): Do not define as function or alias.
29995         [!_LP64] (lround): Likewise.
29996         [!_LP64] (__lroundl): Likewise.
29997         [!_LP64] (lroundl): Likewise.
29998         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
29999         macro.
30000         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30001         Likewise.
30003 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
30005         * math/libm-test.inc (lrint_test_data): Add more tests.
30006         (llrint_test_data): Likewise.
30007         (lround_test_data): Likewise.
30008         (llround_test_data): Likewise.
30010         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
30011         (llrint_test_data): Add tests used for lrint.
30013         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
30014         test.
30015         * sysdeps/i386/configure: Regenerated.
30016         * sysdeps/i386/i686/multiarch/Makefile
30017         [$(config-cflags-sse4) = yes]: Make code unconditional.
30018         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30019         Likewise.
30020         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
30021         Likewise.
30022         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
30023         test.
30024         * sysdeps/x86_64/configure: Regenerated.
30025         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
30026         Make code unconditional.
30027         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30028         Likewise.
30029         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
30030         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
30032         * scripts/rpm2dynsym.sh: Remove file.
30034 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30036         * configure.ac (libc_cv_cxx_thread_local): Define.
30037         * configure: Regenerate.
30038         * config.make.in (have-cxx-thread_local): Define.
30039         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
30040         (LDLIBS-tst-thread_local1): Define.
30041         (tests): Add tst-thread_local1.
30042         [have-cxx-thread_local != yes] (tests-unsupported): Add
30043         tst-thread_local1.
30044         * nptl/tst-thread_local1.cc: New file.
30046 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
30048         [BZ #19078]
30049         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
30050         (u_thres): Likewise.
30051         (__expl): Determine whether to call __kernel_standard_l based on
30052         value of result, not argument.
30054         * math/libm-test.inc (scalb_test_data): Add more expectations for
30055         the "inexact" exception.
30057         [BZ #19077]
30058         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
30059         0.0L for argument 1.0L.
30061         [BZ #19076]
30062         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
30063         constant 0.0L when computing infinite result.
30065 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30067         [BZ #10432]
30068         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
30069         malloc_usable_size.
30071 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30073         [BZ #19018]
30074         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30075         Mangle function pointer before storing it.
30076         (__call_tls_dtors): Demangle function pointer before calling it.
30078 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30080         [BZ #19012]
30081         * iconv/gconv_db.c (gen_steps): Check for additional errors.
30082         Clean up on failure.
30084 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
30086         [BZ #19071]
30087         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
30088         long int variable to store possibly incremented high part of
30089         mantissa.
30090         * math/libm-test.inc (lround_test_data): Add tests used for
30091         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
30092         for tests requiring 64-bit long.  Do not condition tests on
30093         [TEST_FLOAT] unnecessarily.
30094         (llround_test_data): Add tests used for lround.  Add another
30095         expectation for the "inexact" exception.  Do not condition tests
30096         on [TEST_FLOAT] unnecessarily.
30098         [BZ #887]
30099         [BZ #19049]
30100         [BZ #19050]
30101         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
30102         * sysdeps/ieee754/dbl-64/e_log10.c: Include
30103         <fix-int-fp-convert-zero.h>.
30104         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30105         * sysdeps/ieee754/dbl-64/e_log2.c: Include
30106         <fix-int-fp-convert-zero.h>.
30107         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30108         * sysdeps/ieee754/dbl-64/s_erf.c: Include
30109         <fix-int-fp-convert-zero.h>.
30110         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30111         * sysdeps/ieee754/dbl-64/s_logb.c: Include
30112         <fix-int-fp-convert-zero.h>.
30113         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30114         * sysdeps/ieee754/flt-32/e_log10f.c: Include
30115         <fix-int-fp-convert-zero.h>.
30116         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30117         * sysdeps/ieee754/flt-32/e_log2f.c: Include
30118         <fix-int-fp-convert-zero.h>.
30119         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30120         * sysdeps/ieee754/flt-32/s_erff.c: Include
30121         <fix-int-fp-convert-zero.h>.
30122         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30123         * sysdeps/ieee754/flt-32/s_logbf.c: Include
30124         <fix-int-fp-convert-zero.h>.
30125         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30126         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30127         <fix-int-fp-convert-zero.h>.
30128         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30129         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30130         <fix-int-fp-convert-zero.h>.
30131         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30132         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30133         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30134         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30135         file.
30136         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30138 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
30140         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30142 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
30144         [BZ #19059]
30145         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30146         overflowing computation.
30147         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30148         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30149         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30150         Likewise.
30151         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30152         Likewise.
30153         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30154         Likewise.
30155         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30156         Likewise.
30157         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30158         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30159         Likewise.
30160         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30161         Likewise.
30162         * math/libm-test.inc (nexttoward_test_data): Add more tests.
30164         * nss/rewrite_field.c (__nss_rewrite_field): Use
30165         internal_function.
30166         * nss/valid_field.c (__nss_valid_field): Likewise.
30167         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30169 2015-10-02  Florian Weimer  <fweimer@redhat.com>
30171         [BZ #18724]
30172         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30173         (__nss_invalid_field_characters, __nss_valid_field)
30174         (__nss_valid_list_field, __nss_rewrite_field): Declare.
30175         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30176         tst-field.c: New file.
30177         * nss/Makefile (routines): Add valid_field, rewrite_field.
30178         (tests-static): Define unconditionally.
30179         (tests): Include tests-static.
30180         [build-static-nss] (tests-static): Use append.
30181         [build-static-nss] (tests): Remove modification.
30182         * nss/getent.c (print_group): Call putgrent.  Report error.
30183         (print_gshadow): Call putsgent.  Report error.
30184         (print_passwd): Call putpwent.  Report error.
30185         (print_shadow): Call putspent.  Report error.
30186         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30187         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30188         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
30189         name, password, directory, shell fields for valid syntax.  Rewrite
30190         GECOS field to match syntax.
30191         * pwd/Makefile (tests): Add tst-putpwent.
30192         * pwd/tst-putpwent.c: New file.
30193         * grp/putgrent.c (putgrent): Convert to ISO function definition.
30194         Check grName, grpasswd, gr_mem fields for valid syntax.
30195         Change loop variable i to size_t.
30196         * grp/Makefile (tests): Add tst-putgrent.
30197         * grp/tst-putgrent.c: New file.
30198         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30199         valid syntax.
30200         * shadow/Makefile (tests): Add tst-putspent.
30201         * shadow/tst-putspent.c: New file.
30202         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30203         sg_mem fields for valid syntax.
30204         * gshadow/Makefile (tests): Add tst-putsgent.
30205         * gshadow/tst-putsgent.c: New file.
30207 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30209         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30210         assembly instructions.
30212 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30214         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30215         prefix from operands.
30217 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
30219         [BZ #16347]
30220         [BZ #19046]
30221         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30222         <libc-internal.h>.
30223         (MAXLGM): Do not use diagnostic control macros.
30224         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30225         threshold for ldbl-128ibm.
30226         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30227         instead of multiplying by log then subtracting.
30228         * math/auto-libm-test-in: Add more tests of lgamma.
30229         * math/auto-libm-test-out: Regenerated.
30231         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30232         (TYPE_HEX_DIG): Likewise.
30233         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30234         precisions when printing floating-point numbers.
30235         (check_float_internal): Likewise.
30237 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30239         [BZ #16620]
30240         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30241         of log (10) rounded downward to 48 bits.
30242         (log10_low): Use corresponding low part of log (10).
30244         [BZ #19032]
30245         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30246         compute result as (x - x) / (x - x) not as 0 / 0.
30247         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30248         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30250         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30251         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30252         and expm1.
30253         * math/auto-libm-test-out: Regenerated.
30254         * math/libm-test.inc (acos_test_data): Add more tests.
30255         (asin_test_data): Likewise.
30256         (asinh_test_data): Likewise.
30257         (atan_test_data): Likewise.
30258         (atanh_test_data): Likewise.
30259         (atan2_test_data): Likewise.
30260         (cbrt_test_data): Likewise.
30261         (ceil_test_data): Likewise.
30262         (copysign_test_data): Likewise.
30263         (cos_test_data): Likewise.
30264         (cosh_test_data): Likewise.
30265         (erf_test_data): Likewise.
30266         (erfc_test_data): Likewise.
30267         (exp_test_data): Likewise.
30268         (exp10_test_data): Likewise.
30269         (exp2_test_data): Likewise.
30270         (expm1_test_data): Likewise.
30271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30273 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
30275         [BZ #19006]
30276         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30277         to ...
30278         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30279         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30280         to ...
30281         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30282         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30283         to ...
30284         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30285         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30286         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30287         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30288         to ...
30289         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30290         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30291         Moved to ...
30292         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30293         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30294         Moved to ...
30295         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30296         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30297         to ...
30298         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30299         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30300         Moved to ...
30301         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30302         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30303         to ...
30304         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30305         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30306         Removed.
30307         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30308         Likewise.
30309         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30310         Likewise.
30311         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30312         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30313         Likewise.
30314         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30315         Likewise.
30316         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30317         Likewise.
30318         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30319         Likewise.
30320         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30321         Likewise.
30322         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30323         Likewise.
30324         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30325         Likewise.
30326         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30327         Likewise.
30328         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30329         Likewise.
30330         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30331         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30332         Likewise.
30333         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30334         Likewise.
30335         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30336         Likewise.
30337         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30338         Likewise.
30339         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30340         Likewise.
30341         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30342         Replace ../i486/pthread_cond_timedwait.S with
30343         ../pthread_cond_timedwait.S.
30345 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30347         * math/libm-test.inc (acos_test_data): Refine expectations for
30348         errno and "inexact" exceptions.
30349         (acosh_test_data): Likewise.
30350         (asin_test_data): Likewise.
30351         (asinh_test_data): Likewise.
30352         (atan_test_data): Likewise.
30353         (atanh_test_data): Likewise.
30354         (atan2_test_data): Likewise.
30355         (cbrt_test_data): Likewise.
30356         (ceil_test_data): Likewise.
30357         (copysign_test_data): Likewise.
30358         (cosh_test_data): Likewise.
30359         (erf_test_data): Likewise.
30360         (erfc_test_data): Likewise.
30361         (exp_test_data): Likewise.
30362         (exp10_test_data): Likewise.
30363         (exp2_test_data): Likewise.
30364         (expm1_test_data): Likewise.
30365         (fabs_test_data): Likewise.
30366         (floor_test_data): Likewise.
30367         (fma_test_data): Likewise.
30368         (fmax_test_data): Likewise.
30369         (fmin_test_data): Likewise.
30370         (fmod_test_data): Likewise.
30371         (fpclassify_test_data): Likewise.
30372         (frexp_test_data): Likewise.
30373         (hypot_test_data): Likewise.
30374         (ilogb_test_data): Likewise.
30375         (isgreater_test_data): Likewise.
30376         (isgreaterequal_test_data): Likewise.
30377         (isinf_test_data): Likewise.
30378         (isless_test_data): Likewise.
30379         (islessequal_test_data): Likewise.
30380         (islessgreater_test_data): Likewise.
30381         (isnan_test_data): Likewise.
30382         (isnormal_test_data): Likewise.
30383         (issignaling_test_data): Likewise.
30384         (isunordered_test_data): Likewise.
30385         (j0_test_data): Likewise.
30386         (j1_test_data): Likewise.
30387         (jn_test_data): Likewise.
30388         (lgamma_test_data): Likewise.
30389         (lrint_test_data): Likewise.
30390         (llrint_test_data): Likewise.
30391         (log_test_data): Likewise.
30392         (log10_test_data): Likewise.
30393         (log1p_test_data): Likewise.
30394         (log2_test_data): Likewise.
30395         (logb_test_data): Likewise.
30396         (lround_test_data): Likewise.
30397         (llround_test_data): Likewise.
30398         (modf_test_data): Likewise.
30399         (nearbyint_test_data): Likewise.
30400         (nextafter_test_data): Likewise.
30401         (nexttoward_test_data): Likewise.
30402         (pow_test_data): Likewise.
30403         (remainder_test_data): Likewise.
30404         (remquo_test_data): Likewise.
30405         (rint_test_data): Likewise.
30406         (round_test_data): Likewise.
30407         (signbit_test_data): Likewise.
30408         (sinh_test_data): Likewise.
30409         (sqrt_test_data): Likewise.
30410         (tanh_test_data): Likewise.
30411         (tgamma_test_data): Likewise.
30412         (trunc_test_data): Likewise.
30413         (y0_test_data): Likewise.
30414         (y1_test_data): Likewise.
30415         (yn_test_data): Likewise.
30416         (significand_test_data): Likewise.
30418 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
30420         * manual/filesys.texi (Storage Allocation): Document that
30421         posix_fallocate emulation fails when fd is open with O_WRONLY.
30423 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
30425         [BZ #19016]
30426         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30427         allow more cases with X^2 + Y^2 >= 0.5.
30428         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
30429         normal element in sum instead of special-casing based on values of
30430         arguments.
30431         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30432         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
30433         -1 as normal element in sum instead of special-casing based on
30434         values of arguments.
30435         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30436         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30437         (__x2y2m1): Update comment.
30438         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
30439         as normal element in sum instead of special-casing based on values
30440         of arguments.
30441         * math/s_clog.c (__clog): Handle more cases using log1p without
30442         hypot.
30443         * math/s_clog10.c (__clog10): Likewise.
30444         * math/s_clog10f.c (__clog10f): Likewise.
30445         * math/s_clog10l.c (__clog10l): Likewise.
30446         * math/s_clogf.c (__clogf): Likewise.
30447         * math/s_clogl.c (__clogl): Likewise.
30448         * math/auto-libm-test-in: Add more tests of clog and clog10.
30449         * math/auto-libm-test-out: Regenerated.
30450         * sysdeps/i386/fpu/libm-test-ulps: Update.
30451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30453 2015-09-28  Martin Sebor  <msebor@redhat.com>
30455         [BZ #18969]
30456         * string/Makefile (LOCALES): Define.
30457         (gen-locales.mk): Include.
30458         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30459         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30460         * string/tst-strxfrm2.c (do_test): Print the name of the locale
30461         on setlocale failure.
30463 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30465         [BZ #18985]
30466         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30467         (__strftime_internal): Likewise.
30468         * time/tst-strftime.c (do_bz18985): New test.
30469         (do_test): Call it.
30471 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
30473         [BZ #18956]
30474         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30475         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
30476         extracting high part.
30477         * math/auto-libm-test-in: Add another test of pow.
30478         * math/auto-libm-test-out: Regenerated.
30479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30481 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30483         [BZ #18825]
30484         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30485         New macro.
30486         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30487         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30488         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30489         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30490         DBL_NARROW_EVAL, reloading the PIC register as needed.
30491         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30492         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30493         FLT_NARROW_EVAL.  Use separate return path for case when first
30494         argument is NaN.
30495         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
30496         DEFINE_LDBL_MIN.
30497         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30498         PIC register.
30499         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30500         math_check_force_underflow_nonneg.
30501         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30502         underflow for subnormal result.
30503         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30504         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30505         math_check_force_underflow_nonneg.
30506         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30507         math_check_force_underflow.
30508         * sysdeps/x86_64/fpu/x86_64-math-asm.h
30509         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30510         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
30511         DEFINE_LDBL_MIN.
30512         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30513         * math/auto-libm-test-in: Add more tests of pow.
30514         * math/auto-libm-test-out: Regenerated.
30516 2015-09-25  Florian Weimer  <fweimer@redhat.com>
30518         * nss/bug17079.c (init_test_items): Add diagnostic for
30519         inconsistent entries.
30520         (test_buffer_size): Skip inconsistent entries.
30522 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30524         [BZ #13304]
30525         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30526         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30527         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30529         [BZ #13304]
30530         * sysdeps/microblaze/s_fma.c: New file.
30531         * sysdeps/microblaze/s_fmaf.c: Likewise.
30532         * sysdeps/microblaze/sfp-machine.h: Likewise.
30534 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
30536         [BZ #17250]
30537         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30538         member.
30540 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30542         [BZ #18803]
30543         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30544         (MO): New macro.
30545         (__ieee754_hypot) [PIC]: Load PIC register.
30546         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30547         DBL_NARROW_EVAL.
30548         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30549         math_check_force_underflow_nonneg in case where result might be
30550         tiny.
30551         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30552         Likewise.
30553         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30554         Likewise.
30555         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30556         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30557         * math/auto-libm-test-in: Add more tests of hypot.
30558         * math/auto-libm-test-out: Regenerated.
30560 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
30562         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30564 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30566         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30567         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30568         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30569         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30570         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30571         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30572         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30574         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30575         LOAD_PIC_REG.
30577         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30578         (FLT_CHECK_FORCE_UFLOW): Likewise.
30579         (DBL_CHECK_FORCE_UFLOW): Likewise.
30580         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30581         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30582         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30583         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30584         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30585         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30586         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30587         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30588         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30589         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30590         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30591         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30592         (flt_min): Replace with use of DEFINE_FLT_MIN.
30593         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30594         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30595         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30596         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30597         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30598         (flt_min): Replace with use of DEFINE_FLT_MIN.
30599         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30600         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30601         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30602         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30603         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30604         (flt_min): Replace with use of DEFINE_FLT_MIN.
30605         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30606         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30607         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30608         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30609         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30610         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30611         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30612         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30613         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30614         (__atan): Use DBL_CHECK_FORCE_UFLOW.
30615         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30616         (flt_min): Replace with use of DEFINE_FLT_MIN.
30617         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30618         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30619         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30620         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
30621         main computation.
30622         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30623         (flt_min): Replace with use of DEFINE_FLT_MIN.
30624         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
30625         main computation.
30626         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30627         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30628         (MO): New macro.
30629         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30630         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30631         (flt_min): Replace with use of DEFINE_FLT_MIN.
30632         (MO): New macro.
30633         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30634         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30635         (__log1pl): Use MO.
30637         [BZ #19003]
30638         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30639         $(config-cflags-nofma).
30641 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30643         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30645 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
30647         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30648         (TWO127): Likewise.
30650         * sysdeps/generic/math_private.h (fabs_tg): New macro.
30651         (min_of_type): Likewise.
30652         (math_check_force_underflow): Likewise.
30653         (math_check_force_underflow_nonneg): Likewise.
30654         (math_check_force_underflow_complex): Likewise.
30655         * math/e_exp2l.c (__ieee754_exp2l): Use
30656         math_check_force_underflow_nonneg.
30657         * math/k_casinh.c (__kernel_casinh): Likewise.
30658         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30659         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30660         * math/s_catan.c (__catan): Use
30661         math_check_force_underflow_complex.
30662         * math/s_catanf.c (__catanf): Likewise.
30663         * math/s_catanh.c (__catanh): Likewise.
30664         * math/s_catanhf.c (__catanhf): Likewise.
30665         * math/s_catanhl.c (__catanhl): Likewise.
30666         * math/s_catanl.c (__catanl): Likewise.
30667         * math/s_ccosh.c (__ccosh): Likewise.
30668         * math/s_ccoshf.c (__ccoshf): Likewise.
30669         * math/s_ccoshl.c (__ccoshl): Likewise.
30670         * math/s_cexp.c (__cexp): Likewise.
30671         * math/s_cexpf.c (__cexpf): Likewise.
30672         * math/s_cexpl.c (__cexpl): Likewise.
30673         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30674         * math/s_clog10.c (__clog10): Likewise.
30675         * math/s_clog10f.c (__clog10f): Likewise.
30676         * math/s_clog10l.c (__clog10l): Likewise.
30677         * math/s_clogf.c (__clogf): Likewise.
30678         * math/s_clogl.c (__clogl): Likewise.
30679         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30680         * math/s_csinf.c (__csinf): Likewise.
30681         * math/s_csinh.c (__csinh): Likewise.
30682         * math/s_csinhf.c (__csinhf): Likewise.
30683         * math/s_csinhl.c (__csinhl): Likewise.
30684         * math/s_csinl.c (__csinl): Likewise.
30685         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30686         * math/s_csqrtf.c (__csqrtf): Likewise.
30687         * math/s_csqrtl.c (__csqrtl): Likewise.
30688         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30689         * math/s_ctanf.c (__ctanf): Likewise.
30690         * math/s_ctanh.c (__ctanh): Likewise.
30691         * math/s_ctanhf.c (__ctanhf): Likewise.
30692         * math/s_ctanhl.c (__ctanhl): Likewise.
30693         * math/s_ctanl.c (__ctanl): Likewise.
30694         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30695         instead of volatile.
30696         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30697         math_check_force_underflow.
30698         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30699         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30700         volatile when forcing underflow.
30701         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30702         math_check_force_underflow_nonneg.
30703         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30704         Likewise.
30705         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30706         math_check_force_underflow.
30707         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30708         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30709         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30710         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30711         math_check_force_underflow_nonneg.
30712         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30713         math_check_force_underflow.
30714         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30715         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30716         instead of volatile.
30717         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30718         math_check_force_underflow.
30719         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30720         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30721         math_check_force_underflow_nonneg.
30722         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30723         math_check_force_underflow.
30724         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30725         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30726         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30727         math_check_force_underflow_nonneg.
30728         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30729         Likewise.
30730         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30731         math_check_force_underflow.
30732         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30733         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30734         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30735         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30736         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30737         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30738         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30739         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30740         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30741         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30742         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30743         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30744         Likewise.
30745         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30746         math_check_force_underflow_nonneg.
30747         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30748         Likewise.
30749         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30750         math_check_force_underflow.
30751         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30752         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30753         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30754         Likewise.
30755         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30756         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30757         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30758         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30759         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30760         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30761         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30762         instead of volatile.
30763         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30764         math_check_force_underflow.
30765         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30766         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30767         math_check_force_underflow.
30768         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30769         Likewise.
30770         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30771         Use math_check_force_underflow_nonneg.
30772         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30773         math_check_force_underflow.
30774         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30775         Likewise.
30776         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30777         Likewise.
30778         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30779         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30780         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30781         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30782         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30783         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30784         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30785         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30786         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30787         math_check_force_underflow_nonneg.
30788         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30789         math_check_force_underflow.
30790         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30791         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30792         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30793         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30794         math_check_force_underflow_nonneg.
30795         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30796         math_check_force_underflow.
30797         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30798         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30799         instead of volatile.
30800         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30801         math_check_force_underflow.
30803         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30804         * stdlib/strtod_l.c: Include <math_private.h>.
30805         (overflow_value): Use math_narrow_eval.
30806         (underflow_value): Likewise.
30807         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30808         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30809         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30810         (__ieee754_gamma_r): Likewise.
30811         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30812         Likewise.
30813         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30814         Likewise.
30815         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30816         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30817         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30818         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30819         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30820         (__ieee754_gammaf_r): Likewise.
30821         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30822         Likewise.
30823         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30824         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30825         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30826         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30827         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30828         volatile.
30829         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30830         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30831         math_narrow_eval.
30832         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30833         Likewise.
30834         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30835         Likewise.
30836         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30837         Likewise.
30838         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30839         volatile.
30840         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30841         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30842         math_narrow_eval.
30843         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30844         Likewise.
30845         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30846         Likewise.
30848 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
30850         * nptl/Versions: Remove ignored symbols.
30852 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30854         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
30855         * nss/Makefile (tests): Update.
30857 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30859         * nss/bug18287.c: New file.
30860         * nss/Makefile (tests): Add bug18287.
30862 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30864         * mach/Versions (__mach_host_self_): Add symbol.
30866 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30868         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30869         vm_page_size.
30871 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30873         Really fix sysdeps/i386/fpu/s_scalbn.S build
30875         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30876         (libc: GLIBC_2_22): Remove unused version set.
30878 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
30880         * config.make.in (enable-timezone-tools): New variable.
30881         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30882         (enable_timezone_tools): Export to generated files.
30883         * configure: Regenerate.
30884         * INSTALL: Regenerate.
30885         * manual/install.texi (--disable-timezone-tools): Document new flag.
30886         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30887         ifeq ($(enable-timezone-tools),yes) check.
30889 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30891         * timezone/Makefile: Revert previous change.
30893         [BZ #18980]
30894         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30895         (DEFINE_DBL_MIN): Likewise.
30896         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30897         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30898         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30899         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30900         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30901         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30902         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30903         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30904         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30905         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30906         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30907         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30908         (flt_min): Replace with use of DEFINE_FLT_MIN.
30909         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30910         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30911         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30912         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30913         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30914         (flt_min): Replace with use of DEFINE_FLT_MIN.
30915         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30916         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30917         (flt_min): Replace with use of DEFINE_FLT_MIN.
30918         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30919         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30920         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30921         (__ieee754_hypot): Use DBL_NARROW_EVAL.
30922         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30923         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30924         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30925         (__ieee754_pow): Use DBL_NARROW_EVAL.
30926         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30927         (__ieee754_powf): Use FLT_NARROW_EVAL.
30928         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30929         (__ieee754_expf_sse2): Convert double-precision result to single
30930         precision.
30931         * sysdeps/i386/fpu/libm-test-ulps: Update.
30933 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30935         * timezone/Makefile: Ignore unused variable errors due to private.h
30936         (time_t_min) and (time_t_max).
30937         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
30938         Likewise.
30940 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30942         [BZ #18981]
30943         * sysdeps/i386/fpu/i386-math-asm.h: New file.
30944         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30945         (__ieee754_scalb): Use DBL_NARROW_EVAL.
30946         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30947         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30948         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30949         (__scalbn): Use DBL_NARROW_EVAL.
30950         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30951         (__scalbnf): Use FLT_NARROW_EVAL.
30953 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30955         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30956         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30957         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
30958         * stdio-common/printf_fp.c (___printf_fp):
30959         Use signbit to get the sign. Use isinf macro to allow inlining.
30960         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
30961         * stdio-common/printf_size.c (__printf_size): Likewise.
30963 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
30965         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
30967 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30969         [BZ #18980]
30970         * sysdeps/generic/math_private.h: Include <float.h>.
30971         (math_narrow_eval): New macro.
30972         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
30973         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
30974         math_narrow_eval on overflowing return value.
30975         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
30976         Likewise.
30977         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30978         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
30979         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
30980         Likewise.
30981         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30983 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30985         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
30986         * math/Makefile: Remove isinf_ns.c.
30987         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
30988         * math/multc3.c (__multc3): Likewise.
30989         * math/s_casin.c (__casin): Likewise.
30990         * math/s_casinf.c (__casinf): Likewise.
30991         * math/s_casinl.c (__casinl): Likewise.
30992         * math/s_cproj.c (__cproj): Likewise.
30993         * math/s_cprojf.c (__cprojf): Likewise.
30994         * math/s_cprojl.c (__cprofl): Likewise.
30995         * math/s_ctan.c (__ctan): Likewise.
30996         * math/s_ctanf.c (__ctanf): Likewise.
30997         * math/s_ctanh.c (__ctanh): Likewise.
30998         * math/s_ctanhf.c (__ctanhf): Likewise.
30999         * math/s_ctanhl.c (__ctanhl): Likewise.
31000         * math/s_ctanl.c (__ctanl): Likewise.
31001         * math/w_fmod.c (__fmod): Likewise.
31002         * math/w_fmodf.c (__fmodf): Likewise.
31003         * math/w_fmodl.c (_fmodl): Likewise.
31004         * math/w_remainder.c (__remainder): Likewise.
31005         * math/w_remainderf.c (__remainderf): Likewise.
31006         * math/w_remainderl.c (__remainderl): Likewise.
31007         * math/w_scalb.c (__scalb): Likewise.
31008         * math/w_scalbf.c (__scalbf): Likewise.
31009         * math/w_scalbl.c (__scalbl): Likewise.
31010         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
31011         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
31012         with isinf.
31013         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
31014         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
31015         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
31016         __isinf_nsf with isinf.
31017         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
31018         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
31019         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
31020         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
31021         with isinf.
31022         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
31023         __isinf_nsl with isinf.
31024         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
31025         with isinf.
31026         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
31027         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
31028         __isinf_nsl with isinf.
31029         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
31030         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
31031         with isinf.
31033 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31035         * resolv/base64.c (rcsid): Remove unused static.
31036         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
31037         static.  (tqpi1): Likewise.
31038         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
31039         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
31040         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
31041         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
31042         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
31043         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
31044         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
31045         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
31046         Likewise.
31048 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
31050         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
31051         <nptl/pthreadP.h>.
31052         (_longjmp_unwind): Use __libc_ptf_call.
31053         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
31055 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
31057         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
31058         * sysdeps/arm/__longjmp.S: Likewise.
31060 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31062         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
31063         Use __builtin_signbit.
31064         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
31065         Use __builtin_signbitf.
31066         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
31067         Use __builtin_signbitl.
31068         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31069         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
31071 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31073         [BZ #15367]
31074         [BZ #17441]
31076         * math/Makefile: Build test-snan.c with -fsignaling-nans.
31077         * math/math.h (fpclassify): Use __builtin_fpclassify when
31078         available.  (signbit): Use __builtin_signbit(f/l).
31079         (isfinite): Use__builtin_isfinite.  (isnormal): Use
31080         __builtin_isnormal.  (isnan): Use __builtin_isnan.
31081         (isinf): Use __builtin_isinf_sign.
31083 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31085         * benchtests/Makefile: Add bench-math-inlines, link with libm.
31086         * benchtests/bench-math-inlines.c: New benchmark.
31087         * benchtests/bench-util.h: New file.
31088         * benchtests/bench-util.c: New file.
31089         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
31091 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
31093         * elf/tst-dlmopen1.c: Define TEST_SO.
31094         (do_test): Use TEST_SO.
31096         * elf/dl-load.c: Include libc-internal.h.
31097         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
31099 2015-09-18  Vincent Bernat  <vincent@bernat.im>
31101         [BZ #17887]
31102         * time/strptime_l.c (__strptime_internal): Make %z accept
31103         [+-]HH:MM time zones.
31105 2015-09-18  Vincent Bernat  <vincent@bernat.im>
31107         [BZ #17886]
31108         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
31109         valid time zone.
31111 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
31113         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
31114         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
31115         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31116         (__ASSUME_FDATASYNC): Delete.
31118 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31120         * conform/linknamespace.pl: Require weak undefined symbols to be
31121         in the standard namespace.
31122         (%strong_syms): Rename to %seen_syms.
31123         (%strong_seen): Rename to %seen_where.
31125 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
31127         [BZ #18970]
31128         * misc/error.c (error): Replace pthread_setcancelstate with
31129         __pthread_setcancelstate.
31130         (error_at_line): Likewise.
31131         * posix/wordexp.c (parse_comm): Likewise.
31132         * stdlib/fmtmsg.c (fmtmsg): Likewise.
31133         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31134         (__pthread_setcancelstate): This.
31135         (pthread_setcancelstate): Add an alias.
31136         * nptl/nptl-init.c (pthread_functions): Replace
31137         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31138         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31139         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31140         hidden_proto.
31141         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31142         it with hidden_def.
31143         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31144         (pthread_setcancelstate): Renamed to ...
31145         (__pthread_setcancelstate): This.
31146         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31147         __libc_ptf_call with __pthread_setcancelstate.
31149 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31150             Andreas Schwab  <schwab@suse.de>
31152         [BZ #17118]
31153         * math/s_ctan.c (__ctan): Determine sign of zero real part of
31154         result when imaginary part of argument is infinite using sine and
31155         cosine.
31156         * math/s_ctanf.c (__ctanf): Likewise.
31157         * math/s_ctanl.c (__ctanl): Likewise.
31158         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31159         of result when real part of argument is infinite using sine and
31160         cosine.
31161         * math/s_ctanhf.c (__ctanhf): Likewise.
31162         * math/s_ctanhl.c (__ctanhl): Likewise.
31163         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31164         (ctanh_test_data): Add more tests of ctanh.
31166 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31168         [BZ #15384]
31169         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31170         bit-mask as in subtraction.
31171         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31172         Likewise.
31173         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31174         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31175         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31177         [BZ #18951]
31178         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31179         underflow exception for small results.
31180         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31181         Likewise.
31182         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31183         Likewise.
31184         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31185         Likewise.
31186         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31187         Likewise.
31188         * math/auto-libm-test-in: Add more tests of tgamma.
31189         * math/auto-libm-test-out: Regenerated.
31191 2015-09-17  Andreas Schwab  <schwab@suse.de>
31193         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31195 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31197         [BZ #18977]
31198         * math/bits/mathcalls.h
31199         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31200         not declare.
31201         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31202         Likewise.
31203         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31204         Likewise.
31205         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31206         Likewise.
31207         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31208         Likewise.
31209         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31210         Likewise.
31211         * conform/data/math.h-data
31212         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31213         function.
31214         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31215         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31216         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31217         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31218         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31219         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31220         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31221         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31222         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31223         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31224         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31226         [BZ #6803]
31227         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31228         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31229         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31230         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31231         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31232         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31233         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31234         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31235         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31236         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31237         Likewise.
31238         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31239         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31240         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31241         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31242         long_double_symbol calls.
31243         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31244         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31245         strong alias of __ldexpl.
31246         (scalbnl): Define using long_double_symbol.
31247         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31248         Remove alias.
31249         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31250         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31251         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31252         (scalbln_test_data): Add more errno expectations.
31254 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
31256         Cache the host port like we cache the task port.  This way we do not
31257         need to call the kernel just to get the port.  Furthermore, we no
31258         longer increase the reference count on every invocation of
31259         `mach_host_self'.
31261         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31262         Protect declarations against the macro expansion.
31263         * mach/mach_init.c (__mach_host_self_): New variable.
31264         (mach_init): Initialize `__mach_host_self_'.
31265         * mach/mach_init.h (__mach_host_self_): New declaration.
31266         (__mach_host_self, mach_host_self): New macros.
31267         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31268         Release reference.
31270 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31272         [BZ #4404]
31273         * po/de.po: Update from Translation Project.
31275         [BZ #16415]
31276         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31277         (__expm1l): Remove code to handle positive infinity and overflow.
31278         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31279         variable.
31280         (__expm1l): Remove code to handle positive infinity and overflow.
31282 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
31283             Paul Pluzhnikov  <ppluzhnikov@google.com>
31285         [BZ #18872]
31286         * stdio-common/Makefile (tst-printf-bz18872): New test.
31287         (tst-printf-bz18872-mem.out): Likewise.
31288         * stdio-common/tst-printf-bz18872.sh: Generate new test.
31289         * stdio-common/vfprintf.c: Fix memory leaks.
31291 2015-09-16  Andreas Schwab  <schwab@suse.de>
31293         [BZ #17244]
31294         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31295         Remove extra va_start/va_end calls.
31297         [BZ #17243]
31298         * posix/execl.c (execl): Add missing va_end.
31299         * posix/execle.c (execle): Likewise.
31300         * posix/execlp.c (execlp): Likewise.
31302 2015-09-15  Roland McGrath  <roland@hack.frob.com>
31304         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31305         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31307 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
31309         [BZ #18967]
31310         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
31311         undefine around includes of <bits/mathcalls.h>.
31312         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31313         not declare function.
31314         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31315         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31316         (scalb): Likewise.
31317         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31318         not define macro.
31319         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31320         variable.
31321         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31322         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31323         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31325         [BZ #18857]
31326         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31327         return non-finite argument without doing ordered comparisons on
31328         it.
31330         [BZ #16296]
31331         * math/fenv.h (fegetround): Use __attribute_pure__.
31332         * include/fenv.h (__fegetround): Likewise.
31334         [BZ #18595]
31335         * math/s_ctan.c (__ctan): Force underflow exception for results
31336         whose real or imaginary part has small absolute value.
31337         * math/s_ctanf.c (__ctanf): Likewise.
31338         * math/s_ctanh.c (__ctanh): Likewise.
31339         * math/s_ctanhf.c (__ctanhf): Likewise.
31340         * math/s_ctanhl.c (__ctanhl): Likewise.
31341         * math/s_ctanl.c (__ctanl): Likewise.
31342         * math/auto-libm-test-in: Do not allow missing underflow for ctan
31343         and ctanh.  Add more tests of ctan and ctanh.
31345         [BZ #15918]
31346         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31347         handling of cases where one argument is an infinity.
31349         [BZ #18875]
31350         [BZ #18966]
31351         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31352         (MO): New macro.
31353         (__ieee754_exp10): For small results, force underflow exception
31354         and remove excess range and precision from return value.
31355         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31356         (MO): New macro.
31357         (__ieee754_exp10f): For small results, force underflow exception
31358         and remove excess range and precision from return value.
31359         * math/auto-libm-test-in: Add more tests of exp10.
31360         * math/auto-libm-test-out: Regenerated.
31362 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
31364         [BZ #18875]
31365         [BZ #18961]
31366         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31367         (MO): New macro.
31368         (__ieee754_exp): For small results, force underflow exception and
31369         remove excess range and precision from return value.
31370         (__exp_finite): Likewise.
31371         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31372         (MO): New macro.
31373         (__ieee754_expf): For small results, force underflow exception and
31374         remove excess range and precision from return value.
31375         (__expf_finite): Likewise.
31376         * math/auto-libm-test-in: Add more tests of exp.
31377         * math/auto-libm-test-out: Regenerated.
31379         [BZ #16521]
31380         [BZ #18875]
31381         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31382         small results.
31383         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31384         (MO): New macro.
31385         (__ieee754_exp2): For small results, force underflow exception and
31386         remove excess range and precision from return value.
31387         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31388         (MO): New macro.
31389         (__ieee754_exp2f): For small results, force underflow exception
31390         and remove excess range and precision from return value.
31391         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31392         (MO): New macro.
31393         (__ieee754_exp2l): Force underflow exception for small results.
31394         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31395         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31396         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31397         (MO): New macro.
31398         (__ieee754_exp2l): Force underflow exception for small results.
31399         * math/auto-libm-test-in: Add more tests or exp2.
31400         * math/auto-libm-test-out: Regenerated.
31402 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
31404         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31406         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31407         /dev/null.
31409 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31411         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31412         io fs process)): Drop spurious backslash.
31414 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31416         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31417         Use sysinfo system call instead of parsing /proc/meminfo.
31418         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31419         Likewise.
31421 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
31423         [BZ #16985]
31424         * programs/localedef.c (main): Display argv[remaining] when
31425         output_path is NULL.
31427 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31429         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31430         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31431         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31432         tanh.
31433         * math/auto-libm-test-out: Regenerated.
31434         * sysdeps/i386/fpu/libm-test-ulps: Update.
31435         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31436         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31439 2015-09-11  Roland McGrath  <roland@hack.frob.com>
31441         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31442         Use 'override' keyword to freeze the value here, preventing
31443         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31445 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31447         [BZ #14912]
31448         * sysdeps/aarch64/bits/atomic.h: Move to ...
31449         * sysdeps/aarch64/atomic-machine.h: ...here.
31450         (_AARCH64_BITS_ATOMIC_H): Rename macro to
31451         _AARCH64_ATOMIC_MACHINE_H.
31452         * sysdeps/alpha/bits/atomic.h: Move to ...
31453         * sysdeps/alpha/atomic-machine.h: ...here.
31454         * sysdeps/arm/bits/atomic.h: Move to ...
31455         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
31456         * bits/atomic.h: Move to ...
31457         * sysdeps/generic/atomic-machine.h: ...here.
31458         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31459         * sysdeps/i386/bits/atomic.h: Move to ...
31460         * sysdeps/i386/atomic-machine.h: ...here.
31461         * sysdeps/ia64/bits/atomic.h: Move to ...
31462         * sysdeps/ia64/atomic-machine.h: ...here.
31463         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31464         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31465         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31466         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31467         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31468         * sysdeps/microblaze/bits/atomic.h: Move to ...
31469         * sysdeps/microblaze/atomic-machine.h: ...here.
31470         * sysdeps/mips/bits/atomic.h: Move to ...
31471         * sysdeps/mips/atomic-machine.h: ...here.
31472         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31473         * sysdeps/powerpc/bits/atomic.h: Move to ...
31474         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
31475         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31476         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
31477         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
31478         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31479         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
31480         <atomic-machine.h> instead of <bits/atomic.h>.
31481         * sysdeps/s390/bits/atomic.h: Move to ...
31482         * sysdeps/s390/atomic-machine.h: ...here.
31483         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31484         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31485         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31486         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31487         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31488         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31489         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31490         * sysdeps/tile/bits/atomic.h: Move to ...
31491         * sysdeps/tile/atomic-machine.h: ...here.
31492         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31493         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
31494         <sysdeps/tile/atomic-machine.h> instead of
31495         <sysdeps/tile/bits/atomic.h>.
31496         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31497         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31498         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
31499         <sysdeps/tile/atomic-machine.h> instead of
31500         <sysdeps/tile/bits/atomic.h>.
31501         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31502         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31503         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
31504         <sysdeps/arm/atomic-machine.h> instead of
31505         <sysdeps/arm/bits/atomic.h>.
31506         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31507         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31508         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31509         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31510         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31511         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31512         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31513         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31514         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31515         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31516         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31517         * sysdeps/x86_64/bits/atomic.h: Move to ...
31518         * sysdeps/x86_64/atomic-machine.h: ...here.
31519         * include/atomic.h: Include <atomic-machine.h> instead of
31520         <bits/atomic.h>.
31522         * sysdeps/mips/mips32/libm-test-ulps: Update.
31523         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31525         [BZ #18952]
31526         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31527         not convert non-integer negative arguments to int to determine the
31528         value of signgam.
31529         * math/auto-libm-test-in: Add more tests of lgamma.
31530         * math/auto-libm-test-out: Regenerated.
31532         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31533         cosh, csqrt, erfc, expm1 and lgamma.
31534         * math/auto-libm-test-out: Regenerated.
31535         * sysdeps/i386/fpu/libm-test-ulps: Update.
31536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31538 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
31540         [BZ #2542]
31541         [BZ #2543]
31542         [BZ #2558]
31543         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31544         __lgamma_neg for arguments from -28.0 to -2.0.
31545         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31546         __lgamma_negf for arguments from -15.0 to -2.0.
31547         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31548         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31549         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31550         Call __lgamma_negl for arguments from -33.0 to -2.0.
31551         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31552         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31553         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31554         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31555         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31556         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31557         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31558         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31559         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31560         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31561         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31562         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31563         (__lgamma_neg): Likewise.
31564         (__lgamma_negl): Likewise.
31565         (__lgamma_product): Likewise.
31566         (__lgamma_productl): Likewise.
31567         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31568         * math/auto-libm-test-in: Add more tests of lgamma.
31569         * math/auto-libm-test-out: Regenerated.
31570         * sysdeps/i386/fpu/libm-test-ulps: Update.
31571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31573 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
31575         [BZ #18675]
31576         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31578 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
31580         [BZ #14912]
31581         * bits/libc-lock.h: Move to ...
31582         * sysdeps/generic/libc-lock.h: ...here.
31583         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31584         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31585         * sysdeps/mach/hurd/libc-lock.h: ...here.
31586         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31587         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31588         * sysdeps/mach/bits/libc-lock.h: Move to ...
31589         * sysdeps/mach/libc-lock.h: ...here.
31590         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31591         * sysdeps/nptl/bits/libc-lock.h: Move to ...
31592         * sysdeps/nptl/libc-lock.h: ...here.
31593         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31594         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31595         * sysdeps/nptl/libc-lockP.h: ...here.
31596         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31597         * crypt/crypt_util.c: Include <libc-lock.h> instead of
31598         <bits/libc-lock.h>.
31599         * dirent/scandir-tail.c: Likewise.
31600         * dlfcn/dlerror.c: Likewise.
31601         * elf/dl-close.c: Likewise.
31602         * elf/dl-iteratephdr.c: Likewise.
31603         * elf/dl-lookup.c: Likewise.
31604         * elf/dl-open.c: Likewise.
31605         * elf/dl-support.c: Likewise.
31606         * elf/dl-writev.h: Likewise.
31607         * elf/rtld.c: Likewise.
31608         * grp/fgetgrent.c: Likewise.
31609         * gshadow/fgetsgent.c: Likewise.
31610         * gshadow/sgetsgent.c: Likewise.
31611         * iconv/gconv_conf.c: Likewise.
31612         * iconv/gconv_db.c: Likewise.
31613         * iconv/gconv_dl.c: Likewise.
31614         * iconv/gconv_int.h: Likewise.
31615         * iconv/gconv_trans.c: Likewise.
31616         * include/link.h: Likewise.
31617         * inet/getnameinfo.c: Likewise.
31618         * inet/getnetgrent.c: Likewise.
31619         * inet/getnetgrent_r.c: Likewise.
31620         * intl/bindtextdom.c: Likewise.
31621         * intl/dcigettext.c: Likewise.
31622         * intl/finddomain.c: Likewise.
31623         * intl/gettextP.h: Likewise.
31624         * intl/loadmsgcat.c: Likewise.
31625         * intl/localealias.c: Likewise.
31626         * intl/textdomain.c: Likewise.
31627         * libidn/idn-stub.c: Likewise.
31628         * libio/libioP.h: Likewise.
31629         * locale/duplocale.c: Likewise.
31630         * locale/freelocale.c: Likewise.
31631         * locale/newlocale.c: Likewise.
31632         * locale/setlocale.c: Likewise.
31633         * login/getutent_r.c: Likewise.
31634         * login/getutid_r.c: Likewise.
31635         * login/getutline_r.c: Likewise.
31636         * login/utmp-private.h: Likewise.
31637         * login/utmpname.c: Likewise.
31638         * malloc/mtrace.c: Likewise.
31639         * misc/efgcvt.c: Likewise.
31640         * misc/error.c: Likewise.
31641         * misc/fstab.c: Likewise.
31642         * misc/getpass.c: Likewise.
31643         * misc/mntent.c: Likewise.
31644         * misc/syslog.c: Likewise.
31645         * nis/nis_call.c: Likewise.
31646         * nis/nis_callback.c: Likewise.
31647         * nis/nss-default.c: Likewise.
31648         * nis/nss_compat/compat-grp.c: Likewise.
31649         * nis/nss_compat/compat-initgroups.c: Likewise.
31650         * nis/nss_compat/compat-pwd.c: Likewise.
31651         * nis/nss_compat/compat-spwd.c: Likewise.
31652         * nis/nss_nis/nis-alias.c: Likewise.
31653         * nis/nss_nis/nis-ethers.c: Likewise.
31654         * nis/nss_nis/nis-grp.c: Likewise.
31655         * nis/nss_nis/nis-hosts.c: Likewise.
31656         * nis/nss_nis/nis-network.c: Likewise.
31657         * nis/nss_nis/nis-proto.c: Likewise.
31658         * nis/nss_nis/nis-pwd.c: Likewise.
31659         * nis/nss_nis/nis-rpc.c: Likewise.
31660         * nis/nss_nis/nis-service.c: Likewise.
31661         * nis/nss_nis/nis-spwd.c: Likewise.
31662         * nis/nss_nisplus/nisplus-alias.c: Likewise.
31663         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31664         * nis/nss_nisplus/nisplus-grp.c: Likewise.
31665         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31666         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31667         * nis/nss_nisplus/nisplus-network.c: Likewise.
31668         * nis/nss_nisplus/nisplus-proto.c: Likewise.
31669         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31670         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31671         * nis/nss_nisplus/nisplus-service.c: Likewise.
31672         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31673         * nis/ypclnt.c: Likewise.
31674         * nptl/libc_pthread_init.c: Likewise.
31675         * nss/getXXbyYY.c: Likewise.
31676         * nss/getXXent.c: Likewise.
31677         * nss/getXXent_r.c: Likewise.
31678         * nss/nss_db/db-XXX.c: Likewise.
31679         * nss/nss_db/db-netgrp.c: Likewise.
31680         * nss/nss_db/nss_db.h: Likewise.
31681         * nss/nss_files/files-XXX.c: Likewise.
31682         * nss/nss_files/files-alias.c: Likewise.
31683         * nss/nsswitch.c: Likewise.
31684         * posix/regex_internal.h: Likewise.
31685         * posix/wordexp.c: Likewise.
31686         * pwd/fgetpwent.c: Likewise.
31687         * resolv/res_hconf.c: Likewise.
31688         * resolv/res_libc.c: Likewise.
31689         * shadow/fgetspent.c: Likewise.
31690         * shadow/lckpwdf.c: Likewise.
31691         * shadow/sgetspent.c: Likewise.
31692         * socket/opensock.c: Likewise.
31693         * stdio-common/reg-modifier.c: Likewise.
31694         * stdio-common/reg-printf.c: Likewise.
31695         * stdio-common/reg-type.c: Likewise.
31696         * stdio-common/vfprintf.c: Likewise.
31697         * stdio-common/vfscanf.c: Likewise.
31698         * stdlib/abort.c: Likewise.
31699         * stdlib/cxa_atexit.c: Likewise.
31700         * stdlib/fmtmsg.c: Likewise.
31701         * stdlib/random.c: Likewise.
31702         * stdlib/setenv.c: Likewise.
31703         * string/strsignal.c: Likewise.
31704         * sunrpc/auth_none.c: Likewise.
31705         * sunrpc/bindrsvprt.c: Likewise.
31706         * sunrpc/create_xid.c: Likewise.
31707         * sunrpc/key_call.c: Likewise.
31708         * sunrpc/rpc_thread.c: Likewise.
31709         * sysdeps/arm/backtrace.c: Likewise.
31710         * sysdeps/generic/ldsodefs.h: Likewise.
31711         * sysdeps/generic/stdio-lock.h: Likewise.
31712         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31713         * sysdeps/i386/backtrace.c: Likewise.
31714         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31715         * sysdeps/m68k/backtrace.c: Likewise.
31716         * sysdeps/mach/hurd/cthreads.c: Likewise.
31717         * sysdeps/mach/hurd/dirstream.h: Likewise.
31718         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31719         * sysdeps/nptl/malloc-machine.h: Likewise.
31720         * sysdeps/nptl/stdio-lock.h: Likewise.
31721         * sysdeps/posix/dirstream.h: Likewise.
31722         * sysdeps/posix/getaddrinfo.c: Likewise.
31723         * sysdeps/posix/system.c: Likewise.
31724         * sysdeps/pthread/aio_suspend.c: Likewise.
31725         * sysdeps/s390/s390-32/backtrace.c: Likewise.
31726         * sysdeps/s390/s390-64/backtrace.c: Likewise.
31727         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31728         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31729         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31730         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31731         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31732         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31733         * sysdeps/unix/sysv/linux/system.c: Likewise.
31734         * sysdeps/x86_64/backtrace.c: Likewise.
31735         * time/alt_digit.c: Likewise.
31736         * time/era.c: Likewise.
31737         * time/tzset.c: Likewise.
31738         * wcsmbs/wcsmbsload.c: Likewise.
31739         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31740         instead of <bits/libc-lock.h> in comment.
31742 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
31744         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31745         Only use .set mips2 if the current ISA is below mips2.
31746         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31747         Likewise.
31748         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31749         mips32r2 if the current ISA is below mips32r2.
31750         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31751         (TLS_IE): Updated to use the TLD_RDHWR macro.
31752         (TLS_LE): Likewise.
31753         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31754         __ASSEMBLER__ condition.
31756 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31758         Fix parallel build of before-compile targets.
31760         * sysdeps/mach/Makefile ($(patsubst
31761         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31762         mach-before-compile target.
31763         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31764         io fs process)): Move rule to dedicated hurd-before-compile target.
31766 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31768         Fix rules generating headers in hurd/ and mach/ when initial make call
31769         has subdir= explicitly set.
31771         * sysdeps/mach/Makefile ($(patsubst
31772         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31773         calling $(MAKE).
31774         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31775         io fs process)): Force subdir to hurd when calling $(MAKE).
31776         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31777         subdir to mach when calling $(MAKE).
31779 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
31781         Check sysheaders when looking for Mach and Hurd headers
31783         * sysdeps/mach/configure.ac: Add sysheaders check.
31784         * sysdeps/mach/configure: Regenerate.
31785         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31786         * sysdeps/mach/hurd/configure: Regenerate.
31788 2015-09-04  Roland McGrath  <roland@hack.frob.com>
31790         [BZ #18921]
31791         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31792         Fix inverted sense of test of 'o_directory_works' value.
31793         Reported by PĂĄdraig Brady <P@draigBrady.com>, diagnosed by
31794         Bernhard Voelker <mail@bernhard-voelker.de>.
31796 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31798         [BZ #14912]
31799         * bits/linkmap.h: Move to ...
31800         * sysdeps/generic/linkmap.h: ...here.
31801         * sysdeps/aarch64/bits/linkmap.h: Move to ...
31802         * sysdeps/aarch64/linkmap.h: ...here.
31803         * sysdeps/arm/bits/linkmap.h: Move to ...
31804         * sysdeps/arm/linkmap.h: ...here.
31805         * sysdeps/hppa/bits/linkmap.h: Move to ...
31806         * sysdeps/hppa/linkmap.h: ...here.
31807         * sysdeps/ia64/bits/linkmap.h: Move to ...
31808         * sysdeps/ia64/linkmap.h: ...here.
31809         * sysdeps/mips/bits/linkmap.h: Move to ...
31810         * sysdeps/mips/linkmap.h: ...here.
31811         * sysdeps/s390/bits/linkmap.h: Move to ...
31812         * sysdeps/s390/linkmap.h: ...here.
31813         * sysdeps/sh/bits/linkmap.h: Move to ...
31814         * sysdeps/sh/linkmap.h: ...here.
31815         * sysdeps/x86/bits/linkmap.h: Move to ...
31816         * sysdeps/x86/linkmap.h: ...here.
31817         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31819 2015-09-04  Andreas Schwab  <schwab@suse.de>
31821         [BZ #18635]
31822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31823         (__makecontext): Terminate FDE before return label.
31824         (__novec_makecontext): Likewise.
31826 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31828         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31829         first member of struct sv in syscall macro.
31831 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31833         [BZ #14912]
31834         * bits/stdio-lock.h: Move to ...
31835         * sysdeps/generic/stdio-lock.h: ...here.
31836         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31837         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31838         * sysdeps/nptl/stdio-lock.h: ...here.
31839         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31840         * include/libio.h: Include <stdio-lock.h> instead of
31841         <bits/stdio-lock.h>.
31842         * sysdeps/nptl/fork.c: Likewise.
31843         * sysdeps/pthread/flockfile.c: Likewise.
31844         * sysdeps/pthread/ftrylockfile.c: Likewise.
31845         * sysdeps/pthread/funlockfile.c: Likewise.
31847         [BZ #14912]
31848         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31849         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31850         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31851         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31852         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31853         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31854         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31856 2015-09-03  Roland McGrath  <roland@hack.frob.com>
31858         * elf/Makefile (test-xfail-tst-protected1a): New variable.
31859         (test-xfail-tst-protected1b): New variable.
31861 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
31863         [BZ #14912]
31864         * bits/libc-tsd.h: Move to ...
31865         * sysdeps/generic/libc-tsd.h: ...here.
31866         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31867         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31868         * sysdeps/mach/hurd/libc-tsd.h: ...here.
31869         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31870         * include/ctype.h: Include <libc-tsd.h> instead of
31871         <bits/libc-tsd.h>.
31872         * include/rpc/rpc.h: Likewise.
31873         * locale/localeinfo.h: Likewise.
31874         * sunrpc/rpc_thread.c: Likewise.
31875         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31876         * sysdeps/nptl/malloc-machine.h: Likewise.
31878         * Makefile (headers): Remove bits/libc-lock.h.
31879         * libio/Makefile (headers): Remove bits/stdio-lock.h.
31881         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31882         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31883         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31884         <bits/stdio-lock.h>.
31885         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31886         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31888 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31890         [BZ #18757]
31891         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31892         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31893         BZ #18757.
31895 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31897         * malloc/mtrace.pl: Filter out NULL entries.
31899 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
31901         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31902         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31903         macro.
31905         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31906         (TCP_CC_INFO): Likewise.
31907         (TCP_SAVE_SYN): Likewise.
31908         (TCP_SAVED_SYN): Likewise.
31910 2015-08-31  Brett Neumeier <brett@neumeier.us>
31912         [BZ #18870]
31913         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31915 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
31917         [BZ #18873]
31918         Fix broken overflow check in posix_fallocate
31919         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31920         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31921         Fix parenthesization typo.
31923 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
31925         [BZ #18887]
31926         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31927         tst-mntent-blank-passno.
31928         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31929         * misc/tst-mntent-blank-corrupt.c: New test.
31930         * misc/tst-mntent-blank-passno.c: New test ripped from ...
31931         * misc/tst-mntent.c (do_test): ... here.
31933 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
31935         [BZ #4404]
31936         * po/de.po: Fix SIGALRM typo.
31938 2015-08-28  James Perkins  <james@loowit.net>
31940         * time/tst-strptime2.c (tests): Replace short list of test
31941         strings for strptime %z specifier with code which exhaustively
31942         tests every combination of sign and 0 to 5 digits. Tests for
31943         rejection of invalid strings.
31945 2015-08-28  James Perkins  <james@loowit.net>
31947         [BZ #16141]
31948         * time/strptime_l.c (__strptime_internal): Fix %z minutes
31949         calculation, removing incorrect decimal time rounding, so that
31950         all minute values result in a valid seconds value.
31951         * time/strptime_l.c (__strptime_internal): Extend %z time zone
31952         offset range limits to UTC-99:59 through UTC+99:59 to parse
31953         current and historical use cases.
31954         * time/tst-strptime2.c (tests): Modify and add tests for the
31955         strptime %z input field descriptor, specifically conversion of
31956         minutes to seconds and validating an offset range of -9959 to
31957         +9959.
31959 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31960             Dmitry V. Levin  <ldv@altlinux.org>
31962         [BZ #18877]
31963         * posix/Makefile (tests): Add tst-mmap-offset.
31964         * posix/tst-mmap.c: New file.
31965         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
31966         offset calculation for negative values.
31968 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31970         * sysdeps/i386/init-arch.h: New file.
31971         * sysdeps/i386/i586/init-arch.h: Likewise.
31972         * sysdeps/i386/i686/init-arch.h: Likewise.
31973         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
31974         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
31975         * sysdeps/x86/cpu-features.h (bit_I586): New.
31976         (bit_I686): Likewise.
31977         (bit_CX8): Likewise.
31978         (bit_CMOV): Likewise.
31979         (index_CX8): Likewise.
31980         (index_CMOV): Likewise.
31981         (index_I586): Likewise.
31982         (index_I686): Likewise.
31983         (reg_CX8): Likewise.
31984         (reg_CMOV): Likewise.
31985         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
31986         available at compile-time.
31987         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
31988         available at compile-time.
31989         * sysdeps/x86/init-arch.h (USE_I586): New macro.
31990         (USE_I686): Likewise.
31992 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31994         * sysdeps/i386/bcopy.S: New file.
31995         * sysdeps/i386/bzero.S: Likewise.
31996         * sysdeps/i386/memcpy.S: Likewise.
31997         * sysdeps/i386/memmove.S: Likewise.
31998         * sysdeps/i386/mempcpy.S: Likewise.
31999         * sysdeps/i386/memset.S: Likewise.
32000         * sysdeps/i386/bzero.c: Removed.
32001         * sysdeps/i386/memset.c: Likewise.
32002         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
32003         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
32004         * sysdeps/i386/i586/memset_chk.S: Likewise.
32005         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
32006         * sysdeps/i386/memcpy_chk.S: Here.
32007         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
32008         * sysdeps/i386/memmove_chk.S: Here.
32009         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
32010         * sysdeps/i386/mempcpy_chk.S: Likewise.
32011         * sysdeps/i386/i686/memset_chk.S: Moved to ...
32012         * sysdeps/i386/memset_chk.S: Likewise.
32014 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
32016         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
32017         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
32018         file, move DIAG_POP_NEEDS_COMMENT to end of file.
32019         * soft-fp/fmadf4.c: Ditto.
32020         * soft-fp/fmatf4.c: Ditto.
32022 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32024         * sysdeps/i386/i586/Implies: Removed.
32025         * sysdeps/i386/i686/Implies: Likewise.
32027 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32029         * sysdeps/i386/i486/strlen.S: Moved to ...
32030         * sysdeps/i386/strlen.S: Here.
32032 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32034         * sysdeps/i386/i486/strcat.S: Moved to ...
32035         * sysdeps/i386/strcat.S: Here.
32037 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32039         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
32040         * sysdeps/i386/pthread_spin_trylock.S: Here.
32041         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
32042         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
32044 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32046         * sysdeps/i386/i486/string-inlines.c: Moved to ...
32047         * sysdeps/i386/string-inlines.c: Here.
32049 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32051         * sysdeps/i386/i486/htonl.S: Moved ...
32052         * sysdeps/i386/htonl.S: here.
32054 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32056         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
32057         * sysdeps/i386/bits/atomic.h: Here.
32059 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32061         * sysdeps/i386/i486/Versions: Removed.
32063 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
32065         [BZ #2898]
32066         * misc/mktemp.c: Add mkdtemp to the link_warning message.
32067         Based on patch by Aurelien Jarno.
32069 2015-08-26  Stan Shebs  <stanshebs@google.com>
32071         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
32072         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32074 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32076         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
32077         * sysdeps/powerpc/dl-procinfo.c:
32078         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
32079         feature so it shows when LD_SHOW_AUXV=1.
32081 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32083         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
32084         (__arch_compare_and_exchange_val_32_acq): Remove and use common
32085         definition.  ISA 2.07B no longer requires full sync.
32087 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
32089         [BZ #18863]
32090         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
32091         (si_call_addr): Define.
32092         (si_syscall): Define.
32093         (si_arch): Define.
32095 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
32097         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
32098         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
32099         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
32100         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32101         (__memset_zero_constant_len_parameter): New.
32102         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
32103         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32104         (__memset_zero_constant_len_parameter): Don't define if
32105         __memset_chk or USE_AS_BZERO are defined.
32107         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
32108         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
32109         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
32111         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
32112         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
32113         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32114         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
32115         comments.
32116         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32117         -mno-mmx for $(all-rtld-routines).
32118         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32119         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
32120         i386.
32122 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32124         * sysdeps/generic/unwind.h
32125         (_Unwind_Word): Use __mode__(__unwind_word__)
32126         instead of __mode__(__word__).
32127         (_Unwind_Sword): Likewise.
32129         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32130         (MAX_NEEDED_INPUT): New define.
32131         (MAX_NEEDED_OUTPUT): New define.
32133         * NEWS: New item for IBM z13 string optimizations.
32135         * sysdeps/s390/multiarch/memrchr-c.c: New File.
32136         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32137         * sysdeps/s390/multiarch/memrchr.c: Likewise.
32138         * sysdeps/s390/multiarch/Makefile
32139         (sysdep_routines): Add memrchr functions.
32140         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32141         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32143         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32144         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32145         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32146         * sysdeps/s390/multiarch/Makefile
32147         (sysdep_routines): Add wmemcmp functions.
32148         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32149         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32150         * benchtests/bench-wmemcmp.c: New File.
32151         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32153         * sysdeps/s390/multiarch/wmemset-c.c: New File.
32154         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32155         * sysdeps/s390/multiarch/wmemset.c: Likewise.
32156         * sysdeps/s390/multiarch/Makefile
32157         (sysdep_routines): Add wmemset functions.
32158         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32159         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32160         * wcsmbs/wmemset.c: Use WMEMSET if defined.
32161         * string/test-memset.c: Add wmemset support.
32162         * wcsmbs/test-wmemset.c: New File.
32163         * wcsmbs/Makefile (strop-tests): Add wmemset.
32164         * benchtests/bench-memset.c: Add wmemset support.
32165         * benchtests/bench-wmemset.c: New File.
32166         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32168         * sysdeps/s390/multiarch/memccpy-c.c: New File.
32169         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32170         * sysdeps/s390/multiarch/memccpy.c: Likewise.
32171         * sysdeps/s390/multiarch/Makefile
32172         (sysdep_routines): Add memccpy functions.
32173         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32174         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32175         * string/memccpy.c: Use MEMCCPY if defined.
32177         * sysdeps/s390/multiarch/memchr-vx.S: New File.
32178         * sysdeps/s390/multiarch/memchr.c: Likewise.
32179         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32180         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32181         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32182         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32183         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32184         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32185         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32186         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32187         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32188         and rawmemchr functions.
32189         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32190         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32191         and wmemchr.
32192         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32193         * string/test-memchr.c: Add wmemchr support.
32194         * wcsmbs/test-wmemchr.c: New File.
32195         * wcsmbs/Makefile (strop-tests): Add wmemchr.
32196         * benchtests/bench-memchr.c: Add wmemchr support.
32197         * benchtests/bench-wmemchr.c: New File.
32198         * benchtests/Makefile (wcsmbs-bench): wmemchr.
32200         * sysdeps/s390/multiarch/strcspn-c.c: New File.
32201         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32202         * sysdeps/s390/multiarch/strcspn.c: Likewise.
32203         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32204         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32205         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32206         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32207         wcscspn functions.
32208         * sysdeps/s390/multiarch/ifunc-impl-list.c
32209         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32210         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32211         * string/test-strcspn.c: Add wcscspn support.
32212         * wcsmbs/test-wcscspn.c: New File.
32213         * wcsmbs/Makefile (strop-tests): Add wcscspn.
32214         * benchtests/bench-strcspn.c: Add wcscspn support.
32215         * benchtests/bench-wcscspn.c: New File.
32216         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32218         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32219         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32220         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32221         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32222         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32223         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32224         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32225         wcspbrk functions.
32226         * sysdeps/s390/multiarch/ifunc-impl-list.c
32227         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32228         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32229         * string/test-strpbrk.c: Add wcspbrk support.
32230         * wcsmbs/test-wcspbrk.c: New File.
32231         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32232         * benchtests/bench-strpbrk.c: Add wcspbrk support.
32233         * benchtests/bench-wcspbrk.c: New File.
32234         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32236         * sysdeps/s390/multiarch/strspn-c.c: New File.
32237         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32238         * sysdeps/s390/multiarch/strspn.c: Likewise.
32239         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32240         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32241         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32242         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32243         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32244         wcsspn functions.
32245         * sysdeps/s390/multiarch/ifunc-impl-list.c
32246         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32247         * string/test-strspn.c: Add wcsspn support.
32248         * wcsmbs/test-wcsspn.c: New File.
32249         * wcsmbs/Makefile (strop-tests): Add wcsspn.
32250         * benchtests/bench-strspn.c: Add wcsspn support.
32251         * benchtests/bench-wcsspn.c: New File.
32252         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32254         * sysdeps/s390/multiarch/strrchr-c.c: New File.
32255         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32256         * sysdeps/s390/multiarch/strrchr.c: Likewise.
32257         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32258         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32259         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32260         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32261         wcsrchr functions.
32262         * sysdeps/s390/multiarch/ifunc-impl-list.c
32263         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32264         * benchtests/bench-wcsrchr.c: New File.
32265         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32267         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32268         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32269         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32270         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32271         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32272         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32273         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32274         wcschrnul functions.
32275         * sysdeps/s390/multiarch/ifunc-impl-list.c
32276         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32277         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32278         * string/test-strchr.c: Add wcschrnul support.
32279         * wcsmbs/test-wcschrnul.c: New File.
32280         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32281         * benchtests/bench-strchr.c: Add wcschrnul support.
32282         * benchtests/bench-wcschrnul.c: New File.
32283         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32285         * sysdeps/s390/multiarch/strchr-c.c: New File.
32286         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32287         * sysdeps/s390/multiarch/strchr.c: Likewise.
32288         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32289         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32290         * sysdeps/s390/multiarch/wcschr.c: Likewise.
32291         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32292         wcschr functions.
32293         * sysdeps/s390/multiarch/ifunc-impl-list.c
32294         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32295         * string/strchr.c (STRCHR): Define and use macro.
32296         * benchtests/bench-wcschr.c: New File.
32297         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32299         * sysdeps/s390/multiarch/strncmp-c.c: New File.
32300         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32301         * sysdeps/s390/multiarch/strncmp.c: Likewise.
32302         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32303         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32304         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32305         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32306         wcsncmp functions.
32307         * sysdeps/s390/multiarch/ifunc-impl-list.c
32308         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32309         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32310         * benchtests/bench-strncmp.c: Add wcsncmp support.
32311         * benchtests/bench-wcsncmp.c: New File.
32312         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32314         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32315         * sysdeps/s390/multiarch/strcmp.c: Likewise.
32316         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32317         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32318         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32319         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32320         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32321         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32322         wcscmp functions.
32323         * sysdeps/s390/multiarch/ifunc-impl-list.c
32324         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32325         * string/strcmp.c (STRCMP): Define and use macro.
32326         * benchtests/bench-wcscmp.c: New File.
32327         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32328         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32329         instead of _HAVE_STRING_ARCH_memchr.
32331         * sysdeps/s390/multiarch/strncat-c.c: New File.
32332         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32333         * sysdeps/s390/multiarch/strncat.c: Likewise.
32334         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32335         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32336         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32337         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32338         wcsncat functions.
32339         * sysdeps/s390/multiarch/ifunc-impl-list.c
32340         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32341         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32342         * string/test-strncat.c: Add wcsncat support.
32343         * wcsmbs/test-wcsncat.c: New File.
32344         * wcsmbs/Makefile (strop-tests): Add wcsncat.
32345         * benchtests/bench-strncat.c: Add wcsncat support.
32346         * benchtests/bench-wcsncat.c: New File.
32347         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32349         * sysdeps/s390/multiarch/strcat-c.c: New File.
32350         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32351         * sysdeps/s390/multiarch/strcat.c: Likewise.
32352         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32353         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32354         * sysdeps/s390/multiarch/wcscat.c: Likewise.
32355         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32356         wcscat functions.
32357         * sysdeps/s390/multiarch/ifunc-impl-list.c
32358         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32359         * string/strcat.c (STRCAT): Define and use macro.
32360         * wcsmbs/wcscat.c: Use WCSCAT if defined.
32361         * string/test-strcat.c: Add wcscat support.
32362         * wcsmbs/test-wcscat.c: New File.
32363         * wcsmbs/Makefile (strop-tests): Add wcscat.
32364         * benchtests/bench-strcat.c: Add wcscat support.
32365         * benchtests/bench-wcscat.c: New File.
32366         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32368         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32369         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32370         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32371         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32372         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32373         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32374         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32375         wcpncpy functions.
32376         * sysdeps/s390/multiarch/ifunc-impl-list.c
32377         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32378         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32379         * string/test-stpncpy.c: Add wcpncpy support.
32380         * wcsmbs/test-wcpncpy.c: New File.
32381         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32382         * benchtests/bench-stpncpy.c: Add wcpncpy support.
32383         * benchtests/bench-wcpncpy.c: New File.
32384         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32386         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32387         * sysdeps/s390/multiarch/strncpy.c: Likewise.
32388         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32389         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32390         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32391         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32392         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32393         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32394         wcsncpy functions.
32395         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32396         * sysdeps/s390/multiarch/ifunc-impl-list.c
32397         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32398         * string/test-strncpy.c: Add wcsncpy support.
32399         * wcsmbs/test-wcsncpy.c: New File.
32400         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32401         * benchtests/bench-strncpy.c: Add wcsncpy support.
32402         * benchtests/bench-wcsncpy.c: New File.
32403         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32405         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32406         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32407         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32408         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32409         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32410         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32411         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32412         wcpcpy functions.
32413         * string/stpcpy.c: Use STPCPY if defined.
32414         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32415         * sysdeps/s390/multiarch/ifunc-impl-list.c
32416         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32417         * string/test-stpcpy.c: Add wcpcpy support.
32418         * wcsmbs/test-wcpcpy.c: New File.
32419         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32420         * benchtests/bench-stpcpy.c: Add wcpcpy support.
32421         * benchtests/bench-wcpcpy.c: New File.
32422         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32424         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32425         * sysdeps/s390/multiarch/strcpy.c: Likewise.
32426         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32427         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32428         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32429         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32430         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32431         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32432         wcscpy functions.
32433         * sysdeps/s390/multiarch/ifunc-impl-list.c
32434         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32435         * benchtests/bench-wcscpy.c: New File.
32436         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32438         * sysdeps/s390/multiarch/strnlen-c.c: New File.
32439         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32440         * sysdeps/s390/multiarch/strnlen.c: Likewise.
32441         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32442         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32443         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32444         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32445         wcsnlen functions.
32446         * sysdeps/s390/multiarch/ifunc-impl-list.c
32447         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32448         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32449         * string/test-strnlen.c: Add wcsnlen support.
32450         * wcsmbs/test-wcsnlen.c: New File.
32451         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32452         * benchtests/bench-strnlen.c: Add wcsnlen support.
32453         * benchtests/bench-wcsnlen.c: New File.
32454         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32456         * sysdeps/s390/multiarch/Makefile: New File.
32457         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32458         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32459         * sysdeps/s390/multiarch/strlen.c: Likewise.
32460         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32461         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32462         * sysdeps/s390/multiarch/wcslen.c: Likewise.
32463         * string/strlen.c (STRLEN): Define and use macro.
32464         * sysdeps/s390/multiarch/ifunc-impl-list.c
32465         (IFUNC_VX_IMPL): New macro function.
32466         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32467         * benchtests/Makefile (wcsmbs-bench): New variable.
32468         (string-bench-all): Added wcsmbs-bench.
32469         * benchtests/bench-wcslen.c: New File.
32471         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32472         s390_vx_libc_ifunc2): New macro function.
32474         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32475         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32476         assembler support.
32477         * sysdeps/s390/configure: Regenerated.
32479         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32480         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32482         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32483         * sysdeps/s390/dl-procinfo.h: Add vector capability.
32484         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32486         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32487         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32488         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32489         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32490         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32491         (memcmp, bcmp): Use __memcmp_default as alias source.
32492         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32493         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32494         Rename to __memcmp_default.
32495         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32496         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32497         (memcpy): Use __memcpy_default as alias source.
32498         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32499         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32500         Rename to __memcpy_default.
32501         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32502         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32503         (memset): Use __memset_default as alias source.
32504         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32505         * sysdeps/s390/s390-32/memset.S (__memset_g5):
32506         Rename to __memset_default.
32507         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32508         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32509         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32510         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32511         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32512         (memcmp, bcmp): Use __memcmp_default as alias source.
32513         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32514         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32515         Rename to __memcmp_default.
32516         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32517         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32518         (memcpy): Use __memcpy_default as alias source.
32519         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32520         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32521         Rename to __memcpy_default.
32522         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32523         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32524         (memset): Use __memset_default as alias source.
32525         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32526         * sysdeps/s390/s390-64/memset.S (__memset_z900):
32527         Rename to __memset_default.
32528         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32529         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32531         [BZ #18610]
32532         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32533         __ieee_instruction_pointer to __unused.
32534         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32535         __ieee_instruction_pointer.
32536         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32537         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32538         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32539         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32540         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32541         Mark dxc-field as reserved.
32543 2015-08-25  Roland McGrath  <roland@hack.frob.com>
32545         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32546         if the weak reference is not null.
32548 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32550         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32552         [BZ #11214]
32553         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32555 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32557         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32558         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32559         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32560         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32561         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32562         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32563         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32564         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32565         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32566         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32567         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32568         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32569         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32570         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32571         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32572         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32573         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32574         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32576 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32578         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32579         register other than r0 for tabort, it has special meaning.
32580         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32581         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32582         transaction before starting syscall.
32584 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32586         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32588 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32590         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32592         * sysdeps/x86_64/rtld-memcmp.c: Removed.
32593         * sysdeps/x86_64/rtld-memset.S: Likewise.
32594         * sysdeps/x86_64/rtld-strchr.S: Likewise.
32595         * sysdeps/x86_64/rtld-strlen.S: Likewise.
32596         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32597         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32599         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32601 2015-08-25  Ondƙej BĂ­lka  <neleai@seznam.cz>
32603         * debug/strcpy_chk.c: Improve performance.
32604         * debug/stpcpy_chk.c: Likewise.
32605         * sysdeps/x86_64/strcpy_chk.S: Remove.
32606         * sysdeps/x86_64/stpcpy_chk.S: Remove.
32608         [BZ #18240]
32609         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32611 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32613         [BZ #15128]
32614         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32615         ifuncmain8.
32616         (modules-names): Add ifuncmod8.
32617         ($(objpfx)ifuncmain8): New rule.
32618         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32619         <cpuid.h>.
32620         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32621         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32622         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32623         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32624         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32625         * sysdeps/x86_64/dl-trampoline.h: Likewise.
32626         * sysdeps/x86_64/ifuncmain8.c: New file.
32627         * sysdeps/x86_64/ifuncmod8.c: Likewise.
32628         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32629         Removed.
32630         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32631         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32632         Change rtld_savespace_sse to __glibc_unused2.
32633         (RTLD_CHECK_FOREIGN_CALL): Removed.
32634         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32635         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32636         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32638 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32640         * sysdeps/aarch64/bzero.S (__bzero): Remove.
32642 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32644         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32645         Unconditionally set __fpcr to avoid uninialized warning.
32646         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32648 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32650         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32651         is corrupt.
32653         * malloc/arena.c (arena_get2): Drop unused argument.
32654         (arena_lock): Adjust.
32655         (arena_get_retry): Likewise.
32657 2015-08-24  Andreas Schwab  <schwab@suse.de>
32659         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32660         Don't define.
32661         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32662         (__ASSUME_IPC64): Don't undef.
32663         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32664         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32665         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32666         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32667         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32668         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32669         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32670         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32671         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32672         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32673         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32674         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32675         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32676         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32677         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32678         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32679         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32680         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32681         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32682         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32683         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32685 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
32687         * manual/Makefile (install): Only build manual when perl is available.
32689 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32691         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32692         '#undef memcpy' by '#undef memchr'.
32694 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32696         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32697         memchr not point to the internal __GI_memchr implementation.
32699 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32701         * timezone/Makefile (CFLAGS-zdump.c): Remove
32702         -Wno-strict-prototypes.
32703         (CFLAGS-zic.c): Likewise.
32704         (CFLAGS-ialloc.c): Likewise.
32705         (CFLAGS-scheck.c): Likewise.
32707         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32708         -Wno-error=undef.
32710 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32712         * i386/i686/multiarch/strcasestr-c.c: Removed.
32713         * x86_64/multiarch/strcasestr.c: Likewise.
32714         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32715         Remove strcasestr.
32717 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32719         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32721         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32722         variables for high and low parts before possibly modifying them.
32724 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32726         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32727         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32728         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32729         of "multiarch/init-arch.h".
32730         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32731         * sysdeps/x86/init-arch.h: This.
32733 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32735         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32736         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32738 2015-08-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
32740         [BZ #17787]
32741         * manual/macros.texi: Add twoexp macro.
32742         * manual/filesys.texi: Fix exponents.
32743         * manual/llio.texi: Likewise.
32744         * manual/stdio.texi: Likewise.
32746 2015-08-20  Florian Weimer  <fweimer@redhat.com>
32748         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32749         incorrect use.
32751 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32753         [BZ #18370]
32754         * math/s_csqrt.c (__csqrt): Force underflow exception for results
32755         whose real or imaginary part has small absolute value.
32756         * math/s_csqrtf.c (__csqrtf): Likewise.
32757         * math/s_csqrtl.c (__csqrtl): Likewise.
32758         * math/auto-libm-test-in: Add more tests of csqrt.
32759         * math/auto-libm-test-out: Regenerated.
32760         * sysdeps/i386/fpu/libm-test-ulps: Update.
32762 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
32764         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32765         __ppc_set_ppr_very_low): New functions.
32766         * manual/platform.texi: Add documentation about
32767         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32769 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
32771         * string/stpncpy.c (stpncpy): Improve performance using
32772         __strnlen/memcpy/memset.
32774 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32776         [BZ #18796]
32777         * scripts/test-installation.pl: Don't add -lmvec to build options if
32778         libmvec wasn't built.
32780 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32782         [BZ #14341]
32783         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32784         case when there is a gap between DT_REL and DT_JMPREL sections.
32785         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32786         (LDFLAGS-tst-split-dynreloc): New.
32787         (tst-split-dynreloc-ENV): Likewise.
32788         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32789         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32791 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32793         [BZ #18822]
32794         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32795         attribute_hidden.
32796         (__xstat64_conv): Likewise.
32797         (__xstat32_conv): Likewise.
32799 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32801         [BZ #18822]
32802         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32803         Don't load %ebx when calling __setcontext.  Call __setcontext
32804         with HIDDEN_JUMPTARGET.
32805         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32806         libc_hidden_def.
32808 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32810         * sysdeps/i386/i686/Makefile
32811         [$(subdir) == string] (sysdep_routines): Moved to ...
32812         * sysdeps/i386/Makefile: Here.
32813         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32814         * sysdeps/i386/cacheinfo.c: Here.
32815         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32816         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32817         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32818         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32820 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32822         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32823         __i586__ is defined.
32824         (HAS_I686): Defined to 1 if __i686__ is defined.
32826 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32828         * elf/Makefile [$(have-z-execstack) = yes]
32829         (CPPFLAGS-tst-execstack.c): New variable.
32831         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32832         conditional to [defined UTMPX || _HAVE_UT_TYPE].
32833         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32834         UTMPX || _HAVE_UT_TV].
32835         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32836         UTMPX || _HAVE_UT_TV - 0].
32838 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
32840         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32841         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32842         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32844 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32846         * sysdeps/powerpc/dl-procinfo.c:
32847         (_dl_powerpc_cap_flags): Added missing strings for some
32848         hwcap features.
32849         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32851 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
32853         Port the 0x7efe...feff pattern to GCC 6.
32854         See Steve Ellcey's bug report in:
32855         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32856         * string/memrchr.c (MEMRCHR):
32857         * string/rawmemchr.c (RAWMEMCHR):
32858         * string/strchr.c (strchr):
32859         * string/strchrnul.c (STRCHRNUL):
32860         Rewrite code to avoid issues with signed shift overflow.
32862 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
32864         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32865         whether cpuid is available only if HAS_CPUID is 0.
32866         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32867         (HAS_I586): Likewise.
32868         (HAS_I686): Likewise.
32870 2015-08-18  Zack Weinberg  <zackw@panix.com>
32872         * misc/Versions (libc): Add GLIBC_2.23.
32874 2015-08-18  Alan Modra  <amodra@gmail.com>
32876         [BZ #18421]
32877         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32878         .Lp__global.
32879         (_start): Load %dp via .Lp__global.
32880         [!SHARED]: Use .section .rodata.
32882 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32884         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32885         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32887 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32889         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32890         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32892 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32894         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32895         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32897 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32899         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32900         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32902 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32904         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32905         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32907 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32909         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32910         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32912 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32914         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32916 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32918         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32919         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
32920         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32921         (__ASSUME_LWS_CAS): Delete.
32923 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32925         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32926         * sysdeps/hppa/configure: Regenerated.
32927         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32928         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32929         * sysdeps/hppa/nptl/tls.h: Likewise.
32931 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
32933         [BZ #18823]
32934         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32935         for scaling up small arguments.
32936         * math/s_csqrtf.c (__csqrtf): Likewise.
32937         * math/s_csqrtl.c (__csqrtl): Likewise.
32938         * math/auto-libm-test-in: Add more tests of csqrt.
32939         * math/auto-libm-test-out: Regenerated.
32941 2015-08-17  Andreas Schwab  <schwab@suse.de>
32943         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32944         version set GLIBC_2.19.
32946 2015-08-16  Zack Weinberg  <zackw@panix.com>
32948         [BZ #18681]
32949         * misc/regexp.h: This interface is no longer supported.
32950         Remove all contents, leaving only an #error directive.
32951         * misc/regexp.c (loc1, loc2, locs, step, advance):
32952         Demote to compatibility symbols.
32954 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
32956         [BZ #18084]
32957         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
32958         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
32959         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
32960         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
32961         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
32962         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
32963         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
32964         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
32965         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
32967 2015-08-15  Zack Weinberg  <zackw@panix.com>
32969         [BZ #18795]
32970         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
32971         buffer length is known to be too large, not if it's known to be
32972         small enough.
32973         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
32974         overflow at runtime, involving a length parameter, twice: once
32975         with a compile-time constant length parameter, once without.
32977 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
32979         [BZ #18824]
32980         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
32981         scaling x * y up instead of down.
32982         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32983         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32984         * math/auto-libm-test-in: Add more tests of fma.
32985         * math/auto-libm-test-out: Regenerated.
32987 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32989         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32991 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32993         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
32994         unnecessary movq.
32995         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
32996         Likewise.
32998 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
33000         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33001         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
33002         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
33003         and tgamma.
33004         * math/auto-libm-test-out: Regenerated.
33005         * sysdeps/i386/fpu/libm-test-ulps: Update.
33006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33008         [BZ #16520]
33009         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
33010         (__tanh): Force underflow exception for arguments with small
33011         absolute value.
33012         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
33013         (__tanhf): Force underflow exception for arguments with small
33014         absolute value.
33015         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
33016         (__tanhl): Force underflow exception for arguments with small
33017         absolute value.
33018         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
33019         (__tanhl): Force underflow exception for arguments with small
33020         absolute value.
33021         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
33022         (__tanhl): Force underflow exception for arguments with small
33023         absolute value.
33024         * math/auto-libm-test-in: Add more tests of tanh.
33025         * math/auto-libm-test-out: Regenerated.
33026         * sysdeps/i386/fpu/libm-test-ulps: Update.
33028 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33030         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
33031         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
33033 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33035         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
33036         <cpuid.h>.
33038 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33040         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
33041         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
33043 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33045         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
33046         Remove $(objpfx)init-arch.o.
33047         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
33048         init-arch.
33049         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
33050         (INIT_ARCH_EXT): Defined as empty.
33051         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
33052         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
33053         __init_cpu_features call.  Replace HAS_XXX with
33054         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33055         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
33056         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
33057         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
33058         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
33059         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33060         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
33061         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
33062         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33063         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
33064         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
33065         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33066         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
33067         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
33068         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33069         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
33070         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
33071         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33072         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33073         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
33074         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
33075         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33076         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
33077         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
33078         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33079         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
33080         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
33081         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33082         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
33083         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
33084         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33085         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
33086         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
33087         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33088         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
33089         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
33091 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33093         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
33094         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33095         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33096         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33097         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
33098         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
33099         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
33100         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
33101         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
33102         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
33103         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
33104         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
33105         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33106         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33107         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33108         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33109         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33110         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33111         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33112         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33113         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33114         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33115         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33116         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33117         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33118         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33119         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33120         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33121         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33122         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33123         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33124         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33125         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33126         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33127         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33128         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33129         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33130         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33131         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33132         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33133         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33134         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33135         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33137 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33139         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33140         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33141         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33142         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33143         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33144         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33145         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33146         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33147         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33148         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33149         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33150         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33151         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33152         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33153         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33154         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33155         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33156         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33157         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33158         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33159         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33160         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33161         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33162         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33163         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33164         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33165         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33166         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
33167         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33168         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33169         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33170         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33171         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33172         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33173         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33174         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33175         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33176         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33177         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33178         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33179         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33180         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33181         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33183 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33185         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33186         (dl_platform_init): Call init_cpu_features.
33187         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33188         * sysdeps/i386/i686/cacheinfo.c
33189         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33190         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33191         * sysdeps/i386/i686/multiarch/Versions: Removed.
33192         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33193         Removed.
33194         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33195         * sysdeps/unix/sysv/linux/x86/Makefile
33196         (libpthread-sysdep_routines): Remove init-arch.
33197         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33198         <sysdeps/x86_64/dl-procinfo.c> instead of
33199         sysdeps/generic/dl-procinfo.c>.
33200         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33201         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33202         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33203         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33204         [$(subdir) == elf] (tests-static): Add
33205         tst-get-cpu-features-static.
33206         * sysdeps/x86/Versions: New file.
33207         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33208         * sysdeps/x86/cpu-features.c: Likewise.
33209         * sysdeps/x86/cpu-features.h: Likewise.
33210         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33211         * sysdeps/x86/libc-start.c: Likewise.
33212         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33213         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33214         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33215         * sysdeps/x86_64/dl-procinfo.c: Likewise.
33216         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33217         Assume USE_MULTIARCH is defined and don't check it.
33218         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33219         (is_amd): Likewise.
33220         (max_cpuid): Likewise.
33221         (intel_check_word): Likewise.
33222         (__cache_sysconf): Don't call __init_cpu_features.
33223         (__x86_preferred_memory_instruction): Removed.
33224         (init_cacheinfo): Don't call __init_cpu_features. Replace
33225         __cpu_features with GLRO(dl_x86_cpu_features).
33226         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33227         (dl_platform_init): Call init_cpu_features.
33228         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33229         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33230         * sysdeps/x86_64/multiarch/Versions: Removed.
33231         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33232         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33233         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33234         Removed.
33235         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33237 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33239         [BZ #18820]
33240         * libio/Makefile (test-fmemopen-mem): New test.
33241         * libio/test-fmemopen.c (do_bz18820): New test.
33242         * libio/fmemopen.c (__fmemopen): Fix memory leak.
33243         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33245 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33247         [BZ #16734]
33248         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33249         (FREE_BUF): Delete.
33250         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33251         * libio/genops.c (_IO_setb): Use malloc and free directly.
33252         (_IO_default_doallocate, _IO_default_finish): Likewise.
33253         ( _IO_unbuffer_all): Likewise.
33254         ( libc_freeres_fn): Likewise.
33255         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33256         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33257         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33258         (_IO_wdefault_doallocate): Likewise.
33260 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33262         [BZ #18086]
33263         * sysdeps/posix/nice.c (nice): Restore old errno.
33264         * posix/tst-nice.c (do_test): Add test for BZ #18086.
33266 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
33268         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33270 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33272         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33273         __bcopy and add a weak_alias to bcopy.
33274         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33275         for static build.
33277         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33278         cleanup macro usage.
33279         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33280         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33281         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33282         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33283         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33284         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33285         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33286         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33287         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33288         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33289         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33290         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33291         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33292         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33293         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33294         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33295         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33296         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33297         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33299         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33300         libc_hidden_def.
33301         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33303         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33304         (sysdep_routines): Add strstr-ppc64.
33305         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33307 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
33309         [BZ #18778]
33310         * elf/Makefile (tests): Add Add tst-nodelete2.
33311         (modules-names): Add tst-nodelete2mod.
33312         (tst-nodelete2mod.so-no-z-defs): New.
33313         ($(objpfx)tst-nodelete2): Likewise.
33314         ($(objpfx)tst-nodelete2.out): Likewise.
33315         (LDFLAGS-tst-nodelete2): Likewise.
33316         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33317         out of loop through all loaded libraries.
33318         * elf/tst-nodelete2.c: New file.
33319         * elf/tst-nodelete2mod.c: Likewise.
33320         * elf/tst-znodelete-zlib.cc: Delete.
33322 2015-08-11  Andreas Schwab  <schwab@suse.de>
33324         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33325         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33326         (__openat64_nocancel): Likewise.
33328 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
33330         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33331         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33332         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33333         * math/auto-libm-test-out: Regenerated.
33334         * sysdeps/i386/fpu/libm-test-ulps: Update.
33335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33337 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33339         [BZ #18790]
33340         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33341         threshold for returning +/- 1.
33342         * math/auto-libm-test-in: Add more tests of tanh.
33343         * math/auto-libm-test-out: Regenerated.
33344         * sysdeps/i386/fpu/libm-test-ulps: Update.
33346 2015-08-10  Andreas Schwab  <schwab@suse.de>
33348         [BZ #18781]
33349         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33350         MORE_OFLAGS to oflag.
33351         * io/test-lfs.c (do_test): Test openat64.
33353 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33355         [BZ #18789]
33356         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33357         smaller threshold for returning the argument.
33358         * math/auto-libm-test-in: Add more tests of sinh.
33359         * math/auto-libm-test-out: Regenerated.
33360         * sysdeps/i386/fpu/libm-test-ulps: Update.
33362 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33364         [BZ #18674]
33365         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33366         break.
33368 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
33370         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33371         (generated): Don't add $(addprefix z.,$(tzfiles)).
33373 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33375         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33376         * scripts/sysd-rules.awk: Likewise.
33378 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33380         * iconvdata/tst-tables.sh: Change echo -n to printf.
33381         * nss/db-Makefile: Likewise.
33382         * posix/tst-getconf.sh: Likewise.
33383         * stdio-common/tst-unbputc.sh: Likewise.
33385 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33387         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33388         MADV_*_PAGES defines behind this feature check.
33390 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
33392         [BZ #18480]
33393         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33394         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33395         Define.
33396         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33397         LOAD_REGS_5, LOAD_REGS_6): Update.
33398         (INTERNAL_SYSCALL): Update using new LOAD defines.
33399         (INTERNAL_SYSCALL_NCS): Likewise.
33400         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33402 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33404         [BZ #16734]
33405         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33407 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33409         [BZ #17905]
33410         * catgets/Makefile (tst-catgets-mem): New test.
33411         * catgets/catgets.c (catopen): Don't use unbounded alloca.
33412         * catgets/open_catalog.c (__open_catalog): Likewise.
33413         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33415 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
33417         [BZ #18787]
33418         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33419         clobber registers.
33420         (atomic_compare_and_exchange_val_acq): Use register asms to assign
33421         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
33422         Cast return to __typeof (oldval).
33424 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
33426         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33427         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
33428         and delete sys/syscall.h include.
33430 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
33432         [BZ #16517]
33433         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33434         (tan): Force underflow exception for arguments with small absolute
33435         value.
33436         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33437         (__kernel_tanf): Force underflow exception for arguments with
33438         small absolute value.
33439         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33440         (__kernel_tanl): Force underflow exception for arguments with
33441         small absolute value.
33442         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33443         (__kernel_tanl): Force underflow exception for arguments with
33444         small absolute value.
33445         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33446         (__kernel_tanl): Force underflow exception for arguments with
33447         small absolute value.
33448         * math/auto-libm-test-in: Add more tests of tan.
33449         * math/auto-libm-test-out: Regenerated.
33451 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33453         Fix sysdeps/i386/fpu/s_scalbn.S build
33455         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33457 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
33459         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33461 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33463         Fix gcrt0.o compilation
33465         When static-start-installed-name is different from
33466         start-installed-name, we must not use the shared objects.
33468         * csu/Makefile
33469         (extra-objs): Add gmon-start.o when building shared library and
33470         $(static-start-installed-name) is different from
33471         $(start-installed-name).
33472         $(objpfx)g$(static-start-installed-name): When building shared
33473         library and $(static-start-installed-name) is different from
33474         $(static-start-installed-name), revert to non-shared rule,
33475         i.e. using $(objpfx)% and gmon-start.o.
33477 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
33479         [BZ #16519]
33480         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33481         (__ieee754_sinh): Force underflow exception for arguments with
33482         small absolute value.
33483         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33484         (__ieee754_sinhf): Force underflow exception for arguments with
33485         small absolute value.
33486         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33487         (__ieee754_sinhl): Force underflow exception for arguments with
33488         small absolute value.
33489         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33490         (__ieee754_sinhl): Force underflow exception for arguments with
33491         small absolute value.
33492         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33493         (__ieee754_sinhl): Force underflow exception for arguments with
33494         small absolute value.
33495         * math/auto-libm-test-in: Add more tests of sinh.
33496         * math/auto-libm-test-out: Regenerated.
33497         * sysdeps/i386/fpu/libm-test-ulps: Update.
33499 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33501         * libio/oldfileops.c: Include unistd.h.
33503 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
33505         * stdlib/isomac.c: Include ctype.h.
33507 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
33509         * dirent/tst-seekdir.c (main): Converted to ...
33510         (do_test): ... this.
33511         (TEST_FUNCTION): New macro.
33512         Include test-skeleton.c.
33513         * elf/tst-dlmodcount.c (main): Converted to ...
33514         (do_test): ... this.
33515         (TEST_FUNCTION): New macro.
33516         Include test-skeleton.c.
33517         * elf/tst-order-main.c (main): Converted to ...
33518         (do_test): ... this.
33519         (TEST_FUNCTION): New macro.
33520         Include test-skeleton.c.
33521         * elf/tst-pie2.c (main): Converted to ...
33522         (do_test): ... this.
33523         (TEST_FUNCTION): New macro.
33524         Include test-skeleton.c.
33525         * inet/tst-ether_aton.c (main): Converted to ...
33526         (do_test): ... this.
33527         (TEST_FUNCTION): New macro.
33528         Include test-skeleton.c.
33529         * misc/tst-mntent.c (main): Converted to ...
33530         (do_test): ... this.
33531         (TEST_FUNCTION): New macro.
33532         Include test-skeleton.c.
33533         * misc/tst-tsearch.c (main): Converted to ...
33534         (do_test): ... this.
33535         (TEST_FUNCTION): New macro.
33536         Include test-skeleton.c.
33537         * posix/tst-regexloc.c (main): Converted to ...
33538         (do_test): ... this.
33539         (TEST_FUNCTION): New macro.
33540         Include test-skeleton.c.
33541         * resolv/tst-aton.c (main): Converted to ...
33542         (do_test): ... this.
33543         (TEST_FUNCTION): New macro.
33544         Include test-skeleton.c.
33545         * stdio-common/test-fwrite.c (main): Converted to ...
33546         (do_test): ... this.
33547         (TEST_FUNCTION): New macro.
33548         Include test-skeleton.c.
33549         * stdio-common/tst-ferror.c (main): Converted to ...
33550         (do_test): ... this.
33551         (TEST_FUNCTION): New macro.
33552         Include test-skeleton.c.
33553         * stdio-common/tst-printf.c (main): Converted to ...
33554         (do_test): ... this.
33555         (TEST_FUNCTION): New macro.
33556         Include test-skeleton.c.
33557         * stdio-common/tst-printfsz.c (main): Converted to ...
33558         (do_test): ... this.
33559         (TEST_FUNCTION): New macro.
33560         Include test-skeleton.c.
33561         * stdlib/tst-strtod.c (main): Converted to ...
33562         (do_test): ... this.
33563         (TEST_FUNCTION): New macro.
33564         Include test-skeleton.c.
33565         * string/tst-strlen.c (main): Converted to ...
33566         (do_test): ... this.
33567         (TEST_FUNCTION): New macro.
33568         Include test-skeleton.c.
33569         * string/tst-svc.c (main): Converted to ...
33570         (do_test): ... this.
33571         (TEST_FUNCTION): New macro.
33572         Include test-skeleton.c.
33573         * time/tst-strptime.c (main): Converted to ...
33574         (do_test): ... this.
33575         (TEST_FUNCTION): New macro.
33576         Include test-skeleton.c.
33577         * timezone/tst-timezone.c (main): Converted to ...
33578         (do_test): ... this.
33579         (TEST_FUNCTION): New macro.
33580         Include test-skeleton.c.
33582 2015-08-05  Zack Weinberg  <zackw@panix.com>
33584         * misc/regexp.h: Update comments.
33586 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
33588         [BZ #18635]
33589         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33590         before return label.
33592 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33594         [BZ #18661]
33595         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33596         when calling __errno_location.
33597         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33598         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33600 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33602         [BZ #18661]
33603         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33604         (__lll_timedwait_tid): Align stack to 16 bytes when calling
33605         __gettimeofday.
33607 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33609         [BZ #18661]
33610         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33611         (__start_context): Don't use pop to restore %rdi so that stack
33612         is aligned to 16 bytes when calling __setcontext.
33614 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33616         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33617         only for libc.
33618         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33620 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33622         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33623         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
33624         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33626 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33628         * string/memccpy.c (memccpy):
33629         Improve performance by using memchr/memcpy/__mempcpy.
33631 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33633         * string/strncpy.c (strncpy):
33634         Improve performance by using __strnlen/memcpy.
33636 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33638         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33639         Optimize to avoid an unnecessary FPCR read.
33641 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33643         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33644         Optimize to reduce FPCR/FPSR accesses.
33646 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33648         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33649         dead->data[category] != NULL.
33651 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
33653         [BZ #18647]
33654         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33655         and |x| close to 1, use absolute value of x when computing log.
33656         * math/auto-libm-test-in: Add more tests of pow.
33657         * math/auto-libm-test-out: Regenerated.
33659 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33661         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33662         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33663         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33665 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
33667         [BZ #18525]
33668         * locales/km_KH: Remove timezone definition.
33669         * locales/lo_LA: Likewise.
33670         * locales/my_MM: Likewise.
33671         * locales/nan_TW@latin: Likewise.
33672         * locales/th_TH: Likewise.
33673         * locales/uk_UA: Likewise.
33675 2015-08-05  Daniel MarjamĂ€ki  <daniel.marjamaki@evidente.se>
33677         [BZ #18265]
33678         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33679         (wcsncat): Likewise.
33680         (wcscmp): Likewise.
33681         (wcsncmp): Likewise.
33683 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33685         * test-skeleton.c (usage): New function.
33686         (main): Call usage when opt is '?'.
33688 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33690         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33691         before first use.
33693 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33695         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33696         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
33697         in there too.
33699 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
33701         * version.h (RELEASE): Set to "development".
33702         (VERSION): Set to "2.22.90"
33704         * version.h (RELEASE): Set to "stable".
33705         (VERSION): Set to "2.22"
33706         * include/features.h (__GLIBC_MINOR__): Set to 22.
33708 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
33710         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33711         Restructure macro to avoid "value computed is not used" warning.
33712         (atomic_compare_and_exchange_val_acq): Likewise.
33714 2015-08-04  Andreas Schwab  <schwab@suse.de>
33716         [BZ #18635]
33717         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33718         ret.
33719         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33721 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
33723         * po/pl.po: Updated translation.
33724         * po/uk.po: Likewise.
33725         * po/fi.po: Likewise.
33726         * po/ko.po: Likewise.
33727         * po/ru.po: Likewise.
33728         * po/vi.po: Likewise.
33730 2015-07-31  Zack Weinberg  <zackw@panix.com>
33732         [BZ #18681]
33733         * regexp.h: Add unconditional #warning stating that this header
33734         will be removed soon.  Revise banner comment to match.
33735         (compile): Consistently use ERROR instead of RETURN to report
33736         errors (partial fix for BZ #18681).
33737         * regexp.c: Don't include regexp.h. Remove some unnecessary
33738         declarations.
33740 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
33742         * po/libc.pot: Regenerated.
33744 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33746         [BZ #18740]
33747         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33748         float-vlen4-arch-ext-cflags): Removed.
33749         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33750         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33752 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33754         [BZ #14113]
33755         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33756         aligned to __aligned__.
33757         (pthread_cond_t, pthread_rwlock_t): Likewise.
33759 2015-07-30  Torvald Riegel  <triegel@redhat.com>
33761         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33763 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33765         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33766         (struct sigaction): Change sa_flags from a long to an int, and add
33767         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33769 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33771         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33772         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33773         sysdeps/generic/sysdep.h include.
33774         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33775         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
33776         sysdeps/hppa/sysdep.h.
33777         (ENTRY, PSEUDO): Undefine before defining.
33779 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33781         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33782         from scratch to use INTERNAL_SYSCALL.
33784 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
33786         [BZ #18078]
33787         * scripts/check-localplt.awk: Support alternate relocations.
33788         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33789         sections.
33790         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33791         malloc entries with + REL R_386_GLOB_DAT.
33792         * sysdeps/x86_64/localplt.data: New file.
33794 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
33796         [BZ #18731]
33797         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33798         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33799         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33801 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33803         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33805 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33807         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33808         directly in terms of __sync_fetch_and_add and delete (int) cast.
33810 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33812         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33813         the -D_ASM_IA64_CURRENT_H flag.
33815 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33817         [BZ #18641]
33818         * pwd/pwd.h (putpwent): Delete __nonnull markings.
33820 2015-07-27  Andreas Schwab  <schwab@suse.de>
33822         * conform/conformtest.pl (checknamespace): Filter out string
33823         literals while tokenizing.
33825 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33827         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33828         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33829         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33831 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33833         * nptl/tst-join7mod.c: Add #include <string.h>.
33835 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33837         * sysdeps/nios2/libm-test-ulps: Update.
33839 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33841         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33842         Fix order of arguments to the rt_sigprocmask syscall.
33843         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33844         Likewise.
33846 2015-07-24  Roland McGrath  <roland@hack.frob.com>
33848         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33850 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33852         [BZ #18457]
33853         * nptl/Makefile (tests): New test case tst-join7.
33854         (modules-names): New test case module tst-join7mod.
33855         * nptl/tst-join7.c: New file.
33856         * nptl/tst-join7mod.c: New file.
33857         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33858         all translation units in libc.so, libpthread.so and rtld.
33860 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33864 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33866         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33867         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33868         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33869         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33870         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33871         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33872         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33873         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33874         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33875         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33876         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33877         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33878         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33879         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33880         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33881         implementation.
33883 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33885         [BZ #17711]
33886         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33887         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33888         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33889         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33890         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33891         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33893 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33895         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33896         instead of just saying load lock in the comments.
33898 2015-07-23  Roland McGrath  <roland@hack.frob.com>
33900         * sysdeps/unix/Subdirs: Moved ...
33901         * sysdeps/posix/Subdirs: ... here.
33902         * login/pty.h (struct termios, struct winsize): Add forward decls.
33903         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33904         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33905         * sysdeps/arm/nacl/libc.abilist: Updated.
33906         * sysdeps/nacl/libutil.abilist: New file.
33908         * bits/signum.h: Update comments to mention 1003.1-2013 too.
33909         (SIGWINCH): New macro.
33911         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33912         * sysdeps/arm/nacl/libc.abilist: Add it.
33914 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33916         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33918 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33920         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33921         Swap __glibc_reserved0 and sa_flags order.
33923 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33925         [BZ #18657]
33926         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33927         are pending TLS destructor calls.
33928         * include/link.h (struct link_map): Add concurrency note for
33929         L_TLS_DTOR_COUNT.
33930         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33931         Don't touch the link map flag.  Atomically increment
33932         l_tls_dtor_count.
33933         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33934         Avoid taking the load lock and don't touch the link map flag.
33935         * stdlib/tst-tls-atexit-nodelete.c: New test case.
33936         * stdlib/Makefile (tests): Use it.
33937         * stdlib/tst-tls-atexit.c (do_test): dlopen
33938         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
33939         to allow tst-tls-atexit-nodelete test case to use it.
33941 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33943         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33944         to bits/types.h.
33945         (msgqnum_t): New typedef.
33946         (msglen_t): Likewise.
33947         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
33948         and msg_qbytes type to msglen_t.
33950 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33952         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33953         pad0 to __glibc_reserved0.
33954         (struct stat64): Likewise.
33956 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33958         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33959         Change sa_flags from a long to an int and add __glibc_reserved0 before
33960         it for padding.
33962 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33964         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
33965         anonymous by deleting "siginfo" name.
33967 2015-07-21  Roland McGrath  <roland@hack.frob.com>
33969         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
33970         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
33971         rather than __nacl_irt_filename.
33972         * sysdeps/nacl/xstat.c (__xstat): Likewise.
33974         * NEWS: New item for arm-nacl port.
33975         * sysdeps/arm/nacl/libc.abilist: New file.
33976         * sysdeps/nacl/ld.abilist: New file.
33977         * sysdeps/nacl/libBrokenLocale.abilist: New file.
33978         * sysdeps/nacl/libanl.abilist: New file.
33979         * sysdeps/nacl/libcrypt.abilist: New file.
33980         * sysdeps/nacl/libdl.abilist: New file.
33981         * sysdeps/nacl/libm.abilist: New file.
33982         * sysdeps/nacl/libpthread.abilist: New file.
33983         * sysdeps/nacl/libresolv.abilist: New file.
33984         * sysdeps/nacl/librt.abilist: New file.
33986 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
33988         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
33989         __startcontext to initialize the new context.
33990         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
33991         up CFI directive to forbid further backtracing.
33993 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
33995         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
33996         reference.
33997         * charmaps/ANSI_X3.4-1968: Likewise.
33998         * charmaps/BS_4730: Likewise.
33999         * charmaps/BS_VIEWDATA: Likewise.
34000         * charmaps/CP1250: Likewise.
34001         * charmaps/CP1251: Likewise.
34002         * charmaps/CP1252: Likewise.
34003         * charmaps/CP1253: Likewise.
34004         * charmaps/CP1254: Likewise.
34005         * charmaps/CP1255: Likewise.
34006         * charmaps/CP1256: Likewise.
34007         * charmaps/CSN_369103: Likewise.
34008         * charmaps/EBCDIC-DK-NO: Likewise.
34009         * charmaps/GB_1988-80: Likewise.
34010         * charmaps/GREEK-CCITT: Likewise.
34011         * charmaps/GREEK7: Likewise.
34012         * charmaps/INIS-8: Likewise.
34013         * charmaps/ISIRI-3342: Likewise.
34014         * charmaps/ISO_2033-1983: Likewise.
34015         * charmaps/ISO_5427-EXT: Likewise.
34016         * locales/POSIX: Likewise.
34017         * locales/ar_SA: Likewise.
34018         * locales/be_BY: Likewise.
34019         * locales/be_BY@latin: Likewise.
34020         * locales/ca_ES: Likewise.
34021         * locales/cs_CZ: Likewise.
34022         * locales/da_DK: Likewise.
34023         * locales/de_BE: Likewise.
34024         * locales/de_CH: Likewise.
34025         * locales/de_LU: Likewise.
34026         * locales/en_AU: Likewise.
34027         * locales/en_BW: Likewise.
34028         * locales/en_CA: Likewise.
34029         * locales/en_DK: Likewise.
34030         * locales/en_GB: Likewise.
34031         * locales/en_IE: Likewise.
34032         * locales/en_NZ: Likewise.
34033         * locales/en_ZA: Likewise.
34034         * locales/en_ZW: Likewise.
34035         * locales/es_AR: Likewise.
34036         * locales/es_BO: Likewise.
34037         * locales/es_CL: Likewise.
34038         * locales/es_CO: Likewise.
34039         * locales/es_DO: Likewise.
34040         * locales/es_EC: Likewise.
34041         * locales/es_ES: Likewise.
34042         * locales/es_HN: Likewise.
34043         * locales/es_MX: Likewise.
34044         * locales/es_PA: Likewise.
34045         * locales/es_PE: Likewise.
34046         * locales/es_PY: Likewise.
34047         * locales/es_SV: Likewise.
34048         * locales/es_US: Likewise.
34049         * locales/es_UY: Likewise.
34050         * locales/es_VE: Likewise.
34051         * locales/et_EE: Likewise.
34052         * locales/fa_IR: Likewise.
34053         * locales/fo_FO: Likewise.
34054         * locales/fr_CA: Likewise.
34055         * locales/fr_CH: Likewise.
34056         * locales/gv_GB: Likewise.
34057         * locales/he_IL: Likewise.
34058         * locales/hr_HR: Likewise.
34059         * locales/id_ID: Likewise.
34060         * locales/is_IS: Likewise.
34061         * locales/it_CH: Likewise.
34062         * locales/iw_IL: Likewise.
34063         * locales/kl_GL: Likewise.
34064         * locales/ko_KR: Likewise.
34065         * locales/kw_GB: Likewise.
34066         * locales/lg_UG: Likewise.
34067         * locales/lt_LT: Likewise.
34068         * locales/lv_LV: Likewise.
34069         * locales/mi_NZ: Likewise.
34070         * locales/nhn_MX: Likewise.
34071         * locales/nl_BE: Likewise.
34072         * locales/pl_PL: Likewise.
34073         * locales/sk_SK: Likewise.
34074         * locales/sl_SI: Likewise.
34075         * locales/sv_FI: Likewise.
34076         * locales/tl_PH: Likewise.
34077         * locales/tr_TR: Likewise.
34078         * locales/vi_VN: Likewise.
34080 2015-07-21  Khem Raj  <raj.khem@gmail.com>
34082         [BZ #17475]
34083         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
34084         of tu_IN and bh_IN.
34086 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
34088         [BZ #18694]
34089         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
34090         bits/wordsize.h.
34091         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
34093 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34095         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
34096         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
34097         (spawn_thread): New function.
34098         (load): Rename to reg_dtor_and_close.  Move dlopen to...
34099         (do_test): ... here.  Use IS_LOADED to test for its
34100         availability.
34102 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
34104         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34106 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
34108         [BZ #18696]
34109         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
34110         si_addr_bnd.
34111         (si_lower): New.
34112         (si_upper): Likewise.
34114 2015-07-16  David S. Miller  <davem@davemloft.net>
34116         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34118 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34120         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34121         buffer.
34122         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34123         fail output information.
34125 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34128         and strstr-ppc64..
34129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34130         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34131         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34132         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34133         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34135 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34137         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34138         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34139         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34140         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34142 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34144         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34145         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34146         rtld_hidden_proto.
34147         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34149 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34151         * tst-nodelete-opened.c (do_test): Add comment to clarify how
34152         the test can fail.
34154         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34156         [BZ #18676]
34157         * elf/tst-nodelete-opened.c: New test case.
34158         * elf/tst-nodelete-opened-lib.c: New test case module.
34159         * elf/Makefile (tests, modules-names): Use them.
34160         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34161         early.
34163 2015-07-15  David S. Miller  <davem@davemloft.net>
34165         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34166         futex-intenal.h
34167         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34168         * sysdeps/sparc/sparc64/Makefile: Likewise.
34169         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34170         Remove space from macro define.
34171         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34173 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
34175         [BZ #17475]
34176         * locale/iso-639.def: Update Bhili and Tulu language codes as
34177         per iso639-3.
34179 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
34181         * elf/tst-leaks1.c (main): Converted to ...
34182         (do_test): ... this.
34183         (TEST_FUNCTION): New macro.
34184         Include test-skeleton.c.
34185         * localedata/tst-langinfo.c (main): Converted to ...
34186         (do_test): ... this.
34187         (TEST_FUNCTION): New macro.
34188         Include test-skeleton.c.
34189         * math/test-fpucw.c (main): Converted to ...
34190         (do_test): ... this.
34191         (TEST_FUNCTION): New macro.
34192         Include test-skeleton.c.
34193         * math/test-tgmath.c (main): Converted to ...
34194         (do_test): ... this.
34195         (TEST_FUNCTION): New macro.
34196         Include test-skeleton.c.
34197         * math/test-tgmath2.c (main): Converted to ...
34198         (do_test): ... this.
34199         (TEST_FUNCTION): New macro.
34200         Include test-skeleton.c.
34201         * setjmp/tst-setjmp.c (main): Converted to ...
34202         (do_test): ... this.
34203         (TEST_FUNCTION): New macro.
34204         Include test-skeleton.c.
34205         * stdio-common/tst-sscanf.c (main): Converted to ...
34206         (do_test): ... this.
34207         (TEST_FUNCTION): New macro.
34208         Include test-skeleton.c.
34209         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34210         (do_test): ... this.
34211         (TEST_FUNCTION): New macro.
34212         Include test-skeleton.c.
34214         * elf/tst-audit9.c (main): Converted to ...
34215         (do_test): ... this.
34216         (TEST_FUNCTION): New macro.
34217         Include test-skeleton.c.
34219 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
34221         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34223 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34225         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34226         New variable.
34228 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34230         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34232 2015-07-14  Roland McGrath  <roland@hack.frob.com>
34234         * sysdeps/generic/dl-fileid.h: New file.
34235         * sysdeps/posix/dl-fileid.h: New file.
34236         * sysdeps/nacl/dl-fileid.h: New file.
34237         * include/link.h: Include <dl-fileid.h>.
34238         (struct link_map): Replace l_dev and l_ino with l_file_id.
34239         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34240         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
34241         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
34243 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34245         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34247 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34249         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34250         Add iff $CXX is set.
34251         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34252         Likewise.
34253         (tst-nodelete-zmodiff): Likewise.
34254         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34256 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34258         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34260 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34262         * sysdeps/aarch64/fpu/math_private.h
34263         (define math_opt_barrier): Add AArch64 version.
34264         (math_force_eval): Likewise.
34266 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34268         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34270 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
34272         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34273         %ld with %jd and cast to intmax_t.
34274         (do_test_length_zero): Likewise.
34276 2015-07-10  Roland McGrath  <roland@hack.frob.com>
34278         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34280 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
34282         * sysdeps/tile/libm-test-ulps: Regenerated.
34284         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34285         Comment out the whole function, not just its body.
34287 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34289         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34290         locks.
34292         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34294 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34296         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34297         (sem_assume_only_signals_cause_futex_EINTR): Remove.
34299 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34301         * sysdeps/nptl/futex-internal.h: New file.
34302         * sysdeps/nacl/futex-internal.h: New file.
34303         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34304         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34305         error checking.
34306         (setxid_unmark_thread): Likewise.
34307         (__nptl_setxid): Likewise.
34308         (__wait_lookup_done): Likewise.
34309         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34310         * nptl/nptl-init.c (sighandler_setxid): Likewise.
34311         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34312         * nptl/pthread_once.c (clear_once_control): Likewise.
34313         (__pthread_once_slow): Likewise.
34314         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34315         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34316         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34317         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34318         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34319         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34320         Likewise.
34321         (__pthread_rwlock_rdlock): Likewise.
34322         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34323         Likewise.
34324         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34325         Likewise.
34326         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34327         Likewise.
34328         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34329         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34330         Likewise.
34331         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34332         __ASSUME_PRIVATE_FUTEX check.
34333         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34334         Check that shared futexes are supported.
34335         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34336         wrappers with error checking.
34337         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34338         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34339         * nptl/pthread_barrierattr_setpshared.c
34340         (pthread_barrierattr_setpshared): Check that shared futexes are
34341         supported.
34342         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34343         Likewise.
34344         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34345         Likewise.
34346         * nptl/sem_init.c (futex_private_if_supported): Remove.
34347         (__new_sem_init): Adapt and check that shared futexes are supported.
34348         * nptl/sem_open.c (sem_open): Likewise.
34349         * nptl/sem_post.c (futex_wake): Remove.
34350         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34351         (do_futex_wait): Use futex wrappers with error checking.
34352         * nptl/sem_wait.c: Include lowlevellock.h.
34353         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34354         Use futex_supports_pshared.
34355         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34356         Use futex wrappers with error checking.
34357         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34358         Likewise.
34359         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34360         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34361         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34362         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34363         (futex_wake): Likewise.
34364         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34365         (do_futex_wait): Use futex wrappers with error checking.
34366         (__new_sem_wait_slow): Update EINTR handling.
34367         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34369 2015-07-09  Martin Sebor  <msebor@redhat.com>
34371         [BZ #18435]
34372         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34373         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34374         * nptl/Makefile (test-xfail-tst-once5): Define.
34376 2015-07-09  Roland McGrath  <roland@hack.frob.com>
34378         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34379         * elf/dl-minimal.c: For readability, reorder some definitions and
34380         introduce more page breaks.  Include <stdio.h>.
34381         (__libc_fatal): New function.
34383         * include/unistd.h: Add rtld_hidden_proto for _exit.
34384         * posix/_exit.c: Add rtld_hidden_def.
34385         * sysdeps/mach/hurd/_exit.c: Likewise.
34386         * sysdeps/nacl/_exit.c: Likewise.
34387         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34388         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34390 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
34392         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34393         bndmov encoding with zero displacement.
34395 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34396             H.J. Lu  <hongjiu.lu@intel.com>
34398         [BZ #18134]
34399         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34400         * sysdeps/i386/configure: Regenerated.
34401         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34402         (_dl_runtime_profile): Save and restore Intel MPX return bound
34403         registers when calling _dl_call_pltexit.  Add
34404         PRESERVE_BND_REGS_PREFIX before return.
34405         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34406         (LRV_BND1_OFFSET): Likewise.
34407         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34408         lrv_bnd1.
34409         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34410         typo in bndmov encoding.
34411         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34412         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
34413         branch instructions to preserve bounds.
34415 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34418         [GLIBC_2.22]: Add fmemopen.
34420 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34422         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34423         returns an error, also try to use host port from __mach_host_self for
34424         the __vm_wire call.
34425         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34427 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34429         [BZ #18400]
34430         [BZ #18648]
34431         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34432         Fix pr_uid and pr_gid members.
34433         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34434         definition to elf_greg_t.
34436 2015-07-08  Roland McGrath  <roland@hack.frob.com>
34438         [BZ #18383]
34439         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34440         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34441         * sysdeps/arm/configure: Regenerated.
34442         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34443         (test-xfail-tst-tlsalign-static): Variable removed.
34445         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34446         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34447         rather than explicit 'ln -s'.
34449         * resolv/rpc/netdb.h: New file.
34450         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34452 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34454         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34455         length buffers.
34456         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34457         test-skeleton.c.
34459         [BZ #6544]
34460         [BZ #11216]
34461         [BZ #12836]
34462         [BZ #13151]
34463         [BZ #13152]
34464         [BZ #14292]
34465         * include/stdio.h (fmemopen): Remove hidden prototype.
34466         (__fmemopen): Add new hidden prototype.
34467         * libio/Makefile: Add oldfmemopen object.
34468         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34469         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34470         compliance.
34471         * libio/oldfmemopen.c: New file: old fmemopen implementation for
34472         symbol compatibility.
34473         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34474         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34475         fmemopen.
34476         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34477         on append and read mode.
34478         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34479         fmemopen.
34480         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34481         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34482         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34483         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34484         Likewise.
34485         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34486         [GLIBC_2.22]: Likewise.
34487         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34488         Likewise.
34489         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34490         Likewise.
34491         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34492         [GLIBC_2.22]: Likewise.
34493         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34494         [GLIBC_2.22]: Likewise.
34495         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34496         [GLIBC_2.22]: Likewise.
34497         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34498         [GLIBC_2.22]: Likewise.
34499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34500         [GLIBC_2.22]: Likewise.
34501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34502         [GLIBC_2.22]: Likewise.
34503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34504         [GLIBC_2.22]: Likewise.
34505         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34506         Likewise.
34507         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34508         Likewise.
34509         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34510         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34511         [GLIBC_2.22]: Likewise.
34512         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34513         [GLIBC_2.22]: Likewise.
34514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34515         [GLIBC_2.22]: Likewise.
34516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34517         [GLIBC_2.22]: Likewise.
34518         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34519         Likewise.
34520         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34521         Likewise.
34522         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34523         Likewise.
34524         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34525         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34527 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34529         [BZ #18643]
34530         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34531         IPV6_PATHMTU, and IPV6_DONTFRAG.
34533 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
34535         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34536         and _IO_UNBUFFERED.
34537         * libio/oldfileops.c: Likewise.
34538         * libio/wfileops.c: Likewise.
34540 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34542         * nscd/selinux.c: Delete selinux/flask.h include.
34544 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34546         [BZ #18641]
34547         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34548         (putpwent): Likewise.
34549         (getpwnam): Likewise.
34550         (getpwent_r): Likewise.
34551         (getpwuid_r): Likewise.
34552         (getpwnam_r): Likewise.
34553         (fgetpwent_r): Likewise.
34555 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34557         [BZ #18557]
34558         * inet/rcmd.c (__validuser2_sa): Check user first to
34559         short-circuit host check.
34561 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
34562             Mikhail Ilin  <m.ilin@samsung.com>
34564         [BZ #17833]
34565         * elf/Makefile (tests): Add tst-nodelete.
34566         (modules-names): Add tst-nodelete-uniquemod.
34567         (tst-nodelete-uniquemod.so-no-z-defs): New.
34568         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34569         (tst-nodelete-zmod.so-no-z-defs): Likewise.
34570         ($(objpfx)tst-nodelete): Likewise.
34571         ($(objpfx)tst-nodelete.out): Likewise.
34572         (LDFLAGS-tst-nodelete): Likewise.
34573         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34574         * elf/dl-close.c (_dl_close_worker): Add a parameter to
34575         implement forced object deletion.
34576         (_dl_close): Pass false to _dl_close_worker.
34577         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34578         * elf/tst-nodelete.cc: New file.
34579         * elf/tst-nodeletelib.cc: Likewise.
34580         * elf/tst-znodeletelib.cc: Likewise.
34581         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34583 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34585         [BZ #18508]
34586         * stdlib/Makefile ($(objpfx)tst-makecontext3):
34587         Depend on $(libdl).
34588         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34589         is not called infinitely times.
34590         (backtrace_helper): New function.
34591         (trace_arg): New struct.
34592         (st1): Enlarge stack size.
34593         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34594         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34595         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34596         Likewise.
34598 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34600         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34602 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34604         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34605         Include sys/types.h instead of bits/types.h.
34606         Remove inclusion of bits/wordsize.h.
34608 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34610         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34611         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34612         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34613         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34614         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34615         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34617 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34619         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34620         link-defines.sym.
34621         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34622         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34623         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34624         and LR_SIZE.
34625         * sysdeps/i386/link-defines.sym: New file.
34627 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34629         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34630         (modules-names): Add tst-auditmod3a tst-auditmod3b.
34631         ($(objpfx)tst-audit3): New rule.
34632         ($(objpfx)tst-audit3.out): Likewise.
34633         * sysdeps/i386/tst-audit3.c: New file.
34634         * sysdeps/i386/tst-audit3.h: Likewise.
34635         * sysdeps/i386/tst-auditmod3a.c: Likewise.
34636         * sysdeps/i386/tst-auditmod3b.c: Likewise.
34638 2015-07-07  Torvald Riegel  <triegel@redhat.com>
34640         [BZ #18633]
34641         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34642         pointer in C code.
34643         (__strcat_c): Likewise.
34644         (__strcat_g): Likewise.
34646 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
34648         [BZ #18592]
34649         * misc/sbrk.c: Set errno to ENOMEM on overflow.
34651 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34653         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34654         New function.  (__ieee754_sqrtf): New function.
34655         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34656         New function.
34657         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34658         New function.
34660 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34662         * sysdeps/ieee754/support.c: Remove unused file.
34664 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34666         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34667         registers instead of d ones so the layout is kernel abi compatible.
34668         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34669         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34670         Likewise.
34672 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34674         * sysdeps/aarch64/libm-test-ulps: Regenerated.
34676 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34678         [BZ #18619]
34679         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34680         and return argument in case of subnormal argument.
34682 2015-07-01  Martin Sebor  <msebor@redhat.com>
34684         [BZ #18435]
34685         * nptl/Makefile: Add tst-once5.cc.
34686         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34687         Remove macro redefinitions.
34688         * nptl/tst-once5.cc: New test.
34690 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34692         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34694         * sysdeps/arm/libm-test-ulps: Regenerated.
34696         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34697         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34699 2015-06-30  Torvald Riegel  <triegel@redhat.com>
34701         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34702         lll_lock_wait_private and lll_futex_wake probes.
34704         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34705         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34706         Likewise.
34707         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34708         atomic_spin_nop.
34709         * sysdeps/x86_64/bits/atomic.h: Likewise.
34710         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34711         to atomic_spin_nop and move ...
34712         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34713         ... here and ...
34714         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34715         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34716         atomic_spin_nop instead of BUSY_WAIT_NOP.
34717         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34718         Likewise.
34719         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34720         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34721         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34722         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34723         instead of atomic_delay.
34725 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
34727         [BZ #18613]
34728         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34729         X_ADJ not X when adjusting exponent.
34730         (__ieee754_gamma_r): Do intermediate computations in
34731         round-to-nearest then adjust overflowing and underflowing results
34732         as needed.
34733         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34734         of X_ADJ not X when adjusting exponent.
34735         (__ieee754_gammaf_r): Do intermediate computations in
34736         round-to-nearest then adjust overflowing and underflowing results
34737         as needed.
34738         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34739         log of X_ADJ not X when adjusting exponent.
34740         (__ieee754_gammal_r): Do intermediate computations in
34741         round-to-nearest then adjust overflowing and underflowing results
34742         as needed.  Use 1.0L not 1.0f as numerator of division.
34743         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34744         log of X_ADJ not X when adjusting exponent.
34745         (__ieee754_gammal_r): Do intermediate computations in
34746         round-to-nearest then adjust overflowing and underflowing results
34747         as needed.  Use 1.0L not 1.0f as numerator of division.
34748         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34749         of X_ADJ not X when adjusting exponent.
34750         (__ieee754_gammal_r): Do intermediate computations in
34751         round-to-nearest then adjust overflowing and underflowing results
34752         as needed.  Use 1.0L not 1.0f as numerator of division.
34753         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
34754         to auto-libm-test-in.
34755         (tgamma_test): Use ALL_RM_TEST.
34756         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
34757         tests of tgamma with spurious-overflow.
34758         * math/auto-libm-test-out: Regenerated.
34759         * math/gen-libm-have-vector-test.sh: Do not check for START.
34760         * sysdeps/i386/fpu/libm-test-ulps: Update.
34761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34763         [BZ #18612]
34764         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34765         arguments, just return 0.5 times the argument, with underflow
34766         forced as needed.
34767         * math/auto-libm-test-in: Add more tests of j1.
34768         * math/auto-libm-test-out: Regenerated.
34770         [BZ #16559]
34771         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34772         (__ieee754_j1): Force underflow exception for small results.
34773         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34774         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34775         (__ieee754_j1f): Force underflow exception for small results.
34776         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34777         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34778         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34779         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34780         (__ieee754_j1l): Force underflow exception for small results.
34781         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34782         * math/auto-libm-test-in: Add more tests of j1 and jn.
34783         * math/auto-libm-test-out: Regenerated.
34785         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34786         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34787         (PF_MPLS): Likewise.
34788         (AF_IB): Likewise.
34789         (AF_MPLS): Likewise.
34790         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34791         value and macro.
34792         (MS_RMT_MASK): Include MS_LAZYTIME.
34794 2015-06-26  Mel Gorman  <mgorman@suse.de>
34796         [BZ #18502]
34797         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34798         already minimal.
34800 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
34802         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34803         (DT_MIPS_NUM): Update.
34804         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34805         DT_MIPS_RLD_MAP_REL.
34807 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
34809         [BZ #16559]
34810         [BZ #18602]
34811         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34812         round-to-nearest internally then recompute results that
34813         underflowed to zero in the original rounding mode.
34814         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34815         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34816         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34817         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34818         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34819         * sysdeps/i386/fpu/libm-test-ulps: Update.
34820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34822 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34824         * NEWS: Fixed description of link with vector math library.
34826 2015-06-25  Andreas Schwab  <schwab@suse.de>
34828         [BZ #18549]
34829         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34830         * libio/test-fmemopen.c (do_test): Add test for it.
34832 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34834         [BZ #17841]
34835         * Makeconfig (no-pie-ldflag): New.
34836         (+link): Set to $(+link-pie) if default to PIE.
34837         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34838         * config.make.in (build-pie-default): New.
34839         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
34840         is default.  AC_SUBST.
34841         * configure: Regenerated.
34842         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34844 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34846         * nptl/descr.h (struct pthread): Change type of field setxid_futex
34847         to 'unsigned int'.
34849         * resolv/gai_misc.h (struct waitlist): Change type of field
34850         counterp to 'volatile unsigned int *'.
34851         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34852         FUTEXADDR and OLDVAL.
34853         * resolv/getaddrinfo_a.c (getaddrinfo_a):
34854         Give local variable TOTAL type 'volatile unsigned int'.
34855         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34856         * resolv/gai_suspend.c (gai_suspend):
34857         Give local variable CNTR type 'unsigned int'.
34859         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34860         counterp to 'volatile unsigned int *'.
34861         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34862         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34863         (aio_suspend): Give local variable CNTR type 'unsigned int'.
34864         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34865         Give local variable TOTAL type 'volatile unsigned int'.
34866         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34868 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34870         [BZ #18383]
34871         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34872         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
34873         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34874         comment for i386/x86-64.
34875         (test-xfail-tst-tlsalign-extern-static): Removed.
34877 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34879         * math/test-double.h: New file.
34880         * math/test-float.h: Likewise.
34881         * math/test-ldouble.h: Likewise.
34882         * math/test-math-inline.h: Likewise.
34883         * math/test-math-no-inline.h: Likewise.
34884         * math/test-math-scalar.h: Likewise.
34885         * math/test-math-vector.h: Likewise.
34886         * math/test-vec-loop.h: Remove file.  Contents moved into
34887         test-math-vector.h.
34888         * math/libm-test.inc (MATHCONST): Do not document macro.
34889         * math/test-double.c: Include test-double.h, test-math-no-inline.h
34890         and test-math-scalar.h.
34891         (FUNC): Remove macro.
34892         (FUNC_TEST): Likewise.
34893         (FLOAT): Likewise.
34894         (MATHCONST): Likewise.
34895         (PRINTF_EXPR): Likewise.
34896         (PRINTF_XEXPR): Likewise.
34897         (PRINTF_NEXPR): Likewise.
34898         (TEST_DOUBLE): Likewise.
34899         (TEST_MATHVEC): Likewise.
34900         (__NO_MATH_INLINES): Likewise.
34901         * math/test-float.c: Include test-float.h, test-math-no-inline.h
34902         and test-math-scalar.h.
34903         (FUNC): Remove macro.
34904         (FUNC_TEST): Likewise.
34905         (FLOAT): Likewise.
34906         (MATHCONST): Likewise.
34907         (PRINTF_EXPR): Likewise.
34908         (PRINTF_XEXPR): Likewise.
34909         (PRINTF_NEXPR): Likewise.
34910         (TEST_FLOAT): Likewise.
34911         (TEST_MATHVEC): Likewise.
34912         (__NO_MATH_INLINES): Likewise.
34913         * math/test-idouble.c: Include test-double.h, test-math-inline.h
34914         and test-math-scalar.h.
34915         (FUNC): Remove macro.
34916         (FUNC_TEST): Likewise.
34917         (FLOAT): Likewise.
34918         (MATHCONST): Likewise.
34919         (PRINTF_EXPR): Likewise.
34920         (PRINTF_XEXPR): Likewise.
34921         (PRINTF_NEXPR): Likewise.
34922         (TEST_DOUBLE): Likewise.
34923         (TEST_MATHVEC): Likewise.
34924         (TEST_INLINE): Likewise.
34925         (__NO_MATH_INLINES): Likewise.
34926         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34927         test-math-scalar.h.
34928         (FUNC): Remove macro.
34929         (FUNC_TEST): Likewise.
34930         (FLOAT): Likewise.
34931         (MATHCONST): Likewise.
34932         (PRINTF_EXPR): Likewise.
34933         (PRINTF_XEXPR): Likewise.
34934         (PRINTF_NEXPR): Likewise.
34935         (TEST_FLOAT): Likewise.
34936         (TEST_MATHVEC): Likewise.
34937         (TEST_INLINE): Likewise.
34938         (__NO_MATH_INLINES): Likewise.
34939         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34940         and test-math-scalar.h.
34941         (FUNC): Remove macro.
34942         (FUNC_TEST): Likewise.
34943         (FLOAT): Likewise.
34944         (MATHCONST): Likewise.
34945         (PRINTF_EXPR): Likewise.
34946         (PRINTF_XEXPR): Likewise.
34947         (PRINTF_NEXPR): Likewise.
34948         (TEST_LDOUBLE): Likewise.
34949         (TEST_MATHVEC): Likewise.
34950         (TEST_INLINE): Likewise.
34951         (__NO_MATH_INLINES): Likewise.
34952         * math/test-ldouble.c: Include test-ldouble.h,
34953         test-math-no-inline.h and test-math-scalar.h.
34954         (FUNC): Remove macro.
34955         (FUNC_TEST): Likewise.
34956         (FLOAT): Likewise.
34957         (MATHCONST): Likewise.
34958         (PRINTF_EXPR): Likewise.
34959         (PRINTF_XEXPR): Likewise.
34960         (PRINTF_NEXPR): Likewise.
34961         (TEST_LDOUBLE): Likewise.
34962         (TEST_MATHVEC): Likewise.
34963         (__NO_MATH_INLINES): Likewise.
34964         * math/test-double-vlen2.h: Include test-double.h,
34965         test-math-no-inline.h and test-math-vector.h.
34966         (FLOAT): Remove macro.
34967         (FUNC): Likewise.
34968         (MATHCONST): Likewise.
34969         (PRINTF_EXPR): Likewise.
34970         (PRINTF_XEXPR): Likewise.
34971         (PRINTF_NEXPR): Likewise.
34972         (TEST_DOUBLE): Likewise.
34973         (TEST_MATHVEC): Likewise.
34974         (__NO_MATH_INLINES): Likewise.
34975         (CNCT): Likewise.
34976         (CONCAT): Likewise.
34977         (WRAPPER_NAME): Likewise.
34978         (WRAPPER_DECL): Likewise.
34979         (WRAPPER_DECL_ff): Likewise.
34980         (WRAPPER_DECL_fFF): Likewise.
34981         (VECTOR_WRAPPER): Likewise.
34982         (VECTOR_WRAPPER_ff): Likewise.
34983         (VECTOR_WRAPPER_fFF): Likewise.
34984         (VEC_LEN): New macro.
34985         * math/test-double-vlen4.h: Include test-double.h,
34986         test-math-no-inline.h and test-math-vector.h.
34987         (FLOAT): Remove macro.
34988         (FUNC): Likewise.
34989         (MATHCONST): Likewise.
34990         (PRINTF_EXPR): Likewise.
34991         (PRINTF_XEXPR): Likewise.
34992         (PRINTF_NEXPR): Likewise.
34993         (TEST_DOUBLE): Likewise.
34994         (TEST_MATHVEC): Likewise.
34995         (__NO_MATH_INLINES): Likewise.
34996         (CNCT): Likewise.
34997         (CONCAT): Likewise.
34998         (WRAPPER_NAME): Likewise.
34999         (WRAPPER_DECL): Likewise.
35000         (WRAPPER_DECL_ff): Likewise.
35001         (WRAPPER_DECL_fFF): Likewise.
35002         (VECTOR_WRAPPER): Likewise.
35003         (VECTOR_WRAPPER_ff): Likewise.
35004         (VECTOR_WRAPPER_fFF): Likewise.
35005         (VEC_LEN): New macro.
35006         * math/test-double-vlen8.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-float-vlen4.h: Include test-float.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_FLOAT): 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-float-vlen8.h: Include test-float.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_FLOAT): 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-vlen16.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         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
35091         test-vec-loop.h.
35092         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35093         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35094         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35095         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35096         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35097         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35098         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35100 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35102         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
35103         (__getlogin_r): ... this.
35105 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35107         [BZ #18594]
35108         * math/s_ccosh.c (__ccosh): Compare with least normal value
35109         instead of comparing class with FP_SUBNORMAL.
35110         * math/s_ccoshf.c (__ccoshf): Likewise.
35111         * math/s_ccoshl.c (__ccoshl): Likewise.
35112         * math/s_cexp.c (__cexp): Likewise.
35113         * math/s_cexpf.c (__cexpf): Likewise.
35114         * math/s_cexpl.c (__cexpl): Likewise.
35115         * math/s_csin.c (__csin): Likewise.
35116         * math/s_csinf.c (__csinf): Likewise.
35117         * math/s_csinh.c (__csinh): Likewise.
35118         * math/s_csinhf.c (__csinhf): Likewise.
35119         * math/s_csinhl.c (__csinhl): Likewise.
35120         * math/s_csinl.c (__csinl): Likewise.
35121         * math/s_ctan.c (__ctan): Likewise.
35122         * math/s_ctanf.c (__ctanf): Likewise.
35123         * math/s_ctanh.c (__ctanh): Likewise.
35124         * math/s_ctanhf.c (__ctanhf): Likewise.
35125         * math/s_ctanhl.c (__ctanhl): Likewise.
35126         * math/s_ctanl.c (__ctanl): Likewise.
35127         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35128         csin, csinh, ctan and ctanh.
35129         * math/auto-libm-test-out: Regenerated.
35130         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35131         * sysdeps/i386/fpu/libm-test-ulps: Update.
35132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35134 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35136         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35137         return value is wrong, print the expected value too.
35139 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35141         [BZ #18585]
35142         * elf/readlib.c (is_gdb_python_file): New.
35143         (process_file): Don't issue errors on filenames with -gdb.py
35144         suffix.
35146 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35148         * math/auto-libm-test-in: Add more tests of csin and csinh.
35149         * math/auto-libm-test-out: Regenerated.
35150         * math/libm-test.inc (csin_test_data): Remove tests moved to
35151         auto-libm-test-in.
35152         (csinh_test_data): Likewise.
35154         [BZ #18593]
35155         * math/s_csin.c (__csin): Negate before rather than after possibly
35156         overflowing multiplication.
35157         * math/s_csinf.c (__csinf): Likewise.
35158         * math/s_csinh.c (__csinh): Likewise.
35159         * math/s_csinhf.c (__csinhf): Likewise.
35160         * math/s_csinhl.c (__csinhl): Likewise.
35161         * math/s_csinl.c (__csinl): Likewise.
35162         * math/auto-libm-test-in: Add some tests of csin and csinh.
35163         * math/auto-libm-test-out: Regenerated.
35164         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35165         (csinh_test_data): Likewise.
35166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35168         [BZ #18586]
35169         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35170         underflow exception for small results.
35172 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
35174         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35175         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35176         variable and included header.
35177         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35178         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35179         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35180         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35181         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35182         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35183         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35184         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35185         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35186         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35187         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35188         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35189         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35190         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35191         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35192         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35194 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35196         [BZ #16526]
35197         [BZ #16538]
35198         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35199         (__sin): Force underflow exception for arguments with small
35200         absolute value.
35201         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35202         (__kernel_sinf): Force underflow exception for arguments with
35203         small absolute value.
35204         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35205         (__kernel_sincosl): Force underflow exception for arguments with
35206         small absolute value.
35207         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35208         (__kernel_sinl): Force underflow exception for arguments with
35209         small absolute value.
35210         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35211         (__kernel_sincosl): Force underflow exception for arguments with
35212         small absolute value.
35213         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35214         (__kernel_sinl): Force underflow exception for arguments with
35215         small absolute value.
35216         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35217         (__kernel_sinl): Force underflow exception for arguments with
35218         small absolute value.
35219         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35220         (__kernel_sinf): Force underflow exception for arguments with
35221         small absolute value.
35222         * math/auto-libm-test-in: Add more tests of sin and sincos.
35223         * math/auto-libm-test-out: Regenerated.
35225         [BZ #18245]
35226         [BZ #18583]
35227         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35228         (__kernel_standard_l): Use feholdexcept and fesetenv around
35229         conversion to double instead of special-casing overflow and
35230         underflow.
35231         * math/libm-test.inc (fmod_test_data): Add more tests.
35232         (remainder_test_data): Likewise.
35233         (sqrt_test_data): Likewise.
35235 2015-06-23  Torvald Riegel  <triegel@redhat.com>
35237         [BZ #17403]
35238         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35239         atomic_read_barrier, atomic_write_barrier): Define.
35240         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35241         atomic_read_barrier, atomic_write_barrier): Define.
35243 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35245         * math/Makefile [$(PERL) != no]
35246         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35247         dependency on libm-test.stmp below the inclusion of Rules.
35249 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
35251         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35252         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35253         and included header.
35254         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35255         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35256         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35257         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35258         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35259         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35260         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35261         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35262         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35263         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35264         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35265         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35266         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35267         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35268         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35269         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35270         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35271         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35272         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35274 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35276         [BZ #18371]
35277         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35278         intermediate but not final result might underflow.
35279         * math/s_csqrtf.c (__csqrtf): Likewise.
35280         * math/s_csqrtl.c (__csqrtl): Likewise.
35281         * math/auto-libm-test-in: Add more tests of csqrt.
35282         * math/auto-libm-test-out: Regenerated.
35283         * sysdeps/i386/fpu/libm-test-ulps: Update.
35285         [BZ #18219]
35286         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35287         threshold on absolute value of exponent for which scaling is used.
35288         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35289         * math/auto-libm-test-in: Add more tests of exp2.
35290         * math/auto-libm-test-out: Regenerated.
35292 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
35294         [BZ #17977]
35295         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35296         when initializing interface list, based on the bug analysis
35297         and the patch proposed by Eric Newton.
35298         * resolv/tst-res_hconf_reorder.c: New test.
35299         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35300         tst-res_hconf_reorder.
35301         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35302         and $(shared-thread-library).
35303         (tst-res_hconf_reorder-ENV): New variable.
35305         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35306         in comment.
35308 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
35310         [BZ #16353]
35311         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35312         (__expm1): Force underflow exception for arguments with small
35313         absolute value.
35314         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35315         (__expm1f): Force underflow exception for arguments with small
35316         absolute value.
35317         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35318         (__expm1): Force underflow exception for arguments with small
35319         absolute value.
35320         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35321         (__expm1f): Force underflow exception for arguments with small
35322         absolute value.
35323         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35324         Check for small arguments before calling __expm1.
35325         * math/auto-libm-test-in: Do not mark underflow exceptions as
35326         possibly missing for bug 16353.
35327         * math/auto-libm-test-out: Regenerated.
35329 2015-06-22  Andreas Schwab  <schwab@suse.de>
35331         [BZ #18513]
35332         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35333         PTR queries.
35335 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
35337         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35339         * string/strcoll_l.c: Remove unused struct element idxnow.
35341 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
35343         [BZ #18569]
35344         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35345         underflow and return argument in case of subnormal argument.
35346         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35347         Likewise.
35348         * math/auto-libm-test-in: Add more tests of expm1.
35349         * math/auto-libm-test-out: Regenerated.
35351         [BZ #16361]
35352         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35353         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35354         tiny results.
35355         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35356         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35357         tiny results.
35358         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
35359         mark underflow exceptions as possibly missing for bug 16361.
35360         * math/auto-libm-test-out: Regenerated.
35362 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
35364         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35365         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35366         Remove variable.
35367         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35368         (test-xfail-XOPEN2K8/utmpx.h/conform).
35370         * conform/conformtest.pl ($xerrors): New variable.
35371         (note_error): New function.
35372         (compiletest): New argument $xfail.  Use not_error.
35373         (runtest): Likewise.
35374         (top level): Handle xfail- lines.  Update calls to compiletest and
35375         runtest.  Handle xfail- and optional- in headers listed with
35376         allow-header.
35377         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35378         (O_EXEC): Likewise.
35379         (O_SEARCH): Likewise.
35380         * conform/data/stropts.h-data (ioctl): Likewise.
35381         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35382         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35383         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35384         (msghdr.msg_controllen): Likewise.
35385         (cmsghdr.cmsg_len): Likewise.
35386         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35387         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35388         variable.
35389         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35390         (test-xfail-XPG4/stropts.h/conform): Likewise.
35391         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35392         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35393         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35394         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35395         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35396         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35397         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35398         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35399         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35400         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35401         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35402         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35403         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35404         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35405         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35406         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35407         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35408         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35409         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35411 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
35413         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35414         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35415         definitions for proper unfolding of __MATHDECL_VEC.
35417 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35419         * benchtests/bench-strcoll.c:
35420         Include string.h.
35421         (main): Remove unused variable res.
35423 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35425         * timezone/Makefile (%/UTC %/Universal):
35426         Generate test-result files for UTC and Universal.
35428 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35430         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35432 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
35434         [BZ #16350]
35435         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35436         for arguments with small absolute value.
35437         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35438         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35439         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35440         (__asinh): Force underflow exception for arguments with small
35441         absolute value.
35442         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35443         (__asinhf): Force underflow exception for arguments with small
35444         absolute value.
35445         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35446         (__asinhl): Force underflow exception for arguments with small
35447         absolute value.
35448         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35449         (__asinhl): Force underflow exception for arguments with small
35450         absolute value.
35451         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35452         (__asinhl): Force underflow exception for arguments with small
35453         absolute value.
35454         * math/auto-libm-test-in: Do not mark underflow exceptions as
35455         possibly missing for bug 16350.
35456         * math/auto-libm-test-out: Regenerated.
35458         * include/bits/ipc.h: Remove file.
35459         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35460         variable.
35461         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35462         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35463         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35464         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35465         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35466         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35467         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35468         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35469         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35471         * math/auto-libm-test-in: Remove spurious underflow allowance for
35472         tests of cexp.
35473         * math/auto-libm-test-out: Regenerated.
35475         [BZ #18558]
35476         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35477         unconditional definition.
35478         (MCAST_BLOCK_SOURCE): Likewise.
35479         (MCAST_UNBLOCK_SOURCE): Likewise.
35480         (MCAST_LEAVE_GROUP): Likewise.
35481         (MCAST_JOIN_SOURCE_GROUP): Likewise.
35482         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35483         (MCAST_MSFILTER): Likewise.
35484         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35485         Remove variable.
35486         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35487         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35488         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35489         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35490         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35492 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
35494         * NEWS: Mention addition of x86_64 vector sincosf.
35495         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35496         * math/test-float-vlen4.h: Likewise.
35497         * math/test-float-vlen8.h: Likewise.
35498         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35499         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35500         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35501         * sysdeps/x86_64/fpu/Versions: New versions added.
35502         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35503         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35504         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35505         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35506         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35507         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35508         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35509         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35510         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35511         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35512         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35513         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35514         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35515         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35516         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35517         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35518         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35519         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35520         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35521         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35522         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35523         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35524         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35525         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35527         * NEWS: Mention addition of x86_64 vector sincos.
35528         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35529         * math/math.h (__MATHDECL_VEC): New macro.
35530         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35531         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35532         declaration under condition.
35533         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35534         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35535         TEST_VEC_LOOP change.
35536         * math/test-double-vlen4.h: Likewise.
35537         * math/test-double-vlen8.h: Likewise.
35538         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35539         * math/test-float-vlen4.h: Likewise.
35540         * math/test-float-vlen8.h: Likewise.
35541         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35542         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35543         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35544         * sysdeps/x86_64/fpu/Versions: New versions added.
35545         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35546         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35547         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35548         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35549         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35550         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35551         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35552         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35553         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35554         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35555         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35556         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35557         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35558         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35559         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35560         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35561         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35562         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35563         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35564         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35565         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35566         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35567         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35568         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35570         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35571         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35572         redirections for powf.
35573         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35574         * sysdeps/x86_64/fpu/Versions: New versions added.
35575         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35576         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35577         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35578         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35579         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35580         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35581         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35582         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35583         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35584         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35585         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35586         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35587         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35588         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35589         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35590         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35591         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35592         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35593         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35594         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35595         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35596         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35597         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35598         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35599         * math/test-float-vlen16.h: Fixed 2 argument macro.
35600         * math/test-float-vlen4.h: Likewise.
35601         * math/test-float-vlen8.h: Likewise.
35602         * NEWS: Mention addition of x86_64 vector powf.
35604 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
35606         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35607         and redefine.
35608         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35609         and redefine.
35610         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35611         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35612         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35614         [BZ #18553]
35615         * resource/getpriority.c (getpriority): Rename to __getpriority
35616         and define as weak alias of __getpriority.
35617         * resource/setpriority.c (setpriority): Rename to __setpriority
35618         and define as weak alias of __setpriority.
35619         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35620         __getpriority and define as weak alias of __getpriority.
35621         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35622         __setpriority and define as weak alias of __setpriority.
35623         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35624         strong name.
35625         (setpriority): Use __setpriority as strong name.
35626         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35627         __getpriority and define as weak alias of __getpriority.
35628         * include/sys/resource.h (__getpriority): Declare.  Use
35629         libc_hidden_proto.
35630         (__setpriority): Likewise.
35631         (getpriority): Don't use libc_hidden_proto.
35632         (setpriority): Likewise.
35633         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35634         getpriority.  Call __setpriority instead of setpriority.
35635         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35636         Remove variable.
35638         [BZ #18547]
35639         * misc/getttyent.c (getttynam): Rename to __getttynam and define
35640         as weak alias of __getttynam.  Use prototype function definition.
35641         Call __setttyent, __getttyent and __endttyent instead of
35642         setttyent, getttyent and endttyent.
35643         (getttyent): Rename to __getttyent and define as weak alias of
35644         __getttyent.  Call __setttyent instead of setttyent.  Call
35645         __fgets_unlocked instead of fgets_unlocked.
35646         (setttyent): Rename to __setttyent and define as weak alias of
35647         __setttyent.
35648         (endttyent): Rename to __endttyent and define as weak alias of
35649         __endttyent.
35650         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
35651         (__setttyent): Likewise.
35652         (__endttyent): Likewise.
35653         (getttyent): Don't use libc_hidden_proto.
35654         (setttyent): Likewise.
35655         (endttyent): Likewise.
35656         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35657         __endttyent instead of setttyent, getttyent and endttyent.
35658         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35659         Remove variable.
35661         [BZ #18546]
35662         * socket/recv.c (__recv): Use libc_hidden_def.
35663         * socket/socket.c (__socket): Likewise.
35664         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35665         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35666         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35667         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35668         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35669         libc_hidden_def.
35670         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35671         libc_hidden_weak.
35672         * include/sys/socket.h (__socket): Do not use attribute_hidden.
35673         Use libc_hidden_proto.
35674         (__recv): Likewise.
35675         * socket/Versions (libc): Export __recv and __socket at version
35676         GLIBC_PRIVATE.
35677         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35678         instead of recv.
35679         (init_mq_netlink): Call __socket instead of socket.
35680         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35681         Remove variable.
35683         [BZ #18545]
35684         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35685         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
35686         hidden_weak.
35687         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35688         define as alias of __mq_timedsend.  Use hidden_weak.
35689         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35690         __mq_timedsend as strong name.
35691         (mq_timedreceive): Use __mq_timedreceive as strong name.
35692         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
35693         (__mq_timedreceive): Likewise.
35694         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35695         __mq_timedreceive instead of mq_timedreceive.
35696         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35697         instead of mq_timedsend.
35698         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35699         Remove variable.
35701         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35702         hidden_def and hidden_weak instead of libc_hidden_def and
35703         libc_hidden_weak.
35704         (top level): Refer to hidden_def in comment.
35705         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35706         macro.  Use it instead of libc_hidden_def.
35707         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35708         specify __GI_* name explicitly.
35709         (mq_timedreceive): Likewise.
35710         (mq_setattr): Likewise.
35712         [BZ #18544]
35713         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35714         __pthread_barrier_init and define as weak alias of
35715         __pthread_barrier_init.
35716         * sysdeps/sparc/nptl/pthread_barrier_init.c
35717         (pthread_barrier_init): Likewise.
35718         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35719         __pthread_barrier_wait and define as weak alias of
35720         __pthread_barrier_wait.
35721         * sysdeps/sparc/nptl/pthread_barrier_wait.c
35722         (pthread_barrier_wait): Likewise.
35723         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35724         (pthread_barrier_wait): Likewise.
35725         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35726         (pthread_barrier_wait): Likewise.
35727         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35728         (pthread_barrier_wait): Likewise.
35729         * nptl/Versions (libpthread): Export __pthread_barrier_init and
35730         __pthread_barrier_wait at version GLIBC_PRIVATE.
35731         * include/pthread.h (__pthread_barrier_init): Declare.
35732         (__pthread_barrier_wait): Likewise.
35733         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35734         Call __pthread_barrier_wait instead of pthread_barrier_wait.
35735         (helper_thread): Likewise.
35736         (init_mq_netlink): Call __pthread_barrier_init instead of
35737         pthread_barrier_init.
35739         [BZ #18542]
35740         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35741         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35742         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
35743         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35744         vswscanf.
35745         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35746         Remove variable.
35748         [BZ #18540]
35749         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35750         strong alias of _IO_fflush.  Use libc_hidden_def.
35751         * libio/iofflush_u.c (fflush_unlocked): Rename to
35752         __fflush_unlocked and define as weak alias of __fflush_unlocked.
35753         Use libc_hidden_weak.
35754         * include/stdio.h (__fflush_unlocked): Declare.  Use
35755         libc_hidden_proto.
35756         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35757         fflush_unlocked.
35758         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35759         Remove variable.
35761         [BZ #18539]
35762         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35763         define as weak alias of __addseverity.
35764         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35765         Remove variable.
35766         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35767         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35768         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35770         [BZ #18536]
35771         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35772         (__tfind): Likewise.
35773         (__tdelete): Likewise.
35774         (__twalk): Likewise.
35775         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35776         __twalk to GLIBC_PRIVATE.
35777         * include/search.h (__tsearch): Use libc_hidden_proto.
35778         (__tfind): Likewise.
35779         (__tdelete): Likewise.
35780         (__twalk): Likewise.
35781         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35782         Call __tdelete instead of tdelete.
35783         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35784         tfind.  Call __tsearch instead of tsearch.
35785         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35786         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35787         Remove variable.
35788         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35790         [BZ #18534]
35791         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35792         (dprintf): Define as a weak alias of __dprintf, not a strong
35793         alias.
35794         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
35795         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35796         dprintf.
35797         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35798         Remove variable.
35799         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35800         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35802         [BZ #18533]
35803         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35804         not a strong alias.
35805         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35806         Remove variable.
35808         [BZ #18532]
35809         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35810         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
35811         (in6addr_loopback): Rename to __in6addr_loopback and define as
35812         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
35813         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
35814         libc_hidden_proto.
35815         (__in6addr_any): Likewise.
35816         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35817         in6addr_any.
35818         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35819         variable.
35820         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35822 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
35824         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35825         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35826         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35827         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35828         redirections for pow.
35829         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35830         * sysdeps/x86_64/fpu/Versions: New versions added.
35831         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35832         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35833         build of SSE, AVX2 and AVX512 IFUNC versions.
35834         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35835         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35836         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35837         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35838         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35839         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35840         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35841         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35842         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35843         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35844         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35845         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35846         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35847         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35848         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35849         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35850         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35851         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35852         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35853         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35854         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35855         * NEWS: Mention addition of x86_64 vector pow.
35857         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35858         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35859         redirections for expf.
35860         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35861         * sysdeps/x86_64/fpu/Versions: New versions added.
35862         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35863         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35864         build of SSE, AVX2 and AVX512 IFUNC versions.
35865         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35866         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35867         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35868         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35869         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35870         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35871         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35872         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35873         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35874         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35875         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35876         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35877         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35878         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35879         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35880         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35881         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35882         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35883         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35884         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35885         * NEWS: Mention addition of x86_64 vector expf.
35887         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35888         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35889         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35890         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35891         redirections for exp.
35892         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35893         * sysdeps/x86_64/fpu/Versions: New versions added.
35894         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35895         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35896         build of SSE, AVX2 and AVX512 IFUNC versions.
35897         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35898         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35899         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35900         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35901         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35902         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35903         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35904         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35905         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35906         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35907         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35908         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35909         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35910         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35911         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35912         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35913         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35914         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35915         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35916         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35917         * NEWS: Mention addition of x86_64 vector exp.
35919         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35920         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35921         redirections for logf.
35922         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35923         * sysdeps/x86_64/fpu/Versions: New versions added.
35924         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35925         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35926         build of SSE, AVX2 and AVX512 IFUNC versions.
35927         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35928         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35929         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35930         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35931         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35932         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35933         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35934         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35935         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35936         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35937         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35938         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35939         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35940         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35941         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35942         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35943         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35944         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35945         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35946         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35947         * NEWS: Mention addition of x86_64 vector logf.
35949         * bits/libm-simd-decl-stubs.h: Added stubs for log.
35950         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35951         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35952         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35953         redirections for log.
35954         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35955         * sysdeps/x86_64/fpu/Versions: New versions added.
35956         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35957         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35958         build of SSE, AVX2 and AVX512 IFUNC versions.
35959         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
35960         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
35961         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
35962         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
35963         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
35964         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
35965         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
35966         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
35967         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
35968         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
35969         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
35970         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
35971         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
35972         test.
35973         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35974         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35975         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35976         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35977         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35978         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35979         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35980         * NEWS: Mention addition of x86_64 vector log.
35982 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35984         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
35985         cfi_adjust_cfa_offset argument.
35986         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
35987         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
35989         [BZ #18034]
35990         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
35991         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
35992         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
35993         ordering using ldar.
35994         (_dl_tlsdesc_dynamic): Likewise.
35995         (_dl_tlsdesc_return_lazy): Likewise.
35996         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
35997         relaxed atomics instead of volatile and synchronize with release store.
35998         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
35999         volatile.
36000         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36002 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
36004         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36005         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
36006         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36007         * sysdeps/x86_64/fpu/Versions: New versions added.
36008         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36009         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36010         build of SSE, AVX2 and AVX512 IFUNC versions.
36011         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
36012         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
36013         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
36014         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
36015         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
36016         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
36017         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
36018         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
36019         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
36020         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
36021         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
36022         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
36023         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
36024         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36025         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36026         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36027         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36028         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36029         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36030         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36031         * NEWS: Mention addition of x86_64 vector sinf.
36033 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
36035         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
36036         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
36037         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
36038         Remove variable.
36039         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36040         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36042 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
36044         [BZ #18530]
36045         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
36046         strong alias of _IO_fputs.  Use libc_hidden_def.
36047         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
36048         and define as weak alias of __fputs_unlocked.  Use
36049         libc_hidden_weak.
36050         * include/stdio.h (__fputs_unlocked): Declare.  Use
36051         libc_hidden_proto.
36052         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
36053         fputs_unlocked.
36055         [BZ #18529]
36056         * resolv/netdb.h [__USE_POSIX]: Change condition to
36057         [__USE_XOPEN2K].
36058         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
36059         not expect.
36060         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
36061         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
36062         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
36063         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
36064         [XPG4 || UNIX98] (AI_ALL): Likewise.
36065         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
36066         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
36067         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
36068         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
36069         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
36070         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
36071         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
36072         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
36073         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
36074         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
36075         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
36076         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
36077         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
36078         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
36079         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
36080         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36081         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36082         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
36083         [XPG4 || UNIX98] (gai_strerror): Likewise.
36084         [XPG4 || UNIX98] (getaddrinfo): Likewise.
36085         [XPG4 || UNIX98] (getnameinfo): Likewise.
36087         [BZ #18528]
36088         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
36089         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
36090         __USE_XOPEN2K8].
36091         (getgrent): Likewise.
36092         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
36093         expect.
36094         [XPG3 || POSIX2008] (endgrent): Likewise.
36095         [XPG3] (setgrent): Likewise.
36096         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
36097         variable.
36098         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36100         [BZ #18527]
36101         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
36102         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
36103         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
36104         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
36105         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
36106         * include/unistd.h (__getlogin_r): Declare.  Use
36107         libc_hidden_proto.
36108         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
36109         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
36110         variable.
36111         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36112         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36113         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36115 2015-06-12  Martin Sebor  <msebor@redhat.com>
36117         [BZ #18512]
36118         * Makerules (check-install-supported): New target.
36119         (install): Add check-install-supported as a dependency.
36120         * manual/install.texi (Installing the C Library): Document
36121         that overriding prefix and exec_prefix is not supported.
36122         Mention DESTDIR.
36123         * INSTALL: Regenerate from the above.
36125 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
36127         [BZ #18519]
36128         * posix/Versions (libc): Export __libc_pread at version
36129         GLIBC_PRIVATE.
36130         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36131         instead of pread.
36132         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36133         variable.
36135         [BZ #18522]
36136         * misc/efgcvt_r.c
36137         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36138         (cvt_symbol): Use weak_alias instead of strong_alias.
36139         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36140         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36141         Remove variable.
36142         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36143         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36145         [BZ #18520]
36146         * inet/herrno.c (h_errno): Rename to __h_errno.
36147         (__libc_h_errno): Define as alias of __h_errno not h_errno.
36148         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36149         to __h_errno instead of h_errno.
36150         * nptl/herrno.c (h_errno): Rename to __h_errno.
36151         (__h_errno_location): Refer to __h_errno not h_errno.
36152         * resolv/Versions (h_errno): Rename to __h_errno.
36153         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36154         Remove variable.
36155         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36157 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
36159         * configure.ac: More strict check for AVX512 assembler support.
36160         * configure: Regenerated.
36162         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36163         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36164         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36165         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36166         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36167         * sysdeps/x86_64/fpu/Versions: New versions added.
36168         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36169         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36170         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36171         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36172         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36173         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36174         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36175         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36176         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36177         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36178         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36179         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36180         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36181         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36182         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36183         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36184         test.
36185         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36186         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36187         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36188         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36189         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36190         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36191         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36192         * NEWS: Mention addition of x86_64 vector sin.
36194 2015-06-11  Florian Weimer  <fweimer@redhat.com>
36196         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36197         comment.
36199 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
36201         [BZ #18479]
36202         * nptl/pt-interp.c: New file.
36203         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36204         Add pt-interp.
36205         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36206         $(common-objpfx)runtime-linker.h.
36208 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
36210         * Makeconfig (+interp): Remove unused variable.
36211         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36212         only.  Depend on $(common-objpfx)runtime-linker.h instead of
36213         $(elf-objpfx)runtime-linker.h.
36214         ($(elf-objpfx)runtime-linker.h): Rename to
36215         $(common-objpfx)runtime-linker.h and move ...
36216         * Makerules [$(build-shared) = yes]: ... here.
36217         * elf/interp.c: Include <runtime-linker.h> instead of
36218         <elf/runtime-linker.h>.
36220 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36222         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36223         (__gettimeofday_syscall): Remove vsyscall fallback.
36224         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36225         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36226         Add syscall fallback function.
36227         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36228         if vDSO is not present.
36229         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36230         fallback function.
36231         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36232         present.
36233         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36234         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36236 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
36238         [BZ #18497]
36239         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36240         of wcscmp.
36241         (wcscmp): Define as weak alias of WCSCMP.
36242         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36243         wcscoll.
36244         (USE_HIDDEN_DEF): Define.
36245         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36246         __wcscoll.  Don't use libc_hidden_weak.
36247         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36248         wcscmp.
36249         * sysdeps/i386/i686/multiarch/wcscmp-c.c
36250         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36251         __GI_wcscmp.
36252         (weak_alias): Undefine and redefine.
36253         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36254         __wcscmp and define as weak alias of __wcscmp.
36255         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36256         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
36257         (__wcscoll): Likewise.
36258         (wcscmp): Don't use libc_hidden_proto.
36259         (wcscoll): Likewise.
36260         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36261         wcscoll.
36262         * posix/regexec.c (check_node_accept_bytes): Likewise.
36263         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36264         variable.
36265         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36266         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36268         [BZ #18507]
36269         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36270         __fstatvfs and define as weak alias of __fstatvfs.  Use
36271         libc_hidden_weak.
36272         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36273         and define as weak alias of __statvfs.  Use libc_hidden_weak.
36274         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36275         Define as alias of __fstatvfs, not fstatvfs.
36276         (fstatvfs64): Likewise.
36277         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36278         Define as alias of __statvfs, not statvfs.
36279         (statvfs64): Likewise.
36280         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36281         Remove variable.
36283 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36286         (HAVE_GETCPU_VSYSCALL): Define.
36287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36288         (HAVE_GETCPU_VSYSCALL): Likewise.
36289         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36290         * sysdeps/unix/sysv/linux/sched_getcpu.c
36291         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36292         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36293         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36294         prototype.
36295         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36296         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36297         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36298         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36299         Define.
36300         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36301         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36302         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36303         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36305 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
36307         * sysdeps/x86_64/fpu/Makefile: New file.
36308         * sysdeps/x86_64/fpu/Versions: New file.
36309         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36310         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36311         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36312         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36313         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36314         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36315         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36316         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36317         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36318         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36319         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36320         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36321         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36322         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36323         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36324         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36325         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36326         * sysdeps/x86_64/configure.ac: Options for libmvec build.
36327         * sysdeps/x86_64/configure: Regenerated.
36328         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36329         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36330         * manual/install.texi (Configuring and compiling): Document
36331         --disable-mathvec.
36332         * INSTALL: Regenerated.
36333         * NEWS: Mention addition of libmvec and x86_64 vector cos.
36335         * math/Makefile: Added rules for vector tests.
36336         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36337         declaration under condition.
36338         * math/test-double-vlen2.h: New file.
36339         * math/test-double-vlen4.h: New file.
36340         * math/test-double-vlen8.h: New file.
36341         * math/test-vec-loop.h: Added initialization macro.
36342         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36343         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36344         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36345         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36346         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36347         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36348         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36349         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36350         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36351         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36352         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36354         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36355         * sysdeps/x86_64/fpu/Versions: New versions added.
36356         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36357         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36358         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36359         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36360         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36361         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36362         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36363         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36364         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36365         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36366         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36367         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36368         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36369         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36370         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36371         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36372         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36373         * NEWS: Mention addition of x86_64 vector cosf.
36375         * math/Makefile: Added CFLAGS for new tests.
36376         * math/test-float-vlen16.h: New file.
36377         * math/test-float-vlen4.h: New file.
36378         * math/test-float-vlen8.h: New file.
36379         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36380         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36381         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36382         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36383         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36384         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36385         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36386         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36387         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36388         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36389         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36391 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
36393         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36394         * locale/programs/ld-ctype.c: Likewise.
36396 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
36398         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36399         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36400         bit_ZMM16_31_state): New macro.
36401         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36402         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36404 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
36406         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36408 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
36410         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36412 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
36414         [BZ #18498]
36415         * libio/memstream.c (open_memstream): Rename to __open_memstream
36416         and define as weak alias of __open_memstream.
36417         * include/stdio.h (__open_memstream): Declare.  Use
36418         libc_hidden_proto.
36419         (open_memstream): Don't use libc_hidden_proto.
36420         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36421         open_memstream.
36422         * posix/getopt.c (_getopt_internal_r): Likewise.
36423         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36424         variable.
36425         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36426         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36427         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36429         [BZ #18496]
36430         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36431         instead of wcrtomb.
36433         [BZ #18483]
36434         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36435         [__USE_XOPEN2K8].  Remove redundant #endif.
36436         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36437         Remove redundant #if.
36438         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36439         Remove variable.
36440         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36441         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36443         [BZ #18495]
36444         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36445         (__iswlower): Likewise.
36446         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
36447         (__iswlower): Likewise.
36448         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36449         instead of towlower.
36450         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36451         instead of iswlower.  Call __towupper instead of towupper.
36452         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36453         instead of iswalnum.
36455 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36457         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36458         errors to stderr.
36460 2015-06-05  Florian Weimer  <fweimer@redhat.com>
36462         [BZ #15661]
36463         [BZ #17322]
36464         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36465         Check for overflow properly.  Check for O_APPEND.  Ignore large
36466         file system block sizes.  Add comments about problems.
36467         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36468         * manual/filesys.texi (Storage Allocation): New node.
36470 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36472         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36473         cancellable syscalls.
36474         (SYS_ify): Add guard to no redefine it.
36475         (INLINE_SYSCALL): Likewise.
36476         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36477         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36478         SYSCALL_CANCEL instead.
36479         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36480         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36481         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36482         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36483         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36484         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36485         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36486         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36487         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36488         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36489         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36490         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36491         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36492         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36493         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36494         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36495         Likewise.
36496         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36497         (__libc_pread64): Likewise.
36498         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36499         (__libc_preadv): Likewise.
36500         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36501         (__libc_readv64): Likewise.
36502         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36503         (__libc_pwrite): Likewise.
36504         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36505         (__libc_pwrite64): Likewise.
36506         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36507         (__libc_pwritev): Likewise.
36508         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36509         (__libc_pwritev64): Likewise.
36510         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36511         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36512         (sync_file_range): Likewise.
36513         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36514         Likewise.
36515         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36516         Likewise.
36517         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36518         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36519         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36520         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36521         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36522         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36523         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36524         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36526         Likewise.
36527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36528         (__libc_read64): Likewise.
36529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36530         Likewise.
36531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36532         Likewise.
36533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36534         Likewise.
36535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36536         Likewise.
36537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36538         (__libc_pread64): Likewise.
36539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36540         Likewise.
36541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36542         (__libc_pwrite64): Likewise.
36543         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36544         (sync_file_range): Likewise.
36545         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36546         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36547         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36548         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36549         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36550         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36551         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36552         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36553         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36554         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36555         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36556         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36557         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36558         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36559         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36560         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36561         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36562         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36563         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36564         Likewise.
36565         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36566         Likewise.
36567         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36568         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36569         Likewise.
36570         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36571         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36572         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36573         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36574         Likewise.
36575         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36576         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36577         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36578         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36579         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36581 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
36583         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36584         Include dl-vdso.
36585         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36586         Use VDSO routines for gettimeofday, clock_gettime if
36587         available.
36588         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36589         Declare VDSO symbols.
36590         * sysdeps/unix/sysv/linux/arm/sysdep.h:
36591         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36592         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36593         * sysdeps/unix/sysv/linux/arm/Versions: Add
36594         __vdso_clock_gettime.
36596 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36598         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36599         be an inline implementation regardless of library is built within.
36600         (open_not_cancel_2): Likewise.
36601         (__read_nocancel): Likewise.
36602         (__write_nocancel): Likewise.
36603         (openat_not_cancel): Likewise.
36604         (openat_not_cancel_3): Likewise.
36605         (openat64_not_cancel): Likewise.
36606         (openat64_not_cancel_3): Likewise.
36607         (__close_nocancel): Likewise.
36608         (pause_not_cancel): Likewise.
36609         (nanosleep_not_cancel): Likewise.
36610         (sigsuspend_not_cancel): Likewise.
36612 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36614         [BZ #14958]
36615         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36616         wake-up.
36617         (__pthread_rwlock_rdlock_slow): Likewise.
36618         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36619         Likewise.
36620         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36621         Likewise.
36622         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36623         * nptl/tst-rwlock16.c: New file.
36624         * nptl/Makefile (tests): Add new test.
36626 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36628         [BZ #18324]
36629         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36630         missing wake-up of readers.
36631         * nptl/tst-rwlock15.c: New file.
36632         * nptl/Makefile (tests): Add new test.
36634 2015-06-03  Roland McGrath  <roland@hack.frob.com>
36636         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36637         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36638         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36639         and __nacl_supply_interface_rtld.
36640         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36641         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36642         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36643         Add __nacl_supply_interface_rtld.
36644         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36646 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36648         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36649         isfinite.
36650         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36651         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36653 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36655         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36656         __signbit* with standard C99 macros.
36657         * math/e_exp10l.c: Likewise.
36658         * math/e_exp2l.c: Likewise.
36659         * math/e_scalb.c: Likewise.
36660         * math/e_scalbf.c: Likewise.
36661         * math/e_scalbl.c: Likewise.
36662         * math/s_ldexp.c: Likewise.
36663         * math/s_ldexpf.c: Likewise.
36664         * math/s_ldexpl.c: Likewise.
36665         * math/w_atan2.c: Likewise.
36666         * math/w_atan2f.c: Likewise.
36667         * math/w_atan2l.c: Likewise.
36668         * math/w_cosh.c: Likewise.
36669         * math/w_coshf.c: Likewise.
36670         * math/w_coshl.c: Likewise.
36671         * math/w_exp10.c: Likewise.
36672         * math/w_exp10f.c: Likewise.
36673         * math/w_exp10l.c: Likewise.
36674         * math/w_exp2.c: Likewise.
36675         * math/w_exp2f.c: Likewise.
36676         * math/w_exp2l.c: Likewise.
36677         * math/w_fmod.c: Likewise.
36678         * math/w_fmodf.c: Likewise.
36679         * math/w_fmodl.c: Likewise.
36680         * math/w_hypot.c: Likewise.
36681         * math/w_hypotf.c: Likewise.
36682         * math/w_hypotl.c: Likewise.
36683         * math/w_jnl.c: Likewise.
36684         * math/w_lgamma.c: Likewise.
36685         * math/w_lgamma_r.c: Likewise.
36686         * math/w_lgammaf.c: Likewise.
36687         * math/w_lgammaf_r.c: Likewise.
36688         * math/w_lgammal.c: Likewise.
36689         * math/w_lgammal_r.c: Likewise.
36690         * math/w_pow.c: Likewise.
36691         * math/w_powf.c: Likewise.
36692         * math/w_powl.c: Likewise.
36693         * math/w_remainder.c: Likewise.
36694         * math/w_remainderf.c: Likewise.
36695         * math/w_remainderl.c: Likewise.
36696         * math/w_scalb.c: Likewise.
36697         * math/w_scalbf.c: Likewise.
36698         * math/w_scalbl.c: Likewise.
36699         * math/w_scalbln.c: Likewise.
36700         * math/w_scalblnf.c: Likewise.
36701         * math/w_scalblnl.c: Likewise.
36702         * math/w_sinh.c: Likewise.
36703         * math/w_sinhf.c: Likewise.
36704         * math/w_sinhl.c: Likewise.
36705         * math/w_tgamma.c: Likewise.
36706         * math/w_tgammaf.c: Likewise.
36707         * math/w_tgammal.c: Likewise.
36708         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36709         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36710         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36711         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36712         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36713         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36714         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36715         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36716         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36717         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36718         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36719         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36720         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36721         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36722         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36723         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36724         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36725         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36726         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36727         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36728         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36729         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36730         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36731         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36732         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36733         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36734         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36735         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36736         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36737         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36738         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36739         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36740         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36741         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36742         * stdio-common/printf_fp.c: Likewise.
36743         * stdio-common/printf_fphex.c: Likewise.
36744         * stdio-common/printf_size.c: Likewise.
36746 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
36748         [BZ #18470]
36749         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36750         strnlen.
36751         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36752         Remove variable.
36753         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36754         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36755         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36756         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36757         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36758         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36759         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36760         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36761         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36762         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36764         [BZ #18468]
36765         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36766         weak alias of __wmemchr.  Use libc_hidden_weak.
36767         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
36768         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36769         instead of wmemchr.
36771 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36773         [BZ #18383]
36774         * elf/tst-tlsalign-extern.c: New file.
36775         * elf/tst-tlsalign-extern-static.c: New file.
36776         * elf/tst-tlsalign-vars.c: New file.
36777         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36778         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36779         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36780         ($(objpfx)tst-tlsalign-extern-static): Likewise.
36781         (test-xfail-tst-tlsalign-extern-static): New variable.
36783 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
36785         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36786         Use variable name _sc_err instead of err.
36787         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36788         instead of ret.
36789         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36790         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36791         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36792         (INLINE_SYSCALL): Likewise.
36794         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36795         * include/string.h (__strnlen): Use libc_hidden_proto.
36796         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36797         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36798         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36799         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36800         (libc_hidden_def): Undefine and redefine.
36801         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36802         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36803         __GI_strnlen.
36804         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36805         libc_hidden_def.
36806         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36808         [BZ #18469]
36809         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36810         weak alias of __towlower.  Use libc_hidden_weak.
36811         (towupper): Rename to __towupper and define as weak alias of
36812         __towupper.  Use libc_hidden_weak.
36813         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
36814         (__towupper): Likewise.
36815         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36816         __towlower instead of towlower.
36818 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36820         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36821         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36823 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36825         * sysdeps/aarch64/libm-test-ulps: Update.
36827 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36829         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36830         Define.
36831         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36832         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36833         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36834         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36835         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36836         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36837         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36839 2015-06-01  Martin Sebor  <msebor@redhat.com>
36841         [BZ #18116]
36842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36843         (__setcontext): Use extended four-operand version of mtsf whenever
36844         possible.
36845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36846         (__novec_swapcontext): Likewise.
36848 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36850         * benchtests/scripts/compare_bench.py: New file.
36851         * benchtests/scripts/import_bench.py (mean): New function.
36852         (split_list): Likewise.
36853         (do_for_all_timings): Likewise.
36854         (compress_timings): Likewise.
36856         * benchtests/scripts/import_bench.py: New file.
36857         * benchtests/scripts/validate_benchout.py: Import import_bench
36858         instead of jsonschema.
36859         (validate_bench): Remove function.
36860         (main): Use import_bench.
36862 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
36864         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36865         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36867 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36871 2015-05-28  Roland McGrath  <roland@hack.frob.com>
36873         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36874         set THREAD_SELF->tid to a magic value and futex-wake it.
36875         Pass its address to the thread_exit system call.
36876         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36877         bit is clear.
36878         * sysdeps/nacl/lowlevellock.h: New file.
36879         * sysdeps/nacl/lll_timedwait_tid.c: New file.
36881         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36882         Add TIMEOUT to current time, don't subtract it.
36884 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
36886         [BZ #2981]
36887         [BZ #18422]
36888         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36889         ($(objpfx)tst-audit2.out): Also depend on
36890         $(objpfx)tst-auditmod9b.so.
36891         * elf/tst-audit2.c: Include <dlfcn.h>.
36892         (calloc_called): New.
36893         (calloc): Allow to be called more than once.
36894         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36896 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
36898         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36899         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36901 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
36903         * stdlib/monetary.h: Fix comment.
36905 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
36907         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36908         Avoid using variables in #defines that might cause shadowing.
36909         (INTERNAL_VSYSCALL_CALL): Likewise.
36911 2015-05-26  Roland McGrath  <roland@hack.frob.com>
36913         * sysdeps/nacl/lll_timedlock_wait.c: New file.
36915         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36916         * nptl/lll_timedlock_wait.c: ... to this new file.
36917         * nptl/Makefile (libpthread-routines): Add it.
36918         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36919         * nptl/lll_timedwait_tid.c: ... to this new file.
36920         * nptl/Makefile (libpthread-routines): Add it.
36921         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36922         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36923         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36924         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36925         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36926         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36927         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36928         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36929         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36930         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36932 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36934         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36935         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36936         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36937         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36938         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36939         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36940         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36941         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36942         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36943         * sysdeps/unix/sysv/linux/tile/sysdep.h
36944         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36945         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36946         using vDSO syscall macro.
36948 2015-05-26  Andriy Rysin  <arysin@gmail.com>
36950         [BZ #17293]
36951         * uk_UA: Fix sorting order for Ukrainian locale
36953 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
36955         * stdlib/monetary.h: Fix comment.
36957 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36959         [BZ #18234]
36960         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
36961         st_mtim and st_ctim members.
36962         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
36963         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
36964         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
36965         (struct stat64): Likewise.
36966         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
36967         (struct stat64): Likewise.
36968         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
36969         (struct stat64): Likewise.
36971 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36973         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
36974         Define and include sysdep-vdso.h.
36975         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
36976         Likewise.
36977         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
36978         Likewise.
36979         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
36980         Define with VDSO_SYMBOL and use PTR_MANGLE.
36981         (__vdso_clock_gettime): Likewise.
36982         (__vdso_clock_getres): Likewise.
36983         (_libc_vdso_platform_setup): Likewise.
36984         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36985         Likewise.
36986         (_libc_vdso_platform_setup): Likewise.
36987         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
36988         Likewise.
36989         (__vdso_clock_gettime): Likewise.
36990         (__vdso_clock_getres): Likewise.
36991         (__vdso_get_tbfreq): Likewise.
36992         (__vdso_getcpu): Likewise.
36993         (__vdso_time): Likewise.
36994         (__vdso_sigtramp_rt64): Likewise.
36995         (__vdso_signtramp32): Likewise.
36996         (__vdso_sigtramp_rt32): Likewise.
36997         (_libc_vdso_platform_setup): Likewise.
36998         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
36999         Likewise.
37000         (__vdso_clock_gettime): Likewise.
37001         (__vdso_clock_getres): Likewise.
37002         (_libc_vdso_platform_setup): Likewise.
37003         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
37004         Likewise.
37005         (__vdso_clock_gettime): Likewise.
37006         (_libc_vdso_platform_setup): Likewise.
37007         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37008         Likewise.
37009         (__vdso_getcpu): Likewise.
37010         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
37011         Use VDSO_SYMBOL macro to define.
37012         (__vdso_clock_gettime): Likewise.
37013         (__vdso_clock_getres): Likewise.
37014         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
37015         Likewise.
37016         (__vdso_clock_gettime): Likewise.
37017         (__vdso_clock_getres): Likewise.
37018         (__vdso_get_tbfreq): Likewise.
37019         (__vdso_getcpu): Likewise.
37020         (__vdso_time): Likewise.
37021         (__vdso_sigtramp_rt64): Likewise.
37022         (__vdso_signtramp32): Likewise.
37023         (__vdso_sigtramp_rt32): Likewise.
37024         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
37025         Likewise.
37026         (__vdso_clock_gettime): Likewise.
37027         (__vdso_clock_getres): Likewise.
37028         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
37029         Likewise.
37030         (__vdso_clock_gettime): Likewise.
37031         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37032         Likewise.
37033         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
37034         macro.
37035         (INTERNAL_VSYSCALL): Likewise.
37036         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
37037         Remove macro.
37038         (INTERNAL_VSYSCALL): Likewise.
37039         (INTERNAL_VSYSCALL_NCS): Likewise.
37040         (INTERNAL_VSYSCALL_CALL): New macro.
37041         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37042         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
37043         Likewise.
37044         (INTERNAL_VSYSCALL): Likewise.
37045         (INTERNAL_VSYSCALL_NCS): Likewise.
37046         (INTERNAL_VSYSCALL_CALL): New macro.
37047         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37049         (INLINE_VSYSCALL): Remove macro.
37050         (INTERNAL_VSYSCALL): Remove macro.
37051         (INTERNAL_VSYSCALL_NCS): Remove macro.
37052         (INTERNAL_VSYSCALL_CALL): New macro.
37053         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
37054         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
37055         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37056         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
37057         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37059         (INLINE_VSYSCALL): Remove macro.
37060         (INTERNAL_VSYSCALL): Likewise.
37061         (INTERNAL_VSYSCALL_NCS): Likewise.
37062         (INTERNAL_VSYSCALL_CALL): New macro.
37063         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
37064         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
37065         PTR_DEMANGLE on vDSO pointer.
37066         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37067         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
37068         macro.
37069         (INTERNAL_SYSCALL): Likewise.
37070         (INTERNAL_VSYSCALL_NCS): Remove macro.
37071         (INTERNAL_VSYSCALL_CALL): New macro.
37072         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
37073         Remove macro.
37074         (INTERNAL_VSYSCALL): Likewise.
37075         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
37076         sysdep-vdso.h instead of libc-vdso.h.
37077         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
37078         definition.
37079         (INLINE_VSYSCALL): Likewise.
37080         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
37081         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
37082         definition.
37083         (INLINE_VSYSCALL): Likewise.
37084         (INTERNAL_VSYSCALL): Likewise.
37085         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37086         * sysdeps/unix/sysv/linux/timespec_get.c
37087         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37088         (timespec_get): Use ANSI prototype.
37089         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
37090         and definition for Linux.
37092 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
37094         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
37095         * include/libc-symbols.h: libmvec_hidden_* macro series added.
37097 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37099         [BZ #2981]
37100         [BZ #18410]
37101         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
37102         for missing DT_PLTRELSZ.
37104 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
37106         Remove obsolete aliases that broke 'locale -a'
37107         [BZ #18412]
37108         * intl/locale.alias: Remove obsolete aliases "bokmĂ„l" and "français"
37109         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
37110         breaking some applications that use 'locale -a' output.
37111         Change the encoding of this file from Latin-1 to ASCII to avoid
37112         other potential problems with people grepping this file.
37114 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37116         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37117         -fasynchronous-unwind-tables.
37118         (CFLAGS-sendto.c): Likewise.
37119         (CFLAGS-sendmsg.c): Likewise.
37120         (CFLAGS-connect.c): Likewise.
37121         (CFLAGS-recvmsg.c): Likewise.
37122         (CFLAGS-recvfrom.c): Likewise.
37123         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37124         (SOCKETCALL): New macro: non-cancellable socketcall.
37125         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37126         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37127         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37128         * sysdeps/unix/sysv/linux/accept.c: New file.
37129         * sysdeps/unix/sysv/linux/bind.c: Likewise.
37130         * sysdeps/unix/sysv/linux/connect.c: Likewise.
37131         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37132         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37133         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37134         * sysdeps/unix/sysv/linux/listen.c: Likewise.
37135         * sysdeps/unix/sysv/linux/recv.c: Likewise.
37136         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37137         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37138         * sysdeps/unix/sysv/linux/send.c: Likewise.
37139         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37140         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37141         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37142         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37143         * sysdeps/unix/sysv/linux/socket.c: Likewise.
37144         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37145         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37146         prototype.
37147         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37148         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37149         instead of __internal_xxx function.
37150         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37151         prototype.
37152         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37153         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37154         instead of __internal_xxx function.
37155         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37156         prototype.
37157         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37158         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37159         instead of __internal_xxx function.
37160         * sysdeps/unix/sysv/linux/accept.S: Remove file.
37161         * sysdeps/unix/sysv/linux/bind.S: Likewise.
37162         * sysdeps/unix/sysv/linux/connect.S: Likewise.
37163         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37164         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37165         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37166         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37167         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37168         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37169         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37170         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37171         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37172         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37173         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37174         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37175         * sysdeps/unix/sysv/linux/listen.S: Likewise.
37176         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37177         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37178         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37179         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37182         * sysdeps/unix/sysv/linux/recv.S: Likewise.
37183         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37184         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37185         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37186         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37187         * sysdeps/unix/sysv/linux/send.S: Likewise.
37188         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37189         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37190         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37191         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37192         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37193         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37194         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37195         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37196         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37197         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37198         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37199         socketcall is implemented in GLIBC.
37201 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37203         * soft-fp/fmadf4.c: Include <libc-internal.h>.
37204         (__fma): Ignore uninitialized warnings around packing.
37205         * soft-fp/fmasf4.c: Include <libc-internal.h>.
37206         (__fmaf): Ignore uninitialized warnings around packing.
37207         * soft-fp/fmatf4.c: Include <libc-internal.h>.
37208         (__fmal): Ignore uninitialized warnings around packing.
37210         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37211         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37212         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37213         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37215         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37216         switch statement into default case.
37217         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37219         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37220         a conditional in forcing "inexact".
37221         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37222         Likewise.
37224 2015-05-22  Roland McGrath  <roland@hack.frob.com>
37226         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37227         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37228         for each INTERNAL_SYSCALL use.
37230 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37232         [BZ #438]
37233         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37234         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37235         variable.
37237         [BZ #18444]
37238         * string/basename.c (basename): Rename to __basename and define as
37239         weak alias of __basename.  Use libc_hidden_weak.
37240         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
37241         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37242         __basename instead of basename.
37243         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37244         Remove variable.
37245         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37247 2015-05-18  Florian Weimer  <fweimer@redhat.com>
37249         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37250         (_IO_JUMPS_FILE_plus): New.
37251         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37252         _IO_CAST_FIELD_ACCESS.
37253         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37254         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37255         * libio/freopen.c (freopen): Likewise.
37256         * libio/freopen64.c (freopen64): Likewise.
37257         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37258         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37259         * libio/iofwide.c (_IO_fwide): Likewise.
37260         * libio/memstream.c (open_memstream): Likewise.
37261         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37262         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37263         * libio/oldiopopen.c (_IO_old_popen): Likewise.
37265 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
37267         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37268         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37269         NADJ.
37270         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37271         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37272         NADJ.
37273         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37274         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37275         NADJ.
37277         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37278         (p == 4) case.
37280         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37281         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37282         Remove variable.
37283         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37284         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37285         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37287 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37289         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37290         Adjust jump table label generation macros.
37292 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37294         * stdio-common/vfprintf.c (vfprintf): Move local variables
37295         args_malloced, specs, specs_malloced, and the code after
37296         do_positional to the printf_positional function.
37297         (printf_positional): New function.
37299 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37301         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37302         function.
37303         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37304         STEP4_TABLE, process_arg): Move macro definitions
37305         out of the vfprintf function.  (Cosmetic change only.)
37307 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
37309         * benchtests/Makefile (stdio-common-bench): Define.
37310         (benchset): Add stdio-common-bench.
37311         * sprintf-inputs: New file.
37312         * sprintf-source.c: New file.
37314 2015-05-21  Andreas Schwab  <schwab@suse.de>
37316         [BZ #13028]
37317         [BZ #17053]
37318         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37319         of struct __res_state.
37320         * resolv/res_send.c (__libc_res_nsend): Likewise.
37321         (get_nsaddr): New function.
37322         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37323         statp directly.
37325 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
37327         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37328         -D_POSIX_C_SOURCE=199506L.
37330         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37332         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37333         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37334         Do not mention otherwise.
37335         [POSIX] (_XOPEN_VERSION): Do not expect.
37336         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37337         [POSIX] (_POSIX2_C_BIND): Likewise.
37338         [POSIX] (_POSIX2_VERSION): Likewise.
37339         [POSIX] (_XOPEN_XPG2): Likewise.
37340         [POSIX] (_XOPEN_XPG3): Likewise.
37341         [POSIX] (_XOPEN_XPG4): Likewise.
37342         [POSIX] (_XOPEN_UNIX): Likewise.
37343         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37344         [POSIX] (_POSIX_BARRIERS): Likewise.
37345         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37346         [POSIX] (_POSIX_CPUTIME): Likewise.
37347         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37348         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37349         [POSIX] (_POSIX_SHELL): Likewise.
37350         [POSIX] (_POSIX_SPAWN): Likewise.
37351         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37352         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37353         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37354         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37355         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37356         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37357         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37358         [POSIX] (_XBS5_LP64_OFF64): Likewise.
37359         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37360         [POSIX] (_POSIX_TIMEOUTS): Likewise.
37361         [POSIX] (_POSIX2_PBS): Likewise.
37362         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37363         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37364         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37365         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37366         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37367         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37368         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37369         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37370         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37371         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37372         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37373         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37374         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37375         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37376         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37377         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37378         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37379         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37380         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37381         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37382         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37383         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37384         [POSIX] (_SC_2_C_BIND): Likewise.
37385         [POSIX] (_SC_2_C_VERSION): Likewise.
37386         [POSIX] (_SC_2_PBS): Likewise.
37387         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37388         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37389         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37390         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37391         [POSIX] (_SC_2_PBS_TRACK): Likewise.
37392         [POSIX] (_SC_ATEXIT_MAX): Likewise.
37393         [POSIX] (_SC_BARRIERS): Likewise.
37394         [POSIX] (_SC_BASE): Likewise.
37395         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37396         [POSIX] (_SC_DEVICE_IO): Likewise.
37397         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37398         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37399         [POSIX] (_SC_FD_MGMT): Likewise.
37400         [POSIX] (_SC_FIFO): Likewise.
37401         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37402         [POSIX] (_SC_FILE_LOCKING): Likewise.
37403         [POSIX] (_SC_FILE_SYSTEM): Likewise.
37404         [POSIX] (_SC_IOV_MAX): Likewise.
37405         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37406         [POSIX] (_SC_NETWORKING): Likewise.
37407         [POSIX] (_SC_PAGE_SIZE): Likewise.
37408         [POSIX] (_SC_PASS_MAX): Likewise.
37409         [POSIX] (_SC_PIPE): Likewise.
37410         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37411         [POSIX] (_SC_REGEXP): Likewise.
37412         [POSIX] (_SC_SHELL): Likewise.
37413         [POSIX] (_SC_SIGNALS): Likewise.
37414         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37415         [POSIX] (_SC_SPIN_LOCKS): Likewise.
37416         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37417         [POSIX] (_SC_USER_GROUPS): Likewise.
37418         [POSIX] (_SC_USER_GROUPS_R): Likewise.
37419         [POSIX] (_SC_STREAMS): Likewise.
37420         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37421         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37422         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37423         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37424         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37425         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37426         [POSIX] (_PC_FILESIZEBITS): Likewise.
37427         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37428         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37429         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37430         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37431         [POSIX] (uid_t): Likewise.
37432         [POSIX] (gid_t): Likewise.
37433         [POSIX] (off_t): Likewise.
37434         [POSIX] (pid_t): Likewise.
37435         [POSIX] (cuserid): Allow.
37436         (_SC_2_CHAR_TERM): Require constant.
37437         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37438         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37439         variable.
37441 2015-05-20  Roland McGrath  <roland@hack.frob.com>
37443         * sysdeps/nacl/pthread-pids.h: New file.
37444         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37445         (create_thread): Use __nacl_get_tid to initialize PD->tid.
37447         * nptl/pthread-pids.h: New file.
37448         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37449         * nptl/nptl-init.c: Include <pthread-pids.h>.
37450         (__pthread_initialize_minimal_internal):
37451         Call __pthread_initialize_pids instead of set_tid_address syscall.
37453         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37454         * sysdeps/posix/usleep.c: ... here.
37456 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37458         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37459         call_pselect6 object.
37460         [$(subdir) = io]: Remove call_sync_file_range object.
37461         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37462         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37463         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37464         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37466 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
37468         * math/s_cproj.c: Add include "math_private.h".
37469         * math/s_cprojf.c: Likewise.
37470         * math/s_cprojl.c: Likewise.
37472 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
37474         [BZ #18244]
37475         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37476         high mantissa bit when testing whether P is a NaN.
37477         * math/libm-test.inc (remainder_test_data): Add more tests.
37478         (remquo_test_data): Likewise.
37480         [BZ #18049]
37481         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37482         below -32, return the argument, with underflow if subnormal.
37483         * math/auto-libm-test-in: Add more tests of atanh.
37484         * math/auto-libm-test-out: Regenerated.
37486 2015-05-19  Roland McGrath  <roland@hack.frob.com>
37488         [BZ #18434]
37489         * nptl/tst-sem15.c: New file.
37490         * nptl/Makefile (tests): Add it.
37491         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37492         s/<</>>/ to fix typo in EOVERFLOW check.
37493         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37495 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37497         * manual/strings.texi (envz_remove): Fix typo in safety
37498         annotations.
37500 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
37501             Steve Ellcey  <sellcey@imgtec.com>
37503         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37504         in order to avoid strict alias warnings.
37505         (iruserok_af): Ditto for ra.
37507 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
37509         [BZ #17581]
37510         * malloc/hooks.c
37511         (magicbyte): Convert to a function and avoid returning 0x01.
37512         (mem2mem_check): Avoid using a length byte equal to the magic byte.
37513         (mem2chunk_check): Fix unsigned comparisons to zero.
37514         Hoist defs of sz and magic.
37516 2015-05-19  Richard Henderson  <rth@redhat.com>
37518         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37520         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37522 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37524         [BZ #16159]
37525         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37526         * malloc/arena.c (arena_lock): Check if arena is corrupt.
37527         (reused_arena): Find a non-corrupt arena.
37528         (heap_trim): Pass arena to unlink.
37529         * malloc/hooks.c (malloc_check_get_size): Pass arena to
37530         malloc_printerr.
37531         (top_check): Likewise.
37532         (free_check): Likewise.
37533         (realloc_check): Likewise.
37534         * malloc/malloc.c (malloc_printerr): Add arena argument.
37535         (unlink): Likewise.
37536         (munmap_chunk): Adjust.
37537         (ARENA_CORRUPTION_BIT): New macro.
37538         (arena_is_corrupt): Likewise.
37539         (set_arena_corrupt): Likewise.
37540         (sysmalloc): Use mmap if there are no usable arenas.
37541         (_int_malloc): Likewise.
37542         (__libc_malloc): Don't fail if arena_get returns NULL.
37543         (_mid_memalign): Likewise.
37544         (__libc_calloc): Likewise.
37545         (__libc_realloc): Adjust for additional argument to
37546         malloc_printerr.
37547         (_int_free): Likewise.
37548         (malloc_consolidate): Likewise.
37549         (_int_realloc): Likewise.
37550         (_int_memalign): Don't touch corrupt arenas.
37551         * malloc/tst-malloc-backtrace.c: New test case.
37553         * Makefile (summarize-tests): Fix return value on success.
37555         * manual/string.texi (Envz Functions): Add envz_remove.
37557 2015-05-18  Roland McGrath  <roland@hack.frob.com>
37559         * sysdeps/posix/opendir.c: Include <stdbool.h>.
37560         (invalid_name): New function, broken out of ...
37561         (__opendirat): ... here.  Call it.
37562         (need_isdir_precheck): New function, broken out of ...
37563         (__opendirat): ... here.  Call it.
37564         Use __fxstatat64, not __xstatat64.
37565         (opendir_oflags): New function, broken out of ...
37566         (__opendirat): ... here.  Call it.
37567         (opendir_tail): New function, broken out of ...
37568         (__opendirat): ... here.  Call it.
37569         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37570         opendir_tail, rather than punting to __opendirat.
37571         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37573 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37575         * .gitignore: Ignore generated *.pyc.
37577 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
37579         * include/stdio.h: Define __need_wint_t.
37580         * test-skeleton.c: Avoid `for' loop initial declaration.
37581         * nptl/tst-initializers1.c: Use test-skeleton.c.
37583 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37585         [BZ #18418]
37586         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37588 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37590         [BZ #16352]
37591         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37592         (__ieee754_atanh): Force underflow exception for results with
37593         small absolute value.
37594         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37595         (__ieee754_atanhf): Force underflow exception for results with
37596         small absolute value.
37597         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37598         (__ieee754_atanh): Force underflow exception for results with
37599         small absolute value.
37600         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37601         (__ieee754_atanhf): Force underflow exception for results with
37602         small absolute value.
37603         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37604         (__ieee754_atanhl): Force underflow exception for results with
37605         small absolute value.
37606         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37607         (__ieee754_atanhl): Force underflow exception for results with
37608         small absolute value.
37609         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37610         (__ieee754_atanhl): Force underflow exception for results with
37611         small absolute value.
37612         * math/auto-libm-test-in: Do not allow missing underflow
37613         exceptions from atanh.
37614         * math/auto-libm-test-out: Regenerated.
37616         [BZ #18221]
37617         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37618         2**-28 as threshold for returning x or +/- 1/x.
37619         * math/auto-libm-test-in: Add more tests of tan.
37620         * math/auto-libm-test-out: Regenerated.
37622         [BZ #18220]
37623         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37624         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37625         * math/auto-libm-test-in: Add another test of lgamma.
37626         * math/auto-libm-test-out: Regenerated.
37628 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
37630         * stdio-common/printf_fp.c (___printf_fp): Use abs.
37631         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
37632         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37633         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37634         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
37635         (ADD2A): Use fabs.  (SUB2A): Use fabs.
37636         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37637         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37638         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37639         (log1): Use fabs.  (my_log2): Use fabs.
37640         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37641         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37642         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37643         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37644         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37645         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
37646         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
37647         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
37648         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
37649         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37650         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37652 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37654         [BZ #18217]
37655         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37656         as threshold for returning 1 - x.
37657         * math/auto-libm-test-in: Add more tests of erfc.
37658         * math/auto-libm-test-out: Regenerated.
37660 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
37662         [BZ #18196]
37663         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37664         threshold for large arguments.
37665         * math/auto-libm-test-in: Add another test of atan.
37666         * math/auto-libm-test-out: Regenerated.
37668         [BZ #16339]
37669         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37670         (__log1p): Force underflow exception for results with small
37671         absolute value.
37672         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37673         (__log1pf): Force underflow exception for results with small
37674         absolute value.
37675         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37676         (__log1p): Force underflow exception for results with small
37677         absolute value.
37678         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37679         (__log1pf): Force underflow exception for results with small
37680         absolute value.
37681         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37682         (__log1pl): Force underflow exception for results with small
37683         absolute value.
37684         * math/auto-libm-test-in: Do not allow missing underflow
37685         exceptions from log1p.
37686         * math/auto-libm-test-out: Regenerated.
37688 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
37689             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37691         [BZ #16704]
37692         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37694 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
37696         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37697         (libmvec): New variable.
37698         * configure.ac: Added option for mathvec build.
37699         * configure: Regenerated.
37700         * mathvec/Depend: New file.
37701         * mathvec/Makefile: New file.
37702         * shlib-versions: Added libmvec.
37703         * math/Makefile: Added rule for libm.so installation.
37705         * bits/math-vector.h: New file.
37706         * bits/libm-simd-decl-stubs.h: New header.
37707         * math/Makefile (headers): Added new header
37708         libm-simd-decl-stubs.h.
37709         * math/math.h (__MATHCALL_VEC): New macro.
37711         * math/gen-libm-have-vector-test.sh: Script generates series of macros
37712         for conditions in testing functions.
37713         * math/Makefile: Added call of libm-have-vector-test.sh.
37714         * math/libm-test.inc (HAVE_VECTOR): New macros.
37716         * math/libm-test.inc: START refactored.
37717         * math/test-double.c (TEST_MATHVEC): Add define.
37718         * math/test-float.c: Likewise.
37719         * math/test-idouble.c: Likewise.
37720         * math/test-ifloat.c: Likewise.
37721         * math/test-ildoubl.c: Likewise.
37722         * math/test-ldouble.c: Likewise.
37723         * sysdeps/generic/math-tests-arch.h
37724         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37725         architecture check.
37727         * math/test-double.c (FUNC_TEST): New macro.
37728         * math/test-float.c: Likewise.
37729         * math/test-idouble.c: Likewise.
37730         * math/test-ifloat.c: Likewise.
37731         * math/test-ildoubl.c: Likewise.
37732         * math/test-ldouble.c: Likewise.
37733         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37735 2015-05-13  Roland McGrath  <roland@hack.frob.com>
37737         * sysdeps/nacl/fdopendir.c: New file.
37739         * dirent/scandir-tail.c: New file.
37740         * dirent/scandir64-tail.c: New file.
37741         * dirent/Makefile (routines): Add them.
37742         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37743         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37744         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37745         [!SCANDIR] (SCANDIR_TAIL): New macro.
37746         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37747         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37748         (SCANDIRAT): Macro removed.
37749         (SCANDIR_TAIL): New macro.
37750         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37751         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37752         (SCANDIRAT): Just call __opendirat and __scandir_tail.
37753         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37754         (READDIR): Macro removed.
37755         (SCANDIR_TAIL): New macro.
37756         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37757         (SCANDIR_TAIL): New macro.
37759         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37760         * dirent/scandir-cancel.c: ... to this new file.
37761         * dirent/Makefile (routines): Add it.
37762         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37763         * sysdeps/unix/sysv/linux/i386/scandir64.c
37764         (SKIP_SCANDIR_CANCEL): Macro removed.
37765         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37767         * dirent/tst-scandir.c: New file.
37768         * dirent/tst-scandir64.c: New file.
37769         * dirent/Makefile (tests): Add them.
37771 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
37773         [BZ #18409]
37774         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37776 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37778         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37779         list.
37781 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
37783         * benchtests/bench-strcoll.c: New benchmark.
37784         * benchtests/Makefile: Generate locales and run benchmark.
37785         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37786         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37787         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37788         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37789         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37790         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37791         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37792         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37793         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37794         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37795         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37796         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37797         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37798         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37799         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37800         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37801         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37802         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37803         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37804         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37805         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37806         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37807         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37808         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37810 2015-05-12  Ondƙej BĂ­lka  <neleai@seznam.cz>
37812         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37813         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37815 2015-05-12  Roland McGrath  <roland@hack.frob.com>
37817         * posix/uname-values.h: New file.
37818         * posix/uname.c: Include that instead of <config-name.h>.
37819         * sysdeps/nacl/uname-values.h: New file.
37820         * sysdeps/arm/nacl/uname-values.h: New file.
37822 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
37824         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37825         splitting into fields.
37827 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
37829         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37830         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37831         * locale/localeinfo.h: Add enum collation_encoding_type.
37832         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37833         * programs/ld-collate.c (collate_output): Add encoding type info.
37834         * string/strcoll_l.c (STRDIFF): New function.
37835         * (STRCOLL): Use STRDIFF to skip over equal prefix.
37836         * wcsmbs/wcscoll_l.c: Define STRDIFF.
37838 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
37840         [BZ #18397]
37841         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37842         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
37843         <fpu_control.h> instead of <math/fpu_control.c>.
37844         * sysdeps/mips/mips32/fpu/Makefile: New file.
37846 2015-05-11  Andreas Schwab  <schwab@suse.de>
37848         [BZ #18007]
37849         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37850         nss_endgrent.
37851         (_nss_compat_endgrent): Call nss_endgrent.
37852         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37853         nss_endpwent.
37854         (_nss_compat_endpwent): Call nss_endpwent.
37855         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37856         needent, call nss_setspent only if non-zero.
37857         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37858         (internal_endspent): Don't call nss_endspent.
37859         (_nss_compat_endspent): Call nss_endspent.
37860         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37861         Remove.  All uses removed.
37862         (internal_setent): Remove parameter stayopen, add parameter
37863         stream.  Use it instead of global variable.
37864         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37865         (internal_endent, internal_getent): Add parameter stream.  Use it
37866         instead of global variable.
37867         (CONCAT(_nss_files_end,ENTNAME))
37868         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37869         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
37870         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
37871         uses removed.
37872         (internal_setent, internal_endent): Add parameter stream.  Use it
37873         instead of global variable.
37874         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37875         stream.
37876         (get_next_alias): Add parameter stream.
37877         (_nss_files_getaliasent_r): Pass global stream.
37878         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
37879         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37880         (_nss_files_gethostbyname4_r): Pass local stream to
37881         internal_setent, internal_getent and internal_endent.  Remove
37882         locking.
37884 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37886         * tst-strfmon1.c (tests): Update expected currency symbol.
37888 2015-05-08  Roland McGrath  <roland@hack.frob.com>
37890         * sysdeps/nacl/gethostname.c: New file.
37892 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
37894         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37895         and sinh.
37896         * math/auto-libm-test-out: Regenerated.
37897         * sysdeps/i386/fpu/libm-test-ulps: Update.
37898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37900 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
37902         [BZ #18125]
37903         * stdlib/tst-setcontext3.c: New file.
37904         * stdlib/tst-setcontext3.sh: New file.
37905         * stdlib/Makefile (tests): Add tst-setcontext3.
37906         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37907         to verify test program created output file.
37908         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37909         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37910         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37911         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37913 2015-05-06  Roland McGrath  <roland@hack.frob.com>
37915         [BZ #18383]
37916         * elf/tst-tlsalign.c: New file.
37917         * elf/tst-tlsalign-static.c: New file.
37918         * elf/tst-tlsalign-lib.c: New file.
37919         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37920         (tests-static): Add tst-tlsalign-static.
37921         (modules-names): Add tst-tlsalign-lib.
37922         (test-xfail-tst-tlsalign): New variable.
37923         (test-xfail-tst-tlsalign-static): New variable.
37925         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37926         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37928 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
37930         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37931         csqrt, erfc, sin and sincos.
37932         * math/auto-libm-test-out: Regenerated.
37933         * sysdeps/i386/fpu/libm-test-ulps: Update.
37934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37936 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37938         * sysdeps/aarch64/libm-test-ulps: Update.
37940 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
37942         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37943         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
37944         * math/auto-libm-test-out: Regenerated.
37945         * sysdeps/i386/fpu/libm-test-ulps: Update.
37946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37948 2015-04-30  Daniel MarjamĂ€ki  <daniel.marjamaki@evidente.se>
37950         [BZ #18265]
37951         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37952         (wcsncpy): Likewise.
37954 2015-05-05  Florian Weimer  <fweimer@redhat.com>
37956         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37957         Assume __ASSUME_FALLOCATE is always true.
37958         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37959         (__posix_fallocate64_l64): Likewise.
37960         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
37961         (posix_fallocate): Likewise.
37962         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
37963         (__posix_fallocate64_l64): Likewise.
37964         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37965         [!__ASSUME_FALLOCATE]: Add comment.
37967 2015-05-05  Florian Weimer  <fweimer@redhat.com>
37969         * sysdeps/unix/sysv/linux/i386/Makefile
37970         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
37971         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
37972         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
37973         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37974         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37975         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
37976         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
37978 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
37980         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
37981         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
37982         tgamma.
37983         * math/auto-libm-test-out: Regenerated.
37984         * sysdeps/i386/fpu/libm-test-ulps: Update.
37985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37987 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
37989         * math/auto-libm-test-in: Add more tests of tgamma.
37990         * math/auto-libm-test-out: Regenerated.
37991         * sysdeps/i386/fpu/libm-test-ulps: Update.
37992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37994         * math/auto-libm-test-in: Add more tests of tanh.
37995         * math/auto-libm-test-out: Regenerated.
37996         * sysdeps/i386/fpu/libm-test-ulps: Update.
37997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37999         * math/auto-libm-test-in: Add more tests of tan.
38000         * math/auto-libm-test-out: Regenerated.
38001         * sysdeps/i386/fpu/libm-test-ulps: Update.
38002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38004         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
38005         * math/auto-libm-test-out: Regenerated.
38006         * sysdeps/i386/fpu/libm-test-ulps: Update.
38007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38009         * math/auto-libm-test-in: Add another test of pow.
38010         * math/auto-libm-test-out: Regenerated.
38011         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38013         * math/auto-libm-test-in: Add more tests of lgamma.
38014         * math/auto-libm-test-out: Regenerated.
38015         * sysdeps/i386/fpu/libm-test-ulps: Update.
38016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38018         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
38019         log1p.
38020         * math/auto-libm-test-out: Regenerated.
38021         * sysdeps/i386/fpu/libm-test-ulps: Update.
38022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38024 2015-05-01  Mark Wielaard  <mjw@redhat.com>
38026         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
38027         Elf64_Chdr structs and ELFCOMPRESS constants.
38029 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
38031         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
38032         expm1.
38033         * math/auto-libm-test-out: Regenerated.
38034         * sysdeps/i386/fpu/libm-test-ulps: Update.
38035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38037         * math/auto-libm-test-in: Add more tests of erf and erfc.
38038         * math/auto-libm-test-out: Regenerated.
38039         * sysdeps/i386/fpu/libm-test-ulps: Update.
38040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38042 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
38044         * config.h.in (HAVE_AARCH64_BE): Add.
38046 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
38048         * math/auto-libm-test-in: Add more tests of csqrt.
38049         * math/auto-libm-test-out: Regenerated.
38050         * sysdeps/i386/fpu/libm-test-ulps: Update.
38051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38053         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38054         * math/auto-libm-test-out: Regenerated.
38055         * sysdeps/i386/fpu/libm-test-ulps: Update.
38056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38058         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
38060 2015-04-29  Roland McGrath  <roland@hack.frob.com>
38062         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
38063         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
38065         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
38066         (euidaccess, eaccess): Define as weak aliases.
38068         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
38069         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
38070         but __suseconds_t is often 'long int' so some sources assume that
38071         type is being used (e.g. they use %ld to print tv_usec).
38073 2015-04-29  Florian Weimer  <fweimer@redhat.com>
38075         [BZ #18007]
38076         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
38077         (CVE-2014-8121)
38078         * nss/tst-nss-getpwent.c: New file.
38079         * nss/Makefile (tests): Add new test.
38081 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
38083         [BZ #18346]
38084         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
38085         exponents less than 48 as cases where high part of mantissa needs
38086         examining to determine whether argument is integral.
38087         * math/libm-test.inc (round_test_data): Add more tests.
38089 2015-04-28  Mark Wielaard  <mjw@redhat.com>
38091         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
38093 2015-04-27  David S. Miller  <davem@davemloft.net>
38095         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
38096         __tls_get_addr.
38097         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38099 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
38101         [BZ #18333]
38102         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
38104 2015-04-27  Florian Weimer  <fweimer@redhat.com>
38106         [BZ #18333]
38107         * time/tzset.c (parse_tzname): Return error on memory allocation
38108         failure.
38109         * test-skeleton.c (struct temp_name_list): Change type of name
38110         member to non-const.
38111         (add_temp_file): Create a copy of the file name.
38112         (delete_temp_files): Deallocate memory.
38113         (create_temp_file): Add comment.
38115 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38117         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38118         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38120 2015-04-24  Roland McGrath  <roland@hack.frob.com>
38122         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38123         * sysdeps/arm/configure: Regenerated.
38125 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38127         [BZ #17715]
38128         * time/tzfile.c (__tzfile_read): Check for large values of
38129         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
38130         * time/tzset.c (__tzstring_len): New function, based on the old
38131         __tzstring function.
38132         (__tzstring): Call __tzstring_len.
38133         (parse_tzname): New helper function extracted from
38134         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
38135         the input string.
38136         (parse_offset): New helper function extracted from
38137         __tzset_parse_tz.  Replace switch with fallthrough with
38138         initialization before sscanf.
38139         (parse_rule): Likewise.
38140         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
38141         new-style function definition.
38142         * timezone/Makefile (tests): Add tst-tzset.
38143         (tst-tzset.out): Dependencies on time zone files.
38144         (tst-tzset-ENV): Set TZDIR.
38145         (testdata/XT%): Copy crafted time zone files.
38146         * timezone/README: Mention crafted time zone files.
38147         * timezone/testdata/XT1, timezone/testdata/XT2,
38148         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38149         files.
38150         * timezone/tst-tzset.c: New test.
38152 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38154         * Makeconfig (+gccwarn): Remove -Winline.
38156 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38158         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38160 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38162         * NEWS: Mention sysconf() cache information support for s390.
38163         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38165 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
38167         * math/k_casinh.c (__kernel_casinh): Use __copysign.
38168         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38169         (__nearbyint): Likewise.
38170         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38171         (copysignl): Likewise.
38173 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
38175         [BZ #18287]
38176         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38177         based on padding.  (CVE-2015-1781)
38179 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38181         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38182         libc-vdso.h.
38183         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38184         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38185         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38186         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38187         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38188         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38189         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38190         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38191         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38192         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38193         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38194         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38195         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38196         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38197         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38198         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38199         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38200         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38201         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38202         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38203         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38204         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38205         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38207 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
38209         * stdlib/setenv.c (__add_to_environ):
38210         Dump core quickly if setenv (..., NULL, ...) is called.
38211         This time, do it the right way, and pacify GCC with a pragma.
38213 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38215         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38216         IMAP->l_prev cannot be null, and #if out the code for the contrary
38217         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38218         believe that NS (&_dl_ns[NSID]) could point outside the array.
38220         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38221         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38222         before using NSID as an index.
38224 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
38226         [BZ #17825]
38227         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38228         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38229         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38231 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38233         Add preliminary port to Google Native Client on ARM.
38234         * abi-tags (.*-.*-nacl.*): New entry.
38235         * sysdeps/arm/nacl: New directory.
38236         * sysdeps/nacl: New directory.
38238 2015-04-16  David S. Miller  <davem@davemloft.net>
38240         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38241         lowlevellock-futex.h
38243 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
38245         * sysdeps/tile/configure.ac: New file.
38246         * sysdeps/tile/configure: Regenerated.
38248 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38250         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
38251         conditionals for weak_alias and libc_hidden_weak.
38252         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38253         libc_hidden_weak and weak_alias.
38254         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38255         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38256         and weak_alias for static one.
38258 2015-04-15  David S. Miller  <davem@davemloft.net>
38260         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38262 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38264         [BZ #18206]
38265         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38266           Use signed comparision instead of substraction to avoid
38267           overflow bug.
38268         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38269           Take the sign of ret.
38270         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38271           Do not expect precise return values. Only the sign matters.
38272         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38273         * wcsmbs/test-wcsncmp.c: New File.
38274         * string/test-strncmp.c: Add wcsncmp support.
38276 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38278         [BZ #6792]
38279         * math/w_log1p.c: New file.
38280         * math/w_log1pf.c: Likewise.
38281         * math/w_log1pl.c: Likewise.
38282         * math/Makefile (libm-calls): Add w_log1p.
38283         * math/s_log1pl.c (log1pl): Remove weak_alias.
38284         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38285         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38286         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38287         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38288         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38289         [NO_LONG_DOUBLE] (log1pl): Likewise.
38290         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38291         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38292         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38293         (log1p): Remove long_double_symbol.
38294         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38295         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38296         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38297         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38298         remove weak_alias for corresponding log1p function.
38299         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38300         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38301         * sysdeps/ia64/fpu/w_log1p.c: New file.
38302         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38303         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38304         * math/libm-test.inc (log1p_test_data): Add errno expectations.
38306 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
38308         [BZ #18247]
38309         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38310         decimal exponent by 1.
38311         * stdlib/tst-strtod-round-data: Add more tests.
38312         * stdlib/tst-strtod-round.c (tests): Regenerated.
38314 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
38316         * math/auto-libm-test-in: Add more tests of clog and clog10.
38317         * math/auto-libm-test-out: Regenerated.
38318         * sysdeps/i386/fpu/libm-test-ulps: Update.
38319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38321 2015-04-09  Roland McGrath  <roland@hack.frob.com>
38323         * Makeconfig (module-cppflags): Exclude all .v.i files.
38324         (skip-module-cppflags): Variable removed.
38326         * configure.ac (libc_config_ok): Initialize before reading
38327         preconfigure scripts, not after.
38328         * configure: Regenerated.
38330         * test-skeleton.c (TIMEOUT): Move #define to top level.
38331         (main): Grok environment variable TEST_DIRECT.  If set, print
38332         test expectation details into that file and then behave as if
38333         given --direct.
38335 2015-04-09  Florian Weimer  <fweimer@redhat.com>
38337         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38338         warning on 32-bit.
38340 2015-04-08  David S. Miller  <davem@davemloft.net>
38342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38344 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38346         * math/auto-libm-test-in: Add more tests of atanh.
38347         * math/auto-libm-test-out: Regenerated.
38348         * sysdeps/i386/fpu/libm-test-ulps: Update.
38349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38351         * math/auto-libm-test-in: Add more tests of atan.
38352         * math/auto-libm-test-out: Regenerated.
38353         * sysdeps/i386/fpu/libm-test-ulps: Update.
38354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38356 2015-04-08  Florian Weimer  <fweimer@redhat.com>
38358         * elf/pldd.c (main): Rewrite to use struct
38359         scratch_buffer instead of extend_alloca.
38360         * elf/pldd-xx.c (find_maps): Likewise.
38361         * grp/initgroups.c: Include <scratch_buffer.h> instead of
38362         <alloca.h>.
38363         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38364         scratch_buffer instead of extend_alloca.
38365         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38366         grp/compat-initgroups.c.
38367         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38368         Rewrite to use struct scratch_buffer instead of extend_alloca.
38369         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38370         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38372 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38374         * math/auto-libm-test-in: Add more tests of cbrt.
38375         * math/auto-libm-test-out: Regenerated.
38376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38378         * math/auto-libm-test-in: Add more tests of cabs.
38379         * math/auto-libm-test-out: Regenerated.
38380         * sysdeps/i386/fpu/libm-test-ulps: Update.
38381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38383         [BZ #18210]
38384         [BZ #18211]
38385         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38386         (__ieee754_atan2): Set FE_TONEAREST mode for internal
38387         computations.
38388         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38389         clog10.
38390         * math/auto-libm-test-out: Regenerated.
38391         * sysdeps/i386/fpu/libm-test-ulps: Update.
38392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38394         [BZ #18197]
38395         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38396         (atan): Set FE_TONEAREST mode for internal computations.
38397         * math/auto-libm-test-in: Add more tests of atan.
38398         * math/auto-libm-test-out: Regenerated.
38400 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
38402         [BZ #17930]
38403         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38405 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38407         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38409 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38411         * include/scratch_buffer.h: New file.
38412         * malloc/scratch_buffer_grow.c: Likewise.
38413         * malloc/scratch_buffer_grow_preserve.c: Likewise.
38414         * malloc/scratch_buffer_set_array_size.c: Likewise.
38415         * malloc/tst-scratch_buffer.c: Likewise.
38416         * malloc/Makefile (routines): Add scratch_buffer_grow.
38417         (tests): Add test case.
38418         * malloc/Versions (GLIBC_PRIVATE): Export
38419         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38420         __libc_scratch_buffer_set_array_size.
38422 2015-04-06  Richard Henderson  <rth@redhat.com>
38424         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38425         * sysdeps/alpha/fpu/libm-test-ulps: Update.
38427         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38428         unsigned int before printing.
38430 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38432         [BZ #17596]
38433         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38434         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38436 2015-04-02  Florian Weimer  <fweimer@redhat.com>
38438         * include/libc-internal.h (libc_max_align_t): Define.
38440 2015-04-02  Andreas Schwab  <schwab@suse.de>
38442         [BZ #16850]
38443         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38445 2015-04-02  Mel Gorman  <mgorman@suse.de>
38447         [BZ #17195]
38448         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38449         as well as the main arena.
38451 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38453         [BZ #18185]
38454         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38455         sharing L2 cache to 2 for Silvermont/Knights Landing.
38457 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38459         [BZ #17711]
38460         * config.make.in (have-protected-data): New.
38461         * configure.ac: Check linker support for protected data symbol.
38462         * configure: Regenerated.
38463         * elf/Makefile (modules-names): Add tst-protected1moda and
38464         tst-protected1modb if $(have-protected-data) is yes.
38465         (tests): Add tst-protected1a and tst-protected1b if
38466         $(have-protected-data) is yes.
38467         ($(objpfx)tst-protected1a): New.
38468         ($(objpfx)tst-protected1b): Likewise.
38469         (tst-protected1modb.so-no-z-defs): Likewise.
38470         * elf/tst-protected1a.c: New file.
38471         * elf/tst-protected1b.c: Likewise.
38472         * elf/tst-protected1mod.h: Likewise.
38473         * elf/tst-protected1moda.c: Likewise.
38474         * elf/tst-protected1modb.c: Likewise.
38476 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38478         [BZ #17711]
38479         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38480         indicates it is called from do_lookup_x on relocation against
38481         protected data, skip the data definion in the executable from
38482         copy reloc.
38483         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38484         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38485         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38486         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38487         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38488         otherwise to 0.
38489         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38490         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38491         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38492         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38493         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38494         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38496 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
38498         * sysdeps/nptl/pthread.h: Remove duplicate definition of
38499         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38501 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
38503         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38504         THREAD_SETMEM_NC.
38505         * sysdeps/x86_64/nptl/tls.h: Ditto.
38507 2015-03-27  Roland McGrath  <roland@hack.frob.com>
38509         * dlfcn/tststatic.c (main): Converted to ...
38510         (do_test): ... this.
38511         (TEST_FUNCTION): New macro.
38512         Include test-skeleton.c.
38514 2015-03-26  Alan Modra  <amodra@gmail.com>
38516         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38517         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
38518         zero for undefined weak.
38519         (elf_machine_plt_conflict): Similarly.
38521 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38523         * math/auto-libm-test-in: Add more tests of acosh, asinh and
38524         atanh.
38525         * math/auto-libm-test-out: Regenerated.
38526         * sysdeps/i386/fpu/libm-test-ulps: Update.
38527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38529         * math/auto-libm-test-in: Add another test of asin.
38530         * math/auto-libm-test-out: Regenerated.
38531         * sysdeps/i386/fpu/libm-test-ulps: Update.
38532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38534         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38535         Remove macro.
38536         (LLL_EBX_REG): Likewise.
38537         (LLL_ENTER_KERNEL): Likewise.
38539         * math/auto-libm-test-in: Add more tests of asin.
38540         * math/auto-libm-test-out: Regenerated.
38541         * sysdeps/i386/fpu/libm-test-ulps: Update.
38542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38544         [BZ #18138]
38545         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38546         libc_do_syscall_args): New structure.
38547         (INTERNAL_SYSCALL_MAIN_0): New macro.
38548         (INTERNAL_SYSCALL_MAIN_1): Likewise.
38549         (INTERNAL_SYSCALL_MAIN_2): Likewise.
38550         (INTERNAL_SYSCALL_MAIN_3): Likewise.
38551         (INTERNAL_SYSCALL_MAIN_4): Likewise.
38552         (INTERNAL_SYSCALL_MAIN_5): Likewise.
38553         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
38554         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38555         Replace conditional definitions by conditional definitions of ....
38556         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
38557         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38558         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38559         (libpthread-sysdep_routines): Add libc-do-syscall.
38560         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38561         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38562         to __NR_futex not 240.
38564 2015-03-25  Alan Modra  <amodra@gmail.com>
38566         * NEWS: Advertise TLS optimization.
38567         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38568         (DT_PPC_NUM): Increment.
38569         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38570         (CHECK_STATIC_TLS): Use here.
38571         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38572         TLS descriptors.
38573         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38574         * sysdeps/powerpc/dl-tls.c: New file.
38575         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38576         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38577         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38578         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38583 2015-03-25  Alan Modra  <amodra@gmail.com>
38585         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38586         for overlapping .opd entries" to "support...".
38587         * sysdeps/powerpc/powerpc64/configure: Regenerate
38589 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38591         * math/auto-libm-test-in: Add more tests of acos.
38592         * math/auto-libm-test-out: Regenerated.
38593         * sysdeps/i386/fpu/libm-test-ulps: Update.
38594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38596         * math/auto-libm-test-in: Add more tests of expm1.
38597         * math/auto-libm-test-out: Regenerated.
38598         * sysdeps/i386/fpu/libm-test-ulps: Update.
38599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38601 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
38603         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38604         * math/auto-libm-test-out: Regenerated.
38605         * sysdeps/i386/fpu/libm-test-ulps: Update.
38606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38608         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38611         * math/auto-libm-test-in: Add more tests of log2.
38612         * math/auto-libm-test-out: Regenerated.
38613         * sysdeps/i386/fpu/libm-test-ulps: Update.
38614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38616 2015-03-23  Roland McGrath  <roland@hack.frob.com>
38618         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38619         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
38620         _IO_IS_APPENDING bit in READ_WRITE instead.
38622 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38624         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38625         (__determine_cpumask_size): Replace extend_alloca with a
38626         variable-length array.  Do not treat res == 0 as an error.
38628 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38630         [BZ #18100]
38631         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38632         and integer overflow.
38633         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38634         (main): Add integer overflow tests.
38635         * manual/pattern.texi (Calling Wordexp): Document additional use
38636         for WRDE_SYNTAX.
38638 2015-03-23  Alan Modra  <amodra@gmail.com>
38640         * config.h.in: Remove HAVE_ASM_PPC_REL16.
38641         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38642         and false branch of conditional.
38643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38644         Likewise.
38646 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
38648         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38649         libc-modules.h
38650         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38651         unused declaration of _hurd_intr_rpc_msg_in_trap.
38652         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38653         defined instead of whether it is non-zero.
38654         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38655         input constraint instead of both input and output constraint.  Use ecx
38656         clobber instead of %ecx.
38657         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38658         mutex_unlock): Use a statement expression instead of an expression list.
38659         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38660         type to vm_size_t instead of vm_address_t.
38661         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38662         defined instead of whether it is non-zero.
38663         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38664         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38665         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38666         comparisons with mapaddr.
38667         * nscd/nscd-client.h: Include <time.h>.
38668         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38669         9th parameter to __vm_region instead of int.
38670         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38671         * scripts/check-local-headers.sh (exclude): Add device/,
38672         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38673         cthreads.h.
38675 2015-03-19  Roland McGrath  <roland@hack.frob.com>
38677         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38678         to account for alignment padding.
38679         * sysdeps/arm/memmove.S: Likewise.
38681 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
38683         * sysdeps/unix/sysv/linux/generic/README: New file.
38685 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
38687         [BZ #18138]
38688         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38689         (futex_abstimed_wait)
38690         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38691         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38692         of lll_futex_timed_wait.
38694 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
38696         [BZ #17542]
38697         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38699 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
38701         [BZ #17090]
38702         [BZ #17620]
38703         [BZ #17621]
38704         [BZ #17628]
38705         * NEWS: Update.
38706         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38707         entries with Static TLS too.  Skip entries past the end of the
38708         allocated DTV, from Alan Modra.
38709         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
38710         Static TLS DTV entry set up from...
38711         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38712         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38713         * nptl/allocatestack.c (init_one_static_tls): ... and here...
38714         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38715         for Static TLS.
38716         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
38717         that the slot we find is associated with the given map before
38718         using its generation count.
38719         * nptl_db/db_info.c: Include ldsodefs.h.
38720         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38721         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38722         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38723         (link_map::l_tls_offset): New struct field.
38724         (dtv_t::counter): Likewise.
38725         (rtld_global): New struct.
38726         (_rtld_global): New rtld variable.
38727         (dl_tls_dtv_slotinfo_list): New rtld global field.
38728         (dtv_slotinfo_list): New struct.
38729         (dtv_slotinfo): Likewise.
38730         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38731         (td_lookup): Rename to...
38732         (td_mod_lookup): ... this.  Use new mod parameter instead of
38733         LIBPTHREAD_SO.
38734         * nptl_db/td_thr_tlsbase.c: Include link.h.
38735         (dtv_slotinfo_list, dtv_slotinfo): New functions.
38736         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
38737         addresses even if the DTV is out of date or missing them.
38738         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38739         index zero-length arrays.
38740         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38741         (td_lookup): Make it a macro implemented in terms of...
38742         (td_mod_lookup): ... this declaration.
38743         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38744         (DB_MAIN_VARIABLE): Likewise.
38746 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38748         [BZ #18134]
38749         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38751 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
38753         * stdlib/setenv.c (__add_to_environ): Revert previous change.
38755 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
38757         [BZ #18128]
38758         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38759         (atomic_add, atomic_increment_and_test)
38760         (atomic_decrement_and_test): Fix 64-bit arithmetic.
38762 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
38764         * stdlib/setenv.c (__add_to_environ):
38765         Dump core quickly if setenv (..., NULL, ...) is called.
38767 2015-03-13  Roland McGrath  <roland@hack.frob.com>
38769         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38770         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38771         all the necessary asm magic in one place.
38772         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38773         using those.
38775 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
38777         [BZ #14906]
38778         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38779         traced file mtime. Use consistent log message.
38780         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38781         (register_traced_file): Call install_watches. Always set mtime.
38782         (invalidate_cache): Iterate over all trace files. Call install_watches.
38783         (inotify_check_files): Don't inline. Handle watching parent
38784         directories and configuration file movement in and out.
38785         (handle_inotify_events): New function.
38786         (main_loop_poll): Call handle_inotify_events.
38787         (main_loop_epoll): Likewise.
38788         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38789         (struct traced_file): Use array of inotify fds. Add parent directory,
38790         and basename.
38791         (struct database_dyn): Remove unused file_mtime.
38792         (init_traced_file): New inline function.
38793         (define_traced_file): New macro.
38794         * nss/nss_db/db-init.c: Use define_traced_file.
38795         (_nss_db_init): Use init_traced_file.
38796         * nss/nss_files/files-init.c: Use define_traced_file.
38797         (_nss_files_init): Use init_traced_file.
38799 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
38801         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38802         [_LIBC]: Do not include <stdlib.h>.
38803         [!_LIBC] (abort): Remove declaration.
38804         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38805         _FP_STATIC_ASSERT instead of conditionally calling abort.
38806         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38807         (_FP_EXTEND_CNAN): Likewise.
38808         (FP_TRUNC): Likewise.
38809         (__FP_CLZ): Likewise.
38810         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38812 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
38814         * manual/string.texi (XPG basename): Fix prototype.
38816 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38818         [BZ #18080]
38819         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38820         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38821         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38822         (__setcontext): Likewise.
38823         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38824         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38825         Call rt_sigprocmask syscall one time to set new signal mask
38826         and retrieve the current signal mask instead of two calls.
38827         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38828         (__swapcontext): Likewise.
38829         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38830         * stdlib/tst-setcontext2.c: New file.
38832 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38834         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38836 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
38838         [BZ #18093]
38839         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38840         the wrong size.
38842 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38844         [BZ #18043]
38845         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38847 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38849         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38850         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38851         Remove define.
38852         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38853         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38854         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38855         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38856         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38857         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38858         define.
38859         * nptl_db/td_symbol_list.c (td_lookup): Remove
38860         HAVE_ASM_GLOBAL_DOT_NAME code.
38861         * sysdeps/powerpc/powerpc64/configure.ac: Remove
38862         HAVE_ASM_GLOBAL_DOT_NAME check.
38863         * sysdeps/powerpc/powerpc64/configure: Regenerate.
38864         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38865         (DOT_LABEL): Remove define.
38866         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38867         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38868         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38869         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38870         (__TLS_GET_ADDR): Likewise.
38871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38872         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38874 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
38876         [BZ #18111]
38877         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38878         (_FPU_SETCW): Initialize cw from fpsr before storing.
38879         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38880         (fesetexceptflag): Rewrite using fpu_control.h.
38881         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38883 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
38885         [BZ #18110]
38886         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38887         asms.
38888         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38890 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
38892         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38893         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38894         abort.
38895         (_FP_FMA): Likewise.
38896         (_FP_DIV): Likewise.
38898 2015-03-10  Roland McGrath  <roland@hack.frob.com>
38900         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38901         with 0 in that case.
38902         * Makefile (summarize-tests): New canned sequence, factored out of
38903         commands for targets tests and xtests.  Display summary lines that
38904         don't start with PASS: or XFAIL: rather than ones that do start with
38905         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
38906         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38907         do start with ERROR: or FAIL:.
38908         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38909         (except for [$(build-shared) = yes]).
38910         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38911         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38912         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38913         * nptl/Makefile: Revert 2015-03-04 changes.
38914         [$(CXX) empty] (tests-unsupported): New variable.
38915         * debug/Makefile: Likewise.
38917         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38918         gnulib file.  Replace __attribute with __attribute__ throughout.
38920 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
38922         * sysdeps/hppa/fpu/libm-test-ulps: Update.
38924 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
38926         [BZ #18104]
38927         * math/auto-libm-test-in: Add another test of pow.
38928         * math/auto-libm-test-out: Regenerated.
38930 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38932         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38933         $(config-cflags-nofma).
38935 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
38937         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38938         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38939         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38940         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38941         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38942         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38943         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38944         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38945         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38946         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38947         Add comment on closing #endif.
38949 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38951         * posix/wordexp.c (CHAR_IN_SET): New macro.
38952         (parse_param): Use it.
38954 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38956         * sysdeps/powerpc/fpu/libm-test-ulps: update.
38958 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38960         [BZ #18043]
38961         * posix/wordexp.c (parse_param): Fix buffer overflow.
38962         * posix/wordexp-test.c (test_case): Add test case.
38964 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38966         [BZ #18042]
38967         * posix/wordexp.c (parse_backtick): Fix off-by-one.
38968         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
38970 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38972         [BZ #18043]
38973         * posix/wordexp-test.c (test_case): Add test for BZ #18043
38974         (do_bz18043): Delete.
38975         (at_page_end): New.
38976         (testit): Refactor to have words at the edge of unreadable page.
38978 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
38980         [BZ #16734]
38981         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
38982         Cleanup read-only streams as well.
38983         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
38985 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38987         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
38988         <bits/libc-lockP.h>
38990 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
38992         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
38993         on [__KERNEL__].
38994         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38995         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
38996         * soft-fp/op-common.h (_FP_DECL): Likewise.
38998 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
39000         * elf/ifuncdep2.c (global): Replace
39001         __attribute__((visibility("protected"))) with
39002         asm (".protected global").
39003         * elf/ifuncmod1.c (global): Likewise.
39004         * elf/ifuncmod5.c (global): Likewise.
39006 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
39008         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
39009         <asm/sfp-machine.h> instead of <sfp-machine.h>.
39011 2015-03-06  Roland McGrath  <roland@hack.frob.com>
39013         * manual/install.texi (Configuring and compiling):
39014         Document test-wrapper-env-only.
39015         * INSTALL: Regenerated.
39017 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39019         [BZ #18043]
39020         * posix/wordexp.c (parse_param): Fix buffer overflow.
39021         * posix/wordexp-test.c (do_bz18043): Add test case.
39023 2015-03-06  Vincent Bernat  <vincent@bernat.im>
39025         * time/tst-strptime2.c (do_test): Ensure failing tests are
39026         reported correctly.
39027         * time/tst-strptime3.c (do_test): Likewise.
39029 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
39031         Fix aio_error thread-safety.
39032         * sysdeps/pthread/aio_error.c: New file
39033         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
39034         synchronization.
39036 2015-03-06  Florian Weimer  <fweimer@redhat.com>
39038         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
39039         (group_number, vfprintf): Use it.
39040         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
39041         (JUMP, REF): Use it.
39042         (WORK_BUFFER_SIZE): New enum constant.
39043         (process_arg, vfprintf): Use it.
39045 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
39047         * manual/errno.texi (Error Messages): Complete example function
39048         by adding missing #define.
39049         (program_invocation_name): Add statement indicating GNU
39050         extension and reference which header file declares the variable.
39051         (program_invocation_short_name): Likewise.
39053 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
39055         * manual/errno.texi (Error Messages): Delete strerror ISO C89
39056         compatibility note.
39058 2015-03-05  Roland McGrath  <roland@hack.frob.com>
39060         * Makeconfig (test-wrapper-env-only): New variable.
39061         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
39062         then use that with $(test-wrapper-env-only) rather than using
39063         $(test-wrapper-env) $(run-program-env) $($*-ENV).
39065 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39067         [BZ #18082]
39068         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
39069         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
39070         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
39071         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
39072         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
39073         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
39074         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
39075         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
39076         Likewise.
39077         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
39078         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
39079         Likewise.
39080         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
39081         Likewise.
39082         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
39083         Likewise.
39084         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
39085         Likewise.
39086         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
39087         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
39088         Likewise.
39089         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
39090         Likewise.
39091         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
39092         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
39094 2015-03-04  Roland McGrath  <roland@hack.frob.com>
39096         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
39097         (ETH_ALEN): New macro.
39098         (struct ether_addr): Use it for length of ether_addr_octet.
39100         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
39101         (setdb): Don't call __nss_configure_lookup for "rpc".
39102         (do_test): Don't call test_rpc.
39103         (output_rpcent, test_rpc): Functions moved ...
39104         * sunrpc/test-rpcent.c: ... to this new file.
39105         * sunrpc/Makefile (tests): Add it.
39107         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
39108         __xpg_sigpause.
39109         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
39110         * nptl/tst-signal6.c: Likewise.
39111         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
39112         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
39114         * configure.ac (libc_cv_cxx_link_ok): New check.
39115         Reset CXX to empty if it fails to link.
39116         * configure: Regenerated.
39117         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39118         bug-atexit3-lib only if $(CXX) is nonempty.
39119         * nptl/Makefile (tests): Likewise for tst-cancel24.
39120         (tests, tests-static): Likewise for tst-cancel24-static.
39121         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39122         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39123         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39124         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39126 2015-03-04  Andreas Schwab  <schwab@suse.de>
39128         [BZ #17631]
39129         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39130         for non-GCC compilers.
39131         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39132         Likewise.
39134 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39136         [BZ #17776]
39137         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39138         integer before bitwise and assembly operations.
39139         (feclearexcept): Likewise.
39140         * math/test-fenvinline.c: New file.
39141         * math/Makefile: Add test-fenvinline test.
39143 2015-03-03  Alan Modra  <amodra@gmail.com>
39145         [BZ #16512]
39146         * scripts/localplt.awk: Strip off symbol version.
39147         * NEWS: Mention bug fix.
39149 2015-03-02  Roland McGrath  <roland@hack.frob.com>
39151         * sysdeps/pthread/timer_routines.c
39152         (timer_free_list, thread_free_list, thread_active_list): Make static.
39154 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
39156         [BZ #17779]
39157         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39158         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39159         Undefine.
39160         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39161         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39162         Likewise.
39163         * sysdeps/unix/sysv/linux/sh/kernel-features.h
39164         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39165         Likewise.
39167 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39169         [BZ #18036]
39170         * posix/fnmatch_loop.c (END): Detect invalid pattern.
39171         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39173 2015-03-02  Andreas Schwab  <schwab@suse.de>
39175         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39176         variable name.
39178 2015-03-02  Florian Weimer  <fweimer@redhat.com>
39180         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39181         Return error status.
39183 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
39185         [BZ #15969]
39186         * locale/findlocale.c (_nl_find_locale): Introduce const
39187         version of loc_name and drop unsafe type casts.
39189 2015-02-27  Roland McGrath  <roland@hack.frob.com>
39191         * dlfcn/tststatic2.c (main): Converted to ...
39192         (do_test): ... this.
39193         (TEST_FUNCTION): New macro.
39194         Include test-skeleton.c.
39196 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
39198         [BZ #17711]
39199         * elf/Makefile (tests): Add vismain only if PIE is enabled.
39200         (tests-pie): Add vismain.
39201         (CFLAGS-vismain.c): New.
39202         * elf/vismain.c: Add comments for PIE requirement.
39204 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39206         [BZ #18046]
39207         [BZ #18047]
39208         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39209         0x1p-56L as threshold for just returning the argument.
39210         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39211         0x1p-32L as threshold for just returning the argument.
39212         * math/auto-libm-test-in: Add more tests of atanh.
39213         * math/auto-libm-test-out: Regenerated.
39214         * sysdeps/i386/fpu/libm-test-ulps: Update.
39215         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39217 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
39219         * string/bcopy.c (bcopy): Call memmove for performance.
39221 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
39223         * string/bzero.c (__bzero): Call memset for performance.
39225 2015-02-27  John David Anglin  <dave.anglin@bell.net>
39227         [BZ #18068]
39228         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39229         to 00100000.
39231 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39233         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39235 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39237         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39238         (__kernel_standard): Use CSTR macro when setting exc.name.
39239         * sysdeps/ieee754/Makefile [$(subdir) = math]
39240         (CFLAGS-k_standard.c): Remove variable.
39242         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39243         setting p and q from "else if" to "else".
39244         (qzero): Likewise.
39245         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39246         (qone): Likewise.
39247         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39248         (qzerof): Likewise.
39249         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39250         (qonef): Likewise.
39251         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39252         (qzero): Likewise.
39253         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39254         (qone): Likewise.
39256         [BZ #18038]
39257         [BZ #18039]
39258         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39259         return pi/2 for arguments below 0x1p-113L.
39260         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39261         return pi/2 for arguments below 0x1p-106L.
39262         * math/auto-libm-test-in: Add more tests of acos.
39263         * math/auto-libm-test-out: Regenerated.
39265         [BZ #16351]
39266         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39267         (MO): New macro.
39268         (__ieee754_asin): Force underflow exception for results with small
39269         absolute value.
39270         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39271         (MO): New macro.
39272         (__ieee754_asinf): Force underflow exception for results with
39273         small absolute value.
39274         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39275         (__ieee754_asin): Force underflow exception for results with small
39276         absolute value.
39277         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39278         (__ieee754_asinf): Force underflow exception for results with
39279         small absolute value.
39280         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39281         (__ieee754_asinl): Force underflow exception for results with
39282         small absolute value.
39283         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39284         (__ieee754_asinl): Force underflow exception for results with
39285         small absolute value.
39286         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39287         (__ieee754_asinl): Force underflow exception for results with
39288         small absolute value.
39289         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39290         Include <math.h>.
39291         * math/auto-libm-test-in: Do not mark underflow exceptions as
39292         possibly missing for bug 16351.
39293         * math/auto-libm-test-out: Regenerated.
39295         [BZ #18030]
39296         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39297         of power of 2 down when low part has opposite sign.
39298         * math/libm-test.inc (logb_test_data): Add more tests.
39300 2015-02-26  Andreas Schwab  <schwab@suse.de>
39302         [BZ #18032]
39303         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39304         over collating symbol inside a bracket expression.  Minor cleanup.
39305         * posix/tst-fnmatch3.c (do_test): Add test case.
39307 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39309         [BZ #18029]
39310         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39311         Adjust exponent of power of 2 down when low part has opposite
39312         sign.
39313         * math/libm-test.inc (ilogb_test_data): Add more tests.
39315 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
39317         [BZ #15969]
39318         * locale/findlocale.c (_nl_find_locale): Fix constness error in
39319         the previous change.
39321         [BZ #15969]
39322         * locale/findlocale.c (_nl_find_locale): Retry archive search
39323         after alias expansion.
39325 2015-02-25  Roland McGrath  <roland@hack.frob.com>
39327         * iconv/tst-iconv3.c (main): Converted to ...
39328         (do_test): ... this.
39329         (TEST_FUNCTION): New macro.
39330         Include test-skeleton.c.
39332         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39333         (convert): Make function static.
39334         (test_unalign): Likewise.  Add const to argument pointee types.
39335         (main): Replace with static function do_test.
39336         Print "Succeeded." only if RET is zero.
39337         (TEST_FUNCTION): New macro.
39338         Include test-skeleton.c.
39340         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39341         returns a null pointer.
39343 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39345         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39346         to __memcpy_ppc only for static builds.
39348 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
39350         [BZ #18020]
39351         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39352         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39353         * math/auto-libm-test-in: Add more tests of asinh.
39354         * math/auto-libm-test-out: Regenerated.
39355         * sysdeps/i386/fpu/libm-test-ulps: Update.
39356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39358 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
39360         [BZ #15850]
39361         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39362         and ip6_mtuinfo definitions here.
39363         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39364         in this define too.  Update comment.
39366 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
39368         * elf/sprof.c (load_shobj): Tweak error message to match others.
39370 2015-02-24  Kevin Easton  <kevin@guarana.org>
39372         [BZ #16145] (partial fix)
39373         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39374         to reduce lock contention.
39376 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
39378         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39379         (struct timex): Update time comment.
39380         (ADJ_SETOFFSET): Define.
39382 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39384         [BZ #18019]
39385         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39386         2**56 not 2**28 as threshold for log (2x) formula.
39387         * math/auto-libm-test-in: Add more tests of acosh.
39388         * math/auto-libm-test-out: Regenerated.
39389         * sysdeps/i386/fpu/libm-test-ulps: Update.
39390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39392 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39394         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39395         parenthesis around the buf assignment.
39396         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39398 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39400         [BZ #16783]
39401         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39402         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39403         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39404         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39405         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39406         * math/libm-test.inc (scalb_test_data): Add more tests.
39408 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39410         [BZ #17916]
39411         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39412         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39414 2015-02-24  Eric Rannaud  <e@nanocritical.com>
39416         [BZ #17523]
39417         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39418         * io/bits/fcntl2.h (open): Use it.
39419         (openat): Likewise.
39420         * io/open.c (__libc_open): Likewise.
39421         * io/open64.c (__libc_open64): Likewise.
39422         * io/open64_2.c (__open64_2): Likewise.
39423         * io/open_2.c (__open_2): Likewise.
39424         * io/openat.c (__openat): Likewise.
39425         * io/openat64.c (__openat64): Likewise.
39426         * io/openat64_2.c (__openat64_2): Likewise.
39427         * io/openat_2.c (__openat_2): Likewise.
39428         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39429         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39430         * sysdeps/posix/open64.c (__libc_open64): Likewise.
39431         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39432         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39433         (__open_nocancel): Likewise.
39434         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39435         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39436         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39438 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39440         [BZ #14841]
39441         * resolv/gethnamaddr.c (getanswer): Skip logging if
39442         RES_USE_DNSSEC is set.
39443         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39445 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39447         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39449 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
39451         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39452         201304L, for Unicode 7.
39454 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
39456         [BZ #17836]
39457         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39458         shared library.  Add gmon-start.os otherwise.
39459         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39460         $(objpfx)gmon-start.os if builing shared library.
39461         ($(objpfx)g$(static-start-installed-name)): Likewise.
39463 2015-02-23  Andreas Schwab  <schwab@suse.de>
39465         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39467 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39469         [BZ #17269]
39470         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39471         (enlarge_userbuf): Likewise.
39473 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
39475         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39476         * math/atest-exp.c (TIMEOUT): Adjust to 200.
39477         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39478         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39480 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
39482         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39483         expression inside statement expression.
39485 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39487         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39488         <sysdeps/nptl/lowlevellock.h> and remove macros and
39489         functions that are now defined there.
39490         (SYS_futex): Remove.
39491         (lll_compare_and_swap): Remove.
39492         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39494 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
39496         [BZ #17999]
39497         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39498         instead of scandirat.
39499         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39500         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39501         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39502         __scandirat.
39503         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39504         (__scandirat): Declare.  Use libc_hidden_proto.
39505         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39506         Remove variable.
39507         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39509 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39511         [BZ #15319]
39512         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39513         (MO): New macro.
39514         (__ieee754_atan2): For results with small absolute value, force
39515         underflow exception and remove excess range and precision from
39516         return value.
39517         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39518         (MO): New macro.
39519         (__ieee754_atan2f): For results with small absolute value, force
39520         underflow exception and remove excess range and precision from
39521         return value.
39522         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39523         (MO): New macro.
39524         (__atan): For results with small absolute value, force underflow
39525         exception and remove excess range and precision from return value.
39526         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39527         (MO): New macro.
39528         (__atanf): For results with small absolute value, force underflow
39529         exception and remove excess range and precision from return value.
39530         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39531         <math.h>.
39532         (__ieee754_atan2): Force underflow exception for results with
39533         small absolute value.
39534         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39535         <math_private.h>.
39536         (atan): Force underflow exception for results with small absolute
39537         value.
39538         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39539         (__atanf): Force underflow exception for results with small
39540         absolute value.
39541         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39542         <math.h>.
39543         (__atanl): Force underflow exception for results with small
39544         absolute value.
39545         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39546         (__atanl): Force underflow exception for results with small
39547         absolute value.
39548         * sysdeps/x86/fpu/bits/mathinline.h
39549         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39550         (__ieee754_atan2): Only define inline for long double.
39551         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39552         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39553         * math/auto-libm-test-in: Do not mark underflow exceptions as
39554         possibly missing for bug 15319.  Add more tests of atan2.
39555         * math/auto-libm-test-out: Regenerated.
39556         * math/libm-test.inc (casin_test_data): Do not mark underflow
39557         exceptions as possibly missing for bug 15319.
39558         (casinh_test_data): Likewise.
39559         * sysdeps/i386/fpu/libm-test-ulps: Update.
39561 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
39563         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39564         * sysdeps/mips/bits/endian.h: Fix comments.
39566 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39568         [BZ #17996]
39569         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39570         (hdestroy_r): Likewise.
39571         (hsearch_r): Likewise.
39572         (__hcreate_r): Declare and use libc_hidden_proto.
39573         (__hdestroy_r): Likewise.
39574         (__hsearch_r): Likewise.
39575         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39576         (hcreate): Call __hcreate_r instead of hcreate_r.
39577         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39578         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39579         as weak alias of __hcreate_r.
39580         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39581         __hdestroy_r.
39582         (hsearch_r): Rename to __hsearch_r and define as weak alias of
39583         __hsearch_r.
39584         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39585         Remove variable.
39586         (test-xfail-XPG4/search.h/linknamespace): Likewise.
39587         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39588         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39589         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39591 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39593         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39594         arena_lock into a single arena_get.
39596 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
39598         * dl-reloc.c: Inlucde libc-internal.h.
39599         (_dl_try_allocate_static_tls): Call ALIGN_UP.
39600         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39601         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39602         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39603         (grow_heap): Likewise.
39604         * malloc/malloc.c: Include libc-internal.h.
39605         (do_check_malloc): Call powerof2.
39606         (sysmalloc): Use pagesize. Call ALIGN_UP.
39607         (systrim): Use pagesize.
39608         (mremap_chunk): Use pagesize. Call ALIGN_UP.
39609         (__libc_valloc): Use pagesize.
39610         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39612 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39614         [BZ #17991]
39615         * include/sys/resource.h (__getrlimit64): Declare.  Use
39616         libc_hidden_proto.
39617         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39618         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
39619         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39620         getrlimit64.
39621         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39622         __getrlimit64.
39623         [!getrlimit64] (getrlimit64): Define as weak alias of
39624         __getrlimit64.  Use libc_hidden_weak.
39625         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39626         using __getrlimit64 not __new_getrlimit64.
39627         (__GI_getrlimit64): Likewise.
39628         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39629         Likewise.
39630         (__GI_getrlimit64): Likewise.
39631         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39633         (getrlimit): Add __getrlimit64 alias.
39634         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39635         Likewise.
39636         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39637         Remove variable.
39638         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39639         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39641 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
39643         * libio/fileops.c: Add missing sys/mman.h
39644         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39646 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39648         * manual/math.texi (Errors in Math Functions): Clarify goals
39649         regarding inexact and underflow exceptions.
39651 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39653         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39654         * sysdeps/mips/memset.S: Ditto.
39656 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39658         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39660 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39662         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39663         (__v1longjmp): Remove versioned symbol.
39664         (__v1siglongjmp): Remove alias and versioned symbol.
39665         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39666         (__v2siglongjmp): Likewise.
39668 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39670         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39672 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
39674         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39676 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39678         [BZ #17987]
39679         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39680         zero result does not depend on the sign resulting from
39681         subtraction.
39682         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39683         Likewise.
39684         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39685         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39686         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39687         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39688         * math/libm-test.inc (remquo_test_data): Add more tests.
39690 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
39692         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39693         Problem reported by J William Piggott.
39695 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39697         [BZ #17978]
39698         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39699         products 4 * y and 2 * y where those would overflow.
39700         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39701         Likewise.
39702         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39703         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39704         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39705         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39706         * math/libm-test.inc (remquo_test_data): Add more tests.
39708         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39710         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39711         [defined _COMPILING_NEWLIB].
39712         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39713         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39715         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39716         [!defined __mips_isa_rev || __mips_isa_rev < 6].
39718 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39720         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39721         acquired.
39723 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
39725         [BZ #17792]
39726         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39727         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39728         HOST_STACK_END_ADDR): Likewise.
39730 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
39732         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39733         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39734         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39736 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39738         * sysdeps/generic/c++-types.data: New file.
39739         * sysdeps/generic/ld.abilist: New file.
39740         * sysdeps/generic/libBrokenLocale.abilist: New file.
39741         * sysdeps/generic/libanl.abilist: New file.
39742         * sysdeps/generic/libc.abilist: New file.
39743         * sysdeps/generic/libcrypt.abilist: New file.
39744         * sysdeps/generic/libdl.abilist: New file.
39745         * sysdeps/generic/libm.abilist: New file.
39746         * sysdeps/generic/libpthread.abilist: New file.
39747         * sysdeps/generic/libresolv.abilist: New file.
39748         * sysdeps/generic/librt.abilist: New file.
39750 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39752         [BZ #17569]
39753         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39754         Compute absolute value of x as modified by fmod, not original
39755         value of x.
39756         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39757         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
39758         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
39759         RUN_TEST_ffI_f1_mod8.
39760         (remquo_test_data): Add more tests.
39762 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39764         * sysdeps/init_array/pt-crti.S: New file.
39766 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39768         [BZ #17967]
39769         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39770         __builtin_fmaf instead of relying on contraction of a * b + c.
39772 2015-02-12  J William Piggott  <elseifthen@gmx.com>
39774         [BZ #17969]
39775         * manual/time.texi: correct the zoneinfo path in the TZ Variable
39776         node.
39778 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39780         [BZ #17964]
39781         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39782         __builtin_fma instead of relying on contraction of a * b + c.
39784 2015-02-12  Roland McGrath  <roland@hack.frob.com>
39786         * Makeconfig (ASFLAGS): Add -Werror=undef.
39787         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39788         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39789         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39791         * Makeconfig (after-link): New variable.
39792         (+link-pie, +link-pie-tests): Use it.
39793         (+link-static, +link-static-tests): Likewise.
39794         (+link, +link-tests): Likewise.
39795         * Makerules (build-module, build-module-asneeded): Likewise.
39796         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39797         Likewise.
39798         * elf/Makefile ($(objpfx)ld.so): Likewise.
39800 2015-02-12  RĂŒdiger Sonderfeld  <ruediger@c-plusplus.net>
39802         [BZ #17965]
39803         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39804         both struct timeval and struct timespec.
39806 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39808         [BZ #16560]
39809         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39810         and redefine.
39811         (__ieee754_exp2l): Do not multiply small fractional parts by
39812         M_LN2l.
39813         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39814         small argument.
39815         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39816         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39817         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39818         * math/auto-libm-test-in: Add more tests of exp2.
39819         * math/auto-libm-test-out: Regenerated.
39821 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39823         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39824         unaligned path.
39826 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39828         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39829         little endian.
39831 2015-02-12  Andreas Schwab  <schwab@suse.de>
39833         [BZ #15790]
39834         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39835         Filter out elision flags from value returned in kind.
39836         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39837         * nptl/tst-pthread-mutexattr.c: New file.
39839 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39841         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39842         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39843         into gnu-gnu, and update comment to refer to abi-tags.
39845 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
39847         [BZ #15467]
39848         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39849         (__sincos): Set errno to EDOM for infinite argument.
39850         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39851         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39852         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39853         (__sincosl): Set errno to EDOM for infinite argument.
39854         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39855         (__sincosl): Set errno to EDOM for infinite argument.
39856         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39857         (__sincosl): Set errno to EDOM for infinite argument.
39858         * math/libm-test.inc (sincos_test_data): Test errno setting.
39860 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
39862         * string/strxfrm_l.c: Remove #define STRCMP.
39863         * string/strcoll_l.c: Remove #define STRLEN.
39864         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39865         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39867 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
39869         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39870         * sysdeps/mips/mips32/sfp-machine.h: ... here.
39871         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39872         * sysdeps/mips/mips64/Makefile: ... here.
39873         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39874         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39875         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39876         * sysdeps/mips/mips64/sfp-machine.h: ... here.
39877         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39878         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39879         * sysdeps/mips/mips64/n64/Implies: Likewise.
39881 2015-02-10  Roland McGrath  <roland@hack.frob.com>
39883         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39884         <sys/time.h>, <string.h>, and <errno.h>.
39885         (dest_offset, dest_address, value, zero): Remove unused variables.
39886         (ldouble): Remove typedef.
39887         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39888         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
39889         1).  Fix code style.
39890         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39891         (check): Function removed.
39892         (CHECK): New macro.
39893         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
39894         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39895         Don't call set_sigaction_FP and remove_sigaction_FP here.
39896         (ldouble_test): Just use 'long double' as macro argument, no need for
39897         the 'ldouble' typedef.
39898         (do_test): Set up SIGFPE handler at start, using plain signal rather
39899         than sigaction.  Fix code style.
39901 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
39903         [BZ #17949]
39904         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39905         jump label.
39907 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39909         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39910         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39912         * sysdeps/powerpc/configure.ac: Remove file.
39913         * sysdeps/powerpc/configure: Likewise.
39915         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39916         [sysdep_routines]: Remove wordcopy-power6 object.
39917         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39918         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39919         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39920         (__memmove_ppc32): Likewise.
39921         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39922         file.
39923         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39924         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39925         Remove preprocessor.
39927         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39928         [sysdep_routines]: Remove wide chars objects.
39929         [wcsmbs]: New rule for wide char objects.
39931         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39932         Remove wordcopy-power6 obejct.
39933         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39934         Use local call for wordcopy and memcpy symbols.
39935         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39936         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39937         implementation for loader.
39938         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39940         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39941         Remove wordcopy-power7 object.
39942         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39943         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39944         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39945         (_wordcopy_fwd_dest_aligned): Likewise.
39946         (_wordcopy_bwd_aligned): Likewise.
39947         (_wordcopy_bwd_dest_aligned): Likewise.
39949         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39950         Rewrite to call __memmove_ppc instead of include default
39951         implementation.
39953         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39954         Remove wide chars objects.
39955         [wcsmbs]: New rule for wide char objects.
39957 2015-02-09  Andreas Schwab  <schwab@suse.de>
39959         [BZ #17912]
39960         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39961         in terms of __O_DIRECTORY.
39963 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39965         * time/getdate.c: Include <stdbool.h>.
39966         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
39967         call PTR_MANGLE.
39968         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
39969         PTR_DEMANGLE.
39971 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
39973         Add ersatz _Static_assert on older C hosts
39974         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
39975         pre-C11 C platform that is not known to support _Static_assert.
39977 2015-02-07  Richard Braun  <rbraun@sceen.net>
39979         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
39980         sigstate.
39981         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
39983 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39985         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
39986         priority against unexistent AIO_PRIO_DELTA_MAX.
39987         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
39988         instead of int.
39989         * misc/fchflags.c (fchflags): Likewise.
39990         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
39991         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
39992         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
39993         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
39994         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
39995         Declare macros.
39996         [__USE_MISC] (chflags, fchflags): Declare functions.
39997         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
39998         EINVAL when nfds is greater than FD_SETSIZE.
39999         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
40000         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
40001         45.
40002         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
40003         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
40004         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
40005         MACH_RCV_TIMED_OUT.
40006         * hurd/hurd/signal.h (_hurd_self_sigstate,
40007         _hurd_critical_section_lock, _hurd_critical_section_unlock):
40008         Explicit casts from void *.
40009         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
40010         * abi-tags: Rename gnu-gnu os into gnu.
40012         [BZ #4719]
40013         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
40014         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
40015         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
40016         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
40017         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
40018         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
40020         [BZ #17944]
40021         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
40022         duplicates ADDR->sun_path with sockaddr LEN limitation.
40023         * sysdeps/mach/hurd/connect.c: Include <string.h>
40024         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
40025         * sysdeps/mach/hurd/sendmsg.c: Likewise.
40026         * sysdeps/mach/hurd/sendto.c: Likewise.
40027         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
40028         implementing it by hand.
40030 2015-02-06  Roland McGrath  <roland@hack.frob.com>
40032         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
40033         Use sfi_breg on ldr.
40034         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
40035         Likewise.
40037         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
40038         it's defined.
40039         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
40040         Test SIGSETXID only if it's defined.
40042         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
40044         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
40045         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
40047         * nptl/tst-align2.c: Moved ...
40048         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
40049         * nptl/Makefile (tests): Remove tst-align2.
40050         * sysdeps/unix/sysv/linux/Makefile
40051         [$(subdir) = nptl] (tests): Add tst-align-clone.
40052         * nptl/tst-getpid1.c: Moved ...
40053         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
40054         * nptl/tst-getpid2.c: Moved ...
40055         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
40056         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
40057         * sysdeps/unix/sysv/linux/Makefile
40058         [$(subdir) = nptl] (tests): ... here.
40059         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
40060         * sysdeps/unix/sysv/linux/Makefile
40061         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
40063         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
40064         Drop trailing \n from perror argument.  Use return rather than exit.
40066         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
40067         on [SA_SIGINFO].
40068         * nptl/tst-cancel21.c (do_test): Likewise.
40069         * debug/tst-backtrace6.c: Include <signal.h> first thing.
40070         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
40071         [!SA_SIGINFO]: Make it a stub test.
40073         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
40074         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
40076         * posix/tst-getlogin.c: Move to ...
40077         * login/tst-getlogin.c: ... here.
40078         * posix/Makefile (tests): Move tst-getlogin to ...
40079         * login/Makefile (tests): ... here.
40081         * libio/tst-atime.c (do_test): Move local variables SV and E
40082         inside [ST_NOATIME] conditional.
40084         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
40086         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
40088         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
40089         (wait_code): New function replaces macro.
40090         Call nanosleep rather than syscall.
40092         * nptl/pt-system.c: Rewritten.  Put everything under
40093         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40094         Use IFUNC to redirect when possible.
40096         * nptl/pt-longjmp.c: Rewritten.  Put everything under
40097         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40098         Use IFUNC to redirect when possible.
40100         * nptl/pt-fork.c: Rewritten.  Put everything under
40101         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40102         Use IFUNC to redirect when possible.
40103         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
40105         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
40106         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
40107         unconditionally nowadays.  This included the only reference to
40108         __vdso_clock_gettime that appears outside libc proper.
40109         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
40110         Remove version set (containing only __vdso_clock_gettime).
40111         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
40112         Add attribute_hidden.
40113         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
40114         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
40115         libc_hidden_data_def.
40116         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40117         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40119         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40120         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40121         setrpcent, and getrpcport to ...
40122         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40123         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40124         getrpcbynumber_r, and getrpcent_r to ...
40125         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40126         * inet/getrpcbyname.c: Moved ...
40127         * sunrpc/getrpcbyname.c: ... here.
40128         * inet/getrpcbyname_r.c: Moved ...
40129         * sunrpc/getrpcbyname_r.c: ... here.
40130         * inet/getrpcbynumber.c: Moved ...
40131         * sunrpc/getrpcbynumber.c: ... here.
40132         * inet/getrpcbynumber_r.c: Moved ...
40133         * sunrpc/getrpcbynumber_r.c: ... here.
40134         * inet/getrpcent.c: Moved ...
40135         * sunrpc/getrpcent.c: ... here.
40136         * inet/getrpcent_r.c: Moved ...
40137         * sunrpc/getrpcent_r.c: ... here.
40138         * inet/Makefile (routines): Move those to ...
40139         * sunrpc/Makefile (routines): ... here.
40140         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40141         the $(subdirs) list.
40142         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
40143         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40144         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40145         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40147         * elf/Makefile (routines): Include $(all-dl-routines), not just
40148         $(dl-routines).
40149         (rtld-routines): Likewise.  Use = rather than :=.
40150         * sysdeps/aarch64/Makefile [$(subdir) = elf]
40151         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40152         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40153         * sysdeps/arm/Makefile: Likewise.
40154         * sysdeps/i386/Makefile: Likewise.
40155         * sysdeps/x86_64/Makefile: Likewise.
40156         * sysdeps/hppa/Makefile [$(subdir) = elf]
40157         (sysdep_routines, sysdep-rtld-routines): Don't add
40158         $(sysdep-dl-routines) to these.
40159         * sysdeps/ia64/Makefile: Likewise.
40160         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40161         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40162         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40163         Don't add dl-static to these; sysdep-dl-routines alone is enough.
40164         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40165         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40166         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40167         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40168         * sysdeps/powerpc/Makefile [$(subdir) = elf]
40169         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40170         these; sysdep-dl-routines alone is enough.
40172 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
40174         [BZ #17932]
40175         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40176         where multiplication results in zero and third argument is finite
40177         and nonzero.
40178         * math/auto-libm-test-in: Add more tests of fma.
40179         * math/auto-libm-test-out: Regenerated.
40181         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40182         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40183         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40184         (_FP_CMP_EQ): Likewise.
40185         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40187         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40188         extra argument CHECK_NAN.  Redefine as wrapper around
40189         _FP_EXTEND_CNAN.
40191 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
40193         * version.h (RELEASE): Set to "stable".
40194         (VERSION): Set to "2.21"
40195         * include/features.h (__GLIBC_MINOR__): Set to 21.
40197         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40199 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40200             Paul Eggert  <eggert@cs.ucla.edu>
40202         [BZ #16618]
40203         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40204         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40205         size in bytes. Store needed elements in wpmax. Use needed size
40206         in bytes for extend_alloca.
40208 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
40210         * manual/install.texi: Latest tested versions are GCC 4.9.2,
40211         binutls 2.25, and texinfo 5.2.
40212         * INSTALL: Regenerate.
40213         * sysdeps/nios2/configure: Regenerate.
40214         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40215         * manual/contrib.texi: Update.
40216         * po/be.po: Update.
40217         * po/bg.po: Update.
40218         * po/ca.po: Update.
40219         * po/cs.po: Update.
40220         * po/da.po: Update.
40221         * po/de.po: Update.
40222         * po/el.po: Update.
40223         * po/eo.po: Update.
40224         * po/es.po: Update.
40225         * po/fi.po: Update.
40226         * po/fr.po: Update.
40227         * po/gl.po: Update.
40228         * po/hr.po: Update.
40229         * po/hu.po: Update.
40230         * po/ia.po: Update.
40231         * po/id.po: Update.
40232         * po/it.po: Update.
40233         * po/ja.po: Update.
40234         * po/ko.po: Update.
40235         * po/lt.po: Update.
40236         * po/nb.po: Update.
40237         * po/nl.po: Update.
40238         * po/pl.po: Update.
40239         * po/pt_BR.po: Update.
40240         * po/ru.po: Update.
40241         * po/rw.po: Update.
40242         * po/sk.po: Update.
40243         * po/sl.po: Update.
40244         * po/sv.po: Update.
40245         * po/tr.po: Update.
40246         * po/uk.po: Update.
40247         * po/vi.po: Update.
40248         * po/zh_CN.po: Update.
40249         * po/zh_TW.po: Update.
40251         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40252         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40253         * sysdeps/hppa/dl-irel.h: Remove #warning.
40254         * sysdeps/hppa/entry.h: Provide prototype for
40255         __canonicalize_funcptr_for_compare and cast argument.
40256         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40257         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40258         * sysdeps/hppa/sotruss-lib.c: New file.
40259         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40260         (atomic_compare_and_exchange_val_acq): Use __typeof__.
40261         (atomic_compare_and_exchange_bool_acq): Likewise.
40262         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40263         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40265         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40266         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40267         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40269 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
40271         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40272         called function in non-PIC case.
40274 2015-01-31  David S. Miller  <davem@davemloft.net>
40276         * sysdeps/sparc/sparc32/bits/atomic.h
40277         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40278         unlock not after it.
40279         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40280         volatile register usage warnings from the compiler.
40282         * sysdeps/sparc/nptl/sem_init.c: Delete.
40283         * sysdeps/sparc/nptl/sem_post.c: Delete.
40284         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40285         * sysdeps/sparc/nptl/sem_wait.c: Delete.
40286         * sysdeps/sparc/sparc32/sem_init.c: New file.
40287         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40288         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40289         padding explicitly initialized.
40290         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40291         padding for in-semaphore spinlock.
40292         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40293         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40294         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40295         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40296         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40297         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40298         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40299         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40300         version.
40301         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40302         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40304 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
40306         [BZ #17801]
40307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40308         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40309         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40310         New.
40311         (index_AVX_Fast_Unaligned_Load): Likewise.
40312         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40313         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40314         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40315         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40316         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40317         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40318         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40319         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40320         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40322 2015-01-29  Andreas Schwab  <schwab@suse.de>
40324         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40326 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
40328         [BZ #17892]
40329         * nscd/nscd_stat.c (send_stats): Initialize DATA.
40331 2015-01-28  Martin Sebor  <msebor@redhat.com>
40333         * math/README.libm-test: Clarify. Add "How to read the test output."
40335 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
40337         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40338         Define to 0.
40340 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
40342         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40343         (__HAVE_64B_ATOMICS): Define to 0.
40345 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40347         [BZ #17885]
40348         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40349         value to set as new flag.
40351         [BZ #16576]
40352         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40353         and use _ARCH_PPCSQ instead.
40354         (__ieee754_sqrt): Likewise.
40355         (__ieee754_sqrtf): Likewise.
40356         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40357         _ARCH_PPCSQ is defined.
40358         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40359         fsqrt instruction.
40360         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40361         _ARCH_PPCSQ is defined.
40362         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40363         fsqrts instruction.
40364         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40366 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40368         * iconv/loop.c: Suppress array out of bound warning caused by GCC
40369         bug (GCC BZ #64739).
40371 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
40373         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40374         Mark _retval as used.
40375         (lll_futex_wake_unlock): Likewise.
40376         (lll_futex_timed_wait_requeue_pi): Likewise.
40378         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40379         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40380         register variables.
40382         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40383         libm_hidden_def.
40385         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40386         (__bswap_64): Mark as __always_inline.
40388 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
40390         [BZ #15378]
40391         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40392         when none of the search directories exist.
40394 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40396         [BZ #17869]
40397         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40398         power8 in .machine directive.
40400         [BZ #17868]
40401         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40402         set dependency from opd value.
40404 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40406         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40407         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40408         architecture.
40410 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40412         [BZ #17870]
40413         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40414         with uint64_t.
40415         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40416         (uint64_t) 1.
40417         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40418         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40419         Replace 1UL with (uint64_t) 1.
40420         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40421         int with uint64_t.
40423 2015-01-23  Roland McGrath  <roland@hack.frob.com>
40425         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40426         (if_freenameindex): Likewise.
40428         * resource/getrlimit64.c: Add missing libc_hidden_def.
40430 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
40432         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40433         __label__.
40434         (_FP_FMA): Likewise.
40435         (_FP_TO_INT_ROUND): Likewise.
40436         (_FP_FROM_INT): Likewise.
40438 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40440         [BZ #16418]
40441         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40442         Make code racy and cancel safe.
40444 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
40446         * sysdeps/arm/unwind-resume.h: Fix copyright year.
40447         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40448         attribution.
40450         * pwd/tst-getpw.c: Rewrite.
40452         [BZ #17702]
40453         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40454         (modules-names): Add moddummy1 and moddummy2.
40455         ($(objpfx)tst-rec-dlopen): Define.
40456         * dlfcn/moddummy1.c: New file.
40457         * dlfcn/moddummy2.c: New file.
40458         * dlfcn/tst-rec-dlopen.c: New file.
40459         * elf/dl-cache.c (_dl_load_cache_lookup):
40460         Return char*. Copy result with alloca/strcpy/strdup.
40461         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40462         returns char*. Free cached. If not saving realname
40463         free cached.
40464         * elf/dl-open.c (dl_open_worker): Do not assert that
40465         _r_debug->r_state is RT_CONSISTENT.
40466         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40467         returns char*.
40469 2015-01-21  Torvald Riegel  <triegel@redhat.com>
40470             Carlos O'Donell  <carlos@redhat.com>
40472         [BZ #12674]
40473         * nptl/sem_waitcommon.c: New file.
40474         * nptl/sem_wait.c: Include sem_waitcommon.c.
40475         (__sem_wait_cleanup, do_futex_wait): Remove.
40476         (__new_sem_wait): Adapt.
40477         (__new_sem_trywait): New function.
40478         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40479         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40480         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40481         (sem_timedwait): Adapt.
40482         * nptl/sem_post.c (__new_sem_post): Adapt.
40483         (futex_wake): New function.
40484         (__old_sem_post): Add release MO fence.
40485         * nptl/sem_open.c (sem_open): Adapt.
40486         * nptl/sem_init.c (__new_sem_init): Adapt.
40487         (futex_private_if_supported): New function.
40488         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40489         (__old_sem_getvalue): Add using previous code.
40490         * sysdeps/nptl/internaltypes.h: Adapt.
40491         * nptl/tst-sem13.c (do_test): Adapt.
40492         * nptl/tst-sem11.c (main): Adapt.
40493         * nptl/sem_trywait.c: Remove.
40494         * nptl/DESIGN-sem.txt: Remove.
40495         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40496         (gen-as-const-headers): Remove structsem.sym.
40497         * nptl/structsem.sym: Remove.
40498         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40499         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40500         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40501         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40502         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40503         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40504         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40505         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40506         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40507         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40508         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40509         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40510         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40511         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40512         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40513         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40514         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40515         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40516         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40517         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40518         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40519         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40521 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
40523         * INSTALL: Regenerated.
40525         * po/libc.pot: Regenerated.
40527 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
40528             Sandra Loosemore  <sandra@codesourcery.com>
40529             Andrew Jenner  <andrew@codesourcery.com>
40530             Joseph Myers  <joseph@codesourcery.com>
40531             Nathan Sidwell  <nathan@codesourcery.com>
40533         * NEWS: Mention new Nios II port.
40534         * sysdeps/nios2/Implies: New file.
40535         * sysdeps/nios2/Makefile: New file.
40536         * sysdeps/nios2/Subdirs: New file.
40537         * sysdeps/nios2/Versions: New file.
40538         * sysdeps/nios2/__longjmp.S: New file.
40539         * sysdeps/nios2/abort-instr.h: New file.
40540         * sysdeps/nios2/backtrace.c: New file.
40541         * sysdeps/nios2/bits/endian.h: New file.
40542         * sysdeps/nios2/bits/fenv.h: New file.
40543         * sysdeps/nios2/bits/link.h: New file.
40544         * sysdeps/nios2/bits/setjmp.h: New file.
40545         * sysdeps/nios2/bsd-_setjmp.S: New file.
40546         * sysdeps/nios2/bsd-setjmp.S: New file.
40547         * sysdeps/nios2/configure: New generated file.
40548         * sysdeps/nios2/configure.ac: New file.
40549         * sysdeps/nios2/crti.S: New file.
40550         * sysdeps/nios2/crtn.S: New file.
40551         * sysdeps/nios2/dl-init.c: New file.
40552         * sysdeps/nios2/dl-machine.h: New file.
40553         * sysdeps/nios2/dl-sysdep.h: New file.
40554         * sysdeps/nios2/dl-tls.h: New file.
40555         * sysdeps/nios2/dl-trampoline.S: New file.
40556         * sysdeps/nios2/gccframe.h: New file.
40557         * sysdeps/nios2/gmp-mparam.h: New file.
40558         * sysdeps/nios2/jmpbuf-offsets.h: New file.
40559         * sysdeps/nios2/jmpbuf-unwind.h: New file.
40560         * sysdeps/nios2/ldsodefs.h: New file.
40561         * sysdeps/nios2/libc-tls.c: New file.
40562         * sysdeps/nios2/libm-test-ulps: New file.
40563         * sysdeps/nios2/machine-gmon.h: New file.
40564         * sysdeps/nios2/math-tests.h: New file.
40565         * sysdeps/nios2/math_private.h: New file.
40566         * sysdeps/nios2/memusage.h: New file.
40567         * sysdeps/nios2/nptl/Makefile: New file.
40568         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40569         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40570         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40571         * sysdeps/nios2/nptl/pthreaddef.h: New file.
40572         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40573         * sysdeps/nios2/nptl/tls.h: New file.
40574         * sysdeps/nios2/preconfigure: New file.
40575         * sysdeps/nios2/s_fma.c: New file.
40576         * sysdeps/nios2/s_fmaf.c: New file.
40577         * sysdeps/nios2/setjmp.S: New file.
40578         * sysdeps/nios2/sfp-machine.h: New file.
40579         * sysdeps/nios2/sotruss-lib.c: New file.
40580         * sysdeps/nios2/stackguard-macros.h: New file.
40581         * sysdeps/nios2/stackinfo.h: New file.
40582         * sysdeps/nios2/start.S: New file.
40583         * sysdeps/nios2/sysdep.h: New file.
40584         * sysdeps/nios2/tls-macros.h: New file.
40585         * sysdeps/nios2/tst-audit.h: New file.
40586         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40587         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40588         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40589         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40590         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40591         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40592         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40593         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40594         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40595         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40596         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40597         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40598         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40599         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40600         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40601         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40602         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40603         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40604         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40605         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40606         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40607         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40608         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40609         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40610         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40611         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40612         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40613         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40614         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40615         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40616         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40617         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40618         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40619         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40620         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40621         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40622         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40623         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40624         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40625         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40626         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40627         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40628         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40629         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40631 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40633         [BZ #17844]
40634         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40635         (getutent): Use weak_alias in non SHARED case
40636         and default_symbol_version in SHARED case.
40637         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40638         (getutent_r, pututline): Likewise.
40639         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40640         (getutid): Likewise.
40641         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40642         (getutid_r): Likewise.
40643         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40644         (getutline): Likewise.
40645         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40646         (getutline_r): Likewise.
40647         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40648         (updwtmp): Likewise.
40650 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40652         [BZ #17848]
40653         * sysdeps/s390/s390-32/memcmp.S
40654         (memcmp_g5): Rename to __memcmp_g5.
40655         * sysdeps/s390/s390-32/memcpy.S
40656         (memcpy_g5): Rename to __memcpy_g5.
40657         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40658         (memcpy_mvcle) Rename to __memcpy_mvcle.
40659         * sysdeps/s390/s390-32/memset.S
40660         (memset_g5): Rename to __memset_g5.
40661         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40662         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40663         and use prefixed functions.
40664         * sysdeps/s390/s390-32/multiarch/memcmp.S
40665         (memcmp_z196): Rename to __memcmp_z196.
40666         (memcmp_z10): Rename to __memcmp_z10.
40667         (memcmp): Set alias to __memcmp_g5.
40668         (bcmp): Set alias to __memcmp_g5.
40669         * sysdeps/s390/s390-32/multiarch/memcpy.S
40670         (memcpy_z196): Rename to __memcpy_z196.
40671         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40672         (memcpy_z10): Rename to __memcpy_z10.
40673         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40674         (memcpy): Set alias to __memcpy_g5.
40675         * sysdeps/s390/s390-32/multiarch/memset.S
40676         (memset_z196): Rename to __memset_z196.
40677         Jump to __memset_mvcle instead of memset_mvcle.
40678         (memset_z10): Rename to __memset_z10.
40679         Jump to __memset_mvcle instead of memset_mvcle.
40680         (memset_mvcle) Rename to __memset_mvcle.
40681         (memset): Set alias to __memset_g5.
40682         * sysdeps/s390/s390-64/memcmp.S
40683         (memcmp_z900): Rename to __memcmp_z900.
40684         * sysdeps/s390/s390-64/memcpy.S
40685         (memcpy_z900): Rename to __memcpy_z900.
40686         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40687         (memcpy_mvcle) Rename to __memcpy_mvcle.
40688         * sysdeps/s390/s390-64/memset.S
40689         (memset_z900): Rename to __memset_z900.
40690         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40691         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40692         and use prefixed functions.
40693         * sysdeps/s390/s390-64/multiarch/memcmp.S
40694         (memcmp_z196): Rename to __memcmp_z196.
40695         (memcmp_z10): Rename to __memcmp_z10.
40696         (memcmp): Set alias to __memcmp_z900.
40697         (bcmp): Set alias to __memcmp_z900.
40698         * sysdeps/s390/s390-64/multiarch/memcpy.S
40699         (memcpy_z196): Rename to __memcpy_z196.
40700         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40701         (memcpy_z10): Rename to __memcpy_z10.
40702         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40703         (memcpy): Set alias to __memcpy_z900.
40704         * sysdeps/s390/s390-64/multiarch/memset.S
40705         (memset_z196): Rename to __memset_z196.
40706         Jump to __memset_mvcle instead of memset_mvcle.
40707         (memset_z10): Rename to __memset_z10.
40708         Jump to __memset_mvcle instead of memset_mvcle.
40709         (memset_mvcle) Rename to __memset_mvcle.
40710         (memset): Set alias to __memset_z900.
40712 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
40714         [BZ #17748]
40715         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40716         __fesetenv instead of fesetenv.
40718 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40720         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40721         macro.
40723 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40725         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40726         regression on LE.
40728         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40729         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40730         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40731         strncmp-power8 object.
40732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40733         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40734         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40735         * NEWS: Update.
40737 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40738             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40740         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40741         trailing byte check.
40743 2015-01-13  David S. Miller  <davem@davemloft.net>
40745         * include/signal.h (__sigreturn): Guard with __USE_MISC.
40747 2015-01-13  Roland McGrath  <roland@hack.frob.com>
40749         * login/logout.c (logout): Use memset rather than bzero.
40750         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40751         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40752         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40753         (_gethtbyaddr): Likewise.
40754         * locale/programs/simple-hash.c (bcopy): Macro removed.
40756 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40758         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40759         Add strcmp-power8 object.
40760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40761         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40762         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40763         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40764         __strcmp_power8 implementation.
40765         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40766         * NEWS: Update.
40768         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40769         Add strncpy-power8 and stpncpy-power8 objects.
40770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40771         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40772         implementations.
40773         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40774         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40775         __stpncpy_power8 implementation.
40776         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40777         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40778         __strncpy_power8 implementation.
40779         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40780         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40781         * NEWS: Update.
40783         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40784         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40785         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40787         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40788         strncat-power8 object.
40789         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40790         __strcat_power8 implementation.
40791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40792         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40793         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40794         optimized strcat for power8.
40796         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40797         strcpy-power8 and stpcpy-power8 objects.
40798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40799         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40800         implementations.
40801         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40802         multiarch stpcpy implementation for POWER8.
40803         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40804         multiarch strcpy implementation for POWER8.
40805         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40806         __strcpy_power8 function.
40807         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40808         stpcpy for POWER8.
40809         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40810         strcpy for POWER8.
40811         * NEWS: Update.
40813 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
40815         [BZ #16009]
40816         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40817         weights and rules. Use do_xfrm_cached if data fits in cache,
40818         do_xfrm otherwise.  Moved former main loop to...
40819         * (do_xfrm_cached): New function.
40820         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40821         find_idx, find_position and stack_push.
40822         * (find_idx): New function.
40823         * (find_position): Likewise.
40824         * localedata/sort-test.sh: Added test run for do_xfrm.
40825         * localedata/xfrm-test.c (main): Added command line option
40826         -nocache to run the test with strings that are too large for
40827         the STRXFRM cache.
40829 2015-01-13  Torvald Riegel  <triegel@redhat.com>
40831         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40832         variable to lll_futex_wake call, not the value itself.
40834 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
40836         [BZ #17803]
40837         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40838         twom64.  Adjust value to 0x1p-64L.
40839         (__scalblnl): Only return standard underflowing result for K <=
40840         -64 not K <= -63; adjust exponent for underflowing result by 64
40841         not 63.
40842         * math/libm-test.inc (scalbn_test_data): Add more tests.
40843         (scalbln_test_data): Likewise.
40845         [BZ #17834]
40846         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40847         0x1p63L.
40848         (__scalblnl): Get new exponent of adjusted subnormal value from ES
40849         not HX.
40850         * math/libm-test.inc (scalbn_test_data): Add more tests.
40851         (scalbln_test_data): Likewise.
40853 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40854             Stefani Seibold  <stefani@seibold.net>
40856         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40857         (sysdep_routines): Add dl-vdso here, ...
40858         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40859         (sysdep_routines): ... not here.
40860         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40861         fallback when vDSO is not presented.
40862         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40863         Define with libc_hidden_proto/libc_hidden_data_def definitions.
40864         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40865         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40866         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40867         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40868         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40869         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40870         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40871         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40872         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
40873         fallback configurable symbol when vDSO is not available.
40874         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40875         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
40876         be able to redefine fallback symbol when vDSO is not available.
40877         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40878         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40880 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40882         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40883         (TLS_INIT_TP): Add tm_capable initialization.
40884         (TLS_DEFINE_INIT_TP): Likewise.
40885         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40886         TCB.
40887         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40888         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40889         calculation.
40890         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40891         transactoion is lock elision is built and TCB tm_capable is set.
40892         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40894         (INTERNAL_SYSCALL_NCS): Likewise.
40895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40896         (INTERNAL_SYSCALL_NCS): Likewise.
40897         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40899         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40900         for powerpc.
40901         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40902         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40903         and remove it for 32 bits case.
40904         [pthread_rwlock_t] (__rwelision): New field for lock elision.
40905         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40906         initialization.
40907         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40908         Disable lock elision with rdlocks if elision is not available.
40910         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40911         (sysdep_routines): Add lock elision objects.
40912         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40913         [pthread_mutex_t] (__spins): Rework to add lock elision field.
40914         [pthread_mutex_t] (__elision): Add field.
40915         [__PTHREAD_SPINS]: Adjust to init lock elision field.
40916         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40917         elision definitions for powerpc.
40918         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40919         implementation of lock elision for powerpc.
40920         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40921         implementation of timed lock elision for powerpc.
40922         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40923         implementation of trylock with lock elision for powerpc.
40924         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40925         implementaion of unlock for lock elision for powerpc.
40926         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40927         automatic enable lock elision for mutexes.
40928         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40929         transaction execution definitions for powerpc.
40930         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40931         definitions.
40932         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40933         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40934         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40935         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40936         * NEWS: Update.
40938 2015-01-09  Roland McGrath  <roland@hack.frob.com>
40940         * sysdeps/posix/shm-directory.c: Use <> rather than ""
40941         for #include of <shm-directory.h>.
40943 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
40945         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40946         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40948 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
40950         [BZ #17791]
40951         * NEWS: Mention bug fix.
40952         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40953         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40954         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40956 2015-01-09  Torvald Riegel <triegel@redhat.com>
40958         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
40960 2015-01-09  Torvald Riegel <triegel@redhat.com>
40962         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
40964 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40966         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
40967         pointer and cast to uintptr_t.
40969 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40971         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
40972         removed.
40973         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
40975 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40977         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
40978         of 0.
40980 2015-01-08  Roland McGrath  <roland@hack.frob.com>
40982         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
40983         <nptl/pthreadP.h> instead.
40984         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
40986         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
40987         already defined.
40988         [__SIGRTMIN] (init): Function removed.
40989         [__SIGRTMIN] (initialized): Variable removed.
40990         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
40991         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
40992         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
40993         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
40994         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
40995         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
40996         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
40997         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
40998         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
40999         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
41000         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
41001         * sysdeps/nptl/allocrtsig.c: New file.
41002         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
41003         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
41004         * sysdeps/generic/testrtsig.h: File removed.
41006         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
41007         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
41009         * nptl/nptl-init.c (pthread_functions): Conditionalize
41010         .ptr__nptl_setxid initialization on [SIGSETXID].
41012         * sysdeps/nptl/sys/procfs.h: New file.
41013         * nptl_db/Makefile (headers): Add it.
41014         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
41016         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
41017         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
41018         * nptl/pthread_attr_setaffinity.c: Include it.
41019         * nptl/pthread_setattr_default_np.c: Likewise.
41020         * nptl/check-cpuset.h: New file.
41022 2015-01-08  Richard Henderson  <rth@redhat.com>
41024         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
41025         (CFLAGS-tst-execstack-prog.c): Likewise.
41026         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
41028 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
41029             Sandra Loosemore  <sandra@codesourcery.com>
41030             Andrew Jenner  <andrew@codesourcery.com>
41031             Joseph Myers  <joseph@codesourcery.com>
41032             Nathan Sidwell  <nathan@codesourcery.com>
41034         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
41035         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
41036         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
41037         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
41038         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
41039         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
41040         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
41041         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
41042         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
41043         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
41044         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
41045         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
41046         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
41047         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
41048         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
41049         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
41050         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
41052 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41054         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
41055         timespec struct member in syscall macro.
41056         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
41057         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
41058         first timeval struct member in syscall macro.
41059         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
41061 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
41063         [BZ #17748]
41064         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
41065         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
41066         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
41067         __feupdateenv and define as weak alias of __feupdateenv.  Use
41068         libm_hidden_weak.
41069         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
41070         libm_hidden_def.
41071         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
41072         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
41073         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41074         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
41075         libm_hidden_def.
41076         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
41077         __feupdateenv and define as weak alias of __feupdateenv.  Use
41078         libm_hidden_weak.
41079         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
41080         libm_hidden_def.
41081         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
41082         __feupdateenv and define as weak alias of __feupdateenv.  Use
41083         libm_hidden_weak.
41084         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
41085         libm_hidden_def.
41086         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41087         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41088         (__feupdateenv): Likewise.
41089         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
41090         __feupdateenv and define as weak alias of __feupdateenv.  Use
41091         libm_hidden_weak.
41092         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41093         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
41094         libm_hidden_def.
41095         * sysdeps/tile/math_private.h (__feupdateenv): New inline
41096         function.
41097         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
41098         libm_hidden_def.
41099         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
41100         __feupdateenv instead of feupdateenv.
41101         (default_libc_feupdateenv_test): Likewise.
41102         (libc_feresetround_ctx): Likewise.
41104 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41106         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
41107         prototype.
41109 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
41111         * posix/regcomp.c (parse_bracket_exp): Initialize type to
41112         COLL_SYM in a couple of places to avoid uninitialized variable
41113         wanings on tilegx gcc 4.8.2.
41115 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41117         * sysdeps/aarch64/strcpy.S: New file.
41118         * sysdeps/aarch64/stpcpy.S: New file.
41119         * NEWS: Updated.
41121 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41123         * sysdeps/aarch64/strrchr.S: New file.
41124         * NEWS: Updated.
41126 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
41128         [BZ #17658]
41129         * stdlib/setenv.c: Fix memory leak when setting large,
41130         duplicate string.
41132 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
41134         [BZ #17273]
41135         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41136         and tabs from buffer before parsing fstab entry.
41137         * misc/tst-mntent.c (main): Add test for mount entry with
41138         trailing spaces and tabs.
41140 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
41142         [BZ #17748]
41143         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
41144         * math/fesetround.c (fesetround): Rename to __fesetround and
41145         define as weak alias of __fesetround.  Use libm_hidden_weak.
41146         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41147         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41148         * sysdeps/arm/fesetround.c (fesetround): Likewise.
41149         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41150         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41151         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41152         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41153         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41154         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41155         __fesetround_inline.
41156         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41157         __fesetround_inline instead of __fesetround.
41158         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41159         __fesetround and define as weak alias of __fesetround.  Use
41160         libm_hidden_weak.  Call __fesetround_inline instead of
41161         __fesetround.
41162         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41163         __fesetround and define as weak alias of __fesetround.  Use
41164         libm_hidden_weak.
41165         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41166         Likewise.
41167         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41168         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41169         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41170         * sysdeps/tile/math_private.h (__fesetround): New inline function.
41171         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41172         __fesetround and define as weak alias of __fesetround.  Use
41173         libm_hidden_weak.
41174         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41175         __fesetround instead of fesetround.
41176         (default_libc_feholdexcept_setround): Likewise.
41177         (libc_feholdsetround_ctx): Likewise.
41178         (libc_feholdsetround_noex_ctx): Likewise.
41180         [BZ #17748]
41181         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41182         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41183         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41184         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41185         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41186         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41187         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41188         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41189         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41190         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41191         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41192         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41193         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41194         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41195         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41196         libm_hidden_def.
41197         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41198         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41199         Likewise.
41200         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41201         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41202         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41203         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41204         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41205         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41206         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41207         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41208         __fesetenv instead of fesetenv.
41209         (libc_feresetround_noex_ctx): Likewise.
41210         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41211         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41212         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41213         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41214         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41215         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41216         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41217         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41218         (__feupdateenv): Likewise.
41219         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41220         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41221         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41222         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41224 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41226         [BZ #17806]
41227         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41228         addresses have been freed.
41230 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41232         * resolv/res_init.c (__res_vinit): Improve comments about nserv
41233         and nservall.
41235 2015-01-06  Ondƙej BĂ­lka  <neleai@seznam.cz>
41237         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41238         Clean up check_pf allocation pattern. addresses
41240 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41242         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41243         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41244         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41245         * nptl/pthread_exit.c (__pthread_exit): Likewise.
41246         * nptl/pthread_join.c (pthread_join): Likewise.
41247         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41248         * sysdeps/posix/waitid.c (__waitid): Likewise.
41249         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41250         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41251         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41252         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41253         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41254         Likewise.
41255         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41256         (__libc_pread64): Likewise.
41257         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41258         (__libc_pwrite): Likewise.
41259         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41260         (__libc_pwrite64): Likewsie.
41261         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41262         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41263         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41264         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41265         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41266         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41267         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41269         Likewise.
41270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41271         (__libc_pread64): Likewise.
41272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41273         Likewise.
41274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41275         (__libc_pwrite64): Likewise.
41276         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41277         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41278         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41279         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41280         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41281         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41282         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41283         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41284         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41285         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41286         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41287         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41288         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41289         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41290         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41291         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41292         Likewise.
41294 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41296         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41297         (CFLAGS-test-double.c): Likewise.
41298         (CFLAGS-test-ldouble.c): Likewise.
41299         (CPPFLAGS-test-ifloat.c): Likewise.
41300         (CPPFLAGS-test-idouble.c): Likewise.
41301         (CPPFLAGS-test-ildoubl.c): Likewise.
41302         (CFLAGS-test-test-fenv.c): Remove variable.
41303         (CFLAGS-test-misc.c): Likewise.
41305 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
41307         [BZ #17797]
41308         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41309         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41310         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41311         CLOCKS_PER_SEC == 1000000.
41312         * time/clocktest.c (main): Replace %ld with %jd and cast to
41313         intmax_t.
41315 2015-01-05  Roland McGrath  <roland@hack.frob.com>
41317         * sysdeps/generic/unwind-resume.h: New file.
41318         * sysdeps/gnu/unwind-resume.c: Include it.
41319         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41320         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41321         argument list.
41322         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41323         global rather than static.
41324         (_Unwind_Resume): Update user.
41325         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41326         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
41327         rather than static.  Add __attribute__ ((cold)).
41328         (_Unwind_Resume, __gcc_personality_v0): Update callers.
41329         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41330         * sysdeps/arm/arm-unwind-resume.S: New file.
41331         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41332         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41333         * sysdeps/arm/Makefile [$(subdir) = csu]
41334         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41335         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41336         Add rt-arm-unwind-resume.
41337         [$(subdir) = nptl]
41338         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41339         Add pt-arm-unwind-resume.
41340         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41341         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41343 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41345         [BZ #17748]
41346         * include/fenv.h (__feholdexcept): Declare.  Use
41347         libm_hidden_proto.
41348         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41349         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
41350         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41351         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41352         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41353         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41354         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41355         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41356         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41357         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41358         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41359         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41360         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41361         (feholdexcept): Likewise.
41362         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41363         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41364         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41365         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41366         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41367         __feholdexcept instead of feholdexcept.
41368         (default_libc_feholdexcept_setround): Likewise.
41370 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41372         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41373         to avoid using stl/str to align destination.
41375 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41377         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41379 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41381         [BZ #17796]
41382         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41383         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41384         Define as weak alias not strong alias.
41386 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41388         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41389         bltzal with addiupc.
41390         (RTLD_START): Ditto.
41392 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
41394         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41395         for __vdso_* functions in declarations.
41396         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41397         definitions.
41398         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41399         INTERNAL_VSYSCALL): Use struct return types to check for error.
41401         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41402         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41403         function with cast from llround().
41404         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41405         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41406         Define.
41408 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41410         [BZ #17793]
41411         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41412         Define as weak alias not strong alias.
41414         [BZ #17635]
41415         * ctype/ctype-c99.c: New file.  isblank implementation moved from
41416         ...
41417         * ctype/ctype-extn.c: ... here.
41418         (__isblank_l): Move to ...
41419         * ctype/ctype-c99_l.c: ... here.  New file.
41420         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41421         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41422         Remove variable.
41423         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41424         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41425         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41426         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41427         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41429         [BZ #17777]
41430         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41431         (posix_fadvise64): Define as weak alias not strong alias.
41432         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41433         (posix_fallocate64): Likewise.
41434         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41435         Remove variable.
41436         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41437         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41438         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41439         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41440         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41442 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
41444         [BZ #16191]
41445         * NEWS: Mention bug fix.
41446         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41447         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41448         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41449         (HOST_STACK_END_ADDR): Likewise.
41451 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41453         [BZ #17748]
41454         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
41455         * math/fegetround.c (fegetround): Rename to __fegetround and
41456         define as weak alias of __fegetround.  Use libm_hidden_weak.
41457         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41458         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41459         * sysdeps/arm/fegetround.c (fegetround): Likewise.
41460         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41461         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41462         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41463         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41464         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41465         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41466         Undefine after rather than before function definition; use
41467         parentheses around function name in definition.
41468         (__fegetround): Also undefine macro after function definition.
41469         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41470         __fegetround and define as weak alias of __fegetround.  Use
41471         libm_hidden_weak.  Do not undefine as macro.
41472         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41473         Likewise.
41474         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41475         __fegetround and define as weak alias of __fegetround.  Use
41476         libm_hidden_weak.
41477         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41478         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41479         * sysdeps/tile/math_private.h (__fegetround): New inline function.
41480         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41481         __fegetround and define as weak alias of __fegetround.  Use
41482         libm_hidden_weak.
41483         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41484         __fegetround instead of fegetround.
41486         [BZ #17782]
41487         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41488         Condition macro definition on [__USE_MISC].
41490         [BZ #17781]
41491         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41492         (struct sigaction): Change type of sa_flags field to int.
41494         [BZ #17780]
41495         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41496         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41497         __glibc_reserved0.
41499         * nptl/version.c (banner): Use single year in copyright notice.
41501         * NEWS: Update copyright dates.
41502         * catgets/gencat.c (print_version): Likewise.
41503         * csu/version.c (banner): Likewise.
41504         * debug/catchsegv.sh: Likewise.
41505         * debug/pcprofiledump.c (print_version): Likewise.
41506         * debug/xtrace.sh (do_version): Likewise.
41507         * elf/ldconfig.c (print_version): Likewise.
41508         * elf/ldd.bash.in: Likewise.
41509         * elf/pldd.c (print_version): Likewise.
41510         * elf/sotruss.sh: Likewise.
41511         * elf/sprof.c (print_version): Likewise.
41512         * iconv/iconv_prog.c (print_version): Likewise.
41513         * iconv/iconvconfig.c (print_version): Likewise.
41514         * locale/programs/locale.c (print_version): Likewise.
41515         * locale/programs/localedef.c (print_version): Likewise.
41516         * login/programs/pt_chown.c (print_version): Likewise.
41517         * malloc/memusage.sh (do_version): Likewise.
41518         * malloc/memusagestat.c (print_version): Likewise.
41519         * malloc/mtrace.pl: Likewise.
41520         * manual/libc.texinfo: Likewise.
41521         * nptl/version.c (banner): Likewise.
41522         * nscd/nscd.c (print_version): Likewise.
41523         * nss/getent.c (print_version): Likewise.
41524         * nss/makedb.c (print_version): Likewise.
41525         * posix/getconf.c (main): Likewise.
41526         * scripts/test-installation.pl: Likewise.
41527         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41529 2015-01-02  Will Newton  <will.newton@linaro.org>
41531         * sysdeps/arm/armv7/configure: Removed.
41532         * sysdeps/arm/armv7/configure.ac: Likewise.
41534 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41536         * All files with FSF copyright notices: Update copyright dates
41537         using scripts/update-copyrights.
41538         * intl/plural.c: Regenerated.
41539         * locale/programs/charmap-kw.h: Likewise.
41540         * locale/programs/locfile-kw.h: Likewise.
41542 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41544         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41546 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41548         [BZ #17748]
41549         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41550         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41551         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41552         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41553         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41554         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41555         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41556         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41557         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41558         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41559         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41560         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41561         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41562         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41563         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41564         libm_hidden_def.
41565         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41566         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41567         Likewise.
41568         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41569         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41570         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41571         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41572         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41573         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41574         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41575         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41576         __fegetenv instead of fegetenv.
41577         (libc_feholdsetround_noex_ctx): Likewise.
41579 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41581         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41582         (Elf_MIPS_ABIFlags_v0): New structure.
41583         (EF_MIPS_FP64): Define.
41584         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41585         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41586         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41587         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41588         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41589         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41590         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41591         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41592         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41593         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41594         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41595         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41596         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41597         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41598         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41599         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41600         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41601         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41602         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41603         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41604         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41605         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41606         field.
41607         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41608         EF_MIPS_FP64.
41609         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41610         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41611         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41612         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41613         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41614         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41615         * sysdeps/mips/tst-abi-interlink.c: Likewise.
41616         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41617         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41618         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41619         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41620         record the current FP ABI extension.
41621         (mips-mode-switch): Define to show if kernel headers support mode
41622         switching.
41623         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41624         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41625         supported SYSV ABI version to 3.
41626         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41627         feature.
41629 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41630             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41632         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41633         path.
41634         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41636 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41638         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41639         __fegetround and redefine to call __fegetround.  Remove condition
41640         on [!__NO_MATH_INLINES].
41641         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41642         function.
41643         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41644         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41645         Remove macro.
41646         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41647         instead of <fenv_libc.h>.
41648         (__llrintl): Call fegetround instead of __fegetround.
41649         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41650         instead of <fenv_libc.h>.
41651         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41652         (__lrintl): Call fegetround instead of __fegetround.
41653         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41654         instead of <fenv_libc.h>.
41655         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41656         (__rintl): Call fegetround instead of __fegetround.
41658 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41660         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41661         arrays.
41663 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41665         [BZ #17775]
41666         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41667         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41668         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41670 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41672         * sysdeps/i386/tls-macros.h: Include <features.h>.
41673         (TLS_LE): Use non-PIC version for GCC >= 5.0.
41674         (TLS_IE): Likewise.
41675         (TLS_LD): Likewise.
41676         (TLS_GD): Likewise.
41677         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41678         define for GCC >= 5.0.
41680 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
41682         * math/test-fenv.c (test_single_exception, set_single_exc,
41683         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41684         feexcp_mask_test, feenable_test, fe_single_test): Add
41685         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41686         case where they are not used.
41687         * math/libm-test.inc: Likewise.
41688         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41689         unused in the absence of FP rounding/exception support.
41690         * stdio-common/tst-printf-round.c: Likewise.
41691         * stdlib/tst-strtod-round.c: Likewise.
41692         * stdlib/tst-strtod-underflow.c: Likewise.
41694 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
41696         [BZ #17723]
41697         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41698         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41699         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41700         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41701         libm_hidden_weak.
41702         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41703         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41704         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41705         libm_hidden_def.
41706         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41707         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41708         libm_hidden_weak.
41709         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41710         Likewise.
41711         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41712         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41713         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41714         libm_hidden_weak.
41715         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41716         libm_hidden_def.
41717         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41718         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41719         (__feraiseexcept): Likewise.
41720         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41721         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41722         libm_hidden_weak.
41723         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41724         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41725         libm_hidden_def.
41726         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41727         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41728         Use libm_hidden_def.
41729         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41730         libm_hidden_def.
41731         (feraiseexcept): Define as weak not strong alias.  Use
41732         libm_hidden_weak.
41733         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41734         New inline function.  Factored out of ...
41735         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
41736         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41737         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41738         feraiseexcept.
41739         * math/w_acos.c (__acos): Likewise.
41740         * math/w_asin.c (__asin): Likewise.
41741         * math/w_ilogb.c (__ilogb): Likewise.
41742         * math/w_j0.c (y0): Likewise.
41743         * math/w_j1.c (y1): Likewise.
41744         * math/w_jn.c (yn): Likewise.
41745         * math/w_log.c (__log): Likewise.
41746         * math/w_log10.c (__log10): Likewise.
41747         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41748         * sysdeps/aarch64/fpu/math_private.h
41749         (libc_feupdateenv_test_aarch64): Likewise.
41750         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41751         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41752         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41753         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41754         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41755         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41756         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41757         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41758         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41759         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41761 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41763         [BZ #17732]
41764         * io/test-utime.c (main): Replace %ld with %jd and cast to
41765         intmax_t.
41766         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41767         * nptl/tst-mutex5.c: Include <stdint.h>.
41768         (do_test): Replace %ld with %jd and cast to intmax_t.
41769         * posix/tst-regex.c (run_test): Likewise.
41770         (run_test_backwards): Likewise.
41771         * rt/tst-clock.c: Include <stdint.h>.
41772         (clock_test): Replace %ld with %jd and cast to intmax_t.
41773         * rt/tst-cpuclock1.c: Include <stdint.h>.
41774         (do_test): Replace %lu with %ju and cast to uintmax_t.
41775         * rt/tst-cpuclock2.c: Include <stdint.h>.
41776         (do_test): Replace %lu with %ju and cast to uintmax_t.
41777         * rt/tst-mqueue1.c: Include <stdint.h>.
41778         (check_attrs): Replace %ld with %jd and cast to intmax_t.
41779         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41780         intmax_t.
41781         * rt/tst-mqueue4.c (do_test): Likewise.
41782         * rt/tst-timer4.c: Include <stdint.h>.
41783         (check_ts): Replace %ld with %jd and cast to intmax_t.
41784         (do_test): Likewise.
41785         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41786         and cast to intmax_t.
41787         * sysdeps/pthread/tst-timer.c (main): Likewise.
41788         * time/clocktest.c (main): Likewise.
41789         * time/tst-posixtz.c (do_test): Likewise.
41790         * timezone/tst-timezone.c (main): Likewise.
41792 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41793             H.J. Lu  <hongjiu.lu@intel.com>
41795         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41796         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41797         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41798         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41799         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41800         version if bit_Fast_Unaligned_Load is set.
41801         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41802         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41803         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41804         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41805         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41806         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41807         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41808         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41809         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41810         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41811         to 4.
41812         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41813         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41814         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41815         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41817 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
41819         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41820         instead of #if to avoid a Wundef warning.
41821         * stdlib/tst-limits.c (do_test): Likewise.
41823         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41824         parallel other exception macros.
41825         (fegetenv): Convert from macro to extern inline so that it applies
41826         retroactively to inline functions already seen by the compiler.
41827         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41829         * posix/Makefile (before-compile): Use $(objpfx) for
41830         posix-conf-vars-def.h.
41832 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41834         * posix/getconf.c (main): Use size_t for type of I.
41835         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41836         NSPEC.
41838         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41839         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41840         * posix/posix-envs.def: Likewise.
41841         * sysdeps/posix/sysconf.c: Likewise.
41842         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41843         (specs): Remove array.
41844         * scripts/gen-posix-conf-vars.awk: Support generation of specs
41845         array.
41847         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41848         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41849         (__sysconf): Use CONF_IS_* macros.
41851         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41852         ($(objpfx)posix-conf-vars-def.h): New target.
41853         * posix/posix-conf-vars.list: New file.
41854         * posix/posix-conf-vars.h: New file.
41855         * posix/confstr.c: Include posix-conf-vars.h.
41856         (confstr): Use CONF_IS_* macros.
41857         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
41858         CONF_IS_* macros.
41859         * scripts/gen-posix-conf-vars.awk: New file.
41861 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
41863         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41864         fegetround): Add no-op macros to avoid linknamespace issues.
41866         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41867         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41869         * sysdeps/unix/sysv/linux/tile/sysdep.h
41870         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41871         assembly-specific section to avoid a redefinition warning.
41873         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41874         long before casting to pointer to avoid a cast warning.
41876 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
41878         * sysdeps/tile/tilegx/Implies: New file.
41880 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
41882         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41884 2014-12-23  Florian Weimer  <fweimer@redhat.com>
41886         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41888 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41890         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41891         not define.
41892         * sysdeps/unix/sysv/linux/utimes.c: Do not include
41893         <kernel-features.h>.
41894         (__utimes) [__NR_utimes]: Make code unconditional.
41895         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41896         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41897         (__ASSUME_UTIMES): Do not undefine.
41898         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41899         (__ASSUME_UTIMES): Likewise.
41900         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41901         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41902         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41903         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41905 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41907         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41909 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
41911         [BZ #17747]
41912         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41913         alias to weak alias for j0l, y0l.
41914         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41915         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41917         [BZ #17746]
41918         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41919         conversion.
41921 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41923         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41924         to zero if not already defined.
41926 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41928         [BZ #17724]
41929         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41930         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
41931         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
41932         (char *) casts added.
41933         * sysdeps/ieee754/k_standardf.c: New file.
41934         * sysdeps/ieee754/k_standardl.c: Likewise.
41935         * math/Makefile (libm-support): Remove k_standard.
41936         (libm-calls): Add k_standard.
41938 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41940         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41941         Optimize to avoid an unnecessary FPCR read.
41943 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41945         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41946         Optimize to reduce FPCR/FPSR accesses.
41948 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41950         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41951         Call libc_fetestexcept_aarch64.
41953 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41955         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41956         Call libc_fesetround_aarch64.
41958 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41960         [BZ #17733]
41961         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
41962         (__bind): Do not define as weak alias.
41963         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
41964         define.
41965         (__getsockname): Do not define as weak alias.
41967 2014-12-22  Will Newton  <will.newton@linaro.org>
41969         * manual/install.texi: Document that we require bison 2.7
41970         or above.
41971         * INSTALL: Regenerate.
41972         * configure.ac: Use AC_CHECK_PROG_VER instead of
41973         AC_PATH_PROG when checking for bison and check for
41974         version 2.7 or above.
41975         * configure: Regenerate.
41977 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
41979         [BZ #17745]
41980         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
41981         * sysdeps/tile/ffsll.c (ffsll): To here.
41983         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
41985 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
41987         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
41988         if not defined.
41989         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
41990         definition.
41991         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41992         hidden ___tls_get_addr.
41993         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41994         hidden __tls_get_addr.
41995         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
41996         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
41997         Likewise.
41999 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42001         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
42002         _dl_init call.
42004 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
42006         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
42007         from "call _dl_init@PLT".
42008         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
42010 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
42012         * manual/search.texi: (Array Sort Function): Clarify stable sorting
42013         guarantees.
42015 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
42017         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
42019 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
42021         [BZ #17744]
42022         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
42023         strnlen.
42025 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
42027         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
42028         of multu on MIPSr6.
42029         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
42030         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
42031         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
42032         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
42033         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
42035 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
42037         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
42038         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
42039         (PTR_SUBU): Use subu for mips32r6/mips64r6.
42040         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
42041         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
42042         mips32r6/mips64r6.
42043         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
42045 2014-12-19  Ondƙej BĂ­lka  <neleai@seznam.cz>
42047         * string/strncat.c (STRNCAT): Simplify implementation.
42049 2014-12-19  David S. Miller  <davem@davemloft.net>
42051         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
42052         access the quad as both a long double and as a series of 4 words.
42054         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
42055         link_map->l_info array access.
42057 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
42059         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
42061         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
42062         * math/atest-exp2.c (TIMEOUT): Likewise.
42063         * math/atest-sincos.c (TIMEOUT): Likewise.
42065 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42067         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
42068         -Wno-error with -fno-builtin-lround.
42070 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42072         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
42073         Contains futex constants and functions moved over from ...
42074         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
42075         <lowlevellock-futex.h>.
42076         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42077         (lll_timedwait_tid): Add comments and parentheses around macro
42078         arguments.
42080 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42082         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
42083         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
42084         (__lll_private_flag): Remove.
42085         (lll_futex_wait): Likewise.
42086         (lll_futex_timed_wait): Likewise.
42087         (lll_futex_wake): Likewise.
42088         (lll_futex_requeue): Likewise.
42089         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42090         (__lll_timedwait_tid): Spell out argument names.
42091         (lll_timedwait_tid): Add comments and parentheses around macro
42092         arguments.
42093         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
42094         LLL_SHARED and LLL_PRIVATE usable from assembly code.
42096 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42098         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
42099         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42100         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42101         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
42102         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
42103         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
42104         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
42105         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
42106         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
42107         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
42108         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
42109         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
42110         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
42111         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
42112         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
42113         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
42114         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
42115         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
42116         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42118 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42120         * sysdeps/x86_64/x32/Makefile: New file.
42122 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42124         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42125         1L with (mp_limb_t) 1.
42127 2014-12-17  Roland McGrath  <roland@hack.frob.com>
42129         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42130         * nptl/libc_pthread_init.c: ... here.
42131         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42132         * nptl/register-atfork.c: ... here.
42134         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42135         Use pthread_sigmask rather than INTERNAL_SYSCALL.
42136         Use assert_perror to check its return value.
42137         (__gai_create_helper_thread): Likewise.
42139         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42141         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42143 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
42145         [BZ #17725]
42146         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42147         __profil_counter.
42148         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42149         Likewise.
42150         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42151         Likewise.
42152         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42153         Likewise.
42154         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42155         (profil_counter): Likewise.
42156         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42157         (profil_counter): Likewise.
42158         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42159         Likewise.
42160         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42161         Likewise.
42162         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42163         (profil_counter): Likewise.
42164         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42165         Likewise.
42166         [!__profil_counter] (profil_counter): Define as weak alias of
42167         __profil_counter.
42168         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42169         (profil_counter): Rename to __profil_counter.
42170         [!__profil_counter] (profil_counter): Define as weak alias of
42171         __profil_counter.
42172         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42173         (profil_counter): Rename to __profil_counter.
42174         [!__profil_counter] (profil_counter): Define as weak alias of
42175         __profil_counter.
42176         * sysdeps/posix/profil.c: Update comment referring to
42177         profil_counter.
42178         (__profil): Use __profil_counter instead of profil_counter.
42179         * sysdeps/posix/sprofil.c (profil_counter): Rename to
42180         __profil_counter.  Use __profil_counter_ushort and
42181         __profil_counter_uint in definitions.
42182         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42183         instead of profil_counter_uint and profil_counter_ushort.
42185         [BZ #17722]
42186         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42187         define as weak alias of __inet_makeaddr.
42188         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42189         as weak alias of __inet_addr.
42190         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42191         as weak alias of __inet_pton.  Use libc_hidden_weak.
42192         * include/arpa/inet.h (__inet_pton): Declare.  Use
42193         libc_hidden_proto.
42194         (inet_makeaddr): Don't use libc_hidden_proto.
42195         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
42196         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42197         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
42198         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42199         Remove variable.
42200         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42201         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42203 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
42205         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42207 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42209         * stdio-common/bug-vfprintf-nargs.c (do_test):
42210         Cast value to intptr_t to avoid format warning
42211         for usage with PRIdPTR printing macro.
42213 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42215         * libio/tst-widetext.c (do_test):
42216         Use format type %td instead of %Zd for ptrdiff_t
42217         in order to avoid format warning.
42219 2014-12-17  Andreas Schwab  <schwab@suse.de>
42221         * nscd/mem.c (gc): Add size_t cast to match printf format.
42223 2014-12-16  Roland McGrath  <roland@hack.frob.com>
42225         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42226         (init): Apply PTR_MANGLE to pointers before storing them.
42227         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42228         before using them.
42230 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
42232         [BZ #17719]
42233         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42234         define as weak alias of __memrchr.
42235         (__memrchr): Do not define as strong alias of memrchr.
42236         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42237         Remove variable.
42238         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42239         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42240         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42242         [BZ #17717]
42243         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42244         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
42245         (if_indextoname): Rename to __if_indextoname and define as weak
42246         alias of __if_indextoname.  Use libc_hidden_weak.
42247         (if_freenameindex): Rename to __if_freenameindex and define as
42248         weak alias of __if_freenameindex.
42249         (if_nameindex): Rename to __if_nameindex and define as weak alias
42250         of __if_nameindex.
42251         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42252         __if_nametoindex and define as weak alias of __if_nametoindex.
42253         Use libc_hidden_weak.
42254         (if_freenameindex): Rename to __if_freenameindex and define as
42255         weak alias of __if_freenameindex.
42256         (if_nameindex): Rename to __if_nameindex and define as weak alias
42257         of __if_nameindex.
42258         (if_indextoname): Rename to __if_indextoname and define as weak
42259         alias of __if_indextoname.  Use libc_hidden_weak.
42260         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42261         __if_nametoindex and define as weak alias of __if_nametoindex.
42262         Use libc_hidden_weak.
42263         (if_freenameindex): Rename to __if_freenameindex and define as
42264         weak alias of __if_freenameindex.  Use libc_hidden_weak.
42265         (if_nameindex_netlink): Use __if_freenameindex instead of
42266         if_freenameindex.
42267         (if_nameindex): Rename to __if_nameindex and define as weak alias
42268         of __if_nameindex.  Use libc_hidden_weak.
42269         (if_indextoname): Rename to __if_indextoname and define as weak
42270         alias of __if_indextoname.  Use libc_hidden_weak.
42271         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42272         libc_hidden_proto.
42273         [!_ISOMAC] (__if_freenameindex): Likewise.
42274         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42275         if_nametoindex.
42276         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42277         variable.
42278         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42279         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42280         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42281         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42282         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42283         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42284         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42286         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42287         Remove variable.
42288         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42289         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42291 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42293         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42294         subscript above bounds'
42296         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42297         bounds.
42299 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
42301         * libio/tst-fopenloc.c: Use test-skeleton.c.
42303         * stdlib/tst-bsearch.c: Use test-skeleton.c.
42304         (entry): Rename to ITEM.
42305         (do_test, comp): Adjust.
42307         * stdio-common/tst-fseek.c: Use test-skeleton.c.
42309 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42311         * string/tester.c: Include <libc-internal.h>.
42312         (test_memset): Ignore -Wmemset-transposed-args.
42314 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42316         * misc/tst-mntent2.c (do_test): Fix warning.
42318 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42320         * elf/tst-unique4lib.cc(a): Mark as used.
42322 2014-12-16  Florian Weimer  <fweimer@redhat.com>
42324         [BZ #17630]
42325         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42326         names.
42328 2014-12-16  Allan McRae  <allan@archlinux.org>
42330         * stdio-common/Makefile (tests): Re-add bug26.
42332 2014-12-15  Ondƙej BĂ­lka  <neleai@seznam.cz>
42334         [BZ #17657]
42335         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42336         static array.
42338 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
42340         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42341         (__lll_lock_wait): Likewise.
42342         (__lll_timedlock_wait): Likewise.
42343         (__lll_timedwait_tid): Likewise.
42344         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42345         (__lll_robust_timedlock_wait): Likewise.
42346         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42347         (lll_cond_trylock): Likewise.
42348         (__lll_lock): Likewise.
42349         (__lll_robust_lock): Likewise.
42350         (__lll_cond_lock): Likewise.
42351         (lll_robust_cond_lock): Likewise.
42352         (__lll_timedlock): Likewise.
42353         (__lll_robust_timedlock): Likewise.
42354         (__lll_unlock): Likewise.
42355         (__lll_robust_unlock): Likewise.
42356         (lll_wait_tid): Likewise.
42357         (lll_timedwait_tid): Likewise.
42359 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42361         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42363 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42365         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42367 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42369         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42370         * stdio-common/tst-sprintf.c: Likewise.
42372 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42374         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42376 2014-12-15  Jeff Law  <law@redhat.com>
42378         [BZ #16617]
42379         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42380         on the heap.  (CVE-2012-3406)
42381         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42382         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
42383         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42385 2014-12-15  Will Newton  <will.newton@linaro.org>
42387         * manual/install.texi: Bump required version of texinfo
42388         to 4.7 from 4.5.
42389         * INSTALL: Regenerated.
42390         * configure.ac: Check for makeinfo version 4.7 and above.
42391         * configure: Regenerated.
42393 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42395         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42396         PREFIX, string constant to insert between directory and name.
42397         * sysdeps/posix/shm_open.c: Update caller.
42398         * sysdeps/posix/shm_unlink.c: Likewise.
42399         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42400         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42401         (SEM_SHM_PREFIX): New macro.
42402         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42403         [$(have-thread-library) = no].
42404         * nptl/Makefile (libpthread-routines): Add shm-directory.
42405         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42406         * sysdeps/nptl/shm-directory.h: New file.
42407         * sysdeps/posix/shm-directory.c
42408         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42409         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42410         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42411         INTERNAL_SYSCALL.
42412         (__where_is_shmfs): Function removed.
42413         (mountpoint, defaultmount, defaultdir, __namedsem_once):
42414         Variables removed.
42415         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42416         Use SHM_GET_NAME.
42417         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
42419         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42420         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42421         unconditional for use inside libpthread.
42422         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42424 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42426         * nptl/pthread_getaffinity.c: New file.
42427         * nptl/pthread_setaffinity.c: New file.
42428         * nptl/pthread_getname.c: New file.
42429         * nptl/pthread_setname.c: New file.
42431         * nptl/pthread_create.c (START_THREAD_DEFN)
42432         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42434 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42435             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42437         * resolv/res_send.c (send_vc): Disable warning resplen may
42438         be used uninitialized.
42440 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42442         * nptl/tst-mutex6.c
42443         (ATTR_NULL): New define checks ATTR against NULL.
42444         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42445         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42447 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
42449         [BZ #17581]
42450         * malloc/hooks.c
42451         (mem2mem_check): Revert my previous change.
42452         (malloc_check_get_size): Revert my previous change.
42453         (mem2chunk_check): Revert my previous change.
42455 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42457         * sysdeps/posix/shm-directory.c: New file.
42458         * sysdeps/posix/shm-directory.h: New file.
42459         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42460         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42461         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
42462         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42463         Transmute EPERM to EACCES.
42464         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42465         from ...
42466         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
42467         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42469 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42471         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42472         pointer and cast to uintptr_t.
42473         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42474         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42475         Add cast to avoid warning.
42476         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42478 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42480         * nptl/semaphore.h: Move to ...
42481         * sysdeps/pthread/semaphore.h: ... here.
42482         * Makefile (installed-headers): Change nptl/semaphore.h to
42483         sysdeps/pthread/semaphore.h.
42485 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42487         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42488         generated error format strings.
42490         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42491         -Wformat-extra-args warnings for scanf formats.
42492         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42493         test of zero-length format (duh).
42494         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42495         corner-case scanf format test.
42496         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42497         generated fprintf format string.
42498         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42499         corner-case sprintf format tests.
42500         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42501         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42502         -Wformat-extra-args warnings throughout.
42503         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42504         (CFLAGS-scanf4.c): Likewise.
42505         (CFLAGS-scanf7.c): Likewise.
42506         (CFLAGS-tst-sprintf.c): Likewise.
42507         (CFLAGS-tst-printf.c): Likewise.
42508         (CFLAGS-tst-printfsz.c): Likewise.
42510 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42512         * include/cpio.h: New file.
42513         * include/fmtmsg.h: Likewise.
42515         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
42516         corresponding format argument to size_t.
42517         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
42518         arguments.
42519         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
42520         corresponding format argument to size_t.
42521         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
42522         arguments.
42523         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
42524         corresponding format argument to size_t.
42525         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42526         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42527         (CFLAGS-tst-mbswcs2.c): Likewise.
42528         (CFLAGS-tst-mbswcs3.c): Likewise.
42529         (CFLAGS-tst-mbswcs4.c): Likewise.
42530         (CFLAGS-tst-mbswcs5.c): Likewise.
42531         (CFLAGS-tst-trans.c): Likewise.
42533 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42535         * posix/regexbug1.c (main): Use "%s" format with regerror results,
42536         rather than assuming they won't contain any '%'s.
42538 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
42540         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42541         inhibit_loop_to_libcall to avoid recursive calls.
42542         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42543         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42545 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42547         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42548         prototype.
42550 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42552         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42553         integer value instead of boolean.
42555 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42557         * malloc/malloc.c: Fix powerof2 check.
42559 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42561         * locale/programs/locfile.h (maybe_swap_uint32):
42562         Remove inline and add unused attribute.
42564 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42566         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42567         Truncating assembler expression to a .long expression.
42569 2014-12-11  Andreas Schwab  <schwab@suse.de>
42571         * elf/rtld.c (struct map_args): Constify str member.
42572         (do_preload): Constify fname argument.
42574 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42576         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42577         constants definition.
42579 2014-12-11  Andreas Schwab  <schwab@suse.de>
42581         [BZ #16657]
42582         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42583         FORCE_ELISION instead of DO_ELISION.
42584         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42585         Remove.
42586         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42587         Likewise.
42589         * iconvdata/gconv-modules: Remove duplicate entry.
42591 2014-12-11  Will Newton  <will.newton@linaro.org>
42593         Merge gettext 0.19.3 into intl/.
42595         This involves a number of cosmetic changes to comments
42596         and ANSI function definitions and prototypes throughout
42597         all the files. The gettext copyright header is used but
42598         with the date ranges taken from the glibc copy.
42600         * NEWS: Add gettext merge to 2.21.
42601         * intl/bindtextdom.c: Switch to gettext copyright.
42602         Use ANSI definitions and prototypes.
42603         Use gl_* locking primitives rather than __libc_* ones.
42604         Use __builtin_expect rather than __glibc_likely/unlikely.
42605         * intl/dcgettext.c: Switch to gettext copyright.
42606         Use ANSI definitions and prototypes.
42607         * intl/dcigettext.c: Switch to gettext copyright.
42608         Use ANSI definitions and prototypes.
42609         (INTDIV0_RAISES_SIGFPE): New define.
42610         Use gl_* locking primitives rather than __libc_* ones.
42611         Include eval-plural.h instead of plural-eval.c.
42612         Use __builtin_expect rather than __glibc_likely/unlikely.
42613         * intl/dcngettext.c: Switch to gettext copyright.
42614         Use ANSI definitions and prototypes.
42615         * intl/dgettext.c: Likewise.
42616         * intl/dngettext.c: Likewise.
42617         * intl/plural-eval.c: Renamed to...
42618         * intl/eval-plural.h: ...this.
42619         * intl/explodename.c: Switch to gettext copyright.
42620         Use ANSI definitions and prototypes.
42621         (_nl_explode_name): Use strchr instead of __rawmemchr.
42622         * intl/finddomain.c: Switch to gettext copyright.
42623         Use ANSI definitions and prototypes.
42624         Use gl_* locking primitives rather than __libc_* ones.
42625         (_nl_find_domain): Use malloc rather than alloca for
42626         allocation of temporary locale name.
42627         * intl/gettext.c: Switch to gettext copyright.
42628         Use ANSI definitions and prototypes.
42629         * intl/gettextP.h: Switch to gettext copyright.
42630         Use ANSI definitions and prototypes.
42631         Use gl_* locking primitives rather than __libc_* ones.
42632         * intl/gmo.h: Switch to gettext copyright.
42633         (struct sysdep_string): Move struct segment_pair outside of
42634         struct definition.
42635         * intl/hash-string.c: Use ANSI definitions and prototypes.
42636         * intl/hash-string.h: Switch to gettext copyright.
42637         Use ANSI definitions and prototypes.
42638         * intl/l10nflist.c: Switch to gettext copyright.
42639         Use ANSI definitions and prototypes.
42640         (_nl_normalize_codeset): Avoid integer overflow.
42641         * intl/loadinfo.h: Switch to gettext copyright.
42642         Use ANSI definitions and prototypes.
42643         (LIBINTL_DLL_EXPORTED): New define.
42644         (PATH_SEPARATOR): New define.
42645         * intl/loadmsgcat.c: Switch to gettext copyright.
42646         * intl/localealias.c: Switch to gettext copyright.
42647         Use ANSI definitions and prototypes.
42648         (_nl_expand_alias): Use PATH_SEPARATOR.
42649         * intl/ngettext.c: Switch to gettext copyright.
42650         Use ANSI definitions and prototypes.
42651         * intl/plural-exp.c: Likewise.
42652         * intl/plural-exp.h: Switch to gettext copyright.
42653         Use ANSI definitions and prototypes.
42654         (struct expression): Move definition of enum operator outside
42655         of struct definition.
42656         * intl/plural.c: Regenerate.
42657         * intl/plural.y: Switch to gettext copyright.
42658         Use ANSI definitions and prototypes.
42659         Port to bison 3.0.
42660         * intl/textdomain.c: Switch to gettext copyright.
42661         Use ANSI definitions and prototypes.
42662         Use gl_* locking primitives rather than __libc_* ones.
42664 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
42666         * debug/warning-nop.c: Add used atrribute.
42668 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42670         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42672         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42673         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42674         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42676 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42677             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42679         [BZ #17634]
42680         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42681         Undefine after defining function.  Define as weak alias of
42682         __wcschr.  Use libc_hidden_weak.
42683         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
42684         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42685         (libc_hidden_def): Also define __GI___wcschr alias.
42686         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42687         __wcschr and define as weak alias of __wcschr.
42688         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42689         __wcschr.
42690         [!WCSCHR] (DEFAULT_WCSCHR): Define.
42691         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42692         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
42693         libc_hidden_weak.  Do not use libc_hidden_def.
42694         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42695         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42696         __GI___wcschr alias.
42697         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42698         [IS_IN (libc)] (wcschr): Define as macro expanding to
42699         __redirect_wcschr.
42700         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42701         [IS_IN (libc)] (__wcschr_power6): Likewise.
42702         [IS_IN (libc)] (__wcschr_power7): Likewise.
42703         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
42704         instead of wcschr.
42705         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42706         __libc_wcschr.
42707         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42708         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42709         __wcschr and define as weak alias of __wcschr.  Use
42710         libc_hidden_builtin_def.
42711         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42712         as weak alias of __wcschr.  Use libc_hidden_weak.
42713         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42714         wcschr.
42715         * time/era.c (_nl_init_era_entries): Likewise.
42716         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42717         variable.
42718         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42719         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42721 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42723         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42724         format for long int variable.
42726 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
42728         [BZ #10672]
42729         * manual/search.texi: (Array Sort Function): Remove claim how to make
42730         qsort stable.
42732 2014-12-10  Andreas Schwab  <schwab@suse.de>
42734         [BZ #12847]
42735         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42736         user-controlled locks.
42738 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
42740         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42741         register.
42743 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42745         * configure.ac (--disable-werror): New configure option.
42746         (enable_werror): New AC_SUBST.
42747         * configure: Regenerated.
42748         * config.make.in (enable-werror): New variable.
42749         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42750         -Wno-error=undef.
42751         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42752         * manual/install.texi (Configuring and compiling): Document
42753         --disable-werror.
42754         * INSTALL: Regenerated.
42755         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42756         (CFLAGS-tst-chk2.c): Likewise.
42757         (CFLAGS-tst-chk3.c): Likewise.
42758         (CFLAGS-tst-chk4.cc): Likewise.
42759         (CFLAGS-tst-chk5.cc): Likewise.
42760         (CFLAGS-tst-chk6.cc): Likewise.
42761         (CFLAGS-tst-lfschk1.c): Likewise.
42762         (CFLAGS-tst-lfschk2.c): Likewise.
42763         (CFLAGS-tst-lfschk3.c): Likewise.
42764         (CFLAGS-tst-lfschk4.cc): Likewise.
42765         (CFLAGS-tst-lfschk5.cc): Likewise.
42766         (CFLAGS-tst-lfschk6.cc): Likewise.
42768         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42769         (main): Disable -Wdeprecated-declarations around calls to
42770         register_printf_function.
42772         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42773         (do_test): Disable -Wdiv-by-zero around some calls to
42774         fwrite_unlocked and fread_unlocked.
42776         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42777         (DIAG_POP_NEEDS_COMMENT): Likewise.
42778         (_DIAG_STR1): Likewise.
42779         (_DIAG_STR): Likewise.
42780         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42781         * stdio-common/bug21.c: Include <libc-internal.h>.
42782         (do_test): Disable -Wformat around call to sscanf.
42783         * stdio-common/scanf14.c: Include <libc-internal.h>.
42784         (main): Disable -Wformat around some calls to scanf functions.
42786 2014-12-09  Torvald Riegel  <triegel@redhat.com>
42788         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42790 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42792         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42793         stack variable alignment.
42795 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
42797         [BZ #17682]
42798         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42799         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42800         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42801         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42802         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42803         __getrlimit instead of getrlimit.
42804         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42805         __gettimeofday instead of gettimeofday.
42806         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42807         Likewise.
42808         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42809         Likewise.
42810         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42811         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42812         Remove variable.
42813         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42814         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42816 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42818         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42819         for wide-character tests.
42821 2014-12-04  Roland McGrath  <roland@hack.frob.com>
42823         * io/openat64.c: #include <libc-internal.h>
42824         (__openat64): Prototypify.  Use ignore_value on MODE.
42825         * io/openat.c: Likewise.
42826         * misc/reboot.c: #include <libc-internal.h>
42827         (reboot): Prototypify.  Use ignore_value on HOWTO.
42828         * misc/ptrace.c: #include <libc-internal.h>
42829         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
42831 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
42833         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42834         XPG4, UNIX98 and XOPEN2K.
42835         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42836         Remove variable.
42837         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42839 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42841         * libio/fileops.c: Use ISO C style for function definitions.
42842         * libio/iofopen.c: Likewise.
42843         * libio/wfileops.c: Likewise.
42845         [BZ #17653]
42846         * libio/fileops.c (_IO_new_file_underflow): Unset cached
42847         offset on EOF.
42848         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42849         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42850         (fgets_func): Function pointer to fgets and fgetws.
42851         (do_ftell_test): Add test to verify ftell value after read
42852         EOF.
42853         (do_test): Set fgets_func.
42855         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42856         O_TRUNC flag for w and w+ modes.
42857         (do_rewind_test): Likewise.
42858         (do_ftell_test): Likewise.
42859         (do_write_test): Likewise.
42861         [BZ #17647]
42862         * libio/fileops.c (do_ftell): Seek only when there are
42863         unflushed writes.
42864         * libio/wfileops.c (do_ftell_wide): Likewise.
42865         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42866         test case.
42867         (do_one_test): Call it.
42869 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
42871         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42872         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42873         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42874         Remove variable.
42875         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42876         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42877         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42879 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42881         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42882         Remove variable.
42883         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42885         [BZ #17668]
42886         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42887         as weak alias of __getifaddrs.  Use libc_hidden_weak.
42888         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42889         __freeifaddrs.  Use libc_hidden_weak.
42890         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42891         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
42892         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42893         __freeifaddrs.  Use libc_hidden_weak.
42894         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42895         __getifaddrs and define as weak alias of __getifaddrs.  Use
42896         libc_hidden_weak.
42897         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42898         __freeifaddrs.  Use libc_hidden_weak.
42899         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42900         Remove variable.
42901         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42902         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42904 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
42906         [BZ #17601]
42907         * sysdeps/mips/start.S (__start): Use indirect jump to call
42908         __libc_start_main.
42910 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42912         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42914         * nptl/tst-mutex1.c: Include <stdbool.h>.
42915         [!ATTR] (ATTR_NULL): New macro.
42916         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42917         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42918         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42920         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42921         to char *.
42923         [BZ #17665]
42924         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42925         Change conditional to [__USE_MISC].
42927         [BZ #17664]
42928         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42929         fgets_unlocked.
42930         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42931         __fgets_unlocked.
42932         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42933         fgets_unlocked.
42934         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42935         Remove variable.
42936         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42937         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42938         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42939         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42940         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42941         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42942         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42943         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42944         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42946         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42948 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42950         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42951         Remove strpbrk objects.
42952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42953         (__libc_ifunc_impl_list): Remove strpbrk implementation.
42954         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42955         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42956         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42957         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
42959         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42960         Remove strcspn objects.
42961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42962         (__libc_ifunc_impl_list): Remove strcspn implementation.
42963         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
42964         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
42965         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
42966         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
42968         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42969         Remove strspn objetcs.
42970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42971         (__libc_ifunc_impl_list): Remove strspn implementation.
42972         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
42973         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42974         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
42975         * sysdeps/powerpc/powerpc64/strspn.S: New file.
42977 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
42979         [BZ #17581]
42980         * malloc/hooks.c
42981         (mem2mem_check): Add a terminator to the chain of checking blocks.
42982         (malloc_check_get_size): Use it here.
42983         (mem2chunk_check): Ditto.
42985 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42987         * sysdeps/powerpc/powerpc64/strtok.S: New file.
42988         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
42990 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
42992         * bits/ioctl-types.h: Indent preprocessor directives correctly.
42994         * nptl/nptl-init.c: Include libc-internal.h.
42995         (__pthread_initialize_minimal_internal): Use ROUND_UP.
42997         * elf/ldconfig.c (search_dir): Expand comment.
42999 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
43001         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
43002         variable.
43003         (linknamespace-symlist-stdlibs-tests): Likewise.
43004         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
43005         instead of $(objpfx)symlist-stdlibs.
43006         (linknamespace-libs-isoc): New variable.
43007         (linknamespace-libs): Use $(linknamespace-libs-isoc).
43008         (linknamespace-libs-ISO): New variable.
43009         (linknamespace-libs-ISO99): Likewise.
43010         (linknamespace-libs-ISO11): Likewise.
43011         (linknamespace-libs-XPG3): Likewise.
43012         (linknamespace-libs-XPG4): Likewise.
43013         (linknamespace-libs-POSIX): Likewise.
43014         (linknamespace-libs-UNIX98): Likewise.
43015         (linknamespace-libs-XOPEN2K): Likewise.
43016         (linknamespace-libs-POSIX2008): Likewise.
43017         (linknamespace-libs-XOPEN2K8): Likewise.
43018         ($(objpfx)symlist-stdlibs): Replace by
43019         $(linknamespace-symlist-stdlibs-tests).  Use
43020         $(linknamespace-libs-$*) as set of libraries.
43021         ($(linknamespace-header-tests)): Update dependencies.  Use
43022         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
43023         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
43024         * conform/linknamespace.pl: Remove comment about considering
43025         definitions of symbols from irrelevant libraries.
43027 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
43029         [BZ #13862]
43030         * elf/dl-tls.c: Include <atomic.h>.
43031         (oom): Remove #ifdef SHARED/#endif.
43032         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
43033         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
43034         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
43035         big enough.
43036         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
43037         * nptl/Makefile (tests): Add tst-stack4.
43038         (modules-names): Add tst-stack4mod.
43039         ($(objpfx)tst-stack4): New.
43040         (tst-stack4mod.sos): Likewise.
43041         ($(objpfx)tst-stack4.out): Likewise.
43042         ($(tst-stack4mod.sos)): Likewise.
43043         (clean): Likewise.
43044         * nptl/tst-stack4.c: New file.
43045         * nptl/tst-stack4mod.c: Likewise.
43047 2014-11-27  J. Brown  <jb999@gmx.de>
43049         * sysdeps/x86/bits/string.h: Add recent CPUs.
43051 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
43053         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
43054         sigblock.
43056         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
43057         feof.
43059         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
43060         variable.
43062 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
43064         * nscd/connections.c: Include libc-internal.h because of macro
43065         usage ignore_value.
43067 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43069         * string/bits/string3.h (__warn_memset_zero_len): Don't
43070         declare for gcc newer than 5.0.
43071         (memset): Don't test for zero-length __LEN for gcc newer than
43072         5.0.
43074 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
43076         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
43077         size_t for %zu format.
43079         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
43080         difference, not %ju.
43082 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
43084         * include/libc-internal.h (ignore_value): New macro.
43085         * nscd/connections.c (restart): Wrap calls to setuid and setgid
43086         with ignore_value.
43088         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
43089         definition.
43091         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
43092         pthread_cleanup_push to void *.
43094         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
43095         Undefine.
43097         [BZ #16619]
43098         [BZ #16740]
43099         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
43100         instead of 1L << 52.
43102         * libio/bug-rewind.c (do_test): Check fwscanf return values.
43103         * libio/bug-rewind2.c (do_test): Likewise.
43105         * debug/test-stpcpy_chk-ifunc.c: Remove file.
43106         * debug/test-strcpy_chk-ifunc.c: Likewise.
43107         * wcsmbs/test-wcschr-ifunc.c: Likewise.
43108         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43109         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43110         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43111         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43112         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43113         * Rules [$(multi-arch) = no] (tests): Do not filter out
43114         $(tests-ifunc).
43115         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
43116         * debug/Makefile (tests-ifunc): Remove variable.
43117         (tests): Do not add $(tests-ifunc).
43118         * wcsmbs/Makefile (tests-ifunc): Remove variable.
43119         (tests): Do not add $(tests-ifunc).
43120         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43121         [TEST_IFUNC]: Remove conditionals.
43122         * string/test-string.h (TEST_IFUNC): Remove macro.
43123         [TEST_IFUNC]: Remove conditionals.
43125         * string/test-strchr.c [!WIDE] (L): New macro.
43126         [WIDE] (L): Likewise.
43127         (check1): Use CHAR instead of char.  Use L on string and character
43128         constants.
43130 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
43132         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43133         tests.
43134         * sysdeps/powerpc/bits/atomic.h
43135         (__arch_atomic_exchange_and_add_32_acq): Add definition.
43136         (__arch_atomic_exchange_and_add_32_rel): Likewise.
43137         (atomic_exchange_and_add_acq): Likewise.
43138         (atomic_exchange_and_add_rel): Likewise.
43139         * sysdeps/powerpc/powerpc32/bits/atomic.h
43140         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43141         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43142         * sysdeps/powerpc/powerpc64/bits/atomic.h
43143         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43144         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43146 2014-11-26  Torvald Riegel  <triegel@redhat.com>
43148         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43149         Change synchronization of __sched_fifo_min_prio and
43150         __sched_fifo_max_prio.
43151         * nptl/pthread_mutexattr_getprioceiling.c
43152         (pthread_mutexattr_getprioceiling): Likewise.
43153         * nptl/pthread_mutexattr_setprioceiling.c
43154         (pthread_mutexattr_setprioceiling): Likewise.
43155         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43156         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43157         Likewise.
43159 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
43161         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43162         void.
43164 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43166         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43167         third argument const.
43169 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
43171         fnmatch: work around GCC compiler warning bug with uninit var
43172         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43173         This works around a bug with x86-64 GCC 4.9.2 and earlier
43174         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43175         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43176         used uninitialized in this function [-Wmaybe-uninitialized]".
43178 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43180         * posix/bug-regex31.c (main): Return RES not 0.
43182 2014-11-25  Anton Blanchard <anton@samba.org>
43184         * sysdeps/powerpc/bits/atomic.h
43185         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43187 2014-11-24  Sterling Augustine  <saugustine@google.com>
43189         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43191 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
43193         [BZ #17608]
43194         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43196 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
43198         [BZ #17633]
43199         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43200         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43201         variable.
43202         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43203         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43205 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43207         * string/strncpy.c (strncpy): Improve performance by using memset.
43209 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43211         * string/strcpy.c (strcpy):
43212         Improve performance by using strlen and memcpy.
43214 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
43216         * string/strcoll_l.c (get_next_seq): __always_inline.
43217         * string/strcoll_l.c (do_compare): __always_inline.
43219 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43221         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43222         defined.
43223         * include/mqueue.h: Likewise.
43224         * include/stdlib.h: Likewise.
43226         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43227         (get_null_defines): Adjust.
43228         * sunrpc/Makefile: Adjust comment.
43229         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43230         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43231         (CFLAGS-interp.c): Likewise.
43232         (CFLAGS-ldconfig.c): Likewise.
43233         (CPPFLAGS-.os): Likewise.
43234         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43235         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43236         * extra-modules.mk (extra-modules.mk): Likewise.
43237         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43238         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43239         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43240         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43241         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43242         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43243         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43244         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43245         * iconvdata/Makefile (CPPFLAGS): Likewise.
43246         (cpp-srcs-left): Add libof for all iconvdata routines.
43247         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43248         * include/assert.h: Likewise.
43249         * include/ctype.h: Likewise.
43250         * include/errno.h: Likewise.
43251         * include/libc-symbols.h: Likewise.
43252         * include/math.h: Likewise.
43253         * include/netdb.h: Likewise.
43254         * include/resolv.h: Likewise.
43255         * include/stdio.h: Likewise.
43256         * include/stdlib.h: Likewise.
43257         * include/string.h: Likewise.
43258         * include/sys/stat.h: Likewise.
43259         * include/wctype.h: Likewise.
43260         * intl/l10nflist.c: Likewise.
43261         * libidn/idn-stub.c: Likewise.
43262         * libio/libioP.h: Likewise.
43263         * nptl/libc_multiple_threads.c: Likewise.
43264         * nptl/pthreadP.h: Likewise.
43265         * posix/regex_internal.h: Likewise.
43266         * resolv/res_hconf.c: Likewise.
43267         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43268         * sysdeps/arm/memmove.S: Likewise.
43269         * sysdeps/arm/sysdep.h: Likewise.
43270         * sysdeps/generic/_itoa.h: Likewise.
43271         * sysdeps/generic/symbol-hacks.h: Likewise.
43272         * sysdeps/gnu/errlist.awk: Likewise.
43273         * sysdeps/gnu/errlist.c: Likewise.
43274         * sysdeps/i386/i586/memcpy.S: Likewise.
43275         * sysdeps/i386/i586/memset.S: Likewise.
43276         * sysdeps/i386/i686/memcpy.S: Likewise.
43277         * sysdeps/i386/i686/memmove.S: Likewise.
43278         * sysdeps/i386/i686/mempcpy.S: Likewise.
43279         * sysdeps/i386/i686/memset.S: Likewise.
43280         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43281         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43282         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43283         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43284         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43285         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43286         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43287         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43288         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43289         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43290         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43291         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43292         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43293         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43294         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43295         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43296         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43297         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43298         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43299         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43300         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43301         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43302         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43303         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43304         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43305         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43306         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43307         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43308         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43309         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43310         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43311         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43312         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43313         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43314         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43315         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43316         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43317         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43318         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43319         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43320         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43321         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43322         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43323         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43324         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43325         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43326         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43327         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43328         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43329         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43330         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43331         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43332         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43333         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43334         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43335         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43336         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43337         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43338         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43339         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43340         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43341         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43342         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43343         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43344         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43345         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43346         * sysdeps/posix/closedir.c: Likewise.
43347         * sysdeps/posix/opendir.c: Likewise.
43348         * sysdeps/posix/readdir.c: Likewise.
43349         * sysdeps/posix/rewinddir.c: Likewise.
43350         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43351         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43352         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43353         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43354         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43355         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43356         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43357         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43358         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43359         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43360         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43361         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43362         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43363         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43364         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43365         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43366         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43367         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43368         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43369         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43370         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43371         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43372         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43373         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43374         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43375         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43376         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43377         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43378         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43379         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43380         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43381         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43382         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43383         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43384         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43385         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43386         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43387         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43388         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43389         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43390         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43391         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43392         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43393         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43394         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43395         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43396         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43397         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43398         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43399         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43400         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43401         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43402         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43403         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43404         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43405         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43406         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43407         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43408         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43409         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43410         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43411         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43412         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43413         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43414         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43415         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43416         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43417         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43418         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43419         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43420         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43421         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43422         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43423         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43424         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43425         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43426         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43427         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43428         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43429         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43430         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43431         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43432         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43433         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43434         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43435         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43436         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43437         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43438         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43439         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43440         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43441         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43442         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43443         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43444         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43445         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43446         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43447         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43448         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43449         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43450         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43451         * sysdeps/unix/alpha/sysdep.S: Likewise.
43452         * sysdeps/unix/alpha/sysdep.h: Likewise.
43453         * sysdeps/unix/make-syscalls.sh: Likewise.
43454         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43455         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43456         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43457         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43458         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43459         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43460         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43461         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43462         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43463         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43464         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43465         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43466         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43467         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43468         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43469         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43470         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43471         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43472         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43473         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43474         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43475         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43476         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43477         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43478         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43479         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43480         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43483         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43484         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43485         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43486         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43487         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43488         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43489         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43490         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43491         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43492         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43493         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43494         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43495         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43496         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43497         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43498         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43499         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43500         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43501         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43502         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43503         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43504         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43505         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43506         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43507         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43508         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43509         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43510         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43511         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43512         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43513         * sysdeps/x86_64/memcpy.S: Likewise.
43514         * sysdeps/x86_64/memmove.c: Likewise.
43515         * sysdeps/x86_64/memset.S: Likewise.
43516         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43517         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43518         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43519         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43520         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43521         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43522         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43523         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43524         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43525         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43526         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43527         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43528         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43529         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43530         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43531         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43532         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43533         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43534         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43535         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43536         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43537         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43538         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43539         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43540         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43541         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43542         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43543         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43544         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43545         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43546         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43547         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43548         * sysdeps/x86_64/strcmp.S: Likewise.
43550         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43552         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43553         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43554         * elf/rtld-Rules: Likewise.
43555         * elf/setup-vdso.h: Likewise.
43556         * include/assert.h: Likewise.
43557         * include/bits/stdlib-float.h: Likewise.
43558         * include/errno.h: Likewise.
43559         * include/sys/stat.h: Likewise.
43560         * include/unistd.h: Likewise.
43561         * sysdeps/aarch64/setjmp.S: Likewise.
43562         * sysdeps/alpha/setjmp.S: Likewise.
43563         * sysdeps/arm/__longjmp.S: Likewise.
43564         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43565         * sysdeps/arm/setjmp.S: Likewise.
43566         * sysdeps/arm/sysdep.h: Likewise.
43567         * sysdeps/generic/_itoa.h: Likewise.
43568         * sysdeps/generic/dl-sysdep.h: Likewise.
43569         * sysdeps/generic/ldsodefs.h: Likewise.
43570         * sysdeps/i386/dl-tls.h: Likewise.
43571         * sysdeps/i386/setjmp.S: Likewise.
43572         * sysdeps/m68k/setjmp.c: Likewise.
43573         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43574         * sysdeps/mach/hurd/opendir.c: Likewise.
43575         * sysdeps/posix/getcwd.c: Likewise.
43576         * sysdeps/posix/opendir.c: Likewise.
43577         * sysdeps/posix/profil.c: Likewise.
43578         * sysdeps/powerpc/dl-procinfo.h: Likewise.
43579         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43580         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43581         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43582         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43583         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43584         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43585         * sysdeps/s390/dl-tls.h: Likewise.
43586         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43587         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43588         * sysdeps/sh/sh3/setjmp.S: Likewise.
43589         * sysdeps/sh/sh4/setjmp.S: Likewise.
43590         * sysdeps/unix/alpha/sysdep.h: Likewise.
43591         * sysdeps/unix/arm/sysdep.S: Likewise.
43592         * sysdeps/unix/i386/sysdep.S: Likewise.
43593         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43594         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43595         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43596         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43597         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43598         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43599         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43600         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43601         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43602         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43603         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43604         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43605         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43608         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43609         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43610         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43611         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43612         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43613         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43614         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43615         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43616         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43617         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43618         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43619         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43620         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43621         * sysdeps/x86_64/setjmp.S: Likewise.
43623         * include/math.h: Use IS_IN instead of IS_IN_libm.
43624         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43625         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43626         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43627         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43628         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43629         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43630         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43631         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43632         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43633         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43634         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43635         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43636         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43637         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43638         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43639         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43640         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43641         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43642         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43643         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43644         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43645         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43646         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43647         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43648         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43649         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43650         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43651         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43652         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43653         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43654         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43655         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43656         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43658         Likewise.
43659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43660         Likewise.
43661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43662         Likewise.
43663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43664         Likewise.
43665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43666         Likewise.
43667         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43668         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43669         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43670         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43671         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43672         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43678         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43679         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43680         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43681         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43682         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43683         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43684         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43685         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43686         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43687         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43688         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43689         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43690         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43691         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43693         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43695         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43696         * nptl/pthreadP.h: Likewise.
43697         * nptl_db/structs.def: Likewise.
43698         * sysdeps/arm/sysdep.h: Likewise.
43699         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43700         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43701         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43702         * sysdeps/unix/alpha/sysdep.h: Likewise.
43703         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43704         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43705         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43706         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43707         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43708         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43709         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43710         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43711         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43712         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43713         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43714         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43715         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43716         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43719         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43721         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43722         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43723         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43724         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43725         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43726         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43727         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43728         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43730         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43731         * nptl/pthreadP.h: Likewise.
43732         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43733         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43734         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43735         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43736         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43737         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43738         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43739         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43740         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43741         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43742         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43743         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43745         Likewise.
43746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43747         Likewise.
43748         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43749         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43750         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43751         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43752         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43753         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43754         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43755         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43757         * dlfcn/dladdr.c: Use IS_IN.
43758         * dlfcn/dladdr1.c: Likewise.
43759         * dlfcn/dlclose.c: Likewise.
43760         * dlfcn/dlerror.c: Likewise.
43761         * dlfcn/dlinfo.c: Likewise.
43762         * dlfcn/dlmopen.c: Likewise.
43763         * dlfcn/dlopen.c: Likewise.
43764         * dlfcn/dlsym.c: Likewise.
43765         * dlfcn/dlvsym.c: Likewise.
43767         * include/ifaddrs.h: Use IS_IN.
43768         * inet/check_pf.c: Likewise.
43769         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43770         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43772         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43773         IS_IN_ldconfig.
43774         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43775         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43777         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43778         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43779         IS_IN (libc).
43781         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43783         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43784         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43785         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43786         * include/libc-symbols.h (IS_IN_LIB): New macro.
43787         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43788         * include/netdb.h: Likewise.
43789         * include/stap-probe.h: Remove all uses of IN_LIB.
43791         * Makeconfig (module-cppflags-real): Define MODULE_NAME
43792         instead of IN_MODULE.
43793         * include/libc-symbols.h (IN_MODULE): Define using
43794         MODULE_NAME.
43795         (PASTE_NAME, PASTE_NAME1): New macros.
43796         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43797         of IN_LIB.
43798         (STAP_PROBE_ASM): Likewise.
43800 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43802         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43803         __mach_init in dlopened libc.
43805 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
43807         * sysdeps/arm/preconfigure.ac: Delete EABI check.
43808         * sysdeps/arm/preconfigure: Regenerate.
43810 2014-11-21  Roland McGrath  <roland@hack.frob.com>
43812         * nptl/pthread_create.c (__pthread_create_2_1): Set
43813         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43814         when copying values from IATTR into PD.
43816 2014-11-21  Will Newton  <will.newton@linaro.org>
43817             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
43819         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43820         Refactor inline-asm.  Also add comment.
43822         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43823         ElfW macro instead of hardcoded Elf64 types.
43824         (la_aarch64_gnu_pltenter): Likewise.
43825         * sysdeps/aarch64/dl-machine.h
43826         (elf_machine_runtime_setup): Use ElfW(Addr).
43828         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43829         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43830         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43831         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43832         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43833         (R_AARCH64_TLS_DTPMOD64): Rename to ..
43834         (R_AARCH64_TLS_DTPMOD): This.
43835         (R_AARCH64_TLS_DTPREL64): Rename to ...
43836         (R_AARCH64_TLS_DTPREL): This.
43837         (R_AARCH64_TLS_TPREL64): Rename to ...
43838         (R_AARCH64_TLS_TPREL): This.
43839         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43840         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43841         R_AARCH64_TLS_TPREL64.
43842         (elf_machine_rela): Likewise.
43844 2014-11-21  Torvald Riegel  <triegel@redhat.com>
43846         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43847         by setting it to 0.  64b atomics are not supported currently.
43849 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43851         [BZ #16469]
43852         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43853         search domain names.
43855 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43857         [BZ #16469]
43858         * NEWS: Update.
43859         * resolv/res_query.c (__libc_res_nquerydomain): Retain
43860         trailing dot.
43861         * posix/tst-getaddrinfo5.c: New.
43862         * posix/Makefile (tests): Add it.
43864 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43866         [BZ #14498]
43867         * NEWS: Fixed.
43868         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43869         after parsing line but before break_if_match.
43870         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43871         if there is a protocol mismatch.
43873 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43875         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43876         because the potential race is on the user-supplied stream.
43878 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43880         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43881         string literal if not passed a buffer.
43882         * manual/job.texi (ctermid): Update reasoning, note deviation
43883         from posix, suggest mtasurace when not passed a buffer, for
43884         future non-preliminary safety notes.
43886 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43888         * manual/users.texi (cuserid): Fix MT-Safety note for the case
43889         of not passing it a buffer.
43890         Reported by Peng Haitao.
43892 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43894         * manual/Makefile ($(objpfx)stamp-summary): Require
43895         check-safety.sh to pass.
43896         * manual/check-safety.sh: Wish for verification that every
43897         @deftypefn and @deftypefun is followed by a @safety remark.
43899 2014-11-20  Roland McGrath  <roland@hack.frob.com>
43901         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43903         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43904         PTHREAD_CANCEL_ASYNCHRONOUS.
43905         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43906         send SIGCANCEL.
43908         * nptl/default-sched.h: New file.
43909         * sysdeps/unix/sysv/linux/default-sched.h: New file.
43910         * nptl/pthread_create.c: Include it.
43911         (__pthread_create_2_1): Use collect_default_sched instead of making
43912         Linux syscalls here directly.
43914 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43916         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43917         __pthread_once): Use C11 atomics.
43919 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43921         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43923 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43925         * include/atomic.h (__atomic_link_error, __atomic_check_size,
43926         atomic_thread_fence_acquire, atomic_thread_fence_release,
43927         atomic_thread_fence_seq_cst, atomic_load_relaxed,
43928         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43929         atomic_compare_exchange_weak_relaxed,
43930         atomic_compare_exchange_weak_acquire,
43931         atomic_compare_exchange_weak_release,
43932         atomic_exchange_acquire, atomic_exchange_release,
43933         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43934         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43935         atomic_fetch_and_acquire,
43936         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43938 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43940         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43941         USE_ATOMIC_COMPILER_BUILTINS): Define.
43942         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43943         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43944         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43945         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43946         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43947         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43948         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43949         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43950         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43951         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43952         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43953         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43954         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43955         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43956         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43957         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43958         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43959         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43960         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43961         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43962         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
43963         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43964         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43965         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43966         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
43967         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43968         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43969         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43970         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
43971         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43972         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
43973         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43974         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
43975         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43976         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
43977         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43978         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
43979         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43980         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
43981         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43983 2014-11-19  Roland McGrath  <roland@hack.frob.com>
43985         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
43986         the sched_priority value here.  It was already checked when the user
43987         called pthread_attr_setschedparam.
43989         * nptl/tst-bad-schedattr.c: New file.
43990         * nptl/Makefile (tests): Add it.
43992 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
43993             Florian Weimer  <fweimer@redhat.com>
43994             Joseph Myers  <joseph@codesourcery.com>
43995             Adam Conrad  <adconrad@0c3.net>
43996             Andreas Schwab  <schwab@suse.de>
43997             Brooks  <bmoses@google.com>
43999         [BZ #17625]
44000         * wordexp-test.c (__dso_handle): Add prototype.
44001         (__register_atfork): Likewise.
44002         (__app_register_atfork): New function.
44003         (registered_forks): New global.
44004         (register_fork): New function.
44005         (test_case): Add 3 new tests for WRDE_CMDSUB.
44006         (main): Call __app_register_atfork.
44007         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
44008         fork count is non-zero fail the test.
44009         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
44010         is set.
44011         (parse_dollars): Remove check for WRDE_NOCMD.
44012         (parse_dquote): Likewise.
44014 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44016         * Makeconfig (built-modules): List non-library modules to be
44017         built.
44018         (module-cppflags): Include libc-modules.h for
44019         everything except shlib-versions.v.i.
44020         (CPPFLAGS): Use it.
44021         (before-compile): Add libc-modules.h.
44022         ($(common-objpfx)libc-modules.h,
44023         $(common-objpfx)libc-modules.stmp): New targets.
44024         (common-generated): Add libc-modules.h and libc-modules.stmp.
44025         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
44026         * include/libc-symbols.h: Don't include libc-modules.h.
44027         * include/libc-modules.h: Remove file.
44028         * scripts/gen-libc-modules.awk: New script to generate
44029         libc-modules.h.
44030         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
44031         Depend on libc-modules.stmp.
44033         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
44035         * Makeconfig (in-module): Get value of libof set for the
44036         translation unit.
44037         (CPPFLAGS): Use $(in-module).
44038         * Makerules: Don't suffix routine names for nonlib.
44039         * include/libc-modules.h: New file.
44040         * include/libc-symbols.h: Include libc-modules.h
44041         (IS_IN): New macro to replace IS_IN_* macros.
44042         * elf/Makefile: Set libof-* for each routine.
44043         * elf/rtld-Rules: Likewise.
44044         * extra-modules.mk: Likewise.
44045         * iconv/Makefile: Likewise.
44046         * iconvdata/Makefile: Likewise.
44047         * locale/Makefile: Likewise.
44048         * malloc/Makefile: Likewise.
44049         * nss/Makefile: Likewise.
44050         * sysdeps/gnu/Makefile: Likewise.
44051         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
44052         * sysdeps/unix/sysv/linux/Makefile: Likewise.
44053         * sysdeps/s390/s390-64/Makefile: Likewise.
44054         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
44055         CPPFLAGS for nscd instead of nonlib.
44057 2014-11-18  Roland McGrath  <roland@hack.frob.com>
44059         * nptl/createthread.c: New file.
44061         * nptl/createthread.c: Moved ...
44062         * sysdeps/unix/sysv/linux/createthread.c: ... here.
44064         * nptl/createthread.c: Add proper top-line comment.
44065         (do_clone): Folded into ...
44066         (create_thread): ... here.  Take new arguments STOPPED_START and
44067         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
44068         increment __nptl_threads, do event-reporting logic, do
44069         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
44070         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
44071         resource cleanup if sched_setaffinity or sched_setscheduler fails,
44072         just send SIGCANCEL.
44073         * nptl/pthread_create.c: Forward-declare create_thread before
44074         including createthread.c.
44075         (start_thread): Use new macro START_THREAD_DEFN to replace defining
44076         declaration, and new macro START_THREAD_SELF to replace argument.
44077         Remove return statement.
44078         (report_thread_creation): New function.
44079         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
44080         synchronization logic, and __nptl_nthreads increment here, around
44081         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
44082         PD->parent_cancelhandling here, before create_thread.  When
44083         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
44084         __deallocate_stack, and ENOMEM translation here.
44086 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
44088         [BZ #17616]
44089         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
44090         (mptwo): Rename to __mptwo.
44091         (__inv): Use __mptwo instead of mptwo.
44092         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
44093         (mptwo): Rename to __mptwo.
44094         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
44095         of mpone and __mptwo instead of mptwo.
44096         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
44097         instead of mpone.
44098         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44099         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
44100         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
44101         of mpone and __mptwo instead of mptwo.
44102         (__mpranred): Use __mpone instead of mpone.
44103         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
44104         variable.
44105         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44106         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44107         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44108         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44109         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44110         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44111         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44112         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44113         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44114         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44115         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44116         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44117         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44118         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44119         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44120         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44121         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44122         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44123         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44125 2014-11-18  Tom de Vries  <tom@codesoucery.com>
44127         * manual/signal.texi (Primitives Interrupted by Signals): In section,
44128         replace BSD Handler xref with BSD Signal Handling.
44130 2014-11-17  Richard Henderson  <rth@redhat.com>
44132         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44133         (_FP_PACK_RAW_2): Remove.
44134         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44135         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44136         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44137         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44138         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44139         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44140         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44141         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44142         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44143         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44144         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44145         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44146         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44147         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44148         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44149         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44151 2014-11-14  Roland McGrath  <roland@hack.frob.com>
44153         * signal/signal.h [__USE_MISC]
44154         (struct sigvec): Remove type.
44155         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44156         (sigvec): Remove declaration.
44157         * sysdeps/posix/sigvec.c: Moved ...
44158         * signal/sigvec.c: ... here, replacing old file.
44159         (struct sigvec): New type, copied from old signal.h definition.
44160         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44161         (__sigvec): Convert definition to prototype.
44162         (sigvec): Replace weak_alias with compat_symbol.
44163         * signal/Versions (libc: GLIBC_2.21): New version set.
44164         * include/signal.h: Remove __sigvec declaration.
44165         * sysdeps/unix/bsd/sigvec.c: Remove file.
44166         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44167         * manual/signal.texi (BSD Handler): Remove subsection.
44168         Move siginterrupt up to ...
44169         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
44170         (Blocking in BSD): Fold subsection into its parent.
44171         * NEWS: Mention sigvec removal.
44173 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44175         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44176         (DLA_FMS): Make definition conditional only on [__FMA4__].
44177         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44178         definition.
44180         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44181         Make definition conditional only on [PROF].
44182         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44183         definition.
44184         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44185         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44187         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44188         !__GNUC__].
44189         * include/signal.h (__sigpause): Move declaration above call to
44190         libc_hidden_proto.
44191         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44192         variable.
44193         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44194         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44196 2014-11-14  David S. Miller  <davem@davemloft.net>
44198         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44199         Define before including <string/memcpy.c> and <string/mempcpy.c>.
44201 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44203         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44204         * configure: Regenerated.
44205         * manual/install.texi (Tools for Compilation): Document a
44206         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44207         compiler verified to work.
44208         * INSTALL: Regenerated.
44210         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44211         redeclare with asm name.
44212         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44213         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44214         including <string.h>.
44215         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44216         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44217         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44218         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44219         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44220         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44221         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44223 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
44225         * stdlib/strtol.c (__strtol): Use prototype definition.
44227         [BZ #17594]
44228         * stdlib/strtol.c (SYM__): New macro.
44229         (SYM__1): Likewise.
44230         (__strtol): Likewise.
44231         (strtol): Rename to __strtol and define as weak alias of
44232         __strtol.  Use libc_hidden_weak.
44234 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44236         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44237         Use numbered labels in inline assembly.
44239 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44241         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44242         Add setjmp LIBC_PROBE.
44243         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44244         Likewise.
44245         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44246         Add longjmp, longjmp_target LIBC_PROBE.
44247         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44248         Likewise.
44250 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44252         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44253         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44254         to get rid of unused variable warning.
44256 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44258         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44259         Check for unwind_backtrace ==  NULL only in SHARED case.
44260         (__backchain_backtrace): Compile only in SHARED case.
44261         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44262         Likewise.
44263         (__backchain_backtrace): Declare as static.
44265 2014-11-12  Roland McGrath  <roland@hack.frob.com>
44267         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44268         (__libc_multiple_threads_ptr): Variable moved ...
44269         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44271 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
44273         * conform/GlibcConform.pm: New file.
44274         * conform/conformtest.pl: Use GlibcConform module.
44275         * conform/linknamespace.pl: New file.
44276         * conform/list-header-symbols.pl: Likewise.
44277         * conform/Makefile (linknamespace-symlists-base): New variable.
44278         (linknamespace-symlists-tests): Likewise.
44279         (linknamespace-header-base): Likewise.
44280         (linknamespace-header-tests): Likewise.
44281         (tests-special): Add new tests.
44282         ($(linknamespace-symlists-tests)): New rule.
44283         (linknamespace-libs): New variable.
44284         ($(objpfx)symlist-stdlibs): New rule.
44285         ($(linknamespace-header-tests)): Likewise.
44286         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44287         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44288         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44289         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44290         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44291         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44292         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44293         (test-xfail-ISO/math.h/linknamespace): Likewise.
44294         (test-xfail-ISO/signal.h/linknamespace): Likewise.
44295         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44296         (test-xfail-ISO/time.h/linknamespace): Likewise.
44297         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44298         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44299         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44300         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44301         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44302         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44303         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44304         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44305         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44306         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44307         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44308         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44309         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44310         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44311         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44312         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44313         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44314         (test-xfail-XPG3/search.h/linknamespace): Likewise.
44315         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44316         (test-xfail-XPG3/time.h/linknamespace): Likewise.
44317         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44318         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44319         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44320         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44321         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44322         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44323         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44324         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44325         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44326         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44327         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44328         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44329         (test-xfail-XPG4/search.h/linknamespace): Likewise.
44330         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44331         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44332         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44333         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44334         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44335         (test-xfail-XPG4/time.h/linknamespace): Likewise.
44336         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44337         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44338         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44339         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44340         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44341         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44342         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44343         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44344         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44345         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44346         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44347         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44348         (test-xfail-POSIX/time.h/linknamespace): Likewise.
44349         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44350         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44351         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44352         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44353         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44354         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44355         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44356         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44357         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44358         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44359         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44360         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44361         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44362         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44363         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44364         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44365         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44366         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44367         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44368         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44369         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44370         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44371         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44372         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44373         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44374         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44375         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44376         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44377         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44378         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44379         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44380         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44381         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44382         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44383         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44384         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44385         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44386         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44387         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44388         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44389         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44390         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44391         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44392         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44393         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44394         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44395         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44396         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44397         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44398         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44399         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44400         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44401         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44402         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44403         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44404         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44405         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44406         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44407         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44408         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44409         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44410         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44411         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44412         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44413         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44414         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44415         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44416         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44417         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44418         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44419         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44420         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44421         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44422         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44423         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44424         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44425         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44426         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44427         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44428         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44429         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44430         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44431         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44432         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44433         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44434         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44435         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44436         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44437         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44438         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44439         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44440         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44441         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44442         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44443         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44444         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44445         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44446         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44448         [BZ #17589]
44449         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44450         of fgets_unlocked.
44452         [BZ #17585]
44453         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44454         (memmem): Rename to __memmem and define as weak alias of
44455         __memmem.  Use libc_hidden_weak.
44456         (__memmem): Use libc_hidden_def.
44457         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
44458         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44459         memmem.
44461         [BZ #17582]
44462         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44463         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
44464         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44465         and define as weak alias of __fgets_unlocked.  Use
44466         libc_hidden_weak.
44467         (__fgets_unlocked): Use libc_hidden_def.
44468         * include/stdio.h (__fgets_unlocked): Declare.  Use
44469         libc_hidden_proto.
44470         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44471         __fgets_unlocked instead of fgets_unlocked.
44472         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44473         (GET_NPROCS_CONF_PARSER): Likewise.
44474         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44475         (GET_NPROCS_CONF_PARSER): Likewise.
44477         [BZ #17574]
44478         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44479         weak alias of __wmemset.  Use libc_hidden_weak.
44480         (__wmemset): Use libc_hidden_def.
44481         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
44482         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44483         of wmemset.
44485         [BZ #17573]
44486         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44487         with asm name __mempcpy.
44488         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44490         [BZ #17572]
44491         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44492         and define as weak alias of __rawmemchr.
44493         (__rawmemchr): Do not define as strong alias of rawmemchr.
44495         [BZ #17571]
44496         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44497         alias of __qsort_r.
44498         (qsort): Call __qsort_r instead of qsort_r.
44499         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44500         (__qsort_r): Declare.  Call libc_hidden_proto.
44501         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44502         instead of qsort_r.
44503         * nscd/gai.c (__qsort_r): Define to qsort_r.
44504         * posix/tst-rfc3484.c (__qsort_r): Likewise.
44505         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44506         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44508         [BZ #17570]
44509         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44510         define as weak alias of __malloc_info.
44512         [BZ #17584]
44513         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44514         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44515         (__rewinddir): Use libc_hidden_def.
44516         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44517         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44518         (__rewinddir): Use libc_hidden_def.
44519         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44520         weak alias of __rewinddir.  Don't use libc_hidden_def.
44521         (__rewinddir): Use libc_hidden_def.
44522         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44523         (__rewinddir): Use libc_hidden_proto.
44524         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44525         rewinddir.
44526         (__getcwd): Use __rewinddir instead of rewinddir.
44528         [BZ #17583]
44529         * libio/fileno.c (fileno): Rename to __fileno and define as weak
44530         alias of __fileno.  Use libc_hidden_weak.
44531         (__fileno): Use libc_hidden_def.
44532         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44533         * libio/ftello.c (ftello): Rename to __ftello and define as weak
44534         alias of __ftello.
44535         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44536         __ftello.
44537         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44538         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
44539         libc_hidden_def.
44540         (fread_unlocked): Don't use libc_hidden_ver.
44541         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44542         and define as weak alias of __fread_unlocked.  Don't use
44543         libc_hidden_def.
44544         (__fread_unlocked): Use libc_hidden_def.
44545         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
44546         (ftello): Don't use libc_hidden_proto.
44547         (__ftello): Declare.  Use libc_hidden_proto.
44548         (fread_unlocked): Don't use libc_hidden_proto.
44549         (__fread_unlocked): Declare.  Use libc_hidden_proto.
44550         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44551         and __ftello instead of fileno, fread_unlocked and ftello.
44553 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44555         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44556         GOT12.
44557         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44558         Likewise.
44559         (_dl_start_user): Likewise.
44560         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44562 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
44563             Siddhesh Poyarekar  <siddhesh@redhat.com>
44565         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44566         Move argv and envp down instead of moving argc up.
44567         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44569 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
44571         [BZ #17506]
44572         * test-skeleton.c (main): Return successful if one of
44573         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44574         * string/tst-strcoll-overflow.c: Define expected status.
44576 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
44578         [BZ #17475]
44579         * locale/iso-639.def: Define Bhili and Tulu language codes.
44581 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
44583         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44585 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
44587         [BZ #17555]
44588         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44590 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
44592         * configure.ac: Updated check of minimal required version to
44593         2.22.
44594         * manual/install.texi (Tools for Compilation): Updated version
44595         number.
44596         * configure: Regenerated.
44597         * INSTALL: Likewise.
44599 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
44601         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44602         __tls_get_addr.
44604 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
44606         * include/sys/wait.h (__libc_waitpid): Remove declaration.
44607         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44608         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44609         libc_hidden_weak.
44610         (waitpid): Define as alias of __waitpid.
44611         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44612         __waitpid.
44613         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44614         libc_hidden_weak.
44615         (waitpid): Define as alias of __waitpid.
44616         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44617         __libc_waitpid alias.
44618         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44619         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44620         Likewise.
44621         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44622         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44623         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44624         alias.
44625         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44626         __waitpid.
44627         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44628         libc_hidden_weak.
44629         (waitpid): Define as alias of __waitpid.
44631 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
44633         * manual/llio.texi: Add comment that write safety has been
44634         fixed in Linux.
44636         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44637         (localplt-build-dso): Add elf/ld.so.
44638         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44639         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44640         and free for ld.so.
44641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44642         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44644         Likewise.
44645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44646         Likewise.
44647         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44648         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44649         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44650         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44651         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44652         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44653         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44654         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44655         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44656         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44657         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44659 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
44661         [BZ #14132]
44662         * include/libc-symbols.h (INTUSE): Remove macro.
44663         (INTDEF): Likewise.
44664         (INTVARDEF): Likewise.
44665         (_INTVARDEF): Likewise.
44666         (INTDEF2): Likewise.
44667         (INTVARDEF2): Likewise.
44668         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44669         rtld_hidden_def instead of INTVARDEF.
44670         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44671         (_dl_starting_up_internal): Remove declaration.
44672         (_dl_starting_up): Use rtld_hidden_proto.
44673         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44674         declaration.
44675         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44676         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44677         _dl_starting_up.
44678         * elf/dl-writev.h (_dl_writev): Likewise.
44679         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44680         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44681         _dl_starting_up_internal.
44683 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44685         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44686         test-skeleton.c.
44688 2014-11-05  Will Newton  <will.newton@linaro.org>
44690         * benchtests/Makefile: (bench-malloc): Add malloc thread
44691         scalability benchmark.
44692         * benchtests/bench-malloc-threads.c: New file.
44694 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
44696         * sysdeps/aarch64/strchrnul.S: New file.
44698 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44700         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44701         definition.
44702         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44703         Likewise.
44704         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44705         Likewise.
44706         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44707         Likewise.
44708         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44709         Likewise.
44710         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44711         Likewise.
44713 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
44715         * catgets/test-gencat.c: Use test-skeleton.c.
44716         * catgets/tst-catgets.c: Likewise.
44717         * csu/tst-empty.c: Likewise.
44718         * elf/tst-audit2.c: Likewise.
44719         * elf/tst-global1.c: Likewise.
44720         * elf/tst-pathopt.c: Likewise.
44721         * elf/tst-piemod1.c: Likewise.
44722         * elf/tst-tls10.c: Likewise.
44723         * elf/tst-tls11.c: Likewise.
44724         * elf/tst-tls12.c: Likewise.
44725         * gnulib/tst-gcc.c: Likewise.
44726         * iconvdata/tst-e2big.c: Likewise.
44727         * iconvdata/tst-loading.c: Likewise.
44728         * iconv/tst-iconv1.c: Likewise.
44729         * iconv/tst-iconv2.c: Likewise.
44730         * inet/test-inet6_opt.c: Likewise.
44731         * inet/tst-gethnm.c: Likewise.
44732         * inet/tst-network.c: Likewise.
44733         * inet/tst-ntoa.c: Likewise.
44734         * intl/tst-codeset.c: Likewise.
44735         * intl/tst-gettext2.c: Likewise.
44736         * intl/tst-gettext3.c: Likewise.
44737         * intl/tst-ngettext.c: Likewise.
44738         * intl/tst-translit.c: Likewise.
44739         * io/test-stat.c: Likewise.
44740         * libio/test-fmemopen.c: Likewise.
44741         * libio/tst-freopen.c: Likewise.
44742         * libio/tst-sscanf.c: Likewise.
44743         * libio/tst-ungetwc1.c: Likewise.
44744         * libio/tst-ungetwc2.c: Likewise.
44745         * libio/tst-widetext.c: Likewise.
44746         * localedata/tst-ctype.c: Likewise.
44747         * localedata/tst-digits.c: Likewise.
44748         * localedata/tst-leaks.c: Likewise.
44749         * localedata/tst-mbswcs1.c: Likewise.
44750         * localedata/tst-mbswcs2.c: Likewise.
44751         * localedata/tst-mbswcs3.c: Likewise.
44752         * localedata/tst-mbswcs4.c: Likewise.
44753         * localedata/tst-mbswcs5.c: Likewise.
44754         * localedata/tst-setlocale.c: Likewise.
44755         * localedata/tst-trans.c: Likewise.
44756         * localedata/tst-wctype.c: Likewise.
44757         * localedata/tst-xlocale1.c: Likewise.
44758         * login/tst-grantpt.c: Likewise.
44759         * malloc/tst-calloc.c: Likewise.
44760         * malloc/tst-malloc.c: Likewise.
44761         * malloc/tst-mallocstate.c: Likewise.
44762         * malloc/tst-mcheck.c: Likewise.
44763         * malloc/tst-mtrace.c: Likewise.
44764         * malloc/tst-obstack.c: Likewise.
44765         * math/atest-exp2.c: Likewise.
44766         * math/atest-exp.c: Likewise.
44767         * math/atest-sincos.c: Likewise.
44768         * math/test-matherr.c: Likewise.
44769         * math/test-misc.c: Likewise.
44770         * math/test-powl.c: Likewise.
44771         * math/tst-definitions.c: Likewise.
44772         * misc/tst-dirname.c: Likewise.
44773         * misc/tst-efgcvt.c: Likewise.
44774         * misc/tst-fdset.c: Likewise.
44775         * misc/tst-hsearch.c: Likewise.
44776         * misc/tst-mntent2.c: Likewise.
44777         * nptl/tst-sem7.c: Likewise.
44778         * nptl/tst-sem8.c: Likewise.
44779         * nptl/tst-sem9.c: Likewise.
44780         * nss/test-netdb.c: Likewise.
44781         * posix/tst-fnmatch.c: Likewise.
44782         * posix/tst-getlogin.c: Likewise.
44783         * posix/tst-gnuglob.c: Likewise.
44784         * posix/tst-mmap.c: Likewise.
44785         * pwd/tst-getpw.c: Likewise.
44786         * resolv/tst-inet_ntop.c: Likewise.
44787         * rt/tst-timer.c: Likewise.
44788         * stdio-common/test-fseek.c: Likewise.
44789         * stdio-common/test-popen.c: Likewise.
44790         * stdio-common/test-vfprintf.c: Likewise.
44791         * stdio-common/tst-cookie.c: Likewise.
44792         * stdio-common/tst-fileno.c: Likewise.
44793         * stdio-common/tst-gets.c: Likewise.
44794         * stdio-common/tst-obprintf.c: Likewise.
44795         * stdio-common/tst-perror.c: Likewise.
44796         * stdio-common/tst-sprintf2.c: Likewise.
44797         * stdio-common/tst-sprintf3.c: Likewise.
44798         * stdio-common/tst-sprintf.c: Likewise.
44799         * stdio-common/tst-swprintf.c: Likewise.
44800         * stdio-common/tst-tmpnam.c: Likewise.
44801         * stdio-common/tst-unbputc.c: Likewise.
44802         * stdio-common/tst-wc-printf.c: Likewise.
44803         * stdlib/tst-environ.c: Likewise.
44804         * stdlib/tst-fmtmsg.c: Likewise.
44805         * stdlib/tst-limits.c: Likewise.
44806         * stdlib/tst-rand48-2.c: Likewise.
44807         * stdlib/tst-rand48.c: Likewise.
44808         * stdlib/tst-random2.c: Likewise.
44809         * stdlib/tst-random.c: Likewise.
44810         * stdlib/tst-strtol.c: Likewise.
44811         * stdlib/tst-strtoll.c: Likewise.
44812         * stdlib/tst-tls-atexit.c: Likewise.
44813         * stdlib/tst-xpg-basename.c: Likewise.
44814         * string/test-ffs.c: Likewise.
44815         * string/tst-bswap.c: Likewise.
44816         * string/tst-inlcall.c: Likewise.
44817         * string/tst-strtok.c: Likewise.
44818         * string/tst-strxfrm.c: Likewise.
44819         * sysdeps/x86_64/tst-audit10.c: Likewise.
44820         * sysdeps/x86_64/tst-audit3.c: Likewise.
44821         * sysdeps/x86_64/tst-audit4.c: Likewise.
44822         * sysdeps/x86_64/tst-audit5.c: Likewise.
44823         * time/tst-ftime_l.c: Likewise.
44824         * time/tst-getdate.c: Likewise.
44825         * time/tst-mktime3.c: Likewise.
44826         * time/tst-mktime.c: Likewise.
44827         * time/tst-posixtz.c: Likewise.
44828         * time/tst-strptime2.c: Likewise.
44829         * time/tst-strptime3.c: Likewise.
44830         * wcsmbs/tst-btowc.c: Likewise.
44831         * wcsmbs/tst-mbrtowc.c: Likewise.
44832         * wcsmbs/tst-mbsrtowcs.c: Likewise.
44833         * wcsmbs/tst-wchar-h.c: Likewise.
44834         * wcsmbs/tst-wcpncpy.c: Likewise.
44835         * wcsmbs/tst-wcrtomb.c: Likewise.
44836         * wcsmbs/tst-wcsnlen.c: Likewise.
44837         * wcsmbs/tst-wcstof.c: Likewise.
44839 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
44841         [BZ #14132]
44842         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44843         INTDEF.
44844         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44845         declaration.
44846         (_dl_mcount): Use rtld_hidden_proto.
44847         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44848         _dl_mcount.
44849         * elf/rtld.c (_rtld_global_ro): Likewise.
44851         [BZ #14132]
44852         * elf/dl-init.c (_dl_init): Don't use INTDEF.
44853         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44854         of _dl_init_internal.
44855         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44856         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44857         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44858         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44859         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44860         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44861         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44862         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44863         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44864         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44865         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44866         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44867         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44868         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44869         * sysdeps/tile/dl-start.S (_start): Likewise.
44870         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44871         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44873         [BZ #14132]
44874         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44875         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44876         (rtld_progname): Make macro definition unconditional.
44877         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44878         INTDEF.
44879         (dlmopen_doit): Do not use INTUSE with _dl_argv.
44880         (dl_main): Likewise.
44881         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44882         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44883         instead of _dl_argv_internal.
44884         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44885         __GI__dl_argv instead of INTUSE(_dl_argv).
44886         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44887         __GI__dl_argv instead of _dl_argv_internal.
44889         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44890         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44891         macro.
44892         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44893         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44894         New macro.
44895         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44896         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44897         macro.
44898         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44899         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44901 2014-11-04  Andreas Schwab  <schwab@suse.de>
44903         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44905 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44907         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44908         mtvsrd instruction in binary form.
44910 2014-11-03  Andreas Schwab  <schwab@suse.de>
44912         [BZ #17522]
44913         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44914         for less than MB_LEN_MAX use a local buffer of that size.
44915         * libio/tst-fputws.c: New file.
44916         * libio/Makefile (tests): Add tst-fputws.
44918 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
44920         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44921         the size of the fpu_fr.fpu_dregs[] array.
44923 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
44925         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44926         (__nanosleep): Do not define as alias.
44927         (nanosleep): Define as alias of __nanosleep.
44928         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44929         __libc_nanosleep name.
44931 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
44933         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44934         install.texi in comment.
44936 2014-10-31  Torvald Riegel  <triegel@redhat.com>
44938         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44939         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44940         ... add here and use lwsync or sync ...
44941         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44942         ... and add here using lwsync.
44944 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
44946         * elf/dl-machine-reject-phdr.h: New file.
44947         * elf/dl-load.c: #include that.
44948         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44949         if that returned true.
44951 2014-10-31  Roland McGrath  <roland@hack.frob.com>
44953         [BZ #17496]
44954         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44955         gen-as-const-headers chunk.  Add a big scare comment after the last
44956         safe place to touch before-compile.
44958 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
44960         * manual/install.texi (Tools for Compilation): Update autoconf
44961         version requirements.
44962         * INSTALL: Regenerated.
44964         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
44965         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
44966         (__libc_pselect): Likewise.
44968         [BZ #14138]
44969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
44970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44974 2014-10-31  Torvald Riegel  <triegel@redhat.com>
44976         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
44977         correct barrier instruction.
44978         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
44979         Likewise.
44980         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
44981         Likewise.
44983 2014-10-30  Roland McGrath  <roland@hack.frob.com>
44985         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
44986         after defining inlines.  Instead, just use parens to defeat macro
44987         expansion of __isctype in its declaration.
44989 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
44991         * include/sys/uio.h (__libc_readv): Remove declaration.
44992         (__libc_writev): Likewise.
44993         * misc/readv.c (__libc_readv): Rename to __readv.
44994         (__readv): Do not define as alias.
44995         (readv): Define as alias of __readv.
44996         * misc/writev.c (__libc_writev): Rename to __writev.
44997         (__writev): Do not define as alias.
44998         (writev): Define as alias of __writev.
44999         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
45000         (__readv): Do not define as alias.
45001         (readv): Define unconditionally as alias of __readv.
45002         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
45003         (__writev): Do not define as alias.
45004         (writev): Define unconditionally as alias of __writev.
45005         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
45006         name.
45007         (writev): Do not define __libc_writev name.
45009 2014-10-30  Roland McGrath  <roland@hack.frob.com>
45011         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
45012         (convert_charseq): New function, broken out of ...
45013         (use_from_charmap): ... here.  Call it.
45014         (use_to_charmap): Use convert_charseq and free instead of duplicating
45015         its code with a variable-length stack struct.
45017 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
45019         * include/fcntl.h (__libc_creat): Remove declaration.
45020         * io/creat.c (__libc_creat): Rename to creat.
45021         (creat): Do not define as alias.
45022         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
45023         of creat instead of __libc_creat.
45024         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
45025         to creat.
45026         (creat): Do not define as alias.
45027         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
45028         __libc_creat.
45029         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
45030         __libc_creat name.
45031         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
45032         Likewise.
45034 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
45036         * manual/llio.texi: Add comments discussing why write() may be
45037         considered MT-unsafe on Linux.
45039 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
45041         * dl-load.c (local_strdup): Remove.
45042         (expand_dynamic_string_token): Use __strdup.
45043         (decompose_rpath): Likewise.
45044         (_dl_map_object): Likewise.
45046 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
45048         [BZ #14132]
45049         * sysdeps/generic/unwind-dw2-fde.c
45050         (__register_frame_info_bases_internal): Do not declare.
45051         (__register_frame_info_table_bases_internal): Likewise.
45052         (__deregister_frame_info_bases_internal): Likewise.
45053         (__register_frame_info_bases): Declare and use hidden_proto before
45054         definition.  Use hidden_def instead of INTDEF.
45055         (__register_frame_info_table_bases): Likewise.
45056         (__deregister_frame_info_bases): Likewise.
45057         (__register_frame_info): Do not use INTUSE.
45058         (__register_frame): Likewise.
45059         (__register_frame_info_table): Likewise.
45060         (__register_frame_table): Likewise.
45061         (__deregister_frame_info): Likewise.
45062         (__deregister_frame): Likewise.
45064 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
45066         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45067         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
45068         not undefine.
45069         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
45070         Likewise.
45071         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
45072         Likewise.
45074 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
45076         [BZ #14138]
45077         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
45078         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
45079         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
45080         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
45081         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
45082         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
45083         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
45084         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
45085         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
45086         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
45087         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
45088         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
45089         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
45090         syscall.
45091         (setfsuid): Likewise.
45092         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
45093         (setfsuid): Likewise.
45094         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
45095         (setfsuid): Likewise.
45096         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
45097         Likewise.
45098         (setfsuid): Likewise.
45099         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
45100         (setfsuid): Likewise.
45101         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
45102         Likewise.
45103         (setfsuid): Likewise.
45105 2014-10-27  Andreas Schwab  <schwab@suse.de>
45107         [BZ #17501]
45108         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
45109         check for Slow_SSE4_2 feature bit.
45110         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
45111         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45112         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
45113         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
45115 2014-10-24  Roland McGrath  <roland@hack.frob.com>
45117         * configure.ac: Validate compiler version with a empirical test of
45118         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45119         $CC -v output.
45120         * configure: Regenerated.
45122         * inet/htons.c (htons): Prototypify.
45123         * inet/htonl.c (htonl): Likewise.
45125 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45127         * string/strncat.c (strncat): Improve performance by using strlen.
45129 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45131         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45133 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45135         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45136         Call libc_fetestexcept_aarch64.
45138 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45140         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45141         Call libc_feholdexcept_aarch64.
45143 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45145         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45146         Call get_rounding_mode.
45148 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45150         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45151         Simplify logic.
45153 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45155         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45156         Simplify logic.
45158 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
45160         [BZ #14138]
45161         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45162         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45163         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45164         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45165         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45166         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45167         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45168         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45169         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45170         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45171         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45172         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45173         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45174         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45175         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45176         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45177         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45178         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45179         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45180         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45181         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45182         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45183         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45184         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45185         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45186         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45187         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45188         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45189         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45190         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45191         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45192         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45193         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45194         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45195         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45196         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45197         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45198         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45199         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45200         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45201         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45202         syscall.
45203         (geteuid): Likewise.
45204         (getgid): Likewise.
45205         (getuid): Likewise.
45206         (getresgid): Likewise.
45207         (getresuid): Likewise.
45208         (getgroups): Likewise.
45209         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45210         (geteuid): Likewise.
45211         (getgid): Likewise.
45212         (getuid): Likewise.
45213         (getresgid): Likewise.
45214         (getresuid): Likewise.
45215         (getgroups): Likewise.
45216         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45217         (geteuid): Likewise.
45218         (getgid): Likewise.
45219         (getuid): Likewise.
45220         (getresgid): Likewise.
45221         (getresuid): Likewise.
45222         (getgroups): Likewise.
45223         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45224         Likewise.
45225         (geteuid): Likewise.
45226         (getgid): Likewise.
45227         (getuid): Likewise.
45228         (getresgid): Likewise.
45229         (getresuid): Likewise.
45230         (getgroups): Likewise.
45231         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45232         (geteuid): Likewise.
45233         (getgid): Likewise.
45234         (getuid): Likewise.
45235         (getresgid): Likewise.
45236         (getresuid): Likewise.
45237         (getgroups): Likewise.
45238         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45239         Likewise.
45240         (geteuid): Likewise.
45241         (getgid): Likewise.
45242         (getuid): Likewise.
45243         (getgroups): Likewise.
45245         [BZ #14138]
45246         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45247         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45248         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45249         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45250         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45251         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45252         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45253         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45254         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45255         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45256         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45257         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45258         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45259         __chown.
45260         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45261         (lchown): Likewise.
45262         (fchown): Likewise.
45263         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45264         Likewise.
45265         (lchown): Likewise.
45266         (fchown): Likewise.
45267         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45268         (lchown): Likewise.
45269         (fchown): Likewise.
45270         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45271         Likewise.
45272         (lchown): Likewise.
45273         (fchown): Likewise.
45275 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45277         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45278         Simplify logic.
45280 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45282         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45283         Cleanup logic.
45285 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45287         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45288         Remove unused include.
45290 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45292         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45293         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45294         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45295         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45297 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
45298             Helge Deller <deller@gmx.de>
45300         [BZ #17508]
45301         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45302         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45303         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45305 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
45307         [BZ #14132]
45308         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45309         Remove macro definition.
45310         (__ashrdi3_v_glibc20): Likewise.
45311         (__lshrdi3_v_glibc20): Likewise.
45312         (__cmpdi2_v_glibc20): Likewise.
45313         (__ucmpdi2_v_glibc20): Likewise.
45314         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45315         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45316         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45317         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45318         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45319         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45321 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45323         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45324         old GNU extension [0] syntax.
45325         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45326         alloca rather than an array member with variable length.
45327         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45328         * nscd/nscd.c (invalidate_db): New function, broken out of ...
45329         (parse_opt): ... here.  Likewise use alloca there.
45330         Validate the -i argument before checking for rootness.
45331         (send_shutdown): New function, broken out of ...
45332         (parse_opt): ... here.
45334 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45336         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45337         macro to get at the _rt_local_ro field.
45338         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45339         ([PIC] case) or _dl_hwcap ([!PIC] case).
45340         * sysdeps/arm/setjmp.S: Likewise.
45342         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45343         * sysdeps/arm/configure.ac: New check to define it.
45344         * sysdeps/arm/configure: Regenerated.
45345         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45346         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45347         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45348         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45349         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45350         Use move/movt pair instead of a load.
45351         (LDST_GLOBAL): Macro removed.
45352         (LDR_GLOBAL): New macro replaces it.
45353         (LDR_HIDDEN): New macro.
45354         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45355         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45357         * setjmp/tst-setjmp-static.c: New file.
45358         * setjmp/Makefile (tests): Add it.
45359         (tests-static): New variable.
45361 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
45363         [BZ #17485]
45364         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45366 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
45368         [BZ #14132]
45369         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45371 2014-10-21  Roland McGrath  <roland@hack.frob.com>
45373         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45375 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45377         * io/fts.c (dirent_not_directory): New function.
45378         (fts_build): Call it.
45380 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45382         * nptl/version.c (__nptl_main): Use normal __write rather than
45383         INTERNAL_SYSCALL.
45384         (banner): Update copyright years.
45386         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45387         gettimeofday.
45388         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45389         * nptl/pthread_cond_timedwait.c: Likewise.
45390         * nptl/pthread_mutex_timedlock.c: Likewise.
45391         * nptl/sem_timedwait.c: Likewise.
45393         * sysdeps/nptl/bits/libc-lock.h
45394         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45395         (__libc_lock_init_recursive): Return void, not 0.
45396         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45397         (__libc_rwlock_init): Likewise.
45398         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45400 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45402         [BZ #15215]
45403         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45404         (__pthread_once_slow): ... here.
45405         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45406         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45408 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45410         [BZ #15215]
45411         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45412         __PTHREAD_ONCE_FORK_GEN_INCR): New.
45413         * sysdeps/nptl/fork.c (__libc_fork): Use them.
45414         * nptl/pthread_once.c (__pthread_once): Likewise.
45415         Update comments.
45417 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
45419         [BZ #14138]
45420         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45421         name.
45422         (writev): Use __libc_writev as strong name.
45423         * sysdeps/unix/sysv/linux/readv.c: Remove file.
45424         * sysdeps/unix/sysv/linux/writev.c: Likewise.
45426 2014-10-17  Roland McGrath  <roland@hack.frob.com>
45428         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45430         * sysdeps/i386/nptl/tls.h
45431         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45432         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45433         New macros.
45434         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45435         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45436         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45437         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45438         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45439         Call CHECK_THREAD_SYSINFO instead of doing an assert.
45441         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45442         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45443         on [__NR_futex].
45444         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45445         broken out of ...
45446         (__pthread_mutex_init): ... here.  Call it.
45447         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45448         Conditionalize PI cases on [__NR_futex].
45449         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45450         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45451         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45453         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45454         conditional on [SIGSETXID].
45455         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45456         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45457         is defined.  Likewise for SIGSETXID.
45458         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45459         Conditionalize definitions on [SIGSETXID].
45460         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45461         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45462         unblocking on [SIGCANCEL].
45464         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45465         [__NR_set_robust_list].
45467 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45469         * string/strcoll_l.c (get_next_seq): Fix up formatting.
45470         (do_compare): Likewise.
45472 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
45474         [BZ #15884]
45475         * string/strcoll_l.c: Don't include stdio.h.
45476         (coll_seq): Remove members idxarr and rulearr.
45477         (get_next_seq_cached): Remove function.
45478         (get_next_seq): Likewise.
45479         (get_next_seq_nocache): Rename to get_next_seq.
45480         (do_compare): Remove function.
45481         (do_compare_nocache): Rename to do_compare.
45482         (STRCOLL): Remove weight and rules cache.
45484 2014-10-16  Roland McGrath  <roland@hack.frob.com>
45486         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45487         * sysdeps/arm/sfp-machine.h: ... to here.
45488         * sysdeps/arm/Implies: Remove arm/soft-fp.
45490 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
45492         * conform/data/sys/utsname.h-data (*_t): Allow.
45493         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45494         [POSIX] (WEXITED): Do not expect constant.
45495         [POSIX] (WSTOPPED): Likewise.
45496         [POSIX] (WNOHANG): Likewise.
45497         [POSIX] (WNOWAIT): Likewise.
45498         [POSIX] (siginfo_t): Do not expect type or elements.
45499         [POSIX] (pid_t): Do not expect type.
45500         [POSIX] (signal.h): Do not allow header.
45501         [POSIX] (sys/resource.h): Likewise.
45502         [POSIX] (si_*): Do not allow pattern.
45503         [POSIX] (W*): Likewise.
45504         [POSIX] (P_*): Likewise.
45505         [POSIX] (BUS_*): Likewise.
45506         [POSIX] (CLD_*): Likewise.
45507         [POSIX] (FPE_*): Likewise.
45508         [POSIX] (ILL_*): Likewise.
45509         [POSIX] (POLL_*): Likewise.
45510         [POSIX] (SEGV_*): Likewise.
45511         [POSIX] (SI_*): Likewise.
45512         [POSIX] (TRAP_*): Likewise.
45513         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45514         variable.
45516 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
45518         [BZ #12926]
45519         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45520         infinite loop when __recvmsg returns 0.
45522 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
45524         * CANCEL-FCT-WAIVE: Remove file.
45525         * CANCEL-FILE-WAIVE: Likewise.
45527         [BZ #14132]
45528         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45529         instead of INTVARDEF.
45530         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45531         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45532         rtld_hidden_data_def instead of INTVARDEF.
45533         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45534         * elf/dl-deps.c (expand_dst): Likewise.
45535         * elf/dl-load.c (_dl_dst_count): Likewise.
45536         (_dl_dst_substitute): Likewise.
45537         (decompose_rpath): Likewise.
45538         (_dl_init_paths): Likewise.
45539         (open_path): Likewise.
45540         (_dl_map_object): Likewise.
45541         * elf/rtld.c (dl_main): Likewise.
45542         (process_dl_audit): Likewise.
45543         (process_envvars): Likewise.
45544         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45545         Remove declaration.
45546         (__libc_enable_secure): Use rtld_hidden_proto.
45548 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45550         * elf/dl-load.c
45551         (add_path): New function broken out of _dl_rtld_di_serinfo.
45552         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
45554 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45556         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45557         parentheses around macro arguments.
45558         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45559         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45560         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45561         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45562         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45563         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45564         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45565         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45566         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45567         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45568         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45569         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45570         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45571         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45572         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45573         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45574         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45575         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45576         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45577         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45578         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45579         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45580         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45581         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45582         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45583         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45584         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45585         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45586         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45587         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45588         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45589         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45590         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45591         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45592         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45593         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45594         Likewise.
45595         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45596         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45597         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45598         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45599         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45600         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45601         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45602         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45603         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45604         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45605         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45606         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45607         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45608         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45609         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45610         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45611         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45612         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45613         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45614         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45615         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45616         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45617         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45618         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45619         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45620         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45621         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45622         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45623         (_FP_FRAC_SRS_1): Likewise.
45624         (_FP_FRAC_CLZ_1): Likewise.
45625         (_FP_MUL_MEAT_1_imm): Likewise.
45626         (_FP_MUL_MEAT_1_wide): Likewise.
45627         (_FP_MUL_MEAT_1_hard): Likewise.
45628         (_FP_SQRT_MEAT_1): Likewise.
45629         (_FP_FRAC_ASSEMBLE_1): Likewise.
45630         (_FP_FRAC_DISASSEMBLE_1): Likewise.
45631         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45632         (__FP_CLZ_2): Likewise.
45633         (_FP_MUL_MEAT_2_wide): Likewise.
45634         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45635         (_FP_MUL_MEAT_2_gmp): Likewise.
45636         (_FP_MUL_MEAT_2_120_240_double): Likewise.
45637         (_FP_SQRT_MEAT_2): Likewise.
45638         (_FP_FRAC_ASSEMBLE_2): Likewise.
45639         (_FP_FRAC_DISASSEMBLE_2): Likewise.
45640         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45641         (_FP_FRAC_CLZ_4): Likewise.
45642         (_FP_MUL_MEAT_4_wide): Likewise.
45643         (_FP_MUL_MEAT_4_gmp): Likewise.
45644         (_FP_SQRT_MEAT_4): Likewise.
45645         (_FP_FRAC_ASSEMBLE_4): Likewise.
45646         (_FP_FRAC_DISASSEMBLE_4): Likewise.
45647         * soft-fp/op-common.h (_FP_CMP): Likewise.
45648         (_FP_CMP_EQ): Likewise.
45649         (_FP_CMP_UNORD): Likewise.
45650         (_FP_TO_INT): Likewise.
45651         (_FP_FROM_INT): Likewise.
45652         [!__FP_CLZ] (__FP_CLZ): Likewise.
45653         (_FP_DIV_HELP_imm): Likewise.
45654         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45655         Likewise.
45656         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45657         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45658         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45659         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45660         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45661         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45662         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45663         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45664         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45665         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45666         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45667         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45668         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45669         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45670         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45671         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45672         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45673         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45674         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45675         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45676         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45677         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45678         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45679         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45680         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45681         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45682         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45683         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45684         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45685         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45686         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45687         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45688         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45689         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45690         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45691         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45692         (FP_UNPACK_RAW_SP): Likewise.
45693         (FP_PACK_RAW_S): Likewise.
45694         (FP_PACK_RAW_SP): Likewise.
45695         (FP_UNPACK_S): Likewise.
45696         (FP_UNPACK_SP): Likewise.
45697         (FP_UNPACK_SEMIRAW_S): Likewise.
45698         (FP_UNPACK_SEMIRAW_SP): Likewise.
45699         (FP_PACK_S): Likewise.
45700         (FP_PACK_SP): Likewise.
45701         (FP_PACK_SEMIRAW_S): Likewise.
45702         (FP_PACK_SEMIRAW_SP): Likewise.
45703         (_FP_SQRT_MEAT_S): Likewise.
45704         (FP_CMP_S): Likewise.
45705         (FP_CMP_EQ_S): Likewise.
45706         (FP_CMP_UNORD_S): Likewise.
45707         (FP_TO_INT_S): Likewise.
45708         (FP_FROM_INT_S): Likewise.
45710         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45712         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45713         (FP_EX_INVALID_IMZ): Likewise.
45714         (FP_EX_INVALID_IMZ_FMA): Likewise.
45715         (FP_EX_INVALID_ISI): Likewise.
45716         (FP_EX_INVALID_ZDZ): Likewise.
45717         (FP_EX_INVALID_IDI): Likewise.
45718         (FP_EX_INVALID_SQRT): Likewise.
45719         (FP_EX_INVALID_CVI): Likewise.
45720         (FP_EX_INVALID_VC): Likewise.
45721         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45722         "invalid" exceptions.
45723         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45724         (_FP_ADD_INTERNAL): Likewise.
45725         (_FP_MUL): Likewise.
45726         (_FP_FMA): Likewise.
45727         (_FP_DIV): Likewise.
45728         (_FP_CMP_CHECK_NAN): Likewise.
45729         (_FP_SQRT): Likewise.
45730         (_FP_TO_INT): Likewise.
45731         (FP_EXTEND): Likewise.
45733 2014-10-09  Allan McRae  <allan@archlinux.org>
45735         * po/fr.po: Update French translation from translation project.
45737 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45739         [BZ #14132]
45740         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45741         of INTDEF.
45742         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45743         (__cxa_atexit): Use libc_hidden_proto.
45744         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45746         [BZ #14132]
45747         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45748         declaration.
45749         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45750         [!_ISOMAC] (__iswspace_l_internal): Likewise.
45751         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45752         [!_ISOMAC] (__iswctype_internal): Likewise.
45753         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45754         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45755         alias.
45756         (fcntl): Remove __fcntl_internal alias.
45757         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45758         __connect_internal alias.
45759         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45760         Likewise.
45762         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45763         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45764         FP_DENORM_ZERO.
45765         (_FP_CHECK_FLUSH_ZERO): New macro.
45766         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45767         (_FP_CMP): Likewise.
45768         (_FP_CMP_EQ): Likewise.
45769         (_FP_TO_INT): Do not set inexact for subnormal arguments if
45770         FP_DENORM_ZERO.
45771         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45772         (FP_TRUNC): Likewise.
45774         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45775         treated as invalid conversion, not as normal exponent.
45777         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45778         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
45779         (_FP_CMP_EQ): Likewise.
45780         (_FP_CMP_UNORD): Likewise.
45781         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45782         (FP_CMP_EQ_D): Likewise.
45783         (FP_CMP_UNORD_D): Likewise.
45784         * soft-fp/extended.h (FP_CMP_E): Likewise.
45785         (FP_CMP_EQ_E): Likewise.
45786         (FP_CMP_UNORD_E): Likewise.
45787         * soft-fp/quad.h (FP_CMP_Q): Likewise.
45788         (FP_CMP_EQ_Q): Likewise.
45789         (FP_CMP_UNORD_Q): Likewise.
45790         * soft-fp/single.h (FP_CMP_S): Likewise.
45791         (FP_CMP_EQ_S): Likewise.
45792         (FP_CMP_UNORD_S): Likewise.
45793         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45794         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45795         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45796         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45797         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45798         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45799         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45800         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45801         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45802         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45803         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45804         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45805         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45806         to FP_CMP_Q.
45807         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45808         FP_CMP_Q.
45809         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45810         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45811         FP_CMP_EQ_Q.
45812         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45813         FP_CMP_Q.
45814         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45815         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45816         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45817         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45818         FP_CMP_EQ_Q.
45819         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45820         FP_CMP_Q.
45821         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45822         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45823         FP_CMP_EQ_Q.
45824         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45825         FP_CMP_Q.
45826         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45827         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45828         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45829         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45830         FP_CMP_EQ_Q.
45832         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45833         a subnormal result, set the underflow exception if trapping on
45834         underflow is enabled.
45835         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45836         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45837         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45838         redefine to 0.
45839         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45840         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45841         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45842         * soft-fp/extendxftf2.c (__extendxftf2): Use
45843         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45845         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45846         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45847         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45848         FP_HANDLE_EXCEPTIONS.
45849         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45850         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45851         FP_HANDLE_EXCEPTIONS.
45852         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45853         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45854         FP_HANDLE_EXCEPTIONS.
45855         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45856         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45857         FP_HANDLE_EXCEPTIONS.
45859 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
45861         [BZ #14132]
45862         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45863         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45864         use INTUSE.
45865         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45866         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45867         Remove alias.
45868         (__adjtimex): Define using libc_hidden_ver.
45869         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45870         Remove declaration.
45871         (ntp_gettime): Call __adjtimex directly.
45872         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45873         Remove declaration.
45874         (ntp_gettimex): Call __adjtimex directly.
45875         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45876         __adjtimex_internal alias.
45878 2014-10-08  Roland McGrath  <roland@hack.frob.com>
45880         [BZ #17460]
45881         * nscd/nscd.c (more_help): Rewrite list of tables collection
45882         using xstrdup and asprintf.
45884         * nscd/nscd_conf.c: Remove local xstrdup declaration.
45886 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45887             Roland McGrath  <roland@hack.frob.com>
45889         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45890         (do_lookup_unique): ... local function 'enter' here; update callers.
45892 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
45894         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45895         compat_symbol calls on [SHARED].
45896         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45897         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45898         Remove.
45899         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45900         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45901         (oldsetrlimit): Remove.
45902         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45904         (lchown): New syscall entry.
45905         (oldsetrlimit): Remove.
45906         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45907         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45908         (oldsetrlimit): Remove.
45909         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45911         [BZ #14138]
45912         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45913         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45914         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45915         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45916         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45917         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45918         (fchown): Likewise.
45919         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45920         (fchown): Likewise.
45921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45922         Likewise.
45924 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45926         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45927         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45928         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45929         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45930         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45931         Likewise.
45932         (__old_sem_post): Likewise.
45934 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
45936         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45937         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45938         HAVE_CLOCK_GETTIME_VSYSCALL macros.
45939         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45940         Use INLINE_VSYSCALL macro.
45941         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45942         __vdso_clock_gettime.
45943         * sysdeps/unix/sysv/linux/tile/init-first.c
45944         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45945         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45946         __vdso_clock_gettime.
45948         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45949         to set up frame more cleanly.
45951         * sysdeps/tile/memcmp.c: New file.
45953         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45955         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45956         * sysdeps/tile/tilegx/strcasestr.c: New file.
45957         * sysdeps/tile/tilegx/strnlen.c: New file.
45958         * sysdeps/tile/tilegx/strstr.c: New file.
45960         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
45962 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
45964         * nptl/tst-setuid3.c: Write errors to stdout.
45966 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45968         * elf/dl-deps.c
45969         (preload): New functions broken out of _dl_map_object_deps.
45970         (_dl_map_object_deps):  Remove a nested function. Update call sites.
45972 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
45974         [BZ #14138]
45975         * sysdeps/unix/sysv/linux/execve.c: Remove file.
45976         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45978 2014-10-01  Steve Ellcey  <sellcey@mips.com>
45980         * sysdeps/mips/strcmp.S: New.
45982 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
45984         [BZ #14138]
45985         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
45986         (linkat): Likewise.
45987         (mkdirat): Likewise.
45988         (readlinkat): Likewise.
45989         (renameat): Likewise.
45990         (symlinkat): Likewise.
45991         (unlinkat): Likewise.
45992         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
45993         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
45994         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
45995         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
45996         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
45997         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
45998         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
46000 2014-09-30  Will Newton  <will.newton@linaro.org>
46002         * math/math.h: Define long double math functions if
46003         _LIBC_TEST is defined.
46004         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
46006         * localedata/Makefile: Move assignment to tests-special
46007         into an ifdef testing run-built-tests.
46008         * timezone/Makefile: Likewise.
46010 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
46012         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
46013         with $(BASH) not $(SHELL).
46015 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
46016             Matthew LeGendre  <legendre1@llnl.gov>
46018         [BZ #17411]
46019         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
46020         l_reloc_result.
46022 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46024         * stdio-common/printf_fp.c
46025         (hack_digit): New function, broken out of ...
46026         (__printf_fp): ... local function here.  Update call sites.
46027         hack_digit now takes an additional parameter that is a pointer
46028         to a struct of the referenced locals.  Those locals moved inside
46029         the struct and references updated.
46031 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
46033         * aclocal.m4: Require autoconf 2.69.
46034         * configure: Regenerated.
46035         * sysdeps/aarch64/configure: Likewise.
46036         * sysdeps/alpha/configure: Likewise.
46037         * sysdeps/arm/armv7/configure: Likewise.
46038         * sysdeps/arm/configure: Likewise.
46039         * sysdeps/ia64/configure: Likewise.
46040         * sysdeps/mach/configure: Likewise.
46041         * sysdeps/mips/configure: Likewise.
46042         * sysdeps/s390/configure: Likewise.
46043         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
46044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
46046         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
46047         file.
46048         * sysdeps/ia64/configure.ac: Likewise.
46050 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
46052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
46053         specify symbol version for ld.so.  Do not include entry for
46054         libpthread.
46055         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46056         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46057         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46059         [BZ #14171]
46060         * Makeconfig [$(build-shared) = yes]
46061         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
46062         makefiles.
46063         [$(build-shared) = yes && $(soversions.mk-done) = t]
46064         ($(common-objpfx)gnu/lib-names.h): Remove rule.
46065         [$(build-shared) = yes && $(soversions.mk-done) = t]
46066         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
46067         to Makerules.
46068         [$(build-shared) = yes && $(soversions.mk-done) = t]
46069         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
46070         here.
46071         [$(build-shared) = yes && $(soversions.mk-done) = t]
46072         (common-generated): Don't append gnu/lib-names.h and
46073         gnu/lib-names.stmp here.
46074         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
46075         (lib-names-h-abi): New variable.
46076         [$(build-shared) = yes && $(soversions.mk-done) = t]
46077         (lib-names-stmp-abi): Likewise.
46078         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46079         abi-variants] (before-compile): Append
46080         $(common-objpfx)$(lib-names-h-abi).
46081         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46082         abi-variants] (common-generated): Append gnu/lib-names.h.
46083         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46084         abi-variants] (install-others-nosubdir): Depend on
46085         $(inst_includedir)/$(lib-names-h-abi).
46086         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46087         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
46088         [$(build-shared) = yes && $(soversions.mk-done) = t]
46089         ($(common-objpfx)$(lib-names-h-abi)): New rule.
46090         [$(build-shared) = yes && $(soversions.mk-done) = t]
46091         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
46092         [$(build-shared) = yes && $(soversions.mk-done) = t]
46093         (common-generated): Append $(lib-names-h-abi) and
46094         $(lib-names-stmp-abi).
46095         * scripts/lib-names.awk: Do not handle multi being set.
46096         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
46097         Remove variable.
46098         (abi-lp64_be-ld-soname): Likewise.
46099         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
46100         Likewise.
46101         (abi-hard-ld-soname): Likewise.
46102         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
46103         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
46104         Remove variable.
46105         (abi-o32_hard-ld-soname): Likewise.
46106         (abi-o32_soft_2008-ld-soname): Likewise.
46107         (abi-o32_hard_2008-ld-soname): Likewise.
46108         (abi-n32_soft-ld-soname): Likewise.
46109         (abi-n32_hard-ld-soname): Likewise.
46110         (abi-n32_soft_2008-ld-soname): Likewise.
46111         (abi-n32_hard_2008-ld-soname): Likewise.
46112         (abi-n64_soft-ld-soname): Likewise.
46113         (abi-n64_hard-ld-soname): Likewise.
46114         (abi-n64_soft_2008-ld-soname): Likewise.
46115         (abi-n64_hard_2008-ld-soname): Likewise.
46116         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46117         Likewise.
46118         (abi-64-v2-ld-soname): Likewise.
46119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46120         ld.so entries.
46121         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46122         variable.
46123         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46124         entry.
46125         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46126         variable.
46127         (abi-64-ld-soname): Likewise.
46128         (abi-x32-ld-soname): Likewise.
46129         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46130         entry.
46131         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46133 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
46135         [BZ #14138]
46136         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46137         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46138         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46139         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46140         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46141         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46142         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46143         syscall entry for GLIBC_2.2 symbol version.
46144         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46145         Likewise.
46146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46147         (setrlimit): Likewise.
46148         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46149         Likewise.
46151 2014-09-23  Will Newton  <will.newton@linaro.org>
46153         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46154         _LINUX_ARM_SYSDEP_H include guard too.
46155         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46156         define.
46158 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46160         * sysdeps/unix/sysv/linux/eventfd.c:
46161         Make first argument unsigned.
46162         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46163         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46165 2014-09-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
46167         [BZ #16852]
46168         * socket/recvmmsg.c (recvmmsg): Drop const argument.
46169         * socket/sys/socket.h: Likewise.
46170         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46172 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46174         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46176 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
46178         * time/tst-ftime.c: New test.
46179         * time/Makefile (tests): Add tst-ftime.
46181 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
46183         * soft-fp/extended.h: Fix comment formatting.
46184         * soft-fp/op-1.h: Likewise.
46185         * soft-fp/op-2.h: Likewise.
46186         * soft-fp/op-4.h: Likewise.
46187         * soft-fp/op-8.h: Likewise.
46188         * soft-fp/op-common.h: Likewise.
46189         * soft-fp/soft-fp.h: Likewise.
46191         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46193 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
46195         [BZ #6652]
46196         * Makeconfig (soversions-default-setname): Remove variable.
46197         ($(common-objpfx)soversions.i): Don't pass default_setname to
46198         soversions.awk.
46199         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46200         oldest_abi to abi-versions.awk.
46201         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46202         * config.make.in (oldest-abi): Remove variable.
46203         * configure.ac (--enable-oldest-abi): Remove configure option.
46204         * configure: Regenerated.
46205         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46206         text.
46207         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46208         * scripts/soversions.awk: Do not handle default_setname variable.
46209         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46210         variable.
46211         * sysdeps/mach/hurd/configure: Regenerated.
46212         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46213         variable.
46214         * sysdeps/unix/sysv/linux/configure: Regenerated.
46216 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46218         * elf/Makefile (CFLAGS-interp.c): Remove.
46219         ($(elf-objpfx)runtime-linker.h): Generate header with linker
46220         path string.
46221         * elf/interp.c: Include generated runtime-linker.h
46223         * Makerules (lib%.so): Don't include $(+interp) in
46224         prerequisites.
46225         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46226         * dlfcn/eval.c: Remove file.
46228         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46229         macros.
46231         [BZ #17266]
46232         * misc/sys/cdefs.h: Define __extern_always_inline for clang
46233         4.2 and newer.
46235         [BZ #17370]
46236         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46238 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46239             Jakub Jelinek  <jakub@redhat.com>
46241         [BZ #17266]
46242         * libio/stdio.h: Check definition of __fortify_function
46243         instead of __extern_always_inline to include bits/stdio2.h.
46244         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46245         check if __extern_always_inline is defined.
46246         [__USE_MISC || __USE_XOPEN]: Likewise.
46247         [__USE_ISOC99] Likewise.
46248         * misc/sys/cdefs.h (__fortify_function): Define only if
46249         __extern_always_inline is defined.
46250         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46251         __extern_always_inline and __extern_inline only for g++-4.3
46252         and newer or a compatible gcc.
46254 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
46256         [BZ #17371]
46257         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46258         last change to handle zero prefix length.
46260 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46262         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46263         _SC_REGEX_VERSION.
46265         * posix/getconf.c (vars): Add _POSIX_IPV6 and
46266         _POSIX_RAW_SOCKETS.
46268 2014-09-13  Allan McRae  <allan@archlinux.org>
46270         * po/ru.po: Update Russian translation from translation project.
46272 2014-09-12  Roland McGrath  <roland@hack.frob.com>
46274         * locale/programs/locale.c (show_locale_vars): Inline local function
46275         into its sole call site.  Clean up some style nits.
46276         (print_item): New function, broken out of ...
46277         (show_info): ... local function here.  Clean up style nits.
46279         * locale/programs/ld-ctype.c (set_one_default): New function, broken
46280         out of ...
46281         (set_class_defaults): ... local function set_default here.
46282         Define set_default as a macro locally to pass constant parameters.
46283         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46284         rather than a shared local.
46286         * stdlib/rpmatch.c (try): New function, broken out of ...
46287         (rpmatch): ... local function here.  Also, prototypify definition.
46289 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
46291         * scripts/soversions.awk: Do not handle configuration names.
46292         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46293         vendor and os variables to soversions.awk.
46294         * configure.ac: Do not modify gnu-* host_os.
46295         * configure: Regenerated
46296         * shlib-versions: Remove first column with configuration names.
46297         * nptl/shlib-versions: Likewise.
46298         * nptl_db/shlib-versions: Likewise.
46299         * sysdeps/hppa/shlib-versions: Likewise.
46300         * sysdeps/m68k/shlib-versions: Likewise.
46301         * sysdeps/mach/hurd/shlib-versions: Likewise.
46302         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46303         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46304         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46305         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46306         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46307         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46308         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46309         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46311         Likewise.
46312         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46313         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46314         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46315         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46316         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46317         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46318         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46319         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46322         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46324         Regenerated.
46325         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46327         Condition symbol version definitions on [HAVE_ELFV2_ABI].
46329         * shlib-versions: Remove OS-specific entries.  Moved to files in
46330         sysdeps.
46331         * sysdeps/mach/hurd/shlib-versions: New file.
46332         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46334         * nptl/shlib-versions: Remove architecture-specific entries.
46335         Moved to files in sysdeps.
46336         * shlib-versions: Likewise.
46337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46338         file.
46339         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46340         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46341         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46342         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46344         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46345         (UDP_NO_CHECK6_RX): Likewise.
46347 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46349         * sysdeps/posix/sysconf.c (__sysconf): Spell
46350         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46352 2014-08-12  Florian Weimer  <fweimer@redhat.com>
46354         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46355         loading.
46356         * iconv/Versions (__gconv_transliterate): Export for use from
46357         gconv modules.
46358         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46359         (struct __gconv_trans_data, __gconv_trans_fct,
46360         __gconv_trans_context_fct, __gconv_trans_query_fct,
46361         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46362         definitions.
46363         (struct __gconv_step_data): Remove __trans member.
46364         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
46365         longer hidden.  Remove unused trans_data argument.
46366         * iconv/gconv_int.h (struct trans_struct): Remove definition.
46367         (__gconv_translit_find): Remove declaration.
46368         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
46369         prototype.
46370         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46371         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46372         trans_data argument.  Add hidden definition.
46373         (__gconv_translit_find): Remove.
46374         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46375         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46376         * iconv/skeleton.c: Remove transliteration initialization.
46377         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46378         __gconv_step_data initialization.
46379         * libio/iofwide.c (__libio_translit_): Remove.
46380         (_IO_fwide): Adjust struct __gconv_step_data initialization.
46381         * wcsmbs/btowc.c (__btowc): Likewise.
46382         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46383         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46384         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46385         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46386         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46387         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46388         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46389         * wcsmbs/wctob.c (wctob): Likewise.
46391 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46393         [BZ #16194]
46394         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46395         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
46396         register usage.
46397         * sysdeps/x86/Makefile: Adjust.
46399 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46400             Roland McGrath  <roland@hack.frob.com>
46402         * locale/weight.h: Add include guard.
46403         (findidx): Make static rather than auto; take new parameters
46404         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46405         * locale/weightwc.h: Likewise.
46406         * posix/fnmatch_loop.c
46407         (FCT): Change type of EXTRA from int32_t to wint_t.
46408         Don't include either header inside the function.
46409         Call FINDIDX rather than findidx, and pass new arguments.
46410         #undef FINDIDX at the end of the file.
46411         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46412         FINDIDX before including fnmatch_loop.c for the non-wide version.
46413         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46414         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46415         for the wide version.
46416         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46417         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46418         Pass new arguments to findidx.
46419         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46420         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46421         Don't #include it inside the function.  Pass new arguments to findidx.
46422         * posix/regex_internal.h
46423         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46424         (re_string_elem_size_at): Don't #include it inside the function.
46425         Pass new arguments to findidx.
46426         * string/strcoll_l.c: #include WEIGHT_H at top level.
46427         (get_next_seq): Don't #include it inside the function.
46428         Pass new arguments to findidx.
46429         (get_next_seq_nocache): Likewise.
46430         * string/strxfrm_l.c: #include WEIGHT_H at top level.
46431         (STRXFRM): Don't #include it inside the function.
46432         Pass new arguments to findidx.
46434 2014-09-11  Florian Weimer  <fweimer@redhat.com>
46436         [BZ #17344]
46437         * malloc/malloc.c (unlink): Turn asserts into a call to
46438         malloc_printerr.
46440 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
46442         [BZ #17370]
46443         * libio/wfileops (do_ftell_wide): Free OUT.
46445 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
46447         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46449 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46451         [BZ #17363]
46452         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46453         group if the current group is empty.
46455 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46457         * benchtests/bench-memset.c (test_main): Add more test from size
46458         from 32 to 512 bytes.
46459         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46460         Add POWER8 memset object.
46461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46462         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46463         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46464         implementation.
46465         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46466         Likewise.
46467         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46468         multiarch POWER8 memset optimization.
46469         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46470         POWER8 memset optimization.
46472         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46473         Remove bzero multiarch objects.
46474         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46475         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46476         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46477         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46478         Remove define.
46479         [__bzero]: Redefine to specific name.
46480         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46481         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46482         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46483         define.
46484         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46485         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46487 2014-09-10  Florian Weimer  <fweimer@redhat.com>
46489         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46490         warnings into errors.
46492         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46493         __cxa_thread_atexit_impl prototype.
46495 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46497         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46498         Fix capitalization of error message.
46500 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46502         * sysdeps/mips/preconfigure: Modify ABI tests.
46504 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
46506         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46508 2014-09-07  Roland McGrath  <roland@hack.frob.com>
46509             Carlos O'Donell  <carlos@systemhalted.org>
46511         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46512         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46513         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46514         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46515         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46516         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46517         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46518         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46519         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46520         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46521         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46522         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46523         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46524         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46525         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46526         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46527         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46528         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46529         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46530         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46531         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46532         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46533         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46534         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46535         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46536         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46537         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46538         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46539         Deconditionalize the code that was previously under [RESET_PID].
46540         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46541         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46542         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46543         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46544         include sysdep.h.
46546 2014-09-08  Allan McRae  <allan@archlinux.org>
46548         * version.h (RELEASE): Set to "development".
46549         (VERSION): Set to "2.20.90"
46551 2014-09-07  Allan McRae  <allan@archlinux.org
46553         * version.h (RELEASE): Set to "stable".
46554         (VERSION): Set to "2.20"
46555         * include/features.h (__GLIBC_MINOR__): Set to 20.
46557         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46558         Liebler.
46560         * po/ko.po: Update Korean translation from translation project.
46562 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
46564         [BZ #17354]
46565         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46566         macro for handling signed relocations.
46568 2014-09-03  Florian Weimer  <fweimer@redhat.com>
46570         [BZ #17325]
46571         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46572         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46573         assert.
46574         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46575         * iconvdata/ibm935.c (BODY): Likewise.
46576         * iconvdata/ibm937.c (BODY): Likewise.
46577         * iconvdata/ibm939.c (BODY): Likewise.
46578         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46579         assert.
46580         * iconvdata/Makefile (iconv-test.out): Pass module list to test
46581         script.
46582         * iconvdata/run-iconv-test.sh: New test loop for checking for
46583         decoder crashers.
46585 2014-09-02  Khem Raj  <raj.khem@gmail.com>
46587         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46588         libm_hidden_ver.
46590 2014-09-01  Allan McRae  <allan@archlinux.org>
46592         * po/eo.po: Update Esperanto translation from translation project.
46594         * po/ca.po: Update Catalan translation from translation project.
46596 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46598         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46599         __proc_dostop call.
46601 2014-08-27  Mark Wielaard  <mjw@redhat.com>
46603         [BZ #17319]
46604         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46605         to call set_thread_area instead of hand written asm.
46606         (__NR_set_thread_area): Removed define.
46607         (TLS_FLAG_WRITABLE): Likewise.
46608         (__ASSUME_SET_THREAD_AREA): Remove check.
46609         (TLS_EBX_ARG): Remove define.
46610         (TLS_LOAD_EBX): Likewise.
46612 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46614         Simplify atomicity of socket creation in bind.
46616         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46617         looking up the name after linking the file.
46619 2014-08-27  Allan McRae  <allan@archlinux.org>
46621         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46623 2014-08-26  Florian Weimer  <fweimer@redhat.com>
46625         [BZ #17187]
46626         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46627         trans_compare, open_translit, __gconv_translit_find):
46628         Remove module loading code.
46630 2014-08-26  Allan McRae  <allan@archlinux.org>
46632         * po/vi.po: Update Vietnamese translation from translation project.
46634         * po/uk.po: Update Ukrainian translation from translation project.
46636         * po/fr.po: Update French translation from translation project.
46638         * po/ru.po: Update Russian translation from translation project.
46640         * po/pl.po: Update Polish translation from translation project.
46642         * po/cs.po: Update Czech translation from translation project.
46644         * po/de.po: Update German translation from translation project.
46646         * po/bg.po: Update Bulgarian translation from translation project.
46648         * po/sv.po: Update Sweedish translation from translation project.
46650         * po/nl.po: Update Dutch translation from translation project.
46652         * po/es.po: Update Spanish translation from translation project.
46654 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46656         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46658         * catgets/Makefile (CPPFLAGS-gencat): Remove.
46659         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46660         (CPPFLAGS-iconvconfig): Likewise.
46661         * timezone/Makefile (CPPFLAGS-zic): Likewise.
46663         * include/libc-symbols.h: Remove unnecessary check for
46664         NOT_IN_libc.
46665         * nptl/pthreadP.h: Likewise.
46666         * sysdeps/aarch64/setjmp.S: Likewise.
46667         * sysdeps/alpha/setjmp.S: Likewise.
46668         * sysdeps/arm/sysdep.h: Likewise.
46669         * sysdeps/i386/setjmp.S: Likewise.
46670         * sysdeps/m68k/setjmp.c: Likewise.
46671         * sysdeps/posix/getcwd.c: Likewise.
46672         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46673         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46674         * sysdeps/s390/s390-32/setjmp.S: Likewise.
46675         * sysdeps/s390/s390-64/setjmp.S: Likewise.
46676         * sysdeps/sh/sh3/setjmp.S: Likewise.
46677         * sysdeps/sh/sh4/setjmp.S: Likewise.
46678         * sysdeps/unix/alpha/sysdep.h: Likewise.
46679         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46680         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46681         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46682         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46685         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46686         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46687         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46688         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46689         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46690         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46692         * sysdeps/x86_64/setjmp.S: Likewise.
46694 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
46696         [BZ #17263]
46697         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46698         <stdint.h>.
46699         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46700         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46702 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46704         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46706         [BZ #17262]
46707         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46708         and __x86_64__ when disabling x87 inline functions.
46710 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46712         [BZ #17259]
46713         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46714         asm statement with __cpuid_count.
46716 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
46718         * configure.ac: Change __ehdr_start code to dereference the struct.
46719         Run readelf on the output to look for relocations.
46720         * configure: Regenerated.
46722 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
46724         [BZ #17261]
46725         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46726         value to 0.
46727         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46729 2014-08-12  Roland McGrath  <roland@hack.frob.com>
46731         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46733 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
46735         [BZ #16892]
46736         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46737         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46739 2014-08-12  Sean Anderson  <seanga2@gmail.com>
46741         * malloc/malloc.c: Fix typo in comment.
46743 2014-08-09  Allan McRae  <allan@archlinux.org>
46745         * Regenerate libc.po.
46747 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
46749         * intl/tst-gettext2.sh: Check every lang file for creation.
46751 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46753         * sysdeps/aarch64/fpu/math_private.h
46754         (libc_feholdsetround_noex_aarch64_ctx): New function.
46756 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46758         * sysdeps/arm/armv6/strcpy.S (strcpy):
46759         Fix performance issue in misaligned cases.
46761 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46763         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46764         Move definition from termios.h.
46765         (struct termio): Likewise.
46766         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46767         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46768         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46769         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46770         Likewise.
46771         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46772         Move definition to ioctl-types.h
46773         (struct termio): Likewise.
46774         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46775         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46776         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46777         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46778         Likewise.
46780 2014-08-05  Richard Henderson  <rth@redhat.com>
46782         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46783         exceptions.
46784         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46785         Add fraiseexcpt.
46786         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46787         Use __feraiseexcept.
46788         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46789         Protect libm symbols with IS_IN_libm.
46791         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46793 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
46795         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46797 2014-08-04  Will Newton  <will.newton@linaro.org>
46799         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46800         file.
46802 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
46804         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46805         variants for each function.
46807 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46809         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46810         appended ...
46811         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46812         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46813         appended ...
46814         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46815         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46816         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46817         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46818         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46819         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46820         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46821         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46822         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46823         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46824         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46825         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46826         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46827         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46828         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46829         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46830         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46831         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46832         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46833         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46834         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46835         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46836         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46837         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46838         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46839         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46840         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46841         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46842         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46843         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46844         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46845         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46846         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46847         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46848         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46849         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46850         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46851         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46852         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46853         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46854         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46855         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46856         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46857         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46858         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46859         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46860         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46861         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46862         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46863         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46864         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46865         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46866         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46867         Update #include.
46868         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46869         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46871 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46873         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46874         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46875         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46876         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46877         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46878         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46880 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46882         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46883         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46884         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46885         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46887 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46889         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46890         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46891         (__libc_vfork): Define function under this name.
46892         (__vfork): Define as an alias.
46893         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46894         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46896 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46898         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46899         that was previously under [RESET_PID].
46900         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46902 2014-08-04  Andreas Schwab  <schwab@suse.de>
46904         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46906 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
46908         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46909         (main): Likewise.
46911 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46913         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46915 2014-08-01  Richard Henderon  <rth@redhat.com>
46917         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46918         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46919         typo in exact zero test.
46920         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46921         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46922         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46924 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46926         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46927         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46928         * sysdeps/arm/sysdep.h: ... here.
46929         [!__ASSEMBLER__]: Include <stdint.h>.
46931 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46933         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46934         (HAVE_WCTYPE_H): Likewise.
46935         (HAVE_ISWCTYPE): Likewise.
46936         (ENABLE_NLS): Likewise.
46937         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46938         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46940         * posix/regex_internal.c: Check if DEBUG is defined and is
46941         set.
46943         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46944         (HAVE_MBSRTOWCS): Likewise.
46945         * posix/fnmatch.c: Include string.h unconditionally.
46947 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
46949         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46950         reversal.
46952 2014-07-31  Roland McGrath  <roland@hack.frob.com>
46954         * sysdeps/generic/safe-fatal.h: New file.
46955         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46956         * nptl/forward.c: Include it.
46957         (__pthread_unwind): Use __safe_fatal as default action, rather
46958         than a bogus use of INTERNAL_SYSCALL that could never work.
46960         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
46961         * configure.ac (libc_cv_builtin_trap): New test.
46962         * configure: Regenerated.
46963         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
46964         (ABORT_INSTRUCTION): Define using __builtin_trap.
46966         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
46967         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
46968         * sysdeps/nptl/nptl-signals.h: New file.
46969         * nptl/pthreadP.h: Include <nptl-signals.h>.
46971 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
46973         * sysdeps/s390/s390-64/utf16-utf32-z9.c
46974         (ONE_DIRECTION): Define.
46975         * sysdeps/s390/s390-64/utf8-utf16-z9.c
46976         (ONE_DIRECTION): Define.
46977         * sysdeps/s390/s390-64/utf8-utf32-z9.c
46978         (ONE_DIRECTION): Define.
46980 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
46982         * sysdeps/s390/Makefile: Delete file.
46983         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
46984         * sysdeps/s390/__longjmp.c: Delete file.
46985         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
46986         Remove fields __flags and __reserved.
46987         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
46988         and add versioning.
46989         * sysdeps/s390/rtld-__longjmp.c: Delete file.
46990         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
46991         * sysdeps/s390/rtld-setjmp.S: Likewise.
46992         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
46993         * sysdeps/s390/s390-32/__longjmp.c: ... here.
46994         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
46995         * sysdeps/s390/s390-32/setjmp.S: ... here.
46996         Add versioning.
46997         (__sigsetjmp): Remove setting __flags field.
46998         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
46999         * sysdeps/s390/s390-64/__longjmp.c: ... here.
47000         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
47001         * sysdeps/s390/s390-64/setjmp.S: ... here.
47002         Add versioning.
47003         (__sigsetjmp): Remove setting __flags field.
47004         * sysdeps/s390/setjmp.S: Delete file.
47005         * sysdeps/s390/sigjmp.c: Likewise.
47006         * sysdeps/s390/v1-longjmp.c: Likewise.
47007         * sysdeps/s390/v1-setjmp.h: Likewise.
47008         * sysdeps/s390/v1-sigjmp.c: Likewise.
47009         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
47010         Remove v1-longjmp_chk.
47011         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
47012         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
47013         Include debug/longjmp_chk.c and add versioning.
47014         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
47015         Include nptl/pt-longjmp.c and add versioning.
47016         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
47017         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
47018         Include __longjmp.c.
47019         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47020         Move to ...
47021         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
47022         (__getcontext): Remove setting __flags field.
47023         Add versioning.
47024         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47025         Don't restore upper high grps.
47026         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
47027         Likewise.
47028         (__swapcontext): Remove setting uc_flags field.
47029         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
47030         Delete file.
47031         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47032         Include __longjmp.c.
47033         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47034         Move to ...
47035         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
47036         (__getcontext): Remove setting __flags field.
47037         Add versioning.
47038         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
47039         (__swapcontext): Remove setting uc_flags field.
47040         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
47041         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
47042         Remove fields uc_high_gprs and __reserved.
47043         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
47044         New file with reverted content.
47045         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
47046         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
47047         Regenerated.
47048         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
47049         Regenerated.
47051 2014-07-31  Andreas Schwab  <schwab@suse.de>
47053         * config.h.in (HAVE_IFUNC): Define to 0.
47054         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
47055         definedness.
47057 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
47059         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47060         memmove-avx-unaligned, memcpy-avx-unaligned and
47061         mempcpy-avx-unaligned.
47062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47063         Add tests for AVX memcpy functions.
47064         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
47065         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
47066         memcpy_chk.
47067         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
47068         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
47069         memmove_chk.
47070         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
47071         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
47072         mempcpy_chk.
47073         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
47074         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
47075         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
47077 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47079         [BZ #17213]
47080         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
47081         powerpc64le.
47083 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
47085         [BZ #16839]
47086         * manual/llio.texi: Add section about open file description locks.
47087         * manual/examples/ofdlocks.c: Example of open file description
47088         lock usage.
47089         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
47090         F_OFD_SETLK, and F_OFD_SETLKW.
47092 2014-07-23  Allan McRae  <allan@archlinux.org>
47094         * po/es.po: Update Spanish translation from translation project.
47096 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
47098         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
47100 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
47102         [BZ #17078]
47103         * sysdeps/arm/dl-machine.h (elf_machine_rela)
47104         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
47105         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
47107 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
47109         [BZ #17088]
47110         * math/fesetenv.c (__fesetenv)
47111         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
47112         * math/feupdateenv.c (__feupdateenv)
47113         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
47115         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
47116         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47117         (__ASSUME_SOCKETCALL): Do not define.
47119         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47120         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47121         (__ASSUME_SOCKETCALL): Do not define.
47122         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47123         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47124         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47125         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47126         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47127         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47128         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47129         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47131         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47132         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47133         (__ASSUME_SOCKETCALL): Do not define.
47134         (__ASSUME_IPC64): Define unconditionally.
47135         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47136         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47137         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47138         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47139         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47140         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47141         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47142         Likewise.
47144         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47145         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47146         (__ASSUME_SOCKETCALL): Do not define.
47147         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47148         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47149         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47150         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47151         (__ASSUME_REQUEUE_PI): Define unconditionally.
47152         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47153         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47154         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47155         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47156         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47157         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47159         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47160         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47161         (__ASSUME_SOCKETCALL): Do not define.
47162         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47163         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47164         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47165         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47166         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47167         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47169         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47170         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47171         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47172         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47173         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47174         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47175         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47176         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47177         (__ASSUME_GETCPU_SYSCALL): Likewise.
47179         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47180         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
47181         cases for individual architectures.
47182         * sysdeps/gnu/configure: Regenerated.
47183         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47184         LIBC_SLIBDIR_RTLDDIR.
47185         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47186         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47187         LIBC_SLIBDIR_RTLDDIR.
47188         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47190         LIBC_SLIBDIR_RTLDDIR.
47191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47192         Regenerated.
47193         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47194         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47195         file.
47196         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47197         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47198         file.
47199         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47200         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47201         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47202         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47204         * sysdeps/aarch64/shlib-versions: Move to ...
47205         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47206         * sysdeps/alpha/shlib-versions: Move to ...
47207         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47208         * sysdeps/arm/shlib-versions: Move to ...
47209         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47210         * sysdeps/hppa/shlib-versions: Move all contents except for
47211         libgcc_s entry to ...
47212         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
47213         entry from ...
47214         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
47215         * sysdeps/ia64/shlib-versions: Move to ...
47216         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
47217         entry from ...
47218         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
47219         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47220         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47221         * sysdeps/microblaze/shlib-versions: Move to ...
47222         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47223         * sysdeps/mips/shlib-versions: Move to ...
47224         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
47225         entry from ...
47226         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
47227         * sysdeps/tile/shlib-versions: Move to ...
47228         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47229         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47230         from ...
47231         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
47232         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47233         entry from ...
47234         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
47236 2014-07-17  Will Newton  <will.newton@linaro.org>
47238         * sysdeps/arm/bits/atomic.h
47239         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47240         (__arch_compare_and_exchange_bool_16_int): Likewise.
47241         (__arch_compare_and_exchange_bool_64_int): Likewise.
47243         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47244         into an #else block.
47246 2014-07-16  Roland McGrath  <roland@hack.frob.com>
47248         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47249         just Linux configurations.  Test empirically that the compiler sets
47250         __ARM_EABI__, rather than using the tuple to decide.
47251         * sysdeps/arm/preconfigure: Regenerated.
47252         * sysdeps/unix/sysv/linux/arm/configure: File removed.
47253         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47254         contents appended ...
47255         * sysdeps/arm/configure.ac: ... here.
47256         * sysdeps/arm/configure: Regenerated.
47258 2014-07-15  Roland McGrath  <roland@hack.frob.com>
47260         * nptl/pthread_kill.c: New file.
47261         * nptl/pthread_sigmask.c: New file.
47262         * nptl/pthread_sigqueue.c: New file.
47264         * sysdeps/nptl/lowlevellock.h: New file.
47265         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47266         * sysdeps/nptl/lowlevellock-futex.h: New file.
47268         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47269         Remove dead declarations.
47271 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
47273         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47274         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47275         config-cflags-avx2.
47276         * sysdeps/x86_64/configure.ac: Likewise.
47277         * sysdeps/i386/configure: Regenerated.
47278         * sysdeps/x86_64/configure: Likewise.
47279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47280         memset-avx2 only if config-cflags-avx2 is yes.
47281         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47282         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47283         defined.
47284         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47285         only if HAVE_AVX2_SUPPORT is defined.
47286         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47288 2014-07-14  Alan Modra  <amodra@gmail.com>
47290         [BZ #17153]
47291         * elf/elf.h (DT_PPC64_NUM): Correct value.
47292         * NEWS: Add to fixed bug list.
47294 2014-07-13  Jim Meyering  <meyering@fb.com>
47296         [BZ 17150]
47297         regex: don't deref NULL upon heap allocation failure
47298         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47299         failure in one more place.
47300         To trigger the segfault, configure grep -with-included-regex,
47301         build it, and run these commands:
47302         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47304 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
47306         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47308 2014-07-11  Richard Henderson  <rth@redhat.com>
47310         * sysdeps/aarch64/libm-test-ulps: Update.
47312 2014-07-10  Florian Weimer  <fweimer@redhat.com>
47314         [BZ #17135]
47315         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47316         * nptl/allocatestack.c (__nptl_setxid_error): New function.
47317         (__nptl_setxid): Initialize error member.  Call
47318         __nptl_setxid_error.
47319         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47320         * nptl/descr.h (struct xid_command): Add error member.
47321         * nptl/tst-setuid3.c: New file.
47322         * nptl/Makefile (tests): Add it.
47324 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47326         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47327         New define.
47328         (__lll_trylock): Use __lll_base_trylock.
47329         (__lll_cond_trylock): Likewise.
47331 2014-07-10  Roland McGrath  <roland@hack.frob.com>
47333         * nptl/pthread_create.c (start_thread): Use atomic_or and
47334         lll_futex_wake directly rather than lll_robust_dead.
47335         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47336         (lll_robust_dead): Macro removed.
47337         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47338         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47339         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47340         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47341         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47342         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47343         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47344         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47345         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47346         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47347         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47348         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47349         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47350         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47351         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47353         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47354         Use atomic_compare_and_exchange_val_acq directly rather than
47355         lll_robust_trylock.
47356         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47357         (__lll_robust_trylock, lll_robust_trylock): Removed.
47358         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47359         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47360         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47361         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47362         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47363         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47364         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47365         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47366         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47367         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47368         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47369         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47370         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47371         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47373 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47375         * manual/locale.texi (Locale Names): New section documenting
47376         locale name syntax.  Adjust menu and node chaining accordingly.
47377         (Choosing Locale): Reference Locale Names, Locale Categories.
47378         Mention setting LC_ALL=C.  Reflect that name syntax is now
47379         documented.
47380         (Locale Categories): New section title.  Reference Locale Names.
47381         LC_ALL is an environment variable, but not a category.
47382         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47383         description, now in Locale Name.  Reference that section.  Locale
47384         name syntax is now documented.
47386 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47388         [BZ #17137]
47389         * locale/findlocale.c (name_present, valid_locale_name): New
47390         functions.
47391         (_nl_find_locale): Use the loc_name variable to store name
47392         candidates.  Call name_present and valid_locale_name to check and
47393         validate locale names.  Return an error if the locale is invalid.
47395 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47397         * locale/setlocale.c (setlocale): Use strdup for allocating
47398         composite name copy.
47400 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47402         Sync up with gnulib.
47403         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47404         [!_LIBC && ENABLE_NLS]: Include gettext.h.
47405         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47406         and _GL_ARG_NONNULL.
47407         [USE_UNLOCKED_IO]: Include unlocked-io.h.
47408         [!_LIBC]: Include code for Windows and Cygwin.
47409         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47410         Include prototype for int strerror_r.
47411         [!_LIBC] (is_open): New function.
47412         (flush_stdout): New function.
47413         (print_errno_message): Use it.
47414         (error): Likewise.
47415         (error_at_line): Likewise.
47416         (error_tail) Add function attribute macros.  Use
47417         __builtin_expect.
47419         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47421         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47423         * io/ftw.c: Include sys/param.h unconditionally.
47425         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47427         [BZ #17125]
47428         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47429         libc_freeres_ptr.
47430         (freecache): New function to free CACHE on exit.
47432         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47433         initialization.
47435 2014-07-09  David S. Miller  <davem@davemloft.net>
47437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47439         * sysdeps/sparc/nptl/internaltypes.h: Delete.
47440         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47441         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47442         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47443         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47444         * sysdeps/sparc/nptl/sem_init.c: Likewise.
47445         * sysdeps/sparc/nptl/sem_post.c: Likewise.
47446         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47447         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47448         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47449         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47450         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47451         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47453 2014-07-09  Andreas Schwab  <schwab@suse.de>
47455         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47456         output.
47457         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47458         (do_test): Likewise.
47460         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47462 2014-07-09  Will Newton  <will.newton@linaro.org>
47464         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47465         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47466         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47467         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47468         * sysdeps/hppa/start.S (_start): Likewise.
47470 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47472         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47474         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47475         defined.
47477 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47479         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47480         after checking that it is non-NULL.
47482         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47484 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47486         * sysdeps/powerpc/memmove.c: Remove file.
47487         * sysdeps/powerpc/powerpc32/power4/memcopy.h
47488         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47489         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47490         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47491         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47492         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47493         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47494         string memmove instead of removed powerpc one.
47496         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47497         [weak_alias]: Fix compiler warning due trailing data.
47498         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47499         [weak_alias]: Likewise.
47500         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47501         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47503         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47504         (__libc_ifunc_impl_list): Add memmove functions.
47506 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47508         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47509         Remove code.
47510         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47511         Likewise.
47512         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47513         Likewise.
47514         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47515         Likewise.
47516         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47517         Likewise.
47518         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47519         Likewise.
47520         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47521         Likewise.
47522         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47523         Likewise.
47524         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47525         Likewise.
47526         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47527         Likewise.
47528         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47529         Likewise.
47530         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47531         Likewise.
47532         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47533         Likewise.
47534         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47535         Likewise.
47536         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47537         Likewise.
47538         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47539         Likewise.
47540         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47541         Likewise.
47543 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47545         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47546         to avoid alignment traps in non-cacheable memory.
47547         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47549         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47550         multiarch objects.
47551         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47552         file: multiarch power7 memmove.
47553         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47554         multiarch default memmove.
47555         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47556         multiarch memove for powerpc32/power4.
47558         * string/bcopy.c: Use full path to include memmove.c.
47559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47560         multiarch objects.
47561         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47562         bcopy for powerpc64.
47563         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47564         bcopy for powerpc64.
47565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47566         and memmove implementations.
47567         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47568         optimized multiarch memmove for POWER7/powerpc64.
47569         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47570         default multiarch memmove for powerpc64.
47571         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47572         multiarch for powerpc64.
47573         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47574         for POWER7/powerpc64.
47575         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47576         memmove for POWER7/powerpc64.
47578         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47579         glibc default one.
47581         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47582         __ELF_NATIVE_CLASS equal to 64.
47584 2014-07-07  Roland McGrath  <roland@hack.frob.com>
47586         * sysdeps/nptl/lowlevellock.h: File removed.
47588         * NEWS: NPTL is no longer an add-on!
47589         * nptl/internaltypes.h: Moved ...
47590         * sysdeps/nptl/internaltypes.h: ... here.
47591         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47592         * sysdeps/nptl/fork.c: Likewise.
47593         * sysdeps/nptl/gai_misc.h: Likewise.
47594         * sysdeps/nptl/librt-cancellation.c: Likewise.
47595         * sysdeps/nptl/jmp-unwind.c: Likewise.
47596         * sysdeps/nptl/setxid.h: Likewise.
47597         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47598         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47599         * sysdeps/unix/sysv/linux/arm/Implies: New file.
47600         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47601         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47602         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47603         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47604         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47605         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47606         * sysdeps/unix/sysv/linux/mips/Implies: New file.
47607         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47608         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47609         * sysdeps/unix/sysv/linux/sh/Implies: New file.
47610         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47611         * sysdeps/unix/sysv/linux/tile/Implies: New file.
47612         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47613         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47614         * nptl/Makeconfig: Moved ...
47615         * sysdeps/nptl/Makeconfig: ... here.
47616         * nptl/configure: File removed.
47617         * nptl/ANNOUNCE: File removed.
47618         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47619         * sysdeps/unix/sysv/linux/configure: Regenerated.
47621         * nptl/Makefile (routines): Add libc_pthread_init,
47622         libc_multiple_threads, register-atfork and unregister-atfork.
47623         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47624         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47625         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47626         pthread-pi-defines.sym, structsem.sym.
47627         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47628         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47629         [$(subdir) = nptl] (tests): Add tst-setgetname.
47630         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47631         * sysdeps/unix/sysv/linux/sigaction.c: Just include
47632         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47633         [!LIBC_SIGACTION]: Remove aliases.
47634         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47635         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47636         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47637         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47638         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47639         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47640         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47641         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47642         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47643         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47644         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47645         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47646         __libc_allocate_rtsig_private.
47647         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47648         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47649         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47650         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47651         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47652         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47653         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47654         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47655         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47656         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47657         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47658         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47659         * nptl/internaltypes.h: ... here.
47660         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47661         * sysdeps/nptl/jmp-unwind.c: ... here.
47662         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47663         * nptl/libc-lowlevellock.c: ... here.
47664         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47665         * nptl/libc_multiple_threads.c: ... here.
47666         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47667         * nptl/libc_pthread_init.c: ... here.
47668         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47669         * nptl/lowlevelbarrier.sym: ... here.
47670         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47671         * nptl/lowlevelcond.sym: ... here.
47672         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47673         * nptl/lowlevellock.c: ... here.
47674         * nptl/lowlevellock.h: Moved ...
47675         * sysdeps/nptl/lowlevellock.h: ... here.
47676         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47677         * nptl/lowlevelrobustlock.c: ... here.
47678         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47679         * nptl/lowlevelrobustlock.sym: ... here.
47680         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47681         * nptl/lowlevelrwlock.sym: ... here.
47682         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47683         * nptl/pt-fork.c: ... here.
47684         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47685         * nptl/pthread-pi-defines.sym: ... here.
47686         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47687         * nptl/pthread_attr_getaffinity.c: ... here.
47688         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47689         * nptl/pthread_attr_setaffinity.c: ... here.
47690         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47691         * nptl/pthread_mutex_cond_lock.c: ... here.
47692         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47693         Update #include.
47694         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47695         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47696         * nptl/pthread_once.c: ... here, replacing old file.
47697         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47698         * nptl/pthread_yield.c: ... here.
47699         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47700         * nptl/register-atfork.c: ... here.
47701         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47702         * nptl/sem_post.c: ... here.
47703         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47704         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47705         * nptl/sem_timedwait.c: ... here.
47706         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47707         * nptl/sem_trywait.c: ... here.
47708         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47709         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47710         * nptl/sem_wait.c: ... here.
47711         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47712         * nptl/structsem.sym: ... here.
47713         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47714         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47715         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47716         * nptl/unregister-atfork.c: ... here.
47717         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47718         * nptl/unwindbuf.sym: ... here.
47719         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47720         * sysdeps/nptl/fork.c: ... here.
47721         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47722         * sysdeps/nptl/fork.h: ... here.
47723         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47724         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47725         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47726         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47727         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47728         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47729         * sysdeps/unix/sysv/linux/getpid.c: ... here.
47730         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47731         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47732         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47733         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47734         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47735         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47736         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47737         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47738         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47739         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47740         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47741         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47742         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47743         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47744         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47745         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47746         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47747         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47748         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47749         * sysdeps/unix/sysv/linux/raise.c: ... here.
47750         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47751         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47752         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47753         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47754         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47755         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47756         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47757         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47758         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47759         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47760         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47761         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47762         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47763         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47764         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47766 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47768         * sysdeps/generic/memcopy.h: Add comment for
47769         MEMCPY_OK_FOR_FWD_MEMMOVE.
47771 2014-07-04  Will Newton  <will.newton@linaro.org>
47773         * string/memchr.c: Merge from gnulib.
47774         [_LIBC]: Remove conditionals.
47775         (__ptr_t): Remove define.
47776         (LONG_MAX_32_BITS): Likewise.
47777         (LONG_MAX): Likewise.
47778         (MEMCHR): Use ANSI prototype and optimize algorithm.
47780         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47782 2014-07-03  Roland McGrath  <roland@hack.frob.com>
47784         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47785         (lll_futex_timed_wait_bitset): Fix syscall argument count.
47787         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47788         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47789         in a bare environment with no <stdlib.h> installed.
47790         * sysdeps/nptl/configure: Regenerated.
47792         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47794         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47795         AC_EGREP_CPP for kernel header checks, so they only succeed if
47796         including <linux/version.h> actually works right.
47797         * sysdeps/unix/sysv/linux/configure: Regenerated.
47799         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47800         value so it's not diagnosed as unused.
47802         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47803         thing) with "ifeq ($(subdir),rt)".
47805 2014-07-03  Richard Henderson  <rth@redhat.com>
47807         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47808         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47809         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47811         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47812         (math_force_eval): New.
47814         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47815         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47817         * sysdeps/alpha/fpu/s_round.c: Remove file.
47818         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47820         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47821         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47822         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47823         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47824         (_dl_start, print_statistics): Likewise.
47825         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47826         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47828         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47829         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47830         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47831         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47832         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47833         (HP_SMALL_TIMING_AVAIL): Define.
47834         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47835         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47836         (HP_SMALL_TIMING_AVAIL): Define.
47837         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47838         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47840         * sysdeps/aarch64/hp-timing.h: New file.
47842         * sysdeps/generic/hp-timing.h: Remove dead comment.
47843         * sysdeps/generic/hp-timing-common.h: New file.
47844         * sysdeps/alpha/hp-timing.h: Include it.
47845         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47846         * sysdeps/i386/i686/hp-timing.h: Likewise.
47847         * sysdeps/ia64/hp-timing.h: Likewise.
47848         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47849         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47850         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47851         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47852         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47853         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47854         (hp_timing_t): New.
47856         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47857         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47858         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47859         * elf/rtld.c (_dl_start_final): Likewise.
47860         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47861         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47862         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47863         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47864         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47865         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47866         (HP_TIMING_DIFF_INIT): Remove.
47867         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47868         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47869         (HP_TIMING_DIFF_INIT): Remove.
47870         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47871         * sysdeps/i386/i686/hp-timing.c: Remove file.
47872         * sysdeps/x86_64/hp-timing.c: Remove file.
47873         * sysdeps/ia64/hp-timing.c: Remove file.
47874         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47875         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47876         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47877         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47879         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47880         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47881         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47882         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47883         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47884         (HP_TIMING_ACCUM): Remove.
47885         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47886         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47887         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47889         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47890         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47891         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47892         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47893         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47894         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47895         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47896         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47898         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47900 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
47902         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47904 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47906         Sync up with gettext.
47907         * intl/loadmsgcat.c: Define O_BINARY if not defined.
47908         [_MSC_VER]: Include malloc.h
47909         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47910         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47911         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
47912         TEMP_FAILURE_RETRY.  Cast return of alloca.
47913         [!_LIBC] Call gl_rwlock_init.
47914         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47916 2014-07-02  Roland McGrath  <roland@hack.frob.com>
47918         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47919         before checking its value.
47921 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47923         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47925         * debug/memcpy_chk.c: Don't include pagecopy.h.
47926         * debug/mempcpy_chk.c: Likewise.
47927         * string/memcpy.c: Likewise.
47928         * string/memmove.c: Likewise.
47929         * sysdeps/powerpc/memmove.c: Likewise.
47930         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
47931         definition of PAGE_COPY_FWD_MAYBE here...
47932         * sysdeps/generic/pagecopy.h: ... from here.
47933         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47935 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47936             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47938         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47939         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47940         optimizations.
47941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47942         (__libc_ifunc_impl_list): Likewise.
47943         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47944         multiarch strcat for PPC64.
47945         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47946         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47948 2014-07-02  Roland McGrath  <roland@hack.frob.com>
47950         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47952 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47954         * intl/loadmsgcat.c: Remove declaration of
47955         get_sysdep_segment_value.
47956         (get_sysdep_segment_value): Use ISO C style.
47957         (_nl_load_domain): Use ISO C style.  Get rid of redundant
47958         semicolon.  Fix typo and formatting in comment.
47959         (_nl_unload_domain): Use ISO C style.
47961         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
47963 2014-07-02  Will Newton  <will.newton@linaro.org>
47965         * malloc/obstack.c: Merge from gnulib master.
47966         [HAVE_CONFIG_H]: Remove conditional code.
47967         [!_LIBC]: Include config.h.
47968         [!ELIDE_CODE]: Don't include inttypes.h, include
47969         stdint.h unconditionally.
47970         (print_and_abort): Mark as _Noreturn.
47971         (_obstack_allocated_p): Mark as __attribute_pure__.
47972         (obstack_free): Rename to __obstack_free.
47973         [!__attribute__]: Remove conditional code.
47974         * malloc/obstack.h: Merge from gnulib master.
47975         [__cplusplus]: Move conditional down.
47976         [!__attribute_pure__]: Define __attribute_pure__ here
47977         if it is not already defined.
47978         (_obstack_memory_used): Mark as __attribute_pure__.
47979         [!__obstack_free]: Define as obstack_free.
47980         [__GNUC__]: Remove check for ancient NeXT gcc.
47982 2014-07-02  Will Newton  <will.newton@linaro.org>
47983             Paul Eggert  <eggert@cs.ucla.edu>
47985         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
47987 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47989         * resolv/gethnamaddr.c: Add comment warning that the file is
47990         not maintained.
47992 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
47994         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
47995         entries.
47997         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
47998         entry for aio_cancel and aio_cancel64.
47999         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
48000         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
48001         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
48002         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
48003         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
48004         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
48005         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
48006         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
48007         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
48008         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
48009         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
48010         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
48011         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
48013 2014-07-01  Roland McGrath  <roland@hack.frob.com>
48015         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
48016         * nptl/pthread_mutex_lock.c: Likewise.
48017         * nptl/pthread_mutex_timedlock.c: Likewise.
48018         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
48020 2014-07-01  Richard henderson  <rth@redhat.com>
48022         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
48023         (__isnan, __isnanl): Remove.
48024         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
48026         * sysdeps/alpha/fpu/libm-test-ulps: Update.
48028 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
48030         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48032 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
48034         * resolv/nss_dns/dns-host.c (getanswer_r)
48035         [MULTI_PTRS_ARE_ALIASES]: Remove code.
48037 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
48039         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48040         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
48041         undefine.
48042         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
48043         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
48045 2014-07-01  Roland McGrath <roland@hack.frob.com>
48047         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
48048         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
48050         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
48051         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
48053         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
48054         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
48055         ... here.
48056         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
48057         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
48059         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
48060         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
48061         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
48062         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
48064         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
48065         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
48066         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
48067         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
48068         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
48069         Moved ...
48070         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
48071         ... here.
48072         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
48073         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
48074         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
48075         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
48076         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
48077         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
48078         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
48079         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
48080         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
48081         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
48082         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
48083         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48084         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
48085         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
48086         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
48087         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
48088         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
48089         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
48090         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
48091         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
48092         ... here.
48093         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
48094         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
48095         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
48096         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
48097         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
48098         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
48099         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
48100         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
48102 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
48104         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
48105         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
48106         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
48107         Add sysdep.
48109 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48113 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48115         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
48116         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48118         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48120         * sysdeps/arm/libm-test-ulps: Regenerated.
48122 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48123             Roland McGrath <roland@hack.frob.com>
48125         * test-skeleton.c (signal_handler): Kill the whole process group
48126         before killing the child individually.
48127         (main): Report any failure on `setpgid'.
48129 2014-06-30  Roland McGrath  <roland@hack.frob.com>
48131         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48132         from _TLS_H to _ARM_NPTL_TLS_H.
48133         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48134         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48136 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48138         [BZ #16539]
48139         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48140         (__expm1l): Return argument unchanged when small but not
48141         subnormal.
48143         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48144         include macro name.
48145         (_FP_UNPACK_RAW_1_P): Likewise.
48146         (_FP_PACK_RAW_1): Likewise.
48147         (_FP_PACK_RAW_1_P): Likewise.
48148         (_FP_MUL_MEAT_1_wide): Likewise.
48149         (_FP_MUL_MEAT_DW_1_hard): Likewise.
48150         (_FP_MUL_MEAT_1_hard): Likewise.
48151         (_FP_DIV_MEAT_1_imm): Likewise.
48152         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48153         (_FP_DIV_MEAT_1_udiv): Likewise.
48154         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48155         (_FP_UNPACK_RAW_2): Likewise.
48156         (_FP_UNPACK_RAW_2_P): Likewise.
48157         (_FP_PACK_RAW_2): Likewise.
48158         (_FP_PACK_RAW_2_P): Likewise.
48159         (_FP_MUL_MEAT_DW_2_wide): Likewise.
48160         (_FP_MUL_MEAT_2_wide): Likewise.
48161         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48162         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48163         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48164         (_FP_MUL_MEAT_2_gmp): Likewise.
48165         (_FP_DIV_MEAT_2_udiv): Likewise.
48166         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48167         (_FP_FRAC_SRL_4): Likewise.
48168         (_FP_FRAC_SRST_4): Likewise.
48169         (_FP_FRAC_SRS_4): Likewise.
48170         (_FP_UNPACK_RAW_4): Likewise.
48171         (_FP_UNPACK_RAW_4_P): Likewise.
48172         (_FP_PACK_RAW_4): Likewise.
48173         (_FP_PACK_RAW_4_P): Likewise.
48174         (_FP_MUL_MEAT_DW_4_wide): Likewise.
48175         (_FP_MUL_MEAT_4_wide): Likewise.
48176         (_FP_MUL_MEAT_4_gmp): Likewise.
48177         (umul_ppppmnnn): Likewise.
48178         (_FP_DIV_MEAT_4_udiv): Likewise.
48179         (__FP_FRAC_ADD_4): Likewise.
48180         (__FP_FRAC_SUB_3): Likewise.
48181         (__FP_FRAC_SUB_4): Likewise.
48182         (__FP_FRAC_DEC_3): Likewise.
48183         (__FP_FRAC_DEC_4): Likewise.
48184         (__FP_FRAC_ADDI_4): Likewise.
48185         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48186         (_FP_FRAC_SRL_8): Likewise.
48187         (_FP_FRAC_SRS_8): Likewise.
48189         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48190         include macro name.
48191         (FP_UNPACK_RAW_EP): Likewise.
48192         (FP_PACK_RAW_E): Likewise.
48193         (FP_PACK_RAW_EP): Likewise.
48194         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48195         (_FP_ISSIGNAN): Likewise.
48196         (_FP_ADD_INTERNAL): Likewise.
48197         (_FP_FMA): Likewise.
48198         (_FP_CMP): Likewise.
48199         (_FP_SQRT): Likewise.
48200         (_FP_TO_INT): Likewise.
48201         (_FP_FROM_INT): Likewise.
48202         (FP_EXTEND): Likewise.
48203         (_FP_DIV_MEAT_N_loop): Likewise.
48205 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48207         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48208         throughout.
48210 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
48212         [BZ #17097]
48213         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48214         result with correct sign in case of exponents that produce
48215         overflow except for X very close to 1.
48217 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
48219         mktime: merge #if/#ifdef usage from glibc
48220         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48221         as that works with both Glibc's and Gnulib's style.
48222         See thread starting at Siddhesh Poyarekar's bug report at:
48223         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48225 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48227         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48228         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48229         * sysdeps/tile/tilegx/memmove.c: Remove file.
48231 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48233         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48234         abi-name definition.
48235         * scripts/soversions.awk: Do not handle or generate ABI lines.
48236         * shlib-versions: Remove ABI entries.
48237         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48238         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48240 2014-06-27  Roland McGrath  <roland@hack.frob.com>
48242         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48243         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48244         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48245         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48246         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48247         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48249         Moved ...
48250         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48251         ... here.
48252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48253         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48255         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48256         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48257         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48258         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48259         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48261         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48263         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48265         Moved ...
48266         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48267         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48268         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48270         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48271         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48272         Moved ...
48273         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48274         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48275         Moved ...
48276         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48277         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48278         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48280         Moved ...
48281         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48282         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48283         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48285         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48286         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48287         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48289         Moved ...
48290         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48291         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48292         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48293         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48294         Moved ...
48295         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48296         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48297         Moved ...
48298         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48299         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48300         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48301         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48302         Moved ...
48303         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48304         ... here.
48305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48306         Identical file removed.
48307         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48308         Moved ...
48309         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48310         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48311         Identical file removed.
48312         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48313         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48314         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48315         Moved ...
48316         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48317         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48318         Identical file removed.
48319         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48320         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48321         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48322         Identical file removed.
48323         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48324         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48325         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48326         Identical file removed.
48327         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48328         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48329         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48330         Identical file removed.
48331         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48332         Moved ...
48333         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48334         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48335         Identical file removed.
48336         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48337         Moved ...
48338         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48339         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48340         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48341         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48342         Identical file removed.
48343         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48344         Moved ...
48345         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48346         ... here.
48347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48348         Identical file removed.
48349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48350         Moved ...
48351         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48352         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48353         Identical file removed.
48354         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48355         Moved ...
48356         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48357         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48358         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48359         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48360         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48361         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48362         Moved ...
48363         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48364         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48365         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48367         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48368         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48369         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48370         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48371         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48373 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
48375         [BZ #17092]
48376         * nscd/nscd.c (monitor_child): Return exit status of child
48377         instead of return value from wait syscall.
48379 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48381         * configure.ac (libc_commonpagesize): Remove variable.
48382         (libc_relro_required): Likewise.
48383         (libc_cv_z_relro): Remove configure test.
48384         * configure: Regenerated.
48385         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48386         variable.
48387         (libc_relro_required): Likewise.
48388         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48389         (libc_relro_required): Likewise.
48390         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48391         (libc_relro_required): Likewise.
48392         * sysdeps/arm/preconfigure: Regenerated.
48393         * sysdeps/ia64/preconfigure: Remove file.
48394         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48395         variable.
48396         (libc_relro_required): Likewise.
48398         [BZ #16561]
48399         [BZ #16562]
48400         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48401         (__ieee754_yn): Set FE_TONEAREST mode internally and then
48402         recompute overflowing results in original rounding mode.
48403         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48404         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48405         recompute overflowing results in original rounding mode.
48406         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48407         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48408         recompute overflowing results in original rounding mode.
48409         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48410         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48411         recompute overflowing results in original rounding mode.
48412         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48413         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48414         recompute overflowing results in original rounding mode.
48415         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48416         (libc_feholdsetround_ctx): New macro.
48417         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48418         * sysdeps/i386/fpu/libm-test-ulps: Update.
48419         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48421 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48423         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48424         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48425         corresponding .cpsetup call.
48427 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48429         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48430         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48431         * sysdeps/arm/Makefile [$(subdir) = csu]
48432         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48433         (static-only-routines): Add aeabi_read_tp here.
48434         (shared-only-routines): Add libc-aeabi_read_tp here.
48435         (CFLAGS-libc-start.c): Add -fexceptions here.
48436         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48437         (sysdep_routines, static-only-routines, shared-only-routines):
48438         Don't add to these here.
48439         (CFLAGS-libc-start.c): Likewise.
48441         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48442         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48443         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48444         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48445         * sysdeps/arm/Makefile [$(subdir) = rt]
48446         (librt-sysdep_routines, librt-shared-only-routines):
48447         Append rt-aeabi_unwind_cpp_pr1 here.
48448         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48449         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48450         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48451         (libpthread-sysdep_routines, libpthread-shared-only-routines):
48452         Append nptl-aeabi_unwind_cpp_pr1 here.
48453         (tests): Filter out tst-cleanupx4 here.
48454         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48455         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48456         Don't do those here.
48458 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48460         * scripts/list-sources.sh: Do not handle ports specially.
48462 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48464         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48465         * sysdeps/arm/feupdateenv.c: Likewise.
48467         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48469 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48471         * manual/texinfo.tex: Update to version 2014-05-05.10 with
48472         trailing whitespace removed.
48473         * scripts/config.guess: Update to version 2014-03-23.
48474         * scripts/config.sub: Update to version 2014-05-01
48475         * scripts/install-sh: Update to version 2013-12-25.23.
48476         * scripts/move-if-change: Update from gnulib.
48478 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48480         * debug/memmove_chk.c: Remove pagecopy.h include.
48482 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
48484         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
48485         identical to gnulib mktime.
48487 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48489         * configure.ac: Do not test for machine being rs6000.  Do not test
48490         for powerpc*-*soft.
48491         * configure: Regenerated.
48493         [BZ #11505]
48494         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48495         test.
48496         * configure: Regenerated.
48497         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48498         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48499         Remove configure test.
48500         * sysdeps/arm/configure: Regenerated.
48501         * sysdeps/nptl/configure.ac: Do not check
48502         libc_cv_asm_cfi_directives.
48503         * sysdeps/nptl/configure: Regenerated.
48504         * sysdeps/x86_64/nptl/configure.ac: Remove file.
48505         * sysdeps/x86_64/nptl/configure: Remove generated file.
48506         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48507         unconditional.
48508         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48510 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48512         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48513         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48514         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48515         it is defined.
48517         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48518         instead of whether it is defined.
48519         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48520         * sysdeps/hppa/dl-machine.h: Likewise.
48521         * sysdeps/ia64/dl-machine.h: Likewise.
48522         * sysdeps/m68k/dl-machine.h: Likewise.
48523         * sysdeps/microblaze/dl-machine.h: Likewise.
48524         * sysdeps/mips/dl-machine.: Likewise.
48525         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48526         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48527         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48528         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48529         * sysdeps/sh/dl-machine.h: Likewise.
48530         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48531         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48532         * sysdeps/tile/dl-machine.h: Likewise.
48533         * sysdeps/x86_64/dl-machine.h: Likewise.
48535         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48536         code.
48537         (verify_persistent_db): Likewise.
48539 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48542         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48544         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48546         Moved ...
48547         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48548         ... here.
48549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48550         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48552         Identical file removed.
48553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48554         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48556         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48558         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48560         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48562         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48564         Moved ...
48565         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48567         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48569         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48571         Moved ...
48572         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48574         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48576         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48578         Identical file removed.
48579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48580         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48582         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48584         Moved ...
48585         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48586         ... here.
48587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48588         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48590         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48592         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48594         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48596         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48598         Moved ...
48599         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48601         Moved ...
48602         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48604         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48606         Moved ...
48607         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48609         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48611         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48612         folded into ...
48613         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48614         * sysdeps/unix/sysv/linux/s390/Versions
48615         (libpthread: GLIBC_2.19): New version set.
48616         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48617         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48618         (librt: GLIBC_2.3.3): New version set.
48619         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48620         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48621         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48622         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48623         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48624         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48625         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48626         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48627         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48628         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48629         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48630         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48631         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48632         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48633         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48634         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48635         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48636         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48637         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48638         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48639         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48640         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48641         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48642         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48643         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48644         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48645         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48646         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48647         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48648         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48649         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48650         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48652         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48653         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48655         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48656         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48657         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48658         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48659         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48660         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48661         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48662         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48663         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48665         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48666         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48667         (__libc_vfork): Define the function under this name.
48668         [!NOT_IN_libc] (__vfork): Make this an alias.
48669         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48670         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48671         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48672         (__libc_vfork): Define the function under this name.
48673         [!NOT_IN_libc] (__vfork): Make this an alias.
48674         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48675         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48676         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48677         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48678         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48679         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48681         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48682         code that was previously under [RESET_PID].
48683         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48684         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48685         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48687         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48688         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48689         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48690         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48691         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48692         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48693         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48694         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48695         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48696         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48697         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48698         Moved ...
48699         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48700         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48701         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48702         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48703         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48704         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48705         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48706         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48707         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48708         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48709         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48710         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48711         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48712         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48713         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48714         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48715         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48716         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48717         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48718         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48719         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48720         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48721         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48722         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48723         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48724         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48725         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48726         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48727         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48729 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48731         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48732         that was previously under [RESET_PID].
48733         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48735 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48737         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48738         not undefine and redefine.
48739         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48740         [O_CLOEXEC]: Make code unconditional.
48741         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48742         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48743         <kernel-features.h>.
48744         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48745         conditional variable definition.
48746         (shm_open) [O_CLOEXEC]: Make code unconditional.
48747         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48748         code.
48750         * configure.ac (USE_REGPARMS): Don't define here.
48751         * configure: Regenerated.
48752         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48753         * sysdeps/i386/configure: Regenerated.
48755         * nptl/createthread.c: Don't include kernel-features.h.
48756         * nptl/pthread_cancel.c: Likewise.
48757         * nptl/pthread_condattr_setclock.c: Likewise.
48758         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48759         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48760         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48761         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48762         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48763         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48764         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48765         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48766         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48767         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48768         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48769         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48770         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48771         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48772         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48773         * nscd/gai.c: Likewise.
48774         * nss/nss_db/db-open.c: Likewise.
48775         * sysdeps/generic/ldsodefs.h: Likewise.
48776         * sysdeps/sh/nptl/tls.h: Likewise.
48777         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48778         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48779         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48780         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48781         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48782         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48783         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48784         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48785         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48786         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48787         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48788         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48789         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48790         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48791         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48792         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48793         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48794         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48795         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48796         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48797         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48798         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48799         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48800         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48801         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48802         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48803         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48804         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48805         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48806         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48807         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48808         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48809         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48810         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48811         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48812         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48813         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48814         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48815         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48816         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48817         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48818         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48819         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48820         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48821         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48822         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48823         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48824         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48825         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48826         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48827         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48828         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48829         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48830         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48831         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48832         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48833         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48834         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48857         * sysdeps/unix/sysv/linux/pread.c: Likewise.
48858         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48859         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48860         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48861         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48862         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48863         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48864         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48865         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48866         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48867         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48868         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48869         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48870         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48871         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48872         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48873         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48874         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48875         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48876         * sysdeps/unix/sysv/linux/system.c: Likewise.
48877         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48878         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48879         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48880         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48881         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48882         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48883         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48885         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48886         * configure: Regenerated.
48887         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48889         * configure.ac (base_machine): Do not set specially for particular
48890         machines here.
48891         * configure: Regenerated.
48892         * sysdeps/powerpc/preconfigure: Move machine and base_machine
48893         settings from configure.ac.
48894         * sysdeps/i386/preconfigure: New file.
48895         * sysdeps/s390/preconfigure: Likewise.
48896         * sysdeps/sh/preconfigure: Likewise.
48897         * sysdeps/sparc/preconfigure: Likewise.
48899 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48901         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48902         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48903         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48904         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48905         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48906         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48907         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48908         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48909         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48910         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48911         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48912         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48913         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48914         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48915         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48916         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48917         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48918         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48919         * sysdeps/sparc/sparc64/Makefile: ... appended here.
48921         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48922         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48923         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48924         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48925         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48926         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48927         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48928         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48929         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48930         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48931         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48932         * sysdeps/sparc/sparc32/sem_post.c: ... here.
48933         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48934         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48935         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48936         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48937         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48938         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48939         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48940         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48941         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48942         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48943         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48944         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48945         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48946         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48947         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48948         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48949         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48950         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48951         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48952         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48953         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48954         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48955         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48956         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48957         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
48958         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
48960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
48961         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
48962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
48963         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
48964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48965         Moved ...
48966         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
48967         ... here.
48968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
48969         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
48970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
48971         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
48972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
48973         Moved ...
48974         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
48975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
48976         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
48977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
48978         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
48979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
48980         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
48981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48982         Moved ...
48983         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
48984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48985         Moved ...
48986         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
48987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
48988         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
48989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48990         Moved ...
48991         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
48992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
48993         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
48994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
48995         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
48996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
48997         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
48998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
48999         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
49000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49001         Moved ...
49002         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
49003         ... here.
49004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
49005         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
49006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
49007         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
49008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
49009         Moved ...
49010         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
49011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
49012         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
49013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
49014         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
49015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
49016         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
49017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49018         Moved ...
49019         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
49020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49021         Moved ...
49022         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
49023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
49024         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
49025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49026         Moved ...
49027         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
49028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
49029         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
49030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
49031         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
49033 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49035         * timezone/checktab.awk: Update from tzcode 2014e.
49036         * timezone/private.h: Likewise.
49037         * timezone/tzfile.h: Likewise.
49038         * timezone/zdump.c: Likewise.
49039         * timezone/zic.c: Likewise.
49041         * sysdeps/unix/sysv/linux/kernel-features.h
49042         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
49043         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
49044         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
49045         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49046         Remove conditional code.
49048 2014-06-25  Will Newton  <will.newton@linaro.org>
49050         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
49051         (_dl_arm_cap_flags): Add HWCAP2 values.
49052         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
49053         (_DL_HWCAP_COUNT): Increase to 37.
49054         (_DL_HWCAP_LAST): New define.
49055         (_DL_HWCAP2_LAST): New define.
49056         (_dl_procinfo): Add support for printing
49057         AT_HWCAP2 entries.
49058         (_dl_string_hwcap): Use _dl_hwcap_string.
49060 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49064 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49066         * README: Do not mention ports directory.
49068         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
49069         Remove macro.
49070         * sysdeps/unix/sysv/linux/futimes.c: Do not include
49071         <kernel-features.h>.
49072         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
49073         conditional variable definition.
49074         (__futimes): Update comment.
49075         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
49076         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
49078         [BZ #16560]
49079         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
49080         arguments close to 0.
49081         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
49082         Likewise.
49083         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
49084         Likewise.
49085         * math/auto-libm-test-in: Add more tests of exp10.
49086         * math/auto-libm-test-out: Regenerated.
49087         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49089         * sysdeps/unix/sysv/linux/kernel-features.h
49090         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
49091         * sysdeps/unix/sysv/linux/readv.c: Do not include
49092         <kernel-features.h>.
49093         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49094         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49095         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49096         unconditional.
49097         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49098         conditional code.
49099         * sysdeps/unix/sysv/linux/writev.c: Do not include
49100         <kernel-features.h>.
49101         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49102         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49103         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49104         unconditional.
49105         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49106         conditional code.
49108 2014-06-25  Will Newton  <will.newton@linaro.org>
49110         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
49111         comment changes throughout the file.  Remove checks
49112         for HAVE_*_H definitions that are not required.
49113         (__gen_tempname): Call abort if an unknown kind value is
49114         passed.
49116 2014-06-25  Andreas Schwab  <schwab@suse.de>
49118         [BZ #17086]
49119         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49120         scalbln, scalblnf, scalblnl in libc.
49122 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49124         [BZ #17086]
49125         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49126         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49127         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49129 2014-06-24  Roland McGrath  <roland@hack.frob.com>
49131         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49132         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49133         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49134         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49135         Update #include.
49136         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49137         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49138         Update #include.
49139         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49140         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49141         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49142         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49143         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49144         * sysdeps/x86/bits/pthreadtypes.h: ... here.
49145         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49146         * sysdeps/x86/bits/semaphore.h: ... here.
49147         * sysdeps/x86/nptl/elide.h: Moved ...
49148         * sysdeps/x86/elide.h: ... here.
49149         * sysdeps/x86_64/nptl/Implies: File removed.
49150         * sysdeps/i386/nptl/Implies: File removed.
49152 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
49154         [BZ #16539]
49155         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49156         return the argument for normal arguments with exponent below -64.
49157         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49158         Likewise.
49159         * math/auto-libm-test-in: Add another test of expm1.
49160         * math/auto-libm-test-out: Regenerated.
49162         [BZ #16287]
49163         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49164         calling __erfcl for arguments at least 16.
49165         * math/auto-libm-test-in: Add more tests of erf.
49166         * math/auto-libm-test-out: Regenerated.
49168         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49169         individual architectures.
49170         * sysdeps/unix/sysv/linux/configure: Regenerated.
49171         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49172         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49173         * sysdeps/unix/sysv/linux/powerpc/configure.ac
49174         (ldd_rewrite_script): Define variable.
49175         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49177         file.
49178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49179         generated file.
49180         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49181         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49182         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49183         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49184         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49185         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49186         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49187         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49189 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49191         [BZ #17084]
49192         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49193         Rename member __data.d to __data.__elision_data.
49195 2014-06-24  Wilco  <wdijkstr@arm.com>
49197         * NEWS: Add 16918 to fixed bug list.
49199 2014-06-24  Wilco  <wdijkstr@arm.com>
49201         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49203 2014-06-24  Wilco  <wdijkstr@arm.com>
49205         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49206         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49207         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49208         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49209         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49210         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49211         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49212         Use _FPU_MASK_RM.
49214 2014-06-24  Wilco  <wdijkstr@arm.com>
49216         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49218 2014-06-24  Wilco  <wdijkstr@arm.com>
49220         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49221         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49222         * sysdeps/arm/fesetround.c (fesetround): Remove space.
49223         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49225 2014-06-24  Wilco  <wdijkstr@arm.com>
49227         [BZ #16918]
49228         * sysdeps/arm/feupdateenv.c (feupdateenv):
49229         Rewrite to reduce FPSCR accesses and fix return value.
49231 2014-06-24  Wilco  <wdijkstr@arm.com>
49233         * sysdeps/arm/fclrexcpt.c (feclearexcept):
49234         Optimize to avoid unnecessary FPSCR writes.
49235         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49236         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49237         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49238         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49240 2014-06-24  Wilco  <wdijkstr@arm.com>
49242         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49243         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49244         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49245         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49246         Call libc_fetestexcept_vfp.
49247         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49248         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49249         __SOFTFP__ ifdef so that they can be built for softfp.
49251 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49253         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49254         argument type signed char.
49256         * Makerules (check-abi): Dump diff of symlist if the test
49257         fails.
49259 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49261         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49262         using abort.
49264         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49265         Remove unused variable ST.
49267 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49269         [BZ #16354]
49270         [BZ #17061]
49271         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49272         small arguments before calling __expm1.
49273         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49274         small arguments before calling __expm1f.
49275         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49276         small arguments before calling __expm1l.
49277         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49278         Likewise.
49279         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49280         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
49281         spurious underflow for some cosh tests.
49282         * math/auto-libm-test-out: Regenerated.
49283         * sysdeps/i386/fpu/libm-test-ulps: Update.
49285         [BZ #17050]
49286         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49287         (__ieee754_y1): Set errno if return value overflows.
49288         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49289         (__ieee754_y1f): Set errno if return value overflows.
49290         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49291         (__ieee754_y1l): Set errno if return value overflows.
49292         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49293         (__ieee754_y1l): Set errno if return value overflows.
49294         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49295         * math/auto-libm-test-out: Regenerated.
49297         * math/gen-auto-libm-tests.c: Document use of
49298         ignore-zero-inf-sign.
49299         (input_flag_type): Add value flag_ignore_zero_inf_sign.
49300         (input_flags): Add ignore-zero-inf-sign.
49301         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49302         * math/gen-libm-test.pl (generate_testfile): Handle
49303         ignore-zero-inf-sign.
49304         * math/auto-libm-test-in: Mark some cpow tests with
49305         ignore-zero-inf-sign and some with xfail-rounding.
49306         * math/auto-libm-test-out: Regenerated.
49307         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49308         * sysdeps/i386/fpu/libm-test-ulps: Update.
49309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49311         [BZ #16315]
49312         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49313         overflowing or underflowing operations take place with sign of
49314         result.
49315         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49316         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49317         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49318         (__ieee754_pow): Recompute overflowing and underflowing results in
49319         original rounding mode.
49320         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49321         (__powl_helper): Allow negative argument X and scale negated value
49322         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
49323         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49324         overflowing or underflowing operations take place with sign of
49325         result.
49326         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49327         Include <math.h>.
49328         * math/auto-libm-test-in: Add more tests of pow.
49329         * math/auto-libm-test-out: Regenerated.
49330         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49331         (pow_tonearest_test_data): Remove.
49332         (pow_test_tonearest): Likewise.
49333         (pow_towardzero_test_data): Likewise.
49334         (pow_test_towardzero): Likewise.
49335         (pow_downward_test_data): Likewise.
49336         (pow_test_downward): Likewise.
49337         (pow_upward_test_data): Likewise.
49338         (pow_test_upward): Likewise.
49339         (main): Don't call removed functions.
49340         * sysdeps/i386/fpu/libm-test-ulps: Update.
49341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49343 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49346         Moved ...
49347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49349         Moved ...
49350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49352         Moved ...
49353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49355         Moved ...
49356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49358         File removed.
49359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49360         File removed.
49361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49362         File removed.
49363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49364         File removed.
49365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49366         File removed.
49367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49368         File removed.
49369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49370         File removed.
49371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49372         File removed.
49373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49374         File removed.
49375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49376         File removed.
49377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49378         File removed.
49379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49380         File removed.
49381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49382         Moved ...
49383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49385         Moved ...
49386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49387         ... here.
49388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49389         Moved ...
49390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49392         Moved ...
49393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49395         Moved ...
49396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49398         Moved ...
49399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49401         Moved ...
49402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49404         Moved ...
49405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49407         Moved ...
49408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49411         ... here.
49412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49413         Moved ...
49414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49416         Moved ...
49417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49418         ... here.
49419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49420         Moved ...
49421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49422         ... here.
49423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49424         Moved ...
49425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49426         ... here.
49427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49428         Moved ...
49429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49431         Moved ...
49432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49436         Moved ...
49437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49438         ... here.
49439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49440         Moved ...
49441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49442         ... here.
49443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49444         Moved ...
49445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49447         Moved ...
49448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49450         Moved ...
49451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49453         Moved ...
49454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49456         Moved ...
49457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49458         ... here.
49459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49460         Moved ...
49461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49463         Moved ...
49464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49466         Moved ...
49467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49469         Moved ...
49470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49474         Moved ...
49475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49477         Moved ...
49478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49480         Moved ...
49481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49482         ... here.
49483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49484         Moved ...
49485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49486         ... here.
49487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49488         Moved ...
49489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49490         ... here.
49491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49492         Moved ...
49493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49495         Moved ...
49496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49498         Moved ...
49499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49501         Moved ...
49502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49503         ... here.
49504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49505         Moved ...
49506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49507         ... here.
49508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49509         Moved ...
49510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49511         ... here.
49512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49513         Moved ...
49514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49516         Moved ...
49517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49519 2014-06-23  Will Newton  <will.newton@linaro.org>
49520             Wilco  <wdijkstr@arm.com>
49522         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49523         implementation.  Include get-rounding-mode.h.
49524         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49525         [!libc_feholdsetround_noex_ctx]: Define
49526         libc_feholdsetround_noex_ctx.
49527         [!libc_feholdsetround_noexf_ctx]: Define
49528         libc_feholdsetround_noexf_ctx.
49529         [!libc_feholdsetround_noexl_ctx]: Define
49530         libc_feholdsetround_noexl_ctx.
49531         (libc_feholdsetround_ctx): New function.
49532         (libc_feresetround_ctx): New function.
49533         (libc_feholdsetround_noex_ctx): New function.
49534         (libc_feresetround_noex_ctx): New function.
49536 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49538         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49539         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49540         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49541         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49542         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49543         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49545         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49546         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49547         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49548         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49549         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49550         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49551         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49552         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49553         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49554         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49555         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49556         Moved ...
49557         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49558         ... here.
49559         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49560         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49561         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49562         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49563         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49564         Moved ...
49565         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49566         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49567         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49568         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49569         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49570         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49571         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49572         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49573         Moved ...
49574         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49575         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49576         Moved ...
49577         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49578         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49579         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49580         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49581         Moved ...
49582         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49583         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49584         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49585         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49586         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49587         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49588         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49589         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49590         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49591         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49592         Moved ...
49593         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49594         ... here.
49595         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49596         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49597         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49598         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49599         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49600         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49601         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49602         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49603         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49604         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49605         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49606         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49607         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49608         Moved ...
49609         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49610         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49611         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49612         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49613         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49614         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49615         Moved ...
49616         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49617         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49618         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49619         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49620         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49622         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49623         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49624         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49625         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49626         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49627         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49628         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49629         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49630         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49631         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49632         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49633         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49634         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49635         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49636         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49637         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49638         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49639         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49640         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49641         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49642         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49643         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49644         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49645         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49646         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49647         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49648         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49649         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49651 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49653         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49654         (FALLOC_FL_COLLAPSE_RANGE): New macro.
49655         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49656         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49657         (IPV6_PMTUDISC_INTERFACE): Likewise.
49658         (IPV6_PMTUDISC_OMIT): Likewise.
49660 2014-06-23  Andreas Schwab  <schwab@suse.de>
49662         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49663         Remove unused errout label.
49665 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49667         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49668         macro: hardware supports Vector Crypto instructions.
49670 2014-06-23  Will Newton  <will.newton@linaro.org>
49672         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49673         rather than __builtin_expect.
49675         * elf/dl-lookup.c (undefined_msg): Remove variable.
49676         (_dl_lookup_symbol_x): Replace undefined_msg with string
49677         literal.
49679         * elf/dl-lookup.c (do_lookup_unique): New function.
49680         (do_lookup_x): Move STB_GNU_UNIQUE handling code
49681         to a separate function.
49683 2014-06-23  Andreas Schwab  <schwab@suse.de>
49685         [BZ #17079]
49686         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49687         before reading the next line.
49689 2014-06-23  Will Newton  <will.newton@linaro.org>
49691         * test-skeleton.c (signal_handler): Use printf and %m
49692         rather than perror.  Use printf rather than fprintf to
49693         stderr.  Use puts rather than fputs to stderr.
49694         (main): Likewise.
49696 2014-06-22  Ludovic CourtĂšs  <ludo@gnu.org>
49698         * nscd/nscd.c (thread_info_t): Remove typedef.
49699         (thread_info): Remove variable.
49701 2014-06-21  Allan McRae  <allan@archlinux.org>
49703         * NEWS: Mention CVE-2014-4043.
49705 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49707         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49708         * nptl/smp.h: ... here.
49710         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49712         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49713         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49714         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49715         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49717         * nptl/allocatestack.c: Include <stack-aliasing.h>.
49718         * nptl/stack-aliasing.h: New file.
49719         * sysdeps/i386/i686/stack-aliasing.h: New file.
49720         * sysdeps/i386/i686/nptl/Makefile: File removed.
49721         * sysdeps/x86_64/stack-aliasing.h: New file.
49722         * sysdeps/x86_64/nptl/Makefile
49723         (CFLAGS-pthread_create.c): Variable removed.
49725         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49726         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49727         old file.
49728         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49729         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49730         old file.
49732 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
49734         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49735         (__ASSUME_SIGFRAME_V2): Remove macro.
49736         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49737         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49738         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49739         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49740         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49741         Declare as function.  Remove conditional macro definitions.
49742         (__default_rt_sa_restorer): Likewise.
49743         (__default_sa_restorer_v1): Remove declaration.
49744         (__default_sa_restorer_v2): Likewise.
49745         (__default_rt_sa_restorer_v1): Likewise.
49746         (__default_rt_sa_restorer_v2): Likewise.
49747         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49748         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49749         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49751 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49753         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49754         (libpthread-routines): Add sysdep.
49755         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49756         * sysdeps/unix/sysv/linux/sparc/Versions
49757         (libpthread: GLIBC_2.3.3): New version set.
49758         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49759         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49760         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49761         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49762         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
49763         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49764         Moved ...
49765         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49766         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49767         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49768         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49769         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49770         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49771         * sysdeps/sparc/nptl/sem_init.c: ... here.
49772         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49773         * sysdeps/sparc/nptl/sem_post.c: ... here.
49774         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49775         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49776         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49777         * sysdeps/sparc/nptl/sem_wait.c: ... here.
49778         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49779         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49780         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49781         (libpthread-routines): Add cpu_relax.
49782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49783         File removed.
49784         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49785         (librt: GLIBC_2.3.3): New version set.
49786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49787         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49788         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49789         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49792         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49794         Moved ...
49795         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49797         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49799         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49801         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49803         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49805         Moved ...
49806         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49807         Update #include.
49808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49809         Moved ...
49810         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49811         Update #include.
49812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49813         Moved ...
49814         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49815         Update #include.
49816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49817         Moved ...
49818         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49819         Update #include.
49820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49821         Moved ...
49822         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49823         Update #include.
49824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49825         Moved ...
49826         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49827         Update #include.
49828         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49829         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49831         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49833         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49835         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49837         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49839         Moved ...
49840         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49842         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49844         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49846 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49848         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49849         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49850         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49851         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49852         * nscd/nscd.c: Likewise.
49853         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49854         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49855         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49856         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49858         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49859         <kernel-features.h>.
49860         (init_mq_netlink): Remove conditional have_sock_cloexec
49861         definitions.  Remove code conditional on have_sock_cloexec < 0.
49862         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49863         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49864         * sysdeps/unix/sysv/linux/opensock.c: Do not include
49865         <kernel-features.h>.
49866         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49867         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49869 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
49871         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49872         Add tests for memset_chk and memset.
49874         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49875         with AVX2_Usable.
49877 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49879         [BZ #16046]
49880         * elf/tst-dl-iter-static.c: New file.
49881         * elf/Makefile (tests-static): Add tst-dl-iter-static.
49883         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49884         error.
49886 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49888         * sysdeps/unix/sysv/linux/kernel-features.h
49889         (__ASSUME_F_GETOWN_EX): Remove macro.
49890         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49891         <kernel-features.h>.
49892         (miss_F_GETOWN_EX): Remove variable or macro.
49893         (do_fcntl): Do not check miss_F_GETOWN_EX.
49894         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49896         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49897         Remove macro.
49898         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49899         [!__ASSUME_AT_RANDOM]: Remove conditional code.
49900         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49902         * sysdeps/unix/sysv/linux/kernel-features.h
49903         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49904         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49905         [ADJ_OFFSET_SS_READ]: Make code unconditional.
49906         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49908 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49910         [BZ #17075]
49911         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49912         Fix calculation of the symbol's value.
49913         * sysdeps/arm/tst-armtlsdescloc.c: New file.
49914         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49915         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49916         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49917         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49918         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49919         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49920         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49921         (modules-names): Add `tst-armtlsdescmod',
49922         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49923         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49924         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49925         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49926         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49927         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49928         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49929         ($(objpfx)tst-armtlsdescloc): New dependency.
49930         ($(objpfx)tst-armtlsdescextnow): Likewise.
49931         ($(objpfx)tst-armtlsdescextlazy): Likewise.
49932         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49933         TLS scheme support.
49934         * sysdeps/arm/configure: Regenerate.
49936 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49938         * include/fcntl.h (__atfct_seterrno): Remove prototype.
49939         (__atfct_seterrno_2): Likewise.
49940         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49941         <kernel-features.h>.
49942         (__ASSUME_ATFCTS): Do not undefine and redefine.
49943         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49944         (__have_atfcts): Remove conditional definition.
49945         (__fxstatat([__NR_fstatat64]: Make code unconditional.
49946         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49947         unreachable if [__ASSUME_ATFCTS].
49948         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49949         not undefine and redefine.
49950         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49951         <kernel-features.h>.
49952         (faccessat) [__NR_faccessat]: Make code unconditional.
49953         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49954         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49955         <kernel-features.h>.
49956         (fchmodat) [__NR_fchmodat]: Make code unconditional.
49957         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49958         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
49959         <kernel-features.h>.
49960         (fchownat) [__NR_fchownat]: Make code unconditional.
49961         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
49962         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
49963         <kernel-features.h>.
49964         (futimesat) [__NR_futimesat]: Make code unconditional.
49965         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
49966         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49967         <kernel-features.h>.
49968         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49969         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49970         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49971         <kernel-features.h>.
49972         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
49973         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49974         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
49975         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49976         <kernel-features.h>.
49977         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
49978         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49979         * sysdeps/unix/sysv/linux/linkat.c: Do not include
49980         <kernel-features.h>.
49981         (linkat) [__NR_linkat]: Make code unconditional.
49982         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49983         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
49984         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
49985         <kernel-features.h>.
49986         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
49987         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49988         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
49989         <kernel-features.h>.
49990         (mkdirat) [__NR_mkdirat]: Make code unconditional.
49991         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
49992         * sysdeps/unix/sysv/linux/openat.c: Do not include
49993         <kernel-features.h>.
49994         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
49995         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
49996         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
49997         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
49998         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
49999         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
50000         <kernel-features.h>.
50001         (readlinkat) [__NR_readlinkat]: Make code unconditional.
50002         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
50003         result of INLINE_SYSCALL directly, not via int variable.
50004         * sysdeps/unix/sysv/linux/renameat.c: Do not include
50005         <kernel-features.h>.
50006         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
50007         (renameat) [__NR_renameat]: Make code unconditional.
50008         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
50009         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
50010         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
50011         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
50012         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
50013         (__ASSUME_ATFCTS): Do not undefine and redefine.
50014         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
50015         <kernel-features.h>.
50016         (symlinkat) [__NR_symlinkat]: Make code unconditional.
50017         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50018         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
50019         <kernel-features.h>.
50020         (unlinkat) [__NR_unlinkat]: Make code unconditional.
50021         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50022         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
50023         (__ASSUME_ATFCTS): Do not undefine and redefine.
50024         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50025         <kernel-features.h>.
50026         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50027         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50028         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50029         <kernel-features.h>.
50030         (__xmknodat) [__NR_mknodat]: Make code unconditional.
50031         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50033 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
50035         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
50037 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
50039         [BZ #17069]
50040         * posix/regcomp.c (parse_reg_exp): Deallocate partially
50041         constructed tree before returning error.
50042         * posix/bug-regexp36.c: Expand test case.
50044 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
50046         [BZ #6803]
50047         * math/libm-test.inc (scalbln_test_date):
50048         Add errno expectations.
50049         * math/w_scalblnf.c: New File.
50050         Add wrapper which checks for setting errno to ERANGE.
50051         Add weak_alias for corresponding scalbln function.
50052         * math/w_scalbln.c: Likewise.
50053         * math/w_scalblnl.c: Likewise.
50054         * math/Makefile (libm-calls): Add w_scalbln.
50055         * sysdeps/ieee754/flt-32/s_scalblnf.c:
50056         Remove weak_alias for corresponding scalbln function.
50057         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50058         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50059         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50060         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50061         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
50062         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
50063         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
50064         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
50065         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
50066         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
50067         Remove long_double_symbol for scalblnl function in libm, libc.
50068         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
50069         Add wrapper which checks for setting errno to ERANGE.
50070         Add long_double_symbol for scalblnl function in libm, libc.
50071         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
50072         Remove long_double_symbol for scalblnl in libm.
50073         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
50074         Add wrapper which checks for setting errno to ERANGE.
50075         Add long_double_symbol for scalblnl function in libm.
50076         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
50077         Do not use wrapper because of own implementation.
50079 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
50081         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
50082         3 bytes for __pad1 for x32.
50083         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
50085 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
50086             H.J. Lu  <hongjiu.lu@intel.com>
50088         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
50089         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
50090         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50091         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50092         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
50094 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
50096         [BZ #17069]
50097         * posix/regcomp.c (parse_expression): Deallocate partially
50098         constructed tree before returning error.
50099         * posix/Makefile.c (tests): Add bug-regex36.
50100         (generated): Add bug-regex36.mtrace.
50101         (tests-special): Add $(objpfx)bug-regex36-mem.out
50102         (bug-regex36-ENV): New variable.
50103         ($(objpfx)bug-regex36-mem.out): New rule.
50104         * posix/bug-regex36.c: New file.
50106 2014-06-19  Will Newton  <will.newton@linaro.org>
50108         * malloc/malloc.c (systrim): If extra is zero then return
50109         early.
50111 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50113         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
50115 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
50117         * sysdeps/aarch64/strchr.S: New file.
50119 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50121         [BZ #17022]
50122         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50123         from arguments -2 or below.
50124         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50125         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50127 2014-06-18  Andreas Schwab  <schwab@suse.de>
50129         [BZ #17062]
50130         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50131         of a bracket expr not to run off the end of the string.
50132         * posix/Makefile (tests): Add tst-fnmatch3.
50133         * posix/tst-fnmatch3.c: New file.
50135 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50137         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50138         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50139         [$(cross-compiling) = no]: Likewise.
50140         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50141         [$(cross-compiling) = no]: Likewise.
50143 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50145         [BZ #17031]
50146         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50147         double, adjusted for any remainder from the high double.
50148         * math/libm-test.inc (nearbyint): Add tests.
50149         (rint): Likewise.
50151 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50153         * nptl/sysdeps/powerpc/Makefile: Moved ...
50154         * sysdeps/powerpc/nptl/Makefile: ... here.
50155         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50156         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50157         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50158         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50159         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50160         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50161         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50162         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50163         * nptl/sysdeps/powerpc/tls.h: Moved ...
50164         * sysdeps/powerpc/nptl/tls.h: ... here.
50166 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
50168         [BZ #16681]
50169         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50170         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50171         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50172         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50173         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50174         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50175         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50176         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50177         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50179 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
50181         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50183 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
50185         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50186         defined operator.
50188         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50189         $TIMEOUTFACTOR.
50191 2014-06-16  Florian Weimer  <fweimer@redhat.com>
50193         [BZ #17058]
50194         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50195         non-executed part of the test.
50197 2014-06-16  Andreas Schwab  <schwab@suse.de>
50199         * string/bits/string2.h (strdup, strndup): Update feature guard.
50201 2014-06-14  David S. Miller  <davem@davemloft.net>
50203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50205 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
50207         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50208         that was previously under [RESET_PID].
50209         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50211         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50212         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50213         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50214         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50215         (__libc_vfork): New strong alias.
50216         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50218 2014-06-14 Andi Kleen  <ak@linux.intel.com>
50220         * sysdeps/generic/elide.h: New file.
50222 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
50224         * Makefile (installed-headers): Adjust path of pthread.h header.
50226 2014-06-13  Roland McGrath  <roland@hack.frob.com>
50228         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50229         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50230         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50231         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50233         * nptl/sysdeps/s390/Makefile: Moved ...
50234         * sysdeps/s390/nptl/Makefile: ... here.
50235         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50236         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50237         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50238         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50239         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50240         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50241         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50242         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50243         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50244         * sysdeps/s390/nptl/pthreaddef.h: ... here.
50245         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50246         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50247         * nptl/sysdeps/s390/tls.h: Moved ...
50248         * sysdeps/s390/nptl/tls.h: ... here.
50250         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50251         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50253 2014-06-13  David S. Miller  <davem@davemloft.net>
50255         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50257         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50258         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50259         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50260         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50262         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50263         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50264         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50265         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50266         Remove RESET_PID cpp guards.
50267         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50268         Remove RESET_PID cpp guards.
50269         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50271 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
50273         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50274         __sp to uintptr_t.
50276 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50278         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50279         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50280         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50281         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50282         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50283         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50284         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50285         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50286         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50287         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50288         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50289         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50290         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50291         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50292         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50293         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50294         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50295         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50296         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50297         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50299         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50300         (pthread_rwlock_rdlock): Add elision.
50301         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50302         (pthread_rwlock_wrlock): Add elision.
50303         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50304         (pthread_rwlock_trywrlock): Add elision.
50305         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50306         (pthread_rwlock_tryrdlock): Add elision.
50307         * nptl/pthread_rwlock_unlock.c: Include elide.h.
50308         (pthread_rwlock_tryrdlock): Add elision unlock.
50309         * nptl/sysdeps/pthread/pthread.h:
50310         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50311         (PTHREAD_RWLOCK_INITIALIZER,
50312         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50313         Handle new elision field.
50314         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50315         * sysdeps/arm/nptl/bits/pthreadtypes.h
50316         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50317         * sysdeps/sh/nptl/bits/pthreadtypes.h
50318         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50319         * sysdeps/tile/nptl/bits/pthreadtypes.h
50320         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50321         * sysdeps/a/nptl/bits/pthreadtypes.h
50322         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50323         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50324         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50325         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50326         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50327         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50328         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50329         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50330         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50331         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50332         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50333         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50334         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50335         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50336         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50337         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50338         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50339         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50340         (elision_init): Set try_xbegin to zero when no RTM.
50341         * sysdeps/x86/nptl/bits/pthreadtypes.h
50342         (pthread_rwlock_t): Change __pad1 to __rwelision.
50343         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50345 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50347         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50348         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50349         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50350         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50352 2014-06-13  Meador Inge  <meadori@codesourcery.com>
50354         [BZ #16996]
50355         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50356         that the cached result has been set before returning it.
50358 2014-06-12  Roland McGrath  <roland@hack.frob.com>
50360         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50361         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50362         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50363         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50364         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50365         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50367         * nptl/sysdeps/sparc/Makefile: Moved ...
50368         * sysdeps/sparc/nptl/Makefile: ... here.
50369         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50370         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50371         * nptl/sysdeps/sparc/tls.h: Moved ...
50372         * sysdeps/sparc/nptl/tls.h: ... here.
50373         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50374         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50375         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50376         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50377         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50378         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50379         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50380         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50381         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50382         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50383         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50384         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50385         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50386         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50387         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50388         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50389         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50390         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50391         Update #include.
50392         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50393         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50394         Update #include.
50395         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50396         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50397         Update #include.
50398         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50399         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50400         Update #include.
50402         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50404         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50405         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50407         * sysdeps/pthread/posix-timer.h: Include <list.h>.
50408         (struct list_links): Type removed.
50409         (struct thread_node, struct timer_node): Replace struct list_links
50410         with struct list_head.
50411         (list_unlink_ip): Likewise.
50412         * sysdeps/pthread/timer_routines.c
50413         (timer_free_list, thread_free_list, thread_active_list): Likewise.
50414         (list_append, list_insbefore): Likewise.
50415         (list_init): Function removed.
50416         (thread_init, init_module): Use INIT_LIST_HEAD instead.
50417         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50418         * sysdeps/pthread/Makefile: ... here, new file.
50420         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50421         * sysdeps/nptl/Implies: ... here.
50422         * sysdeps/unix/sysv/linux/Implies: Add nptl.
50423         * nptl/sysdeps/pthread/list.h: Moved ...
50424         * include/list.h: ... here.
50425         * nptl/sysdeps/pthread/createthread.c: Moved ...
50426         * nptl/createthread.c: ... here.
50427         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50428         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50429         * nptl/pt-longjmp.c: ... here.
50430         * nptl/sysdeps/pthread/Makefile: Moved ...
50431         * sysdeps/nptl/Makefile: ... here.
50432         * nptl/sysdeps/pthread/Subdirs: Moved ...
50433         * sysdeps/nptl/Subdirs: ... here.
50434         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50435         * sysdeps/nptl/aio_misc.h: ... here.
50436         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50437         * sysdeps/nptl/bits/libc-lock.h: ... here.
50438         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50439         * sysdeps/nptl/bits/libc-lockP.h: ... here.
50440         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50441         * sysdeps/nptl/bits/stdio-lock.h: ... here.
50442         * nptl/sysdeps/pthread/configure: Moved ...
50443         * sysdeps/nptl/configure: ... here.
50444         * nptl/sysdeps/pthread/configure.ac: Moved ...
50445         * sysdeps/nptl/configure.ac: ... here.
50446         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50447         * sysdeps/nptl/gai_misc.h: ... here.
50448         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50449         * sysdeps/nptl/librt-cancellation.c: ... here.
50450         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50451         * sysdeps/nptl/malloc-machine.h: ... here.
50452         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50453         * sysdeps/nptl/pthread-functions.h: ... here.
50454         * nptl/sysdeps/pthread/pthread.h: Moved ...
50455         * sysdeps/nptl/pthread.h: ... here.
50456         * nptl/sysdeps/pthread/setxid.h: Moved ...
50457         * sysdeps/nptl/setxid.h: ... here.
50458         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50459         * sysdeps/nptl/sigfillset.c: ... here.
50460         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50461         * sysdeps/nptl/tcb-offsets.h: ... here.
50462         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50463         * sysdeps/nptl/tst-mqueue8x.c: ... here.
50464         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50465         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50466         * nptl/sysdeps/pthread/allocalim.h: Moved ...
50467         * sysdeps/pthread/allocalim.h: ... here.
50468         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50469         * sysdeps/pthread/bits/sigthread.h: ... here.
50470         * nptl/sysdeps/pthread/flockfile.c: Moved ...
50471         * sysdeps/pthread/flockfile.c: ... here.
50472         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50473         * sysdeps/pthread/ftrylockfile.c: ... here.
50474         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50475         * sysdeps/pthread/funlockfile.c: ... here.
50476         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50477         * sysdeps/pthread/posix-timer.h: ... here.
50478         * nptl/sysdeps/pthread/timer_create.c: Moved ...
50479         * sysdeps/pthread/timer_create.c: ... here.
50480         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50481         * sysdeps/pthread/timer_delete.c: ... here.
50482         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50483         * sysdeps/pthread/timer_getoverr.c: ... here.
50484         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50485         * sysdeps/pthread/timer_gettime.c: ... here.
50486         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50487         * sysdeps/pthread/timer_routines.c: ... here.
50488         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50489         * sysdeps/pthread/timer_settime.c: ... here.
50490         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50491         * sysdeps/pthread/tst-timer.c: ... here.
50492         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50493         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50495         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50496         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50498         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50499         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50500         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50501         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50502         Update #include target.
50503         * nptl/sysdeps/i386/i686/Makefile: Moved ...
50504         * sysdeps/i386/i686/nptl/Makefile: ... here.
50505         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50506         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50507         Update #include target.
50508         * nptl/sysdeps/i386/i686/tls.h: Moved ...
50509         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
50510         * nptl/sysdeps/i386/Makefile: Moved ...
50511         * sysdeps/i386/nptl/Makefile: ... here.
50512         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50513         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50514         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50515         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50516         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50517         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50518         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50519         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50520         * sysdeps/i386/nptl/pthreaddef.h: ... here.
50521         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50522         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50523         * nptl/sysdeps/i386/tls.h: Moved ...
50524         * sysdeps/i386/nptl/tls.h: ... here.
50526         * sysdeps/sh/Makefile [$(subdir) = csu]
50527         (gen-as-const-headers): Add tcb-offsets.sym.
50528         * nptl/sysdeps/sh/Makefile: File removed.
50529         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50530         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50531         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50532         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50533         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50534         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50535         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50536         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50537         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50538         * sysdeps/sh/nptl/pthreaddef.h: ... here.
50539         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50540         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50541         * nptl/sysdeps/sh/tls.h: Moved ...
50542         * sysdeps/sh/nptl/tls.h: ... here.
50543         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50544         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50545         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50546         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50547         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50548         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50549         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50550         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50551         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50552         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50553         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50554         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50555         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50556         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50557         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50558         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50559         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50560         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50561         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50562         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50563         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50564         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50565         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50566         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50567         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50568         Moved ...
50569         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50570         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50571         Moved ...
50572         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50573         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50574         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50575         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50576         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50577         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50578         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50579         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50580         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50581         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50582         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50583         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50584         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50585         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50586         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50587         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50588         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50589         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50590         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50592 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
50594         * posix/spawn_faction_addopen.c: Include string.h.
50596 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50598         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50599         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50600         * nptl/sysdeps/x86_64/Makefile: Moved ...
50601         * sysdeps/x86_64/nptl/Makefile: ... here.
50602         * nptl/sysdeps/x86_64/configure: Moved ...
50603         * sysdeps/x86_64/nptl/configure: ... here.
50604         * nptl/sysdeps/x86_64/configure.ac: Moved ...
50605         * sysdeps/x86_64/nptl/configure.ac: ... here.
50606         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50607         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50608         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50609         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50610         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50611         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50612         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50613         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50614         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50615         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50616         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50617         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50618         * nptl/sysdeps/x86_64/tls.h: Moved ...
50619         * sysdeps/x86_64/nptl/tls.h: ... here.
50620         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50621         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50622         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50623         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50625         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50627 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50631 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
50633         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50634         type.
50635         [POSIX] (off_t): Likewise.
50636         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50637         [POSIX] (S_ISBLK): Require macro.
50638         [POSIX] (S_ISCHR): Likewise.
50639         [POSIX] (S_ISDIR): Likewise.
50640         [POSIX] (S_ISFIFO): Likewise.
50641         [POSIX] (S_ISREG): Likewise.
50642         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50643         optional-macro.
50644         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50645         type.
50646         [POSIX] (time_t): Likewise.
50647         [POSIX] (timer_t): Likewise.
50649 2014-06-11  Florian Weimer  <fweimer@redhat.com>
50651         [BZ #17048]
50652         * posix/spawn_int.h (struct __spawn_action): Make the path string
50653         non-const to support deallocation.
50654         * posix/spawn_faction_addopen.c
50655         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50656         * posix/spawn_faction_destroy.c
50657         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
50658         path in all spawn_do_open actions.
50659         * posix/tst-spawn.c (do_test): Exercise the copy operation in
50660         posix_spawn_file_actions_addopen.
50662 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
50664         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50665         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50666         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50667         conditional code always true.
50668         (__libc_vfork): New alias.
50670 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50672         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50673         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50675         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50677         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50678         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50680         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50681         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50683         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50684         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50686 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50688         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50689         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50690         multiarch strcmp for PPC64.
50691         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50692         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50694         multiarch optimizations.
50695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50696         (__libc_ifunc_impl_list): Likewise.
50698 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50700         * benchtests/scripts/validate_benchout.py: New script.
50701         * benchtests/Makefile (bench-func): Call it.
50702         * benchtests/scripts/benchout.schema.json: New file.
50704 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
50706         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50707         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50708         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50709         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50710         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50711         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50712         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50713         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50714         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50715         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50716         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50717         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50718         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50719         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50720         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50721         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50723         Moved ...
50724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50725         ... here.
50726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50727         Moved ...
50728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50730         Moved ...
50731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50732         ... here.
50733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50734         Moved ...
50735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50736         ... here.
50737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50738         Moved ...
50739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50741         Moved ...
50742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50743         ... here.
50744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50745         Moved ...
50746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50747         ... here.
50748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50749         Moved ...
50750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50752         Moved ...
50753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50754         ... here.
50755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50756         Moved ...
50757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50758         ... here.
50759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50760         Moved ...
50761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50762         ... here.
50763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50764         Moved ...
50765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50767         Moved ...
50768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50769         ... here.
50770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50771         Moved ...
50772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50773         ... here.
50774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50775         Moved ...
50776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50777         ... here.
50778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50779         Moved ...
50780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50782         Moved ...
50783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50784         ... here.
50785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50786         Moved ...
50787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50788         ... here.
50789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50790         Moved ...
50791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50793         Moved ...
50794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50795         ... here.
50796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50797         Moved ...
50798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50800         Moved ...
50801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50803         Moved ...
50804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50805         ... here.
50806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50807         Moved ...
50808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50809         ... here.
50810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50811         Moved ...
50812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50813         ... here.
50814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50815         Moved ...
50816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50818         Moved ...
50819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50820         ... here.
50821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50822         Moved ...
50823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50824         ... here.
50825         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50826         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50827         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50828         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50829         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50830         Moved ...
50831         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50832         ... here.
50833         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50834         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50835         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50836         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50837         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50838         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50839         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50840         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50841         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50842         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50843         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50844         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50845         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50846         Moved ...
50847         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50848         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50849         Moved ...
50850         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50851         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50852         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50853         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50854         Moved ...
50855         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50856         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50857         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50858         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50859         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50860         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50861         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50863 2014-06-10  Wilco  <wdijkstr@arm.com>
50865         * math/test-fenv-return.c: New file.
50866         * math/Makefile: Add new test test-fenv-return.
50868 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
50870         [BZ #17042]
50871         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50872         when x - 1 is zero.
50873         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50874         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50875         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50876         0.0L for an argument of 1.0L.
50877         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50878         Likewise.
50879         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50880         value when x - 1 is zero.
50881         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50882         * sysdeps/i386/fpu/libm-test-ulps: Update.
50883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50885 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
50887         [BZ #15119]
50888         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50890 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50892         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50893         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50895 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50897         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50898         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50900         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50901         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50903         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50904         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50906         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50907         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50909         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50910         if not already defined.
50911         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50912         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50913         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50914         (TLS_INIT_TP): Use it.
50915         (TLS_DEFINE_INIT_TP): New macro.
50916         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50918 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
50920         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50921         constant.
50922         [POSIX] (IXANY): Likewise.
50923         [POSIX] (OLCUC): Likewise.
50924         [POSIX || POSIX2008] (CBAUD): Do not allow.
50925         [POSIX || POSIX2008] (DEFECHO): Likewise.
50926         [POSIX || POSIX2008] (ECHOCTL): Likewise.
50927         [POSIX || POSIX2008] (ECHOKE): Likewise.
50928         [POSIX || POSIX2008] (ECHOPRT): Likewise.
50929         [POSIX || POSIX2008] (EXTA): Likewise.
50930         [POSIX || POSIX2008] (EXTB): Likewise.
50931         [POSIX || POSIX2008] (FLUSHO): Likewise.
50932         [POSIX || POSIX2008] (LOBLK): Likewise.
50933         [POSIX || POSIX2008] (PENDIN): Likewise.
50934         [POSIX || POSIX2008] (SWTCH): Likewise.
50935         [POSIX || POSIX2008] (VDISCARD): Likewise.
50936         [POSIX || POSIX2008] (VDSUSP): Likewise.
50937         [POSIX || POSIX2008] (VLNEXT): Likewise.
50938         [POSIX || POSIX2008] (VREPRINT): Likewise.
50939         [POSIX || POSIX2008] (VSTATUS): Likewise.
50940         [POSIX || POSIX2008] (VWERASE): Likewise.
50941         (B*): Change to B[0123456789]*.
50942         * conform/data/time.h-data [POSIX || UNIX98]
50943         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50944         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50945         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50946         [POSIX] (tm_*): Do not allow.
50948 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
50950         * Makefile (install): Don't set LANGUAGE.
50951         * Makefile.in (install): Likewise.
50952         * assert/Makefile (test-assert-ENV): Remove variable.
50953         (test-assert-perr-ENV): Likewise.
50954         * elf/Makefile (neededtest4-ENV): Likewise.
50955         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50956         [$(cross-compiling) = no]: Don't set LANGUAGE.
50957         * io/ftwtest-sh (LANG): Remove variable.
50958         * libio/Makefile (tst-widetext-ENV): Likewise.
50959         * manual/install.texi (Running make install): Don't refer to
50960         environment settings for make install.
50961         * INSTALL: Regenerated.
50962         * nptl/tst-tls6.sh: Don't set LANG.
50963         * posix/globtest.sh (LANG): Remove variable.
50964         * string/Makefile (tester-ENV): Likewise.
50965         (inl-tester-ENV): Likewise.
50966         (noinl-tester-ENV): Likewise.
50967         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50968         [$(cross-compiling) = no]: Don't set LANGUAGE.
50969         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
50970         without explicit environment settings.
50972 2014-06-06  Roland McGrath  <roland@hack.frob.com>
50974         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
50975         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
50976         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
50977         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
50979 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
50981         * crypt/crypt-private.h [DOS]: Add some includes taken from the
50982         other files in the crypt directory.
50983         * crypt/crypt.c: Remove duplicate includes.
50984         * crypt/crypt-entry.c: Likewise.
50985         * crypt/crypt_util.c: Likewise.
50987 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
50989         * Makeconfig (run-program-env): New variable.
50990         (run-program-prefix-before-env): Likewise.
50991         (run-program-prefix-after-env): Likewise.
50992         (run-program-prefix): Define in terms of new variables.
50993         (built-program-cmd-before-env): New variable.
50994         (built-program-cmd-after-env): Likewise.
50995         (built-program-cmd): Define in terms of new variables.
50996         (test-program-prefix-before-env): New variable.
50997         (test-program-prefix-after-env): Likewise.
50998         (test-program-prefix): Define in terms of new variables.
50999         (test-program-cmd-before-env): New variable.
51000         (test-program-cmd-after-env): Likewise.
51001         (test-program-cmd): Define in terms of new variables.
51002         * Rules (make-test-out): Use $(run-program-env).
51003         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
51004         (help): Do not mention environment variables.  Mention
51005         --timeoutfactor option.
51006         (timeoutfactor): New variable.
51007         (blacklist_exports): Remove function.
51008         (exports): Remove variable.
51009         (command): Do not include ${exports}.
51010         * manual/install.texi (Configuring and compiling): Do not mention
51011         test wrappers preserving environment variables.  Mention that last
51012         assignment to a variable must take precedence.
51013         * INSTALL: Regenerated.
51014         * benchtests/Makefile (run-bench): Use $(run-program-env).
51015         * catgets/Makefile ($(objpfx)test1.cat): Use
51016         $(built-program-cmd-before-env), $(run-program-env) and
51017         $(built-program-cmd-after-env).
51018         ($(objpfx)test2.cat): Do not specify environment variables
51019         explicitly.
51020         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
51021         $(run-program-env) and $(built-program-cmd-after-env).
51022         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
51023         $(run-program-env) and $(test-program-cmd-after-env).
51024         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
51025         explicitly.
51026         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
51027         run_program_env and test_program_cmd_after_env arguments.
51028         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
51029         * elf/tst-pathopt.sh: Use run_program_env argument.
51030         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
51031         $(test-wrapper-env) and $(run-program-env).
51032         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
51033         run_program_env arguments.
51034         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
51035         * intl/Makefile ($(objpfx)tst-gettext.out): Use
51036         $(test-program-prefix-before-env), $(run-program-env) and
51037         $(test-program-prefix-after-env).
51038         ($(objpfx)tst-gettext2.out): Likewise.
51039         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
51040         run_program_env and test_program_prefix_after_env arguments.
51041         * intl/tst-gettext2.sh: Likewise.
51042         * intl/tst-gettext4.sh: Do not set environment variables
51043         explicitly.
51044         * intl/tst-gettext6.sh: Likewise.
51045         * intl/tst-translit.sh: Likewise.
51046         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
51047         $(test-program-prefix-before-env), $(run-program-env) and
51048         $(test-program-prefix-after-env).
51049         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
51050         run_program_env and test_program_prefix_after_env arguments.
51051         * math/Makefile (run-regen-ulps): Use $(run-program-env).
51052         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
51053         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
51054         explicitly with each use of ${test_wrapper_env}.
51055         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
51056         $(test-program-prefix-before-env), $(run-program-env) and
51057         $(test-program-prefix-after-env).
51058         * posix/tst-getconf.sh: Do not set environment variables
51059         explicitly.
51060         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
51061         run_program_env and test_program_prefix_after_env arguments.
51062         * stdio-common/tst-printf.sh: Do not set environment variables
51063         explicitly.
51064         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
51065         $(test-program-prefix-before-env), $(run-program-env) and
51066         $(test-program-prefix-after-env).
51067         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
51068         run_program_env and test_program_prefix_after_env arguments.
51069         Split $test calls into $test_pre and $test.
51070         * timezone/Makefile (build-testdata): Use
51071         $(built-program-cmd-before-env), $(run-program-env) and
51072         $(built-program-cmd-after-env).
51074 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51076         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
51077         strlen for non SHARED builds.
51079 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51081         * nptl/allocatestack.c (check_list): Inlined function...
51082         (__reclaim_stacks): ... here.
51084 2014-06-05  Ondƙej BĂ­lka  <neleai@seznam.cz>
51086         [BZ #15698]
51087         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
51088         memory overrun.
51090 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
51092         * Rules (make-test-out): Include
51093         LOCPATH=$(common-objpfx)localedata in default environment.
51094         * debug/Makefile (tst-chk1-ENV): Remove variable.
51095         (tst-chk2-ENV): Likewise.
51096         (tst-chk3-ENV): Likewise.
51097         (tst-chk4-ENV): Likewise.
51098         (tst-chk5-ENV): Likewise.
51099         (tst-chk6-ENV): Likewise.
51100         (tst-lfschk1-ENV): Likewise.
51101         (tst-lfschk2-ENV): Likewise.
51102         (tst-lfschk3-ENV): Likewise.
51103         (tst-lfschk4-ENV): Likewise.
51104         (tst-lfschk5-ENV): Likewise.
51105         (tst-lfschk6-ENV): Likewise.
51106         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
51107         (tst-iconv7-ENV): Likewise.
51108         * intl/Makefile (LOCPATH-ENV): Likewise.
51109         (tst-codeset-ENV): Likewise.
51110         (tst-gettext3-ENV): Likewise.
51111         (tst-gettext5-ENV): Likewise.
51112         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
51113         (tst-fopenloc-ENV): Likewise.
51114         (tst-fgetws-ENV): Remove variable.
51115         (tst-ungetwc1-ENV): Likewise.
51116         (tst-ungetwc2-ENV): Likewise.
51117         (bug-ungetwc2-ENV): Likewise.
51118         (tst-swscanf-ENV): Likewise.
51119         (bug-ftell-ENV): Likewise.
51120         (tst-fgetwc-ENV): Likewise.
51121         (tst-fseek-ENV): Likewise.
51122         (tst-ftell-partial-wide-ENV): Likewise.
51123         (tst-ftell-active-handler-ENV): Likewise.
51124         (tst-ftell-append-ENV): Likewise.
51125         * posix/Makefile (tst-fnmatch-ENV): Likewise.
51126         (tst-regexloc-ENV): Likewise.
51127         (bug-regex1-ENV): Likewise.
51128         (tst-regex-ENV): Likewise.
51129         (tst-regex2-ENV): Likewise.
51130         (bug-regex5-ENV): Likewise.
51131         (bug-regex6-ENV): Likewise.
51132         (bug-regex17-ENV): Likewise.
51133         (bug-regex18-ENV): Likewise.
51134         (bug-regex19-ENV): Likewise.
51135         (bug-regex20-ENV): Likewise.
51136         (bug-regex22-ENV): Likewise.
51137         (bug-regex23-ENV): Likewise.
51138         (bug-regex25-ENV): Likewise.
51139         (bug-regex26-ENV): Likewise.
51140         (bug-regex30-ENV): Likewise.
51141         (bug-regex32-ENV): Likewise.
51142         (bug-regex33-ENV): Likewise.
51143         (bug-regex34-ENV): Likewise.
51144         (bug-regex35-ENV): Likewise.
51145         (tst-rxspencer-ENV): Likewise.
51146         (tst-rxspencer-no-utf8-ENV): Likewise.
51147         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51148         (tst-sscanf-ENV): Likewise.
51149         (tst-swprintf-ENV): Likewise.
51150         (tst-swscanf-ENV): Likewise.
51151         (test-vfprintf-ENV): Likewise.
51152         (scanf13-ENV): Likewise.
51153         (bug14-ENV): Likewise.
51154         (tst-grouping-ENV): Likewise.
51155         * stdlib/Makefile (tst-strtod-ENV): Likewise.
51156         (tst-strtod3-ENV): Likewise.
51157         (tst-strtod4-ENV): Likewise.
51158         (tst-strtod5-ENV): Likewise.
51159         (testmb2-ENV): Likewise./
51160         * string/Makefile (tst-strxfrm-ENV): Likewise.
51161         (tst-strxfrm2-ENV): Likewise.
51162         (bug-strcoll1-ENV): Likewise.
51163         (test-strcasecmp-ENV): Likewise.
51164         (test-strncasecmp-ENV): Likewise.
51165         * time/Makefile (tst-strptime-ENV): Likewise.
51166         (tst-ftime_l-ENV): Likewise.
51167         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51168         (tst-mbrtowc-ENV): Likewise.
51169         (tst-wcrtomb-ENV): Likewise.
51170         (tst-mbrtowc2-ENV): Likewise.
51171         (tst-c16c32-1-ENV): Likewise.
51172         (tst-mbsnrtowcs-ENV): Likewise.
51174 2014-06-05  Ondƙej BĂ­lka  <neleai@seznam.cz>
51176         * manual/resource.texi (How to get information about the memory
51177         subsystem?): Fix typo.
51178         Reported by Peon de la Parra Ivan <peon@keba.com>
51180 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
51182         [BZ #16882]
51183         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51184         (pthread_spin_lock): Branch out of spin loop to proper location.
51185         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51186         (pthread_spin_lock): Likewise.
51188         * nptl/tst-spin4.c: New test.
51189         * nptl/Makefile (tests): Add tst-spin4.
51191 2014-06-03  Andreas Schwab  <schwab@suse.de>
51193         [BZ #15946]
51194         * resolv/res_send.c (send_dg): Reload file descriptor after
51195         calling reopen.
51197 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
51199         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51201 2014-06-03  Richard Henderson  <rth@redhat.com>
51203         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51204         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51205         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51206         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
51207         in the SAVE_PID block.
51208         (__libc_vfork): New alias.
51209         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51211         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51212         child in registers, not on the stack.  Remove RESET_PID conditionals.
51213         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51215 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51217         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51219 2014-06-03  Wilco  <wdijkstr@arm.com>
51221         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51222         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51223         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51224         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51225         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51226         Likewise.
51228 2014-06-03  Wilco  <wdijkstr@arm.com>
51230         * sysdeps/aarch64/fpu/math_private.h
51231         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51232         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51233         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51234         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51235         Fix declarations.
51237 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51239         * crypt/crypt-private.h: Include ufc-crypt.h.
51240         (__b64_from_24bit): Declare extern.
51241         * crypt/crypt_util.c(__b64_from_24bit): New function.
51242         (b64t): New static const variable.
51243         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51244         (b64t): Remove variable.
51245         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51246         * crypt/sha256-crypt.c: Include crypt-private.h.
51247         (b64t): Remove variable.
51248         (__sha256_crypt_r): Remove b64_from_24bit and replace
51249         with __b64_from_24bit.
51250         * crypt/sha512-crypt.c: Likewise.
51252 2014-06-02  Roland McGrath  <roland@hack.frob.com>
51254         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51255         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51256         Label the code __libc_vfork rather than __vfork.
51257         [!NOT_IN_libc] (vfork): Define as weak alias.
51258         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51259         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51260         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51262 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51264         * malloc/malloc.c (malloc_info): Fix format specifier for
51265         n_mmaps.
51267 2014-06-02  Wilco  <wdijkstr@arm.com>
51269         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51270         FPCR write.
51272 2014-06-02  Wilco  <wdijkstr@arm.com>
51274         [BZ #17009]
51275         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51276         Rewrite to reduce FPCR/FPSR accesses.
51278 2014-06-01  David S. Miller  <davem@davemloft.net>
51280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51282 2014-05-31  David S. Miller  <davem@davemloft.net>
51284         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51285         to occur in round to nearest mode when |x| >= 2.0
51287 2014-05-30  Richard Henderson  <rth@twiddle.net>
51289         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51290         (PSEUDO_RET_NOERRNO): Remove.
51291         (ret): Don't redefine.
51292         (ret_NOERRNO): Define in terms of ret.
51293         (ret_ERRVAL): Likewise.
51295         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51296         use of PSEUDO_RET; perform the error check directly.
51298 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
51300         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51301         with __int128_t.
51303 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51305         * malloc/malloc (malloc_info): Fix formatting.
51307 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51308             Roland McGrath  <roland@hack.frob.com>
51310         * malloc/malloc (malloc_info): Also print mmapped statistics.
51312 2014-05-30  Roland McGrath  <roland@hack.frob.com>
51314         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51315         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51317 2014-05-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
51319         * malloc/malloc.c (malloc_info): Inline mi_arena.
51321 2014-05-29  Richard Henderson  <rth@twiddle.net>
51323         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51324         Remove comma before expanding ASM_ARGS_##nr.
51325         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51326         Make _x0 a strict output; make _x8 a strict input; adjust expansion
51327         of ASM_ARGS_##nr.
51328         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51329         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51330         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51331         (ASM_ARGS_1): Add leading comma.
51333         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51334         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51335         to __errno_location.
51336         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51337         Remove the expected plt for __errno_location.
51339         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51340         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51341         call to __read_tp.
51343         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51344         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
51345         it and break it down.
51346         (DOCARGS_0, DOCARGS_1): Do nothing.
51347         (DOCARGS_2): Update to store into the new stack frame.
51348         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51349         (UNDOCARGS_1): Update to restore from the new stack frame.
51350         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51351         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51353         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51354         (SINGLE_THREAD_P): New parameter for result regno.
51355         (PSEUDO): Update to match; use cbz instead of beq.
51357         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51358         Use ENTRY to define the _nocancel entry point.  Share the syscall
51359         and syscall error check paths with the cancel path.
51360         (PSEUDO_END): New.
51362         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51363         whitespace; tabs before and after asm mnemonics.
51365 2014-05-29  Eric Wong  <normalperson@yhbt.net>
51367         [BZ #15132]
51368         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51369         Call fstat64 or stat64 internally, depending on arguments passed.
51370         Replace stat buffer argument with file descriptor argument.
51371         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51372         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51373         Pass fd to __internal_statvfs instead of calling fstat64.
51374         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51375         Pass fd to __internal_statvfs64 instead of calling fstat64.
51376         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51377         Pass -1 to __internal_statvfs instead of calling stat64.
51378         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51379         Pass -1 to __internal_statvfs64 instead of calling stat64.
51381 2014-05-28  Roland McGrath  <roland@hack.frob.com>
51383         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51384         that was previously under [RESET_PID].
51385         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51387         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51388         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51390 2014-05-27  Roland McGrath  <roland@hack.frob.com>
51392         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51394         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51395         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51397 2014-05-27  Ondƙej BĂ­lka  <neleai@seznam.cz>
51399         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51401 2014-05-27  Andreas Schwab  <schwab@suse.de>
51403         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51404         TLS_INIT_TP macro.
51405         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51406         * elf/rtld.c (init_tls, dl_main): Likewise.
51407         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51408         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51409         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51410         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51411         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51412         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51413         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51414         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51415         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51416         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51417         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51418         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51419         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51420         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51421         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51422         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51423         * sysdeps/generic/tls.h: Update description.
51425 2014-05-27  Will Newton  <will.newton@linaro.org>
51427         [BZ #16990]
51428         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51429         and restore r2 rather than just restoring.
51431 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51433         [BZ #16724]
51434         * libio/tst-ftell-append.c: New test case.
51435         * libio/Makefile (tests): Add test case.
51436         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51437         append mode.
51438         * libio/wfileops.c (do_ftell_wide): Likewise.
51440 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51444         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51445         ...
51446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51448         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51449         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51450         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51451         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51452         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51453         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51454         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51455         Moved ...
51456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51457         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51458         Moved ...
51459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51460         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51461         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51462         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51463         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51464         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51465         ...
51466         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51467         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51468         Moved ...
51469         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51470         here.
51471         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51472         ...
51473         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51474         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51475         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51477         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51478         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51479         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51480         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51482         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51483         merge into ...
51484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51486         ...
51487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51488         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51489         ...
51490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51491         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51492         Moved ...
51493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51494         here.
51495         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51496         Moved ...
51497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51498         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51499         Moved ...
51500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51503         conditional [RESET_PID].
51504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51505         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51506         removed.
51507         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51508         removed.
51510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51511         <tcb-offsets.h>.
51512         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51513         (__libc_vfork): New strong alias.
51514         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51515         removed.
51516         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51517         Removed.
51519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51520         <tcb-offsets.h>.
51521         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51522         (__libc_vfork): New strong alias.
51523         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51524         removed.
51525         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51526         removed.
51528 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
51530         * malloc/malloc.c (mi_arena): New function.
51531         (malloc_info): Remove nested function mi_arena. Call non-nosted
51532         function mi_arena.
51534 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51536         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51537         by insrwi.
51538         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51539         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51540         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51541         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51542         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51543         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51544         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51546 2014-05-26  Andreas Schwab  <schwab@suse.de>
51548         [BZ #16984]
51549         * locale/programs/repertoire.c (repertoire_read): Add slash
51550         between I18NPATH element and file name.
51551         * locale/programs/locfile.c (locfile_read): Likewise.
51553 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51555         * nptl/pthread_mutexattr_settype.c
51556         (__pthread_mutexattr_settype):
51557         Disable lock elision for PTHREAD_MUTEX_NORMAL.
51559 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51561         * nptl/tst-mutex5 (do_test):
51562         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51564 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51566         * benchtests/README: Document 'init' directive.
51567         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51568         BENCH_INIT.
51569         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51570         (parse_file): Recognize 'init' directive.
51572 2014-05-26  Kyle McMartin  <kyle@redhat.com>
51574         [BZ #16796]
51575         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51576         alignment of struct pthread.
51578 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51580         [BZ #16878]
51581         * nscd/netgroupcache.c (addgetnetgrentX): Look for
51582         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51583         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51584         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51586 2014-05-25  Richard Henderson  <rth@twiddle.net>
51588         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51589         (SINGLE_THREAD_P_PIC): Remove.
51590         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51591         (SINGLE_THREAD_P_PIC): Remove.
51593         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51594         branch to syscall error ...
51595         (PSEUDO): ... here.
51596         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51597         from __local_syscall_error to .Lsyscall_error.
51598         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51599         (SYSCALL_ERROR): Update label name.
51601         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51602         Do not use DOARGS/UNDOARGS.
51603         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51604         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51605         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51606         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51607         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51609         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51610         block comment.
51612         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51613         define if !NOT_IN_libc.
51614         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51615         define with non-default symbol versions.
51617 2014-05-23  Richard Henderson  <rth@twiddle.net>
51619         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51620         (vfork, __vfork): Define via compat_symbol.
51622         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51623         [!HAVE_IFUNC] (vfork_compat): Remove.
51624         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51626 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51628         [BZ #16978]
51629         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51630         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51631         variable.
51633 2014-05-23  Richard Henderson  <rth@twiddle.net>
51635         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51636         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51637         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51638         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51640         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51641         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51642         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51643         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51644         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51645         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51646         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51647         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51648         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51649         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51650         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51651         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51652         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51653         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51654         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51655         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51656         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51657         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51658         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51659         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51660         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51661         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51662         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51663         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51664         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51665         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51666         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51667         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51668         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51669         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51670         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51671         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51672         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51673         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51674         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51675         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51676         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51677         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51678         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51679         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51680         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51681         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51682         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51683         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51684         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51685         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51686         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51687         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51688         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51689         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51690         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51691         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51692         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51693         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51694         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51695         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51697         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51698         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51699         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
51700         before exiting on error.
51701         (__libc_vfork): New strong alias.
51702         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51703         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51705         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51706         that was previously under [RESET_PID].
51707         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51709         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51711 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51713         [BZ #16977]
51714         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51715         value when x - 1 is zero.
51716         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51717         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51718         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51719         0.0L for an argument of 1.0L.
51720         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51721         Likewise.
51722         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51723         value when x - 1 is zero.
51724         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51725         * sysdeps/i386/fpu/libm-test-ulps: Update.
51726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51728 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
51730         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51731         alphasort and versionsort.
51733 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51735         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51736         macro.
51737         [copysignf]: Likewise.
51739 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51741         * crypt/md5-crypt.c: Fix formatting.
51743 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51745         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51746         (b64_from_24bit): New function.
51748 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51750         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51751         libc_hidden_builtin_def to ifunc.
51752         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51753         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51755 2014-05-21  Roland McGrath  <roland@hack.frob.com>
51757         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51758         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51760 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
51762         * nscd/Depend (linuxthreads): Remove.
51763         (nptl): Add.
51764         * resolv/Depend (linuxthreads): Remove.
51765         * rt/Depend (linuxthreads): Remove.
51767         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51768         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51769         $(common-objpfx)elf/.
51770         (link-libc-before-gnulib): Likewise.
51771         (elfobjdir): Remove variable.
51772         * Makefile (install): Use $(elf-objpfx) instead of
51773         $(common-objpfx)elf/.
51774         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51775         $(elfobjdir)/.
51776         (link-libc-deps): Likewise.
51777         ($(common-objpfx)libc.so): Likewise.
51778         ($(common-objpfx)linkobj/libc.so): Likewise.
51779         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51780         instead of $(common-objpfx)elf/.
51781         (symbolic-link-list): Likewise.
51782         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51783         [$(cross-compiling) = no]: Likewise.
51784         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51785         $(elfobjdir)/.
51786         (static-gnulib-arch): Likewise.
51787         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51788         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51789         $(common-objpfx)elf/.
51791 2014-05-21  Richard Henderson  <rth@redhat.com>
51793         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51794         (SINGLE_THREAD_P): Use the correct width load.  Fold
51795         into the ldr offset.
51797         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51798         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51800 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
51802         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51803         (libgcc_s_resume): Use __attribute_used__.
51804         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51805         Likewise.
51807 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51809         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51810         optimization when used with float constants.
51812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51814 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
51816         [BZ #16915]
51817         * locale/nl_langinfo_l.c: Make direct reference to every
51818         _nl_current_CATEGORY symbol.
51819         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51820         (tests-static): Add tst-langinfo-static.
51821         (tests-special): Add tst-langinfo-static.out.
51822         ($(objpfx)tst-langinfo.out): Redirect output.
51823         ($(objpfx)tst-langinfo-static.out): New.
51824         * localedata/tst-langinfo.sh: Send output to stdout.
51825         * localedata/tst-langinfo-static.c: New file.
51827         [BZ #16965]
51828         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51829         when the shift amount is modulo the limb size.
51831 2014-05-20  Richard Henderson  <rth@redhat.com>
51833         [BZ #16967]
51834         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51835         Change type of sa_flags from unsigned int to int.
51837         [BZ #16966]
51838         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51840         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51842 2014-05-20  Will Newton  <will.newton@linaro.org>
51844         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51845         Test the return value of the system call in the nocancel case.
51847 2014-05-20  Will Newton  <will.newton@linaro.org>
51848             Yvan Roux  <yvan.roux@linaro.org>
51850         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51851         #include of asm/ptrace.h.
51852         (PTRACE_GET_THREAD_AREA): Remove #undef.
51853         (PTRACE_GETHBPREGS): Likewise.
51854         (PTRACE_SETHBPREGS): Likewise.
51855         (struct user_regs_struct): New structure.
51856         (struct user_fpsimd_struct): New structure.
51857         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51858         #include of asm/ptrace.h and second #include of sys/user.h.
51859         (PTRACE_GET_THREAD_AREA): Remove #undef.
51860         (PTRACE_GETHBPREGS): Likewise.
51861         (PTRACE_SETHBPREGS): Likewise.
51862         (ELF_NGREG): Use new struct user_regs_struct.
51863         (elf_fpregset_t): Use new struct user_fpsimd_struct.
51865 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51867         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51868         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51870 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
51872         [BZ #16958]
51873         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51874         membar to avoid block loads/stores to overlap previous stores.
51876 2014-05-17  Richard Henderson  <rth@redhat.com>
51878         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51879         Create the __##syscall_name##_nocancel entry point.
51880         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51881         Remove; let the sysdep-cancel.h code create it.
51883 2014-05-17  David S. Miller  <davem@davemloft.net>
51885         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51886         Protect with __USE_GNU.
51887         (TIOCSET_TEMPT): Likewise.
51888         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51889         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51890         these are already provided in bits/ioctl-types.h
51892 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51894         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51895         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51897         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51898         Use wait4 regardless of [__NR_waitpid].
51900 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51902         PR libgcc/60166
51903         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51904         (_FP_NANSIGN_Q): Set the quiet bit.
51906 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
51908         * benchtests/Makefile
51909         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51910         not $(common-objpfx)math/libm.so.
51911         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51912         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51913         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51914         $(common-objpfx)dlfcn/libdl.so.
51915         ($(objpfx)tst-audit8): Depend on $(libm), not
51916         $(common-objpfx)math/libm.so.
51917         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51918         not $(common-objpfx)dlfcn/libdl.so.
51919         * math/Makefile
51920         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51921         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
51922         [$(build-shared) = yes].
51923         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51924         $(common-objpfx)nptl/libpthread.so.
51925         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51926         $(common-objpfx)math/libm.so$(libm.so-version) or
51927         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51928         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51929         $(common-objpfx)dlfcn/libdl.so.
51930         * setjmp/Makefile (link-libm): Remove variable.
51931         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51932         * stdio-common/Makefile (link-libm): Remove variable.
51933         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51934         * stdlib/Makefile (link-libm): Remove variable.
51935         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51936         ($(objpfx)tst-strtod-round): Likewise.
51937         ($(objpfx)tst-tininess): Likewise.
51938         ($(objpfx)tst-strtod-underflow): Likewise.
51939         ($(objpfx)tst-strtod6): Likewise.
51940         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51941         $(libdl), not $(common-objpfx)nptl/libpthread.so and
51942         $(common-objpfx)dlfcn/libdl.so.
51944 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51946         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51947         BSD terminal modes definitions.
51949 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51951         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51952         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51954         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51955         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51956         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51957         Don't do #include_next.
51958         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
51959         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
51960         Don't do #include_next.
51961         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
51962         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
51963         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
51964         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
51966 2014-05-16  Allan McRae  <allan@archlinux.org>
51968         * po/sv.po: Update Swedish translation from translation project.
51970         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
51971         in sed expression.
51973 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
51975         [BZ #16917]
51976         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
51977         errno if the TIOCGPTN ioctl fails with an error different than
51978         EINVAL.
51979         * login/tst-ptsname.c: New file.
51980         * login/Makefile (tests): Add tst-ptsname.
51982         [BZ #16943]
51983         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
51984         and prlimit64.
51986 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51988         [BZ #16849]
51989         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
51990         herrno to return EAI_AGAIN.
51992 2014-05-14  Roland McGrath  <roland@hack.frob.com>
51994         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
51995         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
51996         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
51997         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
51998         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
51999         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
52000         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
52001         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
52002         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
52003         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
52004         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
52005         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
52006         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
52007         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
52008         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
52009         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
52010         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
52011         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
52012         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
52013         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
52014         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
52015         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
52016         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
52017         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
52018         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
52019         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
52020         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
52021         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
52022         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
52023         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
52024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
52025         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
52026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
52027         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
52028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52029         Moved ...
52030         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
52031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
52032         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
52033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
52034         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
52035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
52036         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
52037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
52038         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
52039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
52040         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
52041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
52042         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
52043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
52044         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
52045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
52046         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
52047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
52048         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
52049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
52050         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
52051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
52052         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
52053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
52054         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
52055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
52056         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
52057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
52058         Moved ...
52059         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
52060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
52061         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
52062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
52063         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
52064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
52065         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
52066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
52067         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
52068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
52069         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
52070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
52071         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
52072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
52073         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
52074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
52075         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
52076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
52077         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
52078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
52079         Moved ...
52080         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
52081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
52082         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
52084         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
52085         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
52086         (libpthread-sysdep_routines): Add elision-related stuff here instead.
52087         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
52088         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
52089         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
52090         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
52091         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
52092         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
52093         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
52094         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
52095         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
52096         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
52097         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
52098         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
52099         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
52100         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
52101         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
52102         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
52103         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
52104         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
52105         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
52106         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
52107         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
52108         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
52109         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
52110         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
52111         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
52112         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
52113         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
52114         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
52116         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52117         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52119         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52120         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52121         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52122         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52123         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52124         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52125         Moved ...
52126         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52127         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52128         Moved ...
52129         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52130         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52131         Moved ...
52132         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52133         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52134         Moved ...
52135         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52136         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52137         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52138         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52139         Moved ...
52140         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52141         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52142         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52143         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52144         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52145         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52146         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52147         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52148         Moved ...
52149         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52150         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52151         Moved ...
52152         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52153         ... here.
52154         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52155         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52156         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52157         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52158         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52159         Moved ...
52160         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52161         ... here.
52162         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52163         Moved ...
52164         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52165         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52166         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52167         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52168         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52169         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52170         Moved ...
52171         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52172         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52173         Moved ...
52174         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52175         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52176         Moved ...
52177         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52178         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52179         Moved ...
52180         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52181         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52182         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52183         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52184         Moved ...
52185         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52186         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52187         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52188         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52189         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52190         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52191         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52192         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52193         Moved ...
52194         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52195         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52196         Moved ...
52197         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52198         ... here.
52199         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52200         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52201         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52202         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52203         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52204         Moved ...
52205         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52206         ... here.
52207         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52208         Moved ...
52209         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52210         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52211         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52212         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52213         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52214         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52215         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52216         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52217         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52218         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52219         Moved ...
52220         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52221         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52222         Moved ...
52223         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52224         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52225         Moved ...
52226         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52227         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52228         Moved ...
52229         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52230         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52231         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52232         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52233         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52234         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52235         Moved ...
52236         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52237         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52238         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52239         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52240         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52241         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52242         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52243         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52244         Moved ...
52245         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52246         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52247         Moved ...
52248         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52249         ... here.
52250         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52251         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52252         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52253         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52254         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52255         Moved ...
52256         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52257         ... here.
52258         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52259         Moved ...
52260         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52261         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52262         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52263         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52264         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52265         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52266         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52267         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52268         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52269         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52270         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52272         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52273         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52275         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52276         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52278         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52279         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52280         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52281         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52282         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52283         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52284         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52285         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52286         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52287         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52288         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52289         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52290         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52291         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52292         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52293         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52294         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52295         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52296         Moved ...
52297         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52298         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52299         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52300         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52301         Moved ...
52302         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52303         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52304         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52305         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52306         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52307         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52308         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52309         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52310         Moved ...
52311         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52312         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52313         Moved ...
52314         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52315         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52316         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52317         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52318         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52319         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52320         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52321         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52322         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52323         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52324         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52325         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52326         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52327         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52328         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52329         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52330         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52332         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52333         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52334         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52335         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52336         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52338         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52339         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52340         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52341         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52342         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52343         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52344         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52345         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52346         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52347         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52349         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52350         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52352         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52353         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52354         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52355         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52356         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52357         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52358         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52359         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52360         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52361         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52362         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52363         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52364         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52365         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52366         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52367         Update #include.
52368         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52369         Likewise.
52370         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52371         Likewise.
52372         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52373         Likewise.
52374         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52375         Likewise.
52376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52377         Likewise.
52378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52379         Likewise.
52380         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52381         Likewise.
52382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52383         Likewise.
52384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52385         Likewise.
52386         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52387         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52388         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52389         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52390         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52391         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52392         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52393         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52394         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52395         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52396         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52397         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52398         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52399         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
52400         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
52402         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52403         that was previously under [RESET_PID].
52404         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52405         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52406         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52408         * sysdeps/i386/nptl/Implies: New file.
52409         * sysdeps/x86_64/nptl/Implies: New file.
52410         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52411         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52412         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52413         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52415         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52416         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52417         (__libc_vfork): New strong alias.
52418         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52419         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52421         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52422         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52423         (__libc_vfork): New strong alias.
52424         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52425         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52427         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52428         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52429         (__libc_vfork): New strong alias.
52430         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52431         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52432         * nptl/pt-vfork.c: New file.
52433         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52434         (libpthread: GLIBC_2.20): New version set (empty).
52436 2014-05-14  Will Newton  <will.newton@linaro.org>
52438         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52439         rather than #if.
52441 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52443         [BZ #16564]
52444         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52445         arguments with exponent 65 or above.
52446         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52447         arguments 0x1p113L or above.
52448         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52449         to arguments 0x1p107L or above.
52450         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52451         positive arguments with exponent 65 or above.
52452         * math/auto-libm-test-in: Add more tests of log1p.
52453         * math/auto-libm-test-out: Regenerated.
52455         [BZ #16928]
52456         * math/s_cacos.c (__cacos): Ensure zero real part of result from
52457         non-finite arguments is +0.
52458         * math/s_cacosf.c (__cacosf): Likewise.
52459         * math/s_cacosl.c (__cacosl): Likewise.
52460         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52461         * sysdeps/i386/fpu/libm-test-ulps: Update.
52462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52464         [BZ #16927]
52465         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52466         value.
52467         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52468         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52469         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52470         for explicit high bit of mantissa when testing for argument equal
52471         to 1.
52472         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52473         * sysdeps/i386/fpu/libm-test-ulps: Update.
52474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52476         [BZ #16516]
52477         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52478         (__erf): Scale by 16 instead of 8 in potentially underflowing
52479         case.  Ensure exception if result actually underflows.
52480         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52481         (__erff): Scale by 16 instead of 8 in potentially underflowing
52482         case.  Ensure exception if result actually underflows.
52483         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52484         (efx8): Remove variable.
52485         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52486         case.  Ensure exception if result actually underflows.
52487         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52488         (efx8): Remove variable.
52489         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52490         case.  Ensure exception if result actually underflows.
52491         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52492         (efx8): Remove variable.
52493         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52494         case.  Ensure exception if result actually underflows.
52495         * math/auto-libm-test-in: Add more tests of erf.
52496         * math/auto-libm-test-out: Regenerated.
52498 2014-05-14  Andreas Schwab  <schwab@suse.de>
52500         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52501         Remove code conditionalized on USE___THREAD.
52503         * config.h.in (HAVE_PT_CHOWN): Define as 0.
52504         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52505         not definedness.
52507 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52509         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52510         Define unconditionally.
52511         (__ASSUME_O_CLOEXEC): Likewise.
52512         (__ASSUME_SOCK_CLOEXEC): Likewise.
52513         (__ASSUME_IN_NONBLOCK): Likewise.
52514         (__ASSUME_PIPE2): Likewise.
52515         (__ASSUME_EVENTFD2): Likewise.
52516         (__ASSUME_SIGNALFD4): Likewise.
52517         (__ASSUME_DUP3): Likewise.
52518         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52519         (__ASSUME_DUP3): Do not define.
52520         (__ASSUME_EVENTFD2): Likewise.
52521         (__ASSUME_IN_NONBLOCK): Likewise.
52522         (__ASSUME_O_CLOEXEC): Likewise.
52523         (__ASSUME_PIPE2): Likewise.
52524         (__ASSUME_SIGNALFD4): Likewise.
52525         (__ASSUME_SOCK_CLOEXEC): Likewise.
52526         (__ASSUME_UTIMES): Undefine.
52527         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52528         (__ASSUME_UTIMES): Do not define.
52529         (__ASSUME_O_CLOEXEC): Likewise.
52530         (__ASSUME_SOCK_CLOEXEC): Likewise.
52531         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52532         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52533         0x020621].
52534         (__ASSUME_PIPE2): Likewise.
52535         (__ASSUME_EVENTFD2): Likewise.
52536         (__ASSUME_SIGNALFD4): Likewise.
52537         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52538         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52539         Do not define.
52540         (__ASSUME_EVENTFD2): Likewise.
52541         (__ASSUME_SIGNALFD4): Likewise.
52542         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52543         (__ASSUME_32BITUIDS): Likewise.
52544         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52545         (__ASSUME_IPC64): Likewise.
52546         (__ASSUME_ST_INO_64_BIT): Likewise.
52547         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52548         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52549         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52550         (__ASSUME_UTIMES): Do not define.
52551         (__ASSUME_PSELECT): Likewise.
52552         (__ASSUME_PPOLL): Likewise.
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/m68k/kernel-features.h
52561         (__ASSUME_UTIMES): Likewise.
52562         (__ASSUME_O_CLOEXEC): Likewise.
52563         (__ASSUME_SOCK_CLOEXEC): Likewise.
52564         (__ASSUME_IN_NONBLOCK): Likewise.
52565         (__ASSUME_PIPE2): Likewise.
52566         (__ASSUME_EVENTFD2): Likewise.
52567         (__ASSUME_SIGNALFD4): Likewise.
52568         (__ASSUME_DUP3): Likewise.
52569         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52570         (__ASSUME_UTIMES): Likewise.
52571         (__ASSUME_O_CLOEXEC): Likewise.
52572         (__ASSUME_SOCK_CLOEXEC): Likewise.
52573         (__ASSUME_IN_NONBLOCK): Likewise.
52574         (__ASSUME_PIPE2): Likewise.
52575         (__ASSUME_EVENTFD2): Likewise.
52576         (__ASSUME_SIGNALFD4): Likewise.
52577         (__ASSUME_DUP3): Likewise.
52578         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52579         Likewise.
52580         (__ASSUME_UTIMES): Likewise.
52581         (__ASSUME_EVENTFD2): Likewise.
52582         (__ASSUME_SIGNALFD4): Likewise.
52583         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52584         (__ASSUME_O_CLOEXEC): Likewise.
52585         (__ASSUME_SOCK_CLOEXEC): Likewise.
52586         (__ASSUME_IN_NONBLOCK): Likewise.
52587         (__ASSUME_PIPE2): Likewise.
52588         (__ASSUME_EVENTFD2): Likewise.
52589         (__ASSUME_SIGNALFD4): Likewise.
52590         (__ASSUME_DUP3): Likewise.
52591         (__ASSUME_UTIMES): Undefine.
52593         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52594         feclearexcept.  Remove symbol versioning code.
52595         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
52596         symbol versioning code.
52597         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
52598         symbol versioning code.
52599         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52600         feupdateenv.  Remove symbol versioning code.
52601         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52602         fegetexceptflag.  Remove symbol versioning code.
52603         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52604         fesetexceptflag.  Remove symbol versioning code.
52605         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52606         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
52607         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52608         (__posix_fadvise64_l32): Remove prototype.
52609         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52610         code.
52612 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52614         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52615         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52616         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52617         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52619 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
52621         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52622         current working directory
52624 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52626         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52627         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52628         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52629         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52630         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52631         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52632         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52633         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52634         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52635         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52636         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52637         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52638         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52639         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52640         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52641         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52642         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52643         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52644         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52645         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52646         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52647         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52648         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52649         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52650         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52651         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52652         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52653         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52654         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52655         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52656         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52657         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52658         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52659         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52660         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52661         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52662         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52663         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52664         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52665         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52666         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52667         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52669         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52670         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52672         * sysdeps/unix/sysv/linux/arm/Makefile
52673         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52674         Add rt-aeabi_unwind_cpp_pr1.
52675         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52676         Add nptl-aeabi_unwind_cpp_pr1.
52677         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52678         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52679         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52680         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52681         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52682         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52684         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52685         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52686         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52687         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52689         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52690         Deconditionalize the code that was previously under [RESET_PID].
52691         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52693         * sysdeps/generic/exit-thread.h: New file.
52694         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52695         * include/unistd.h (__exit_thread): Remove declaration.
52696         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52697         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52698         * csu/libc-start.c: Include <exit-thread.h>.
52699         (LIBC_START_MAIN): Pass no argument to __exit_thread.
52700         * nptl/pthread_create.c: Include <exit-thread.h>.
52701         (start_thread): Call __exit_thread in place of __exit_thread_inline.
52702         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52703         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52704         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52705         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52706         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52707         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52708         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52709         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52710         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52711         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52712         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52713         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52714         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52715         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52716         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52717         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52719 2014-05-13  Andreas Schwab  <schwab@suse.de>
52721         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52723 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
52725         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52726         (__ASSUME_UTIMES): Do not condition on kernel version.
52727         (__ASSUME_PSELECT): Define unconditionally.
52728         (__ASSUME_PPOLL): Likewise.
52729         (__ASSUME_ATFCTS): Likewise.
52730         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52731         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52732         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52733         (__ASSUME_UTIMENSAT): Define unconditionally.
52734         (__ASSUME_PRIVATE_FUTEX): Likewise.
52735         (__ASSUME_FALLOCATE): Likewise.
52736         (__ASSUME_O_CLOEXEC): Likewise.
52737         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52738         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52739         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52740         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52741         (__ASSUME_IN_NONBLOCK): Likewise.
52742         (__ASSUME_PIPE2): Likewise.
52743         (__ASSUME_EVENTFD2): Likewise.
52744         (__ASSUME_SIGNALFD4): Likewise.
52745         (__ASSUME_DUP3): Likewise.
52746         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52747         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52748         (__ASSUME_AT_RANDOM): Likewise.
52749         (__ASSUME_PREADV): Likewise.
52750         (__ASSUME_PWRITEV): Likewise.
52751         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52752         (__ASSUME_F_GETOWN_EX): Define unconditionally.
52753         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52754         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52755         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52756         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52757         (__ASSUME_O_CLOEXEC): Define unconditionally.
52758         (__ASSUME_PSELECT): Do not undefine conditionally.
52759         (__ASSUME_PPOLL): Likewise.
52760         (__ASSUME_ATFCTS): Likewise.
52761         (__ASSUME_SET_ROBUST_LIST): Likewise.
52762         (__ASSUME_UTIMENSAT): Likewise.
52763         (__ASSUME_FDATASYNC): Define unconditionally.
52764         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52765         (__ASSUME_SIGFRAME_V2): Likewise.
52766         )__ASSUME_EVENTFD2): Likewise.
52767         (__ASSUME_SIGNALFD4): Likewise.
52768         (__ASSUME_PSELECT): Do not undefine conditionally.
52769         (__ASSUME_PPOLL): Likewise.
52770         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52771         (__ASSUME_PSELECT): Define unconditionally.
52772         (__ASSUME_PPOLL): Likewise.
52773         (__ASSUME_O_CLOEXEC): Likewise.
52774         (__ASSUME_SOCK_CLOEXEC): Likewise.
52775         (__ASSUME_IN_NONBLOCK): Likewise.
52776         (__ASSUME_PIPE2): Likewise.
52777         (__ASSUME_EVENTFD2): Likewise.
52778         (__ASSUME_SIGNALFD4): Likewise.
52779         (__ASSUME_DUP3): Likewise.
52780         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52781         (__ASSUME_O_CLOEXEC): Likewise.
52782         (__ASSUME_SOCK_CLOEXEC): Likewise.
52783         (__ASSUME_IN_NONBLOCK): Likewise.
52784         (__ASSUME_PIPE2): Likewise.
52785         (__ASSUME_EVENTFD2): Likewise.
52786         (__ASSUME_SIGNALFD4): Likewise.
52787         (__ASSUME_DUP3): Likewise.
52788         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52789         (__ASSUME_EVENTFD2): Likewise.
52790         (__ASSUME_SIGNALFD4): Likewise.
52791         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52793 2014-05-12  Andreas Schwab  <schwab@suse.de>
52795         [BZ #16932]
52796         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52797         (_nss_nis_gethostbyname4_r): Return error if item length is larger
52798         than maximum RPC packet size.
52799         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52800         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52801         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52802         (_nss_nis_getservbyport_r): Likewise.
52804 2014-05-12  Will Newton  <will.newton@linaro.org>
52806         * malloc/Makefile (tests): Add tst-mallopt.
52807         * malloc/tst-mallopt.c: New file.
52809 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52811         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52812         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52814 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52816         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52817         (tst-tlsmod6.so): Likewise.
52819 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52821         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52823 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
52825         [BZ #16064]
52826         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52827         and <dl-procinfo.h>.
52828         (__fegetenv): Save SSE state in envp->__eip if supported.
52829         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52830         envp->__eip if supported.
52831         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52832         and <dl-procinfo.h>.
52833         (__fesetenv): Always set __eip, __cs_selector, __opcode,
52834         __data_offset and __data_selector in environment to 0.  Set SSE
52835         state if supported.
52836         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52837         test-fenv-sse.
52838         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52839         -mfpmath=sse.
52840         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52842 2014-05-09  Will Newton  <will.newton@linaro.org>
52844         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52845         and libc_relro_required for ARM.
52846         * sysdeps/arm/preconfigure: Regenerate.
52848 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
52849             Stefan Liebler  <stli@linux.vnet.ibm.com>
52851         * config.make.in (enable-lock-elision): New Makefile variable.
52852         * configure.ac: Likewise.
52853         * configure: Regenerate.
52854         * sysdeps/s390/configure.ac:
52855         Add check for gcc transactions support.
52856         * sysdeps/s390/configure: Regenerate.
52857         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52858         Build elision files if enabled.
52859         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52860         Add lock elision support for s390.
52861         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52862         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52863         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52864         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52865         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52866         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52867         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52868         Likewise.
52869         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52870         Likewise.
52871         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52872         Likewise.
52873         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52874         Likewise.
52875         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52876         (__lll_timedlock_elision, __lll_lock_elision)
52877         (__lll_unlock_elision, __lll_trylock_elision)
52878         (lll_timedlock_elision, lll_lock_elision)
52879         (lll_unlock_elision, lll_trylock_elision): Add.
52880         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52881         (pthread_mutex_t): Add lock elision support for s390.
52883 2014-05-14  Wilco  <wdijkstr@arm.com>
52885         * sysdeps/arm/fclrexcpt.c: Cleanup.
52886         * sysdeps/arm/fedisblxcpt.c: Cleanup.
52887         * sysdeps/arm/feenablxcpt.c: Cleanup.
52888         * sysdeps/arm/fegetenv.c: Cleanup.
52889         * sysdeps/arm/fegetexcept.c: Cleanup.
52890         * sysdeps/arm/fegetround.c: Cleanup.
52891         * sysdeps/arm/feholdexcpt.c: Cleanup.
52892         * sysdeps/arm/fesetenv.c: Cleanup.
52893         * sysdeps/arm/fesetround.c: Cleanup.
52894         * sysdeps/arm/feupdateenv.c: Cleanup.
52895         * sysdeps/arm/fgetexcptflg.c: Cleanup.
52896         * sysdeps/arm/fraiseexcpt.c: Cleanup.
52897         * sysdeps/arm/fsetexcptflg.c: Cleanup.
52898         * sysdeps/arm/ftestexcept.c: Cleanup.
52899         * sysdeps/arm/get-rounding-mode.h: Cleanup.
52900         * sysdeps/arm/setfpucw.c: Cleanup.
52902 2014-05-09  Will Newton  <will.newton@linaro.org>
52904         * sysdeps/arm/armv7/strcmp.S: New file.
52905         * NEWS: Mention addition of ARMv7 optimized strcmp.
52907 2014-05-08  Roland McGrath  <roland@hack.frob.com>
52909         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52910         look for %.ac rather than %.in.
52912         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52913         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52914         * sysdeps/mach/hurd/configure: Regenerated.
52915         * sysdeps/unix/sysv/linux/configure: Regenerated.
52917         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52919 2014-05-07  Steve Ellcey  <sellcey@mips.com>
52921         [BZ #16922]
52922         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52923         (LONG_SUB): Ditto.
52924         (PTR_SUB): Ditto.
52926 2014-05-07  Andreas Schwab  <schwab@suse.de>
52928         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52929         when skipping over non-matching result from nscd.
52931 2014-05-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
52933         [BZ #16876]
52934         * nptl/sockperf.c (client): Check socket return value.
52936         [BZ #16877]
52937         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52938         nscd security class.
52940 2014-05-06  Roland McGrath  <roland@hack.frob.com>
52942         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52943         * sysdeps/arm/unwind.h: ... here.
52945 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
52947         [BZ #16916]
52948         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52949         Define.
52951 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52953         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52954         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52955         multiarch strncpy for PPC64.
52956         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52957         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
52959         multiarch optimizations.
52960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52961         (__libc_ifunc_impl_list): Likewise.
52962         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
52963         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
52964         multiarch stpncpy for PPC64.
52965         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52966         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
52968 2014-05-06  Andreas Schwab  <schwab@suse.de>
52970         [BZ #16912]
52971         * gmon/mcount.c (_MCOUNT_DECL): Use
52972         atomic_compare_and_exchange_bool_acq instead of
52973         catomic_compare_and_exchange_bool_acq.
52975 2014-05-05  Roland McGrath  <roland@hack.frob.com>
52977         * elf/Makefile (others, install-bin): Remove pldd.
52978         (pldd-modules): Variable removed.
52979         ($(objpfx)pldd): Target removed.
52980         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
52981         (others, install-bin): Append pldd here.
52982         ($(objpfx)pldd): New target.
52984         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
52985         to 0, so the first #if test emitted later doesn't see it undefined.
52986         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
52987         * sysdeps/gnu/errlist.c: Regenerated.
52989 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52991         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52992         [libc_hidden_builtin_def]: Define to empty value.
52993         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
52994         [libc_hidden_builtin_def]: Likewise.
52995         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
52996         [libc_hidden_builtin_def]: Likewise.
52997         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
52998         [libc_hidden_builtin_def]: Likewise.
52999         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
53000         __redirect_memcpy and define ifunc as default hidden symbol.
53001         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
53002         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
53004 2014-05-04  Adam Conrad  <adconrad@0c3.net>
53006         * locale/iso-4217.def: Reintroduce XDR currency.
53008 2014-05-04  Allan McRae  <allan@archlinux.org>
53010         * po/eo.po: Update Esperanto translation from translation project.
53012 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
53014         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
53015         and FEATURE_INDEX_MAX to 1.
53016         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
53018 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53020         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
53021         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
53022         * iconvdata/big5.c (ONE_DIRECTION): Define.
53023         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
53024         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
53025         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
53026         * iconvdata/cp932.c (ONE_DIRECTION): Define.
53027         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
53028         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
53029         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
53030         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
53031         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
53032         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
53033         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
53034         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
53035         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
53036         * iconvdata/gbk.c (ONE_DIRECTION): Define.
53037         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
53038         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
53039         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
53040         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
53041         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
53042         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
53043         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
53044         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
53045         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
53046         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
53047         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
53048         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
53049         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
53050         * iconvdata/iso646.c (ONE_DIRECTION): Define.
53051         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
53052         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
53053         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
53054         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
53055         * iconvdata/johab.c (ONE_DIRECTION): Define.
53056         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
53057         * iconvdata/sjis.c (ONE_DIRECTION): Define.
53058         * iconvdata/t.61.c (ONE_DIRECTION): Define.
53059         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
53060         * iconvdata/tscii.c (ONE_DIRECTION): Define.
53061         * iconvdata/uhc.c (ONE_DIRECTION): Define.
53062         * iconvdata/unicode.c (ONE_DIRECTION): Define.
53063         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
53064         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
53065         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
53067 2014-05-01  Roland McGrath  <roland@hack.frob.com>
53069         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
53070         (_IO_JUMPS_OFFSET): Define to 0.
53072         * nptl/sysdeps/pthread/bits/libc-lock.h
53073         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
53074         (__libc_lock_define_initialized_recursive): Always define using
53075         initializer.  Modern compilers treat uninitialized (implicit zero) and
53076         explicit zero initializers the same (i.e. put the datum in bss).
53078 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53080         * nscd/nscd-client.h: Include <string.h>.
53082 2014-05-01  David S. Miller  <davem@davemloft.net>
53084         [BZ #16885]
53085         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
53086         multiple zero bytes exist at the end of a string.
53087         Reported by Aurelien Jarno <aurelien@aurel32.net>
53089         * string/test-strcmp.c (check): Add explicit test for situations where
53090         there are multiple zero bytes after the first.
53092 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53094         [BZ #16890]
53095         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
53096         when compiling wprintf.
53097         * stdio-common/tstdiomisc.c (t3): New function.
53098         (main): Call it.
53100 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53102         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
53103         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
53104         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
53105         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
53107 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53109         * stdlib/longlong.h: Updated from GCC.
53111 2014-05-01  Will Newton  <will.newton@linaro.org>
53112             Bernard Ogden  <bernie.ogden@linaro.org>
53114         * NEWS: Update fixed bug list.
53116         [BZ #15119]
53117         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53119 2014-04-30  David S. Miller  <davem@davemloft.net>
53121         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53122         (libc_feholdexcept_setround_sparc_ctx): New function.
53123         (libc_fesetenv_sparc_ctx): Likewise.
53124         (libc_feupdateenv_sparc_ctx): Likewise.
53125         (libc_feholdsetround_sparc_ctx): Likewise.
53126         (libc_feholdexcept_setround_ctx): Define.
53127         (libc_feholdexcept_setroundf_ctx): Likewise.
53128         (libc_feholdexcept_setroundl_ctx): Likewise.
53129         (libc_fesetenv_ctx): Likewise.
53130         (libc_fesetenvf_ctx): Likewise.
53131         (libc_fesetenvl_ctx): Likewise.
53132         (libc_feupdateenv_ctx): Likewise.
53133         (libc_feupdateenvf_ctx): Likewise.
53134         (libc_feupdateenvl_ctx): Likewise.
53135         (libc_feresetround_ctx): Likewise.
53136         (libc_feresetroundf_ctx): Likewise.
53137         (libc_feresetroundl_ctx): Likewise.
53138         (libc_feholdsetround_ctx): Likewise.
53139         (libc_feholdsetroundf_ctx): Likewise.
53140         (libc_feholdsetroundl_ctx): Likewise.
53142         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53143         with __USE_GNU instead of XOPEN cpp guards.
53145         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53146         0.
53148         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53149         with XOPEN cpp guards.
53151 2014-04-30  Julian Brown  <julian@codesourcery.com>
53153         [BZ #16888]
53154         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53155         handling.
53157 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
53159         [BZ #9894]
53160         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53161         Change to 2.6.32.
53162         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53163         * sysdeps/unix/sysv/linux/configure: Regenerated.
53164         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53165         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53166         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53167         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53168         * README: Update reference to required Linux kernel version.
53169         * manual/install.texi (Linux): Update reference to required Linux
53170         kernel headers version.
53171         * INSTALL: Regenerated.
53173         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53174         header inclusion.
53175         [POSIX] (limits.h): Likewise.
53176         [POSIX] (math.h): Likewise.
53177         [POSIX] (sys/wait.h): Likewise.
53178         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53179         function.
53180         [POSIX] (stddef.h): Do not allow header inclusion.
53182 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53184         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53186 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
53188         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53189         Return immediately after lll_futex_wake.
53191 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53193         [BZ #16791]
53194         * nscd/nscd-client.h (datahead_init_common): Initialize entire
53195         structure.
53196         (datahead_init_pos): Call datahead_init_common early.
53197         (datahead_init_neg): Likewise.
53199         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53200         datahead_init_neg): New functions.
53201         * nscd/aicache.c (addhstaiX): Use them.
53202         * nscd/grpcache.c (cache_addgr): Likewise.
53203         * nscd/hstcache.c (cache_addhst): Likewise.
53204         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53205         * nscd/netgroupcache.c (do_notfound): Likewise.
53206         (addgetnetgrentX): Likewise.
53207         (addinnetgrX): Likewise.
53208         * nscd/pwdcache.c (cache_addpw): Likewise.
53209         * nscd/servicescache.c (cache_addserv): Likewise.
53211 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53212             Atsushi Onoe  <atsushi@onoe.org>
53214         [BZ #14308]
53215         [BZ #12994]
53216         [BZ #13651]
53217         * resolv/res_query.c (__libc_res_nsearch): Return if at least
53218         one response is valid.
53219         * resolv/res_send.c (send_dg): Check for validity of other
53220         response if the current response is a referral.
53222 2014-04-29  Steve Ellcey  <sellcey@mips.com>
53224         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53226 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
53228         [BZ #16823]
53229         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53230         Always divide by positive zero when computing -Inf result.
53231         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53232         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53234 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53236         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53237         FPSCR if value do not change.
53238         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53239         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53240         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53241         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53242         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53243         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53244         function.
53246 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
53248         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53249         * sysdeps/unix/sysv/linux/hppa: Move directory from
53250         ports/systeps/unix/sysv/linux/hppa.
53251         * README: Update listing for hppa-*-linux-gnu.
53253 2014-04-28  Ondƙej BĂ­lka  <neleai@seznam.cz>
53255         [BZ #16754]
53256         * manual/stdio.texi (Hook functions): Fix types of stream hook
53257         functions.
53258         [BZ #16854]
53259         * socket/sys/socket.h: Fix typo in comment.
53261 2014-04-28  Wilco  <wdijkstr@arm.com>
53263         * sysdeps/arm/fenv_private.h: New file.
53264         * sysdeps/arm/math_private.h: New file.
53265         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53267 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
53269         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53270         with __int128_t.
53271         (La_x86_64_retval): Likewise.
53273 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
53275         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53276         fpsr if value didn't change.
53277         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53278         to fpcr if value didn't change.
53279         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53280         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53281         fpsr or fpcr if value didn't change.
53282         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53283         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53284         fpcr if value didn't change.
53285         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53286         to fpsr if value didn't change.
53288 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53290         * nptl/tst-sem3.c: Use test-skeleton.c
53291         (main): Rename to do_test.  Use return instead of
53292         exit.
53293         * nptl/tst-sem4.c: Use test-skeleton.c
53294         (main): Rename to do_test.
53296 2014-04-22  David S. Miller  <davem@davemloft.net>
53298         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53299         (struct sigaction): New struct member __glibc_reserved0, change
53300         type of sa_flags to int.
53302 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
53304         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53305         (COUNT_LEADING_ZEROS_0): Define for AArch64.
53307 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53309         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53310         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53312 2014-04-22  Will Newton  <will.newton@linaro.org>
53313             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
53315         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53316         (__longjmp): Add longjmp and longjmp_target SystemTap
53317         probes.
53318         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53319         (__sigsetjmp): Add setjmp SystemTap probe.
53321 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
53323         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53324         match manual order.
53326 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53328         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53330         * sysdeps/powerpc/fpu/fenv_private.h
53331         (libc_feholdexcept_setroundl_ctx): Define to
53332         libc_feholdexcept_setround_ppc_ctx.
53333         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53334         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53335         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53336         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53338 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53340         * sysdeps/aarch64/math-tests.h: New file.
53342 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
53344         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53345         New.
53346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53347         Check and set bit_AVX2_Usable.
53348         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53349         macro.
53350         (bit_AVX2): Likewise.
53351         (index_AVX2_Usable): Likewise.
53352         (CPUID_AVX2): Likewise.
53353         (HAS_AVX2): Likewise.
53355 2014-04-17  Will Newton  <will.newton@linaro.org>
53357         * manual/setjmp.texi (System V contexts): Add note that
53358         calling setcontext on a context created by a call to a
53359         signal handler is undefined.  Update text to note that
53360         setcontext from a signal handler is possible but not
53361         recommended.
53363         [BZ #16629]
53364         * stdlib/tst-setcontext.c: Include signal.h.
53365         (main): Check that the signal stack before and
53366         after swapcontext is the same.
53368         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53369         Re-implement to restore registers in user code and avoid
53370         rt_sigreturn system call.
53372 2014-04-17  Wilco  <wdijkstr@arm.com>
53374         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53375         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53376         * math/test-fenv.c: Skip exception trap tests on targets which only
53377         support non-stop mode.
53379 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53380             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53382         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53383         (libc_feholdsetround_aarch64_ctx)
53384         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53385         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53386         (libc_feresetround_ctx, libc_feresetroundf_ctx)
53387         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53388         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53389         (libc_feresetround_noexl_ctx): Define.
53391 2014-04-16  Richard Henderson  <rth@redhat.com>
53393         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53395         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53396         unwind tables.
53398         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53399         const from the non-libc, non-ldso copy.
53401         * sysdeps/alpha/libm-test-ulps: Regenerate.
53403 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
53404             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53406         * sysdeps/aarch64/fpu/math_private.h: New file.
53408 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53410         * sysdeps/aarch64/libm-test-ulps: Regenerate.
53412 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
53414         [BZ #16275]
53415         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53416         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53417         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53418         Intel MPX bound registers before _dl_profile_fixup.
53419         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53420         registers after _dl_profile_fixup.  Save and restore bound
53421         registers bnd0/bnd1 when calling _dl_call_pltexit.
53422         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53423         (LR_BND_OFFSET): Likewise.
53424         (LRV_BND0_OFFSET): Likewise.
53425         (LRV_BND1_OFFSET): Likewise.
53427 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53429         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53430         to...
53431         * sysdeps/mach/hurd/i386/tls.h: ... here.
53432         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53433         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53434         fields.
53436 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53438         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53440 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53442         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53444 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53446         [BZ #14770]
53447         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53448         * sysdeps/s390/configure: Regenerate.
53450         [BZ #16824]
53451         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53452         Set round-to-nearest internally to reduce error accumulation.
53454 2014-04-16  Alan Modra  <amodra@gmail.com>
53456         [BZ #16740]
53457         [BZ #16619]
53458         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53459         * math/libm-test.inc (frexp_test_data): Add tests.
53460         * NEWS: Update fixed bug list.
53462 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53464         * benchtests/Makefile: Depend on libraries in build directory.
53465         (bench-math): Separate out math tests.
53466         (bench-pthread): Separate out pthread tests.
53467         (bench): Include math and pthread tests.
53469 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
53471         [BZ #16831]
53472         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53473         _dl_debug_initialize.
53475         * configure.ac: Remove SELinux header check.
53476         * configure: Regenerate.
53477         * nscd/selinux.c (perms): Array of const char* to permission names.
53478         (nscd_request_avc_has_perm): Call security_deny_unknown to find
53479         default policy. Call string_to_security_class and string_to_av_perm to
53480         translate strings. Enforce default policy and call avs_has_perm with
53481         results of translated strings.
53483 2014-04-13  David S. Miller  <davem@davemloft.net>
53485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53487 2014-04-12  Allan McRae  <allan@archlinux.org>
53489         [BZ #16838]
53490         * manual/string.texi (Collation Functions): Fix qsort argument
53491         order in example.
53492         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53494 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
53496         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53497         Make the test a no-op if there are no exceptions defined.
53499 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
53501         * elf/Makefile (tests): make tst-dlopen-aout conditional on
53502         enable-hardcoded-path-in-tests
53504 2014-04-11  Will Newton  <will.newton@linaro.org>
53506         * benchtests/Makefile (extra-objs): Add json-lib.o.
53507         (bench-func): Tidy up JSON output.
53508         * benchtests/bench-skeleton.c: Include json-lib.h.
53509         (main): Use JSON library functions to do output of
53510         benchmark results.
53511         * benchtests/bench-timing-type.c (main): Output the
53512         timing type simply, leaving formatting to the user.
53513         * benchtests/json-lib.c: New file.
53514         * benchtests/json-lib.h: Likewise.
53516 2014-04-11  Torvald Riegel  <triegel@redhat.com>
53518         [BZ #15215]
53519         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53520         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
53521         memory barriers.  Add comments.
53522         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53523         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53524         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53525         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53526         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53527         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53529 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53531         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53532         * sysdeps/s390/s390-64/configure.ac: ... this ...
53533         * sysdeps/s390/configure.ac: ... to here.
53534         * sysdeps/s390/s390-32/configure: Delete file.
53535         * sysdeps/s390/s390-64/configure: Delete file.
53536         * sysdeps/s390/configure: Regenerate.
53538 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
53540         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53542 2014-04-11  Will Newton  <will.newton@linaro.org>
53544         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53545         to zero if it is not defined elsewhere.  (mtrim): Test
53546         the value of MALLOC_DEBUG with #if rather than #ifdef.
53548 2014-04-10 Torvald Riegel  <triegel@redhat.com>
53550         * benchtests/pthread_once-inputs: New file.
53551         * benchtests/pthread_once-source.c: New file.
53552         * benchtests/README: Update documentation.
53554 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
53555             H.J. Lu  <hongjiu.lu@intel.com>
53557         [BZ #16275]
53558         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53559         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53560         * sysdeps/x86_64/configure: Regenerated.
53561         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53562         macro.
53563         (REGISTER_SAVE_RAX): Likewise.
53564         (REGISTER_SAVE_RCX): Likewise.
53565         (REGISTER_SAVE_RDX): Likewise.
53566         (REGISTER_SAVE_RSI): Likewise.
53567         (REGISTER_SAVE_RDI): Likewise.
53568         (REGISTER_SAVE_R8): Likewise.
53569         (REGISTER_SAVE_R9): Likewise.
53570         (REGISTER_SAVE_BND0): Likewise.
53571         (REGISTER_SAVE_BND1): Likewise.
53572         (REGISTER_SAVE_BND2): Likewise.
53573         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
53574         bound registers when calling _dl_fixup.
53576 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53578         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53579         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53580         of its definition.
53581         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53582         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53583         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53584         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53585         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53586         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53587         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53589 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
53591         [BZ #15514]
53592         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53593         pathconf(_PC_NAME_MAX).
53595 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53597         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53598         Remove macro usage.
53599         (__PTHREAD_SPINS): Move definition to ...
53600         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53601         (__PTHREAD_SPINS): ... here.
53602         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53603         (__PTHREAD_SPIN): Likewise.
53604         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53605         (__PTHREAD_SPIN): Likewise.
53606         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53607         (__PTHREAD_SPIN): Likewise.
53608         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53609         (__PTHREAD_SPIN): Likewise.
53610         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53611         (__PTHREAD_SPIN): Likewise.
53612         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53613         (__PTHREAD_SPIN): Likewise.
53614         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53615         (__PTHREAD_SPIN): Likewise.
53616         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53617         (__PTHREAD_SPIN): Likewise.
53618         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53619         (__PTHREAD_SPIN): Likewise.
53620         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53621         (__PTHREAD_SPIN): Likewise.
53622         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53623         (__PTHREAD_SPIN): Likewise.
53624         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53625         (__PTHREAD_SPIN): Likewise.
53627         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53628         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53629         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53630         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53631         imply folder.
53632         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53633         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53634         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53635         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53636         correct imply path.
53637         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53638         strlen symbol for non multi-arch builds.
53639         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53640         missing hidden_def and weak_alias.
53642 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
53644         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53646 2014-04-07  Will Newton  <will.newton@linaro.org>
53648         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53649         and contents.  [!_LIBC] Remove #ifndef and contents.
53650         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
53651         * string/memccpy.c (__memccpy): Use ANSI prototype.
53652         * string/memfrob.c (memfrob): Likewise.
53653         * string/strcoll.c (STRCOLL): Likewise.
53654         * string/strlen.c (strlen): Likewise.
53655         * string/strtok.c (STRTOK): Likewise.
53656         * string/strcat.c: Remove unused #include of memcopy.h.
53657         (strcat): Use ANSI prototype.
53658         * string/strchr.c: Remove unused #include of memcopy.h.
53659         (strchr): Use ANSI prototype.
53660         * string/strcmp.c: Remove unused #include of memcopy.h.
53661         (strcmp): Use ANSI prototype.
53662         * string/strcpy.c: Remove unused #include of memcopy.h.
53663         (strcpy): Use ANSI prototype.
53665 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53667         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53668         * config.make.in (config-extra-cppflags): Set it from
53669         libc_extra_cppflags.
53670         * configure.ac (libc_extra_cflags): Make it accumulate over
53671         configure fragments.
53672         (libc_extra_cppflags): New flag.
53673         * configure. Regenerate.
53674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53675         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53676         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53679         [BZ #16815]
53680         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53681         result for FE_DOWNWARD rounding mode.
53682         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53683         Likewise.
53684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53686 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
53688         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53689         in function argument name.
53691 2014-04-03  David Svoboda  <svoboda@cert.org>
53693         [BZ #5666]
53694         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53695         explicitly.
53697 2014-04-03  Roland McGrath  <roland@hack.frob.com>
53699         * elf/dl-unmap-segments.h: New file.
53700         * sysdeps/generic/ldsodefs.h
53701         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53702         * elf/dl-close.c: Include <dl-unmap-segments.h>.
53703         * elf/dl-fptr.c: Likewise.
53704         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53705         * sysdeps/aarch64/tlsdesc.c: Likewise.
53706         * sysdeps/arm/tlsdesc.c: Likewise.
53707         * sysdeps/i386/tlsdesc.c: Likewise.
53708         * sysdeps/tile/dl-runtime.c: Likewise.
53709         * sysdeps/x86_64/tlsdesc.c: Likewise.
53710         * elf/dl-load.h: New file.
53711         * elf/dl-load.c: Include it.
53712         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53713         Macros moved to dl-load.h.
53714         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53715         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53716         Use _dl_unmap_segments in place of __munmap.
53717         Break out segment-mapping loop into ...
53718         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53720 2014-04-03  Will Newton  <will.newton@linaro.org>
53722         * elf/dl-lookup.c (do_lookup_x): Remove comment
53723         referring to nested function and move variable
53724         declarations down to before first use.
53726 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
53728         [BZ #16799]
53729         [BZ #16800]
53730         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53731         with 0 numerator.
53732         * math/s_catanf.c (__catanf): Likewise.
53733         * math/s_catanh.c (__catanh): Likewise.
53734         * math/s_catanhf.c (__catanhf): Likewise.
53735         * math/s_catanhl.c (__catanhl): Likewise.
53736         * math/s_catanl.c (__catanl): Likewise.
53737         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53738         by positive zero when computing -Inf result.
53739         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53740         (catanh_test): Likewise.
53741         * sysdeps/i386/fpu/libm-test-ulps: Update.
53742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53744         [BZ #16789]
53745         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53746         instead of using underflowing value in computing result.
53747         * math/s_clog10.c (__clog10): Likewise.
53748         * math/s_clog10f.c (__clog10f): Likewise.
53749         * math/s_clog10l.c (__clog10l): Likewise.
53750         * math/s_clogf.c (__clogf): Likewise.
53751         * math/s_clogl.c (__clogl): Likewise.
53752         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53753         (clog10_test): Likewise.
53754         * sysdeps/i386/fpu/libm-test-ulps: Update.
53755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53757 2014-04-02  Alan Modra  <amodra@gmail.com>
53759         [BZ #16739]
53760         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53761         output when value is near a power of two.  Use int64_t for lx and
53762         remove casts.  Use decimal rather than hex exponent constants.
53763         Don't use long double multiplication when double will suffice.
53764         * math/libm-test.inc (nextafter_test_data): Add tests.
53765         * NEWS: Add 16739 and 16786 to bug list.
53767         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53769         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53771 2014-04-01  Will Newton  <will.newton@linaro.org>
53773         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53774         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
53776 2014-04-01  Florian Weimer  <fweimer@redhat.com>
53778         [BZ #13347]
53779         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53780         * nptl/tst-setuid2.c: New file.
53781         * nptl/Makefile (xtests): Add tst-setuid2.
53783 2014-04-01  Alan Modra  <amodra@gmail.com>
53785         [BZ #16786]
53786         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53788 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53790         [BZ #6803]
53791         [BZ #6804]
53792         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53793         set errno as appropriate.
53794         * math/w_scalbf.c (__scalbf): Likewise.
53795         * math/w_scalbl.c (__scalbl): Likewise.
53796         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53797         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53798         * math/libm-test.inc (scalb_test_data): Add errno expectations.
53799         Add more NaN tests.
53801         [BZ #16349]
53802         * math/w_atan2.c: Include <errno.h>.
53803         (__atan2): Set errno for result underflowing to zero.
53804         * math/w_atan2f.c: Include <errno.h>.
53805         (__atan2f): Set errno for result underflowing to zero.
53806         * math/w_atan2l.c: Include <errno.h>.
53807         (__atan2l): Set errno for result underflowing to zero.
53808         * math/auto-libm-test-in: Don't allow missing errno for some atan2
53809         tests.
53810         * math/auto-libm-test-out: Regenerated.
53812 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53814         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53815         Encode instruction correctly in little endian.
53816         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53817         Likewise.
53818         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53819         Likewise.
53820         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53821         Likewise.
53822         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53823         Likewise.
53825 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53827         [BZ #9894]
53828         * sysdeps/unix/sysv/linux/kernel-features.h
53829         [__sparc__ && !__arch64__ && !__sparc_v9__]
53830         (__ASSUME_SET_ROBUST_LIST): Do not define.
53831         [__sparc__ && !__arch64__ && !__sparc_v9__]
53832         (__ASSUME_FUTEX_LOCK_PI): Likewise.
53833         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53834         Likewise.
53835         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53836         (__ASSUME_FUTEX_LOCK_PI): Undefine.
53837         (__ASSUME_REQUEUE_PI): Likewise.
53838         (__ASSUME_SET_ROBUST_LIST): Likewise.
53839         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53840         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53841         Undefine.
53842         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53843         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53844         Likewise.
53845         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53846         Likewise.
53847         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53848         Likewise.
53849         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53850         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53851         Undefine.
53852         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53853         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53854         Likewise.
53856         [BZ #16648]
53857         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53858         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53859         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53861 2014-03-31  Will Newton  <will.newton@linaro.org>
53863         * benchtests/Makefile (bench): Add ffs and ffsll to list
53864         of tests.
53865         * benchtests/ffs-inputs: New file.
53866         * benchtests/ffsll-inputs: Likewise.
53868 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
53870         [BZ #16770]
53871         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53872         too large before casting to int.
53873         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53874         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53875         * math/libm-test.inc (scalb_test_data): Add more tests.
53877 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53879         * benchtests/Makefile (DETAILED_OPT): New make option.
53880         (bench-func): Run benchmark program with -d if DETAILED_OPT is
53881         set.
53882         * benchtests/bench-skeleton.c: Include stdbool.h.
53883         (main): Store and print timings per input.
53884         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53885         member to each argument value.
53886         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53887         (_print_arg_data): Initialize per-input timing to 0.
53889         * benchtests/Makefile (timing-type): New binary.
53890         (bench-clean): Also remove bench-timing-type.
53891         (bench): New target for timing-type.
53892         (bench-func): Print output in JSON format.
53893         * benchtests/bench-skeleton.c (main): Print output in JSON
53894         format.
53895         * benchtests/bench-timing-type.c: New file.
53896         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53897         (TIMING_PRINT_STATS): Remove.
53898         * benchtests/scripts/bench.py (_print_arg_data): Store variant
53899         name separately.
53901         * benchtests/bench-modf.c: Remove.
53902         * benchtests/modf-inputs: New inputs file.
53904 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
53906         [BZ #16362]
53907         * math/s_clog10.c (M_PI_LOG10E): New macro.
53908         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53909         imaginary parts are 0.
53910         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53911         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53912         imaginary parts are 0.
53913         * math/s_clog10l.c (M_PI_LOG10El): New macro.
53914         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53915         imaginary parts are 0.
53916         * math/libm-test.inc (clog10_test_data): Update expected results
53917         for when real and imaginary parts are 0.
53919 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
53921         * elf/dl-load.c: Finish conversion of __builtin_expect into
53922         __glibc_{un}likely.
53924 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
53926         [BZ #16348]
53927         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53928         1+x for argument with exponent below -67.
53929         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53930         Likewise.
53931         * math/auto-libm-test-in: Add more tests of exp.
53932         * math/auto-libm-test-out: Regenerated.
53934 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53936         [BZ #16759]
53937         * inet/getnetgrent_r.c (get_nonempty_val): New function.
53938         (nscd_getnetgrent): Use it.
53940         [BZ #16760]
53941         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53942         of stpcpy.
53944 2014-03-27  Andi Kleen  <ak@linux.intel.com>
53946         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53947         (lll_robust_lock, lll_cond_lock, lll_timedlock)
53948         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53949         (lll_robust_unlock): Remove out of line section. Use cfi
53950         intrinsics.
53951         (LLL_STUB_UNWIND_INFO*): Remove.
53952         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53953         (lll_robust_lock, lll_cond_lock, lll_timedlock)
53954         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53955         (lll_robust_unlock): Remove out of line section. Use cfi
53956         intrinsics.
53957         (LLL_STUB_UNWIND_INFO*): Remove.
53959 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53961         [BZ #16758]
53962         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
53963         blank values.
53965 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
53967         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
53969 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
53971         [BZ #16198]
53972         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
53973         fnstenv.
53974         * math/test-fenv-preserve.c: New file.
53975         * math/Makefile (tests): Add test-fenv-preserve.
53977 2014-03-26  Will Newton <will.newton@linaro.org>
53979         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
53981 2014-03-25  Roland McGrath  <roland@hack.frob.com>
53983         * scripts/versionlist.awk: Partition the version sets and emit all
53984         GLIBC_* (sorted) before all others (sorted).
53986 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
53988         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
53989         GLIBC_2.2.5 version.
53991 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53993         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
53994         calls.
53996         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
53997         previous change.
53999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54001 2014-03-25  Andreas Schwab  <schwab@suse.de>
54003         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
54004         label to be used after in6ailist is initialized.
54006 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54008         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
54009         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54011 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
54013         [BZ #16357]
54014         [BZ #16599]
54015         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
54016         min_plus_half.
54017         (fp_formats): Update initializers.
54018         (init_fp_formats): Initialize new field.
54019         (output_for_one_input_case): Allow underflow for results up to
54020         min_plus_half.
54021         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
54022         * math/auto-libm-test-in: Don't mark some underflows from asin and
54023         atanh as spurious.
54024         * math/auto-libm-test-out: Regenerated.
54025         * sysdeps/i386/fpu/libm-test-ulps: Update.
54026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54028 2014-03-25  Andreas Schwab  <schwab@suse.de>
54030         * libio/Makefile (tst-ftell-partial-wide-ENV)
54031         (tst-ftell-active-handler-ENV): Define.
54033 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
54035         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
54037 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
54039         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
54041 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
54043         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
54044         * sysdeps/x86_64/fpu/multiarch/e_exp.c
54045         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
54047 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
54049         [BZ #16634]
54050         * elf/dl-load.c (open_verify): Add mode parameter.
54051         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
54052         (open_path): Change from boolean 'secure' to complete flag 'mode'
54053         (_dl_map_object): Adjust.
54054         * elf/Makefile (tests): Add tst-dlopen-aout.
54055         * elf/tst-dlopen-aout.c: New test.
54057 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
54059         [BZ #16714]
54060         * sysdeps/unix/sysv/linux/s390/bits/stat.h
54061         (struct stat): Rename member pad0 to __glibc_reserved0.
54063         [BZ #16712]
54064         * sysdeps/s390/s390-32/bits/wordsize.h
54065         (__WORDSIZE32_SIZE_ULONG): New define.
54066         * sysdeps/s390/s390-64/bits/wordsize.h
54067         (__WORDSIZE32_SIZE_ULONG): Likewise.
54068         * sysdeps/generic/stdint.h (SIZE_MAX):
54069         Define as UL if __WORDSIZE32_SIZE_ULONG.
54071         [BZ #16713]
54072         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
54073         (__glibc_reserved0): New variable.
54074         (sa_flags): Change type to int.
54076         * posix/Makefile (before-compile): Use += before-compile instead
54077         of a :=.
54079         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
54080         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54082 2014-03-20  Andreas Schwab  <schwab@suse.de>
54084         [BZ #16743]
54085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
54086         non-matching result from nscd.
54088 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54090         * scripts/bench.py: Moved to ...
54091         * benchtests/scripts/bench.py: ... here.
54092         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
54094 2014-03-24  Andreas Schwab  <schwab@suse.de>
54096         [BZ #16002]
54097         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
54098         alloca_account and account alloca use for struct in6ailist.
54100 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
54102         [BZ #16284]
54103         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
54104         rounding mode to recompute results that overflow to infinity or
54105         underflow to zero.
54106         * math/auto-libm-test-in: Don't mark tests as expected to fail for
54107         bug 16284.
54108         * math/auto-libm-test-out: Regenerated.
54109         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
54110         (ccosh_test): Likewise.
54111         (csin_test_data): Use plus_oflow.
54112         (csin_test): Use ALL_RM_TEST.
54113         (csinh_test_data): Use plus_oflow.
54114         (csinh_test): Use ALL_RM_TEST.
54115         * sysdeps/i386/fpu/libm-test-ulps: Update.
54116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54118 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
54120         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54121         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54122         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54124         [BZ #16731]
54125         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54126         when x - 1 is zero.
54127         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54128         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54129         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54130         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54131         argument is 1.
54132         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54133         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54134         zero.
54135         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54136         * sysdeps/i386/fpu/libm-test-ulps: Update.
54137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54139 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54141         * scripts/bench.pl: Remove file.
54142         * scripts/bench.py: New benchmark script.
54143         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54144         * benchtests/README: Mention python dependency.
54145         * scripts/pylintrc: New file.
54146         * scripts/pylint: New file.
54148         * bits/mathdef.h: Use #ifdef instead of #if.
54149         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54150         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54151         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54152         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54153         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54154         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54156 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54157             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54159         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54161         and strpbrk-ppc64 objects.
54162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54163         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54164         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54165         multiarch strpbrk for POWER7.
54166         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54167         multiarch strpbrk for PPC64.
54168         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54169         ifunc selector.
54170         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54171         strpbrk for POWER7.
54173 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54175         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54176         (atan_test): Likewise.
54177         (atanh_test_data): Use NO_TEST_INLINE for two tests.
54178         (atanh_test): Use ALL_RM_TEST.
54179         (atan2_test_data): Likewise.
54180         (cabs_test): Likewise.
54181         (cacosh_test): Likewise.
54182         (carg_test): Likewise.
54183         (casin_test): Likewise.
54184         (casinh_test): Likewise.
54185         (cbrt_test): Likewise.
54186         (csqrt_test): Likewise.
54187         (erf_test): Likewise.
54188         (erfc_test): Likewise.
54189         (pow10_test): Likewise.
54190         (exp2_test): Likewise.
54191         (hypot_test): Likewise.
54192         (j0_test): Likewise.
54193         (j1_test): Likewise.
54194         (lgamma_test): Likewise.
54195         (gamma_test): Likewise.
54196         (sincos_test): Likewise.
54197         (tanh_test): Likewise.
54198         (y0_test): Likewise.
54199         (y1_test): Likewise.
54200         * sysdeps/i386/fpu/libm-test-ulps: Update.
54201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54203 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54205         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54207         and strcspn-ppc64 objects.
54208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54209         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54210         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54211         multiarch strcspn for POWER7.
54212         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54213         multiarch strcspn for PPC64.
54214         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54215         ifunc selector.
54216         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54217         strcspn for POWER7.
54219 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54221         * math/gen-libm-test.pl (generate_testfile): Expect only function
54222         name as argument to AUTO_TESTS_* and pass results for all rounding
54223         modes to parse_args.
54224         (parse_auto_input): Separate inputs of automatic tests from
54225         outputs before storing in %auto_tests.
54226         * math/libm-test.inc (acos_test_data): Update call to
54227         AUTO_TESTS_f_f.
54228         (acos_test): Use ALL_RM_TEST.
54229         (acos_tonearest_test_data): Remove.
54230         (acos_test_tonearest): Likewise.
54231         (acos_towardzero_test_data): Likewise.
54232         (acos_test_towardzero): Likewise.
54233         (acos_downward_test_data): Likewise.
54234         (acos_test_downward): Likewise.
54235         (acos_upward_test_data): Likewise.
54236         (acos_test_upward): Likewise.
54237         (acosh_test_data): Update call to AUTO_TESTS_f_f.
54238         (asin_test_data): Likewise.
54239         (asin_test): Use ALL_RM_TEST.
54240         (asin_tonearest_test_data): Remove.
54241         (asin_test_tonearest): Likewise.
54242         (asin_towardzero_test_data): Likewise.
54243         (asin_test_towardzero): Likewise.
54244         (asin_downward_test_data): Likewise.
54245         (asin_test_downward): Likewise.
54246         (asin_upward_test_data): Likewise.
54247         (asin_test_upward): Likewise.
54248         (asinh_test_data): Update call to AUTO_TESTS_f_f.
54249         (atan_test_data): Likewise.
54250         (atanh_test_data): Likewise.
54251         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54252         (cabs_test_data): Update call to AUTO_TESTS_c_f.
54253         (carg_test_data): Likewise.
54254         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54255         (ccos_test_data): Update call to AUTO_TESTS_c_c.
54256         (ccosh_test_data): Likewise.
54257         (cexp_test_data): Likewise.
54258         (clog_test_data): Likewise.
54259         (clog10_test_data): Likewise.
54260         (cos_test_data): Update call to AUTO_TESTS_f_f.
54261         (cos_test): Use ALL_RM_TEST.
54262         (cos_tonearest_test_data): Remove.
54263         (cos_test_tonearest): Likewise.
54264         (cos_towardzero_test_data): Likewise.
54265         (cos_test_towardzero): Likewise.
54266         (cos_downward_test_data): Likewise.
54267         (cos_test_downward): Likewise.
54268         (cos_upward_test_data): Likewise.
54269         (cos_test_upward): Likewise.
54270         (cosh_test_data): Update call to AUTO_TESTS_f_f.
54271         (cosh_test): Use ALL_RM_TEST.
54272         (cosh_tonearest_test_data): Remove.
54273         (cosh_test_tonearest): Likewise.
54274         (cosh_towardzero_test_data): Likewise.
54275         (cosh_test_towardzero): Likewise.
54276         (cosh_downward_test_data): Likewise.
54277         (cosh_test_downward): Likewise.
54278         (cosh_upward_test_data): Likewise.
54279         (cosh_test_upward): Likewise.
54280         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54281         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54282         (ctan_test_data): Likewise.
54283         (ctan_test): Use ALL_RM_TEST.
54284         (ctan_tonearest_test_data): Remove.
54285         (ctan_test_tonearest): Likewise.
54286         (ctan_towardzero_test_data): Likewise.
54287         (ctan_test_towardzero): Likewise.
54288         (ctan_downward_test_data): Likewise.
54289         (ctan_test_downward): Likewise.
54290         (ctan_upward_test_data): Likewise.
54291         (ctan_test_upward): Likewise.
54292         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54293         (ctanh_test): Use ALL_RM_TEST.
54294         (ctanh_tonearest_test_data): Remove.
54295         (ctanh_test_tonearest): Likewise.
54296         (ctanh_towardzero_test_data): Likewise.
54297         (ctanh_test_towardzero): Likewise.
54298         (ctanh_downward_test_data): Likewise.
54299         (ctanh_test_downward): Likewise.
54300         (ctanh_upward_test_data): Likewise.
54301         (ctanh_test_upward): Likewise.
54302         (erf_test_data): Update call to AUTO_TESTS_f_f.
54303         (erfc_test_data): Likewise.
54304         (exp_test_data): Likewise.
54305         (exp_test): Use ALL_RM_TEST.
54306         (exp_tonearest_test_data): Remove.
54307         (exp_test_tonearest): Likewise.
54308         (exp_towardzero_test_data): Likewise.
54309         (exp_test_towardzero): Likewise.
54310         (exp_downward_test_data): Likewise.
54311         (exp_test_downward): Likewise.
54312         (exp_upward_test_data): Likewise.
54313         (exp_test_upward): Likewise.
54314         (exp10_test_data): Update call to AUTO_TESTS_f_f.
54315         (exp10_test): Use ALL_RM_TEST.
54316         (exp10_tonearest_test_data): Remove.
54317         (exp10_test_tonearest): Likewise.
54318         (exp10_towardzero_test_data): Likewise.
54319         (exp10_test_towardzero): Likewise.
54320         (exp10_downward_test_data): Likewise.
54321         (exp10_test_downward): Likewise.
54322         (exp10_upward_test_data): Likewise.
54323         (exp10_test_upward): Likewise.
54324         (exp2_test_data): Update call to AUTO_TESTS_f_f.
54325         (expm1_test_data): Likewise.
54326         (expm1_test): Use ALL_RM_TEST.
54327         (expm1_tonearest_test_data): Remove.
54328         (expm1_test_tonearest): Likewise.
54329         (expm1_towardzero_test_data): Likewise.
54330         (expm1_test_towardzero): Likewise.
54331         (expm1_downward_test_data): Likewise.
54332         (expm1_test_downward): Likewise.
54333         (expm1_upward_test_data): Likewise.
54334         (expm1_test_upward): Likewise.
54335         (fma_test_data): Update call to AUTO_TESTS_fff_f.
54336         (fma_test): Use ALL_RM_TEST.
54337         (fma_towardzero_test_data): Remove.
54338         (fma_test_towardzero): Likewise.
54339         (fma_downward_test_data): Likewise.
54340         (fma_test_downward): Likewise.
54341         (fma_upward_test_data): Likewise.
54342         (fma_test_upward): Likewise.
54343         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54344         (j0_test_data): Update call to AUTO_TESTS_f_f.
54345         (j1_test_data): Likewise.
54346         (jn_test_data): Update call to AUTO_TESTS_if_f.
54347         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54348         (log_test_data): Update call to AUTO_TESTS_f_f.
54349         (log10_test_data): Likewise.
54350         (log1p_test_data): Likewise.
54351         (log2_test_data): Likewise.
54352         (pow_test_data): Update call to AUTO_TESTS_ff_f.
54353         (pow_tonearest_test_data): Likewise.
54354         (sin_test_data): Update call to AUTO_TESTS_f_f.
54355         (sin_test): Use ALL_RM_TEST.
54356         (sin_tonearest_test_data): Remove.
54357         (sin_test_tonearest): Likewise.
54358         (sin_towardzero_test_data): Likewise.
54359         (sin_test_towardzero): Likewise.
54360         (sin_downward_test_data): Likewise.
54361         (sin_test_downward): Likewise.
54362         (sin_upward_test_data): Likewise.
54363         (sin_test_upward): Likewise.
54364         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54365         (sinh_test_data): Update call to AUTO_TESTS_f_f.
54366         (sinh_test): Use ALL_RM_TEST.
54367         (sinh_tonearest_test_data): Remove.
54368         (sinh_test_tonearest): Likewise.
54369         (sinh_towardzero_test_data): Likewise.
54370         (sinh_test_towardzero): Likewise.
54371         (sinh_downward_test_data): Likewise.
54372         (sinh_test_downward): Likewise.
54373         (sinh_upward_test_data): Likewise.
54374         (sinh_test_upward): Likewise.
54375         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54376         (sqrt_test): Use ALL_RM_TEST.
54377         (sqrt_tonearest_test_data): Remove.
54378         (sqrt_test_tonearest): Likewise.
54379         (sqrt_towardzero_test_data): Likewise.
54380         (sqrt_test_towardzero): Likewise.
54381         (sqrt_downward_test_data): Likewise.
54382         (sqrt_test_downward): Likewise.
54383         (sqrt_upward_test_data): Likewise.
54384         (sqrt_test_upward): Likewise.
54385         (tan_test_data): Update call to AUTO_TESTS_f_f.
54386         (tan_test): Use ALL_RM_TEST.
54387         (tan_tonearest_test_data): Remove.
54388         (tan_test_tonearest): Likewise.
54389         (tan_towardzero_test_data): Likewise.
54390         (tan_test_towardzero): Likewise.
54391         (tan_downward_test_data): Likewise.
54392         (tan_test_downward): Likewise.
54393         (tan_upward_test_data): Likewise.
54394         (tan_test_upward): Likewise.
54395         (tanh_test_data): Update call to AUTO_TESTS_f_f.
54396         (tgamma_test_data): Likewise.
54397         (y0_test_data): Likewise.
54398         (y1_test_data): Likewise.
54399         (yn_test_data): Update call to AUTO_TESTS_if_f.
54400         (main): Do not call removed functions.
54402 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54404         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54405         (ldexp_test_data): Remove.
54406         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
54407         scalbn_test_data.
54408         (scalb_test): Use ALL_RM_TEST.
54410 2014-03-19  Andreas Schwab  <schwab@suse.de>
54412         * nscd/nscd.service: Also invalidate netgroup cache on reload.
54414 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54416         [BZ #16649]
54417         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54418         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54419         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54420         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54421         (__ASSUME_PREADV): Undefine.
54422         (__ASSUME_PWRITEV): Likewise.
54424 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54426         * bits/mman-linux.h: Add comment about non-Linux use.
54427         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54428         bits/mman-linux.h resting place.
54430         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54431         * bits/mman-linux.h: ... here.
54433 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54435         * conform/conformtest.pl: Add standard definition when calling C
54436         preprocessor on data files.
54437         (checknamespace): Remove unused variable.
54439 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54441         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54442         minus_oflow, plus_uflow and minus_uflow in expected results.
54443         * math/libm-test.inc (scalbn_test_data): Add more tests of
54444         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
54445         minus_uflow.
54446         (scalbn_test): Use ALL_RM_TEST.
54447         (scalbln_test_data): Add more tests of negative arguments.  Use
54448         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54449         (scalbln_test): Use ALL_RM_TEST.
54451 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54453         * scripts/abilist.awk: Ignore symbols marked with .hidden.
54455 2014-03-18  Will Newton  <will.newton@linaro.org>
54457         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54458         inaccurate comment.
54460 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54462         * Makerules [!subdir] (check-abi): Exit with error status if a
54463         test failed.
54465 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54467         * math/libm-test.inc (nearbyint_test_data): Include all tests used
54468         for rint.  Include results for all rounding modes.
54469         (nearbyint_test): Use ALL_RM_TEST.
54470         (rint_test_data): Include all tests used for nearbyint.
54472 2014-03-17  Will Newton  <will.newton@linaro.org>
54474         * nptl/sysdeps/pthread/pthread.h: Revert previous
54475         change.
54477         * sysdeps/generic/ldsodefs.h: Revert previous
54478         change.
54480         * libio/genops.c: Revert previous change.
54481         * libio/libioP.h: Likewise.
54482         * stdio-common/vfprintf.c: Likewise.
54484         * sysdeps/generic/math_private.h: Revert previous
54485         change.
54487         * sysdeps/generic/math_private.h: Check whether
54488         HAVE_RM_CTX is defined with #ifdef rather
54489         than #if.
54491         * argp/argp-fmtstream.h: Check whether
54492         __STRICT_ANSI__ is defined with #ifdef rather
54493         than #if.
54494         * argp/argp.h: Likewise.
54496         * libio/genops.c: Check whether
54497         _IO_JUMPS_OFFSET is defined with #ifdef rather
54498         than #if.
54499         * libio/libioP.h: Likewise.
54500         * stdio-common/vfprintf.c: Likewise.
54502         * sysdeps/generic/ldsodefs.h: Check whether
54503         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54504         than #if.
54506         * nptl/sysdeps/pthread/pthread.h: Check
54507         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54508         its value.
54510 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54512         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54513         setting O_APPEND.
54514         * libio/tst-ftell-active-handler.c (do_append_test): Add a
54515         test case.
54517         [BZ #16680]
54518         * libio/fileops.c (_IO_file_open): Seek to end of file but
54519         don't cache the offset.
54520         (get_file_offset): Remove function.
54521         (do_ftell): Use cached offset when available.
54522         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54523         don't cache the offset.
54524         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54525         case.
54526         (do_one_test): Call it.
54527         (do_ftell_test): Fix up expected old offset for a+ mode.
54528         * libio/wfileops.c (do_ftell_wide): Used cached offset when
54529         available.
54531         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54532         up test status with function return status.
54533         (do_write_test): Likewise.
54534         (do_append_test): Likewise.
54536         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54537         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54538         Remove.
54540 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54542         * math/gen-libm-test.pl (parse_args): Handle results specified for
54543         each rounding mode separately.
54544         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54545         tests and results from lrint_tonearest_test_data,
54546         lrint_towardzero_test_data, lrint_downward_test_data and
54547         lrint_upward_test_data.
54548         (lrint_test): Use ALL_RM_TEST.
54549         (lrint_tonearest_test_data): Remove.
54550         (lrint_test_tonearest): Likewise.
54551         (lrint_towardzero_test_data): Likewise.
54552         (lrint_test_towardzero): Likewise.
54553         (lrint_downward_test_data): Likewise.
54554         (lrint_test_downward): Likewise.
54555         (lrint_upward_test_data): Likewise.
54556         (lrint_test_upward): Likewise.
54557         (llrint_test_data): Merge in per-rounding-mode tests and results
54558         from llrint_tonearest_test_data, llrint_towardzero_test_data,
54559         llrint_downward_test_data and llrint_upward_test_data.
54560         (llrint_test): Use ALL_RM_TEST.
54561         (llrint_tonearest_test_data): Remove.
54562         (llrint_test_tonearest): Likewise.
54563         (llrint_towardzero_test_data): Likewise.
54564         (llrint_test_towardzero): Likewise.
54565         (llrint_downward_test_data): Likewise.
54566         (llrint_test_downward): Likewise.
54567         (llrint_upward_test_data): Likewise.
54568         (llrint_test_upward): Likewise.
54569         (rint_test_data): Merge in per-rounding-mode tests and results
54570         from rint_tonearest_test_data, rint_towardzero_test_data,
54571         rint_downward_test_data and rint_upward_test_data.  Add
54572         per-rounding-mode results for tests not in those arrays.
54573         (rint_test): Use ALL_RM_TEST.
54574         (rint_tonearest_test_data): Remove.
54575         (rint_test_tonearest): Likewise.
54576         (rint_towardzero_test_data): Likewise.
54577         (rint_test_towardzero): Likewise.
54578         (rint_downward_test_data): Likewise.
54579         (rint_test_downward): Likewise.
54580         (rint_upward_test_data): Likewise.
54581         (rint_test_upward): Likewise.
54582         (main): Don't call removed functions.
54584 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54586         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54587         "Compiled on ..." crapola.  It is anti-useful.
54589 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
54591         * scripts/evaluate-test.sh: Handle fourth argument to determine
54592         whether test run should stop on failure.
54593         * Makeconfig (stop-on-test-failure): New variable.
54594         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54595         $(stop-on-test-failure).
54596         * Makefile (tests): Give a summary of results from testing and
54597         exit with failure status if they include an ERROR or FAIL.
54598         (xtests): Likewise.
54599         * manual/install.texi (Configuring and compiling): Mention
54600         stop-on-test-failure=y.
54601         * INSTALL: Regenerated.
54603 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54605         * scripts/versionlist.awk: New file.
54606         * Makerules [$(build-shared) = yes]
54607         (postclean-generated): Add Versions.def, not Versions.def.v and
54608         Versions.def.v.i.
54609         ($(common-objpfx)Versions.def.v.i): Target removed.
54610         ($(common-objpfx)Versions.def): New target.
54611         ($(common-objpfx)Versions.all): Depend on that rather that
54612         $(common-objpfx)Versions.def.v.
54613         * Versions.def: File removed.
54615         * Makeconfig (+gccwarn): Add -Wundef.
54616         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54617         a dl-sysdep.h breaking its contract.
54618         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54619         * include/stackinfo.h: New file.
54620         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54621         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54622         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54623         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54624         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54625         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54626         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54627         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54628         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54629         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54630         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54631         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54632         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54633         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54634         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54636 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54638         [BZ #16707]
54639         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54640         implementation.
54641         * math/libm-test.inc (round_test_data): Add more tests.
54643         [BZ #16706]
54644         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54645         implementation.
54646         * math/libm-test.inc (nearbyint_test_data): Add more tests.
54648         [BZ #16701]
54649         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54650         implementation.
54651         * math/libm-test.inc (ceil_test_data): Add more tests.
54653         * math/libm-test.inc (trunc_test_data): Add more tests related to
54654         BZ#16414.
54656 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54658         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54659         with #if rather than #ifdef.
54660         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54662 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
54664         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54665         first.  Disable AVX-512 GCC support if assembler doesn't support
54666         it.
54667         * sysdeps/x86_64/configure: Regenerated.
54669 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
54671         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54672         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54673         (__old_pthread_attr_setstack): Likewise.
54674         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54675         [!_STACK_GROWS_DOWN]: Likewise.
54677 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
54679         * config.make.in (have-bash2): Delete.
54680         * configure.ac (libc_cv_have_bash2): Delete.
54681         * configure: Regenerate.
54682         * elf/Makefile (common-ldd-rewrite): Rename to ...
54683         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
54684         (sh-ldd-rewrite): Delete.
54685         (bash-ldd-rewrite): Delete.
54686         (have-bash2): Delete checks.
54687         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54688         ldd-rewrite.
54690         * config.make.in (have-ksh): Delete.
54691         (KSH): Delete.
54692         * configure.ac (libc_cv_have_ksh): Delete.
54693         * configure: Regenerate.
54695         * elf/Makefile: Delete $(have-ksh) check.
54696         ($(objpfx)sotruss): Change KSH to BASH.
54697         * elf/sotruss.ksh: Rename to ...
54698         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
54699         function style to match POSIX.  Drop ksh vim mode setting.
54701         * manual/time.texi (Specifying the Time Zone with TZ): Change
54702         Tuesday to Thursday.
54704         * debug/tst-longjmp_chk2.c: Update header comment.
54705         (stackoverflow_handler): Add comment.  Call assert on pass value.
54707 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
54709         [BZ #16194]
54710         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54711         (HAVE_AVX512_ASM_SUPPORT): Likewise.
54712         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54713         (La_x86_64_vector): Add zmm.
54714         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54715         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54716         ($(objpfx)tst-audit10): New target.
54717         ($(objpfx)tst-audit10.out): Likewise.
54718         (tst-audit10-ENV): New.
54719         (AVX512-CFLAGS): Likewise.
54720         (CFLAGS-tst-audit10.c): Likewise.
54721         (CFLAGS-tst-auditmod10a.c): Likewise.
54722         (CFLAGS-tst-auditmod10b.c): Likewise.
54723         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54724         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54725         * sysdeps/x86_64/configure: Regenerated.
54726         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54727         AVX-512 zmm register support.
54728         (_dl_x86_64_save_sse): Likewise.
54729         (_dl_x86_64_restore_sse): Likewise.
54730         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54731         size vector registers.
54732         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54733         (ZMM_SIZE): Likewise.
54734         * sysdeps/x86_64/tst-audit10.c: New file.
54735         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54736         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54738 2014-03-13  Roland McGrath  <roland@hack.frob.com>
54740         * configure.ac (HAVE_EHDR_START): New check.
54741         * configure: Regenerated.
54742         * config.h.in (HAVE_EHDR_START): New #undef.
54743         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54744         assuming the lowest-addressed segment maps the start of the file.
54746 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
54748         * INSTALL: Regenerated.
54750 2014-03-13  Will Newton  <will.newton@linaro.org>
54752         * manual/setjmp.texi (System V contexts): Improve
54753         clarity and grammar of documentation.
54755 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
54757         [BZ #16381]
54758         * elf/Makefile (tests): Add tst-pie2.
54759         (tests-pie): Add tst-pie2.
54760         * elf/tst-pie2.c: New file.
54761         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54762         for ET_EXEC.
54763         * elf/rtld.c (map_doit): Load executable as lt_executable.
54764         (dl_main): Likewise.
54766 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
54768         [BZ #16642]
54769         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54770         (__ASSUME_PSELECT): Undefine.
54772 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54774         [BZ #16689]
54775         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54776         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54777         static build.
54778         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54779         selector for static builds.
54781 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54783         [BZ #16695]
54784         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54785         key in the buffer.
54787 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54789         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54790         IFUNC selector for static builds.
54792 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
54794         * sysdeps/mips/math_private.h [__mips_hard_float]
54795         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54796         libc_feresetround_mips_ctx.
54797         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54798         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54799         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54801         [BZ #16677]
54802         * math/s_nextafter.c (__nextafter): Do not return value from
54803         overflowing computation.
54804         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54805         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54806         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54807         Likewise.
54808         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54809         Likewise.
54810         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54811         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54813 2014-03-11  Roland McGrath  <roland@hack.frob.com>
54815         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54816         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54817         Move sfi_sp use from the load-multiple (that no longer sets sp) to
54818         the new mov targetting sp.
54820 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54822         [BZ #16683]
54823         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54824         Define it for static builds as well.
54825         (NO_BZERO_IMPL): Likewise.
54827 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54829         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54830         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54831         multiarch strspn for PPC64.
54832         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54833         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54835         (__libc_ifunc_impl_list): Likewise.
54836         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54837         multiarch optimizations
54838         * string/strspn.c (strspn): Using macro to redefine symbol name.
54840 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54841             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54843         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54844         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54845         multiarch strncat for PPC64.
54846         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54847         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54849         (__libc_ifunc_impl_list): Likewise.
54850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54851         multiarch optimizations
54853 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54855         [BZ #16639]
54856         * nscd/nscd.service: Make service type forking.
54858 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54860         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54861         sign in non default rounding modes.
54862         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54864 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
54866         * math/libm-test.inc (ALL_RM_TEST): New macro.
54867         (ceil_test): Use ALL_RM_TEST.
54868         (cimag_test): Likewise.
54869         (conj_test): Likewise.
54870         (copysign_test): Likewise.
54871         (cproj_test): Likewise.
54872         (creal_test): Likewise.
54873         (fabs_test): Likewise.
54874         (floor_test): Likewise.
54875         (fmax_test): Likewise.
54876         (fmin_test): Likewise.
54877         (fmod_test): Likewise.
54878         (fpclassify_test): Likewise.
54879         (frexp_test): Likewise.
54880         (ilogb_test): Likewise.
54881         (isfinite_test): Likewise.
54882         (finite_test): Likewise.
54883         (isgreater_test): Likewise.
54884         (isgreaterequal_test): Likewise.
54885         (isinf_test): Likewise.
54886         (isless_test): Likewise.
54887         (islessequal_test): Likewise.
54888         (islessgreater_test): Likewise.
54889         (isnan_test): Likewise.
54890         (isnormal_test): Likewise.
54891         (issignaling_test): Likewise.
54892         (isunordered_test): Likewise.
54893         (logb_test): Likewise.
54894         (logb_downward_test_data): Remove.
54895         (logb_test_downward): Likewise.
54896         (lround_test): Use ALL_RM_TEST.
54897         (llround_test): Likewise.
54898         (modf_test): Likewise.
54899         (nexttoward_test): Likewise.
54900         (remainder_test): Likewise.
54901         (drem_test): Likewise.
54902         (remainder_tonearest_test_data): Likewise.
54903         (remainder_test_tonearest): Likewise.
54904         (drem_test_tonearest): Likewise.
54905         (remainder_towardzero_test_data): Likewise.
54906         (remainder_test_towardzero): Likewise.
54907         (drem_test_towardzero): Likewise.
54908         (remainder_downward_test_data): Likewise.
54909         (remainder_test_downward): Likewise.
54910         (drem_test_downward): Likewise.
54911         (remainder_upward_test_data): Likewise.
54912         (remainder_test_upward): Likewise.
54913         (drem_test_upward): Likewise.
54914         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
54915         (round_test): Use ALL_RM_TEST.
54916         (signbit_test): Likewise.
54917         (trunc_test): Likewise.
54918         (significand_test): Likewise.
54919         (main): Don't call removed functions.
54921 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
54923         [BZ #16674]
54924         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54925         || __USE_XOPEN2K8].
54926         (ILL_ILLOPN): Likewise.
54927         (ILL_ILLADR): Likewise.
54928         (ILL_ILLTRP): Likewise.
54929         (ILL_PRVOPC): Likewise.
54930         (ILL_PRVREG): Likewise.
54931         (ILL_COPROC): Likewise.
54932         (ILL_BADSTK): Likewise.
54933         (FPE_INTDIV): Likewise.
54934         (FPE_INTOVF): Likewise.
54935         (FPE_FLTDIV): Likewise.
54936         (FPE_FLTOVF): Likewise.
54937         (FPE_FLTUND): Likewise.
54938         (FPE_FLTRES): Likewise.
54939         (FPE_FLTINV): Likewise.
54940         (FPE_FLTSUB): Likewise.
54941         (SEGV_MAPERR): Likewise.
54942         (SEGV_ACCERR): Likewise.
54943         (BUS_ADRALN): Likewise.
54944         (BUS_ADRERR): Likewise.
54945         (BUS_OBJERR): Likewise.
54946         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54947         (TRAP_TRACE): Likewise.
54948         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54949         __USE_XOPEN2K8].
54950         (CLD_KILLED): Likewise.
54951         (CLD_DUMPED): Likewise.
54952         (CLD_TRAPPED): Likewise.
54953         (CLD_STOPPED): Likewise.
54954         (CLD_CONTINUED): Likewise.
54955         (POLL_IN): Likewise.
54956         (POLL_OUT): Likewise.
54957         (POLL_MSG): Likewise.
54958         (POLL_ERR): Likewise.
54959         (POLL_PRI): Likewise.
54960         (POLL_HUP): Likewise.
54961         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
54962         Likewise.
54963         (ILL_ILLOPN): Likewise.
54964         (ILL_ILLADR): Likewise.
54965         (ILL_ILLTRP): Likewise.
54966         (ILL_PRVOPC): Likewise.
54967         (ILL_PRVREG): Likewise.
54968         (ILL_COPROC): Likewise.
54969         (ILL_BADSTK): Likewise.
54970         (FPE_INTDIV): Likewise.
54971         (FPE_INTOVF): Likewise.
54972         (FPE_FLTDIV): Likewise.
54973         (FPE_FLTOVF): Likewise.
54974         (FPE_FLTUND): Likewise.
54975         (FPE_FLTRES): Likewise.
54976         (FPE_FLTINV): Likewise.
54977         (FPE_FLTSUB): Likewise.
54978         (SEGV_MAPERR): Likewise.
54979         (SEGV_ACCERR): Likewise.
54980         (BUS_ADRALN): Likewise.
54981         (BUS_ADRERR): Likewise.
54982         (BUS_OBJERR): Likewise.
54983         (BUS_MCEERR_AR): Likewise.
54984         (BUS_MCEERR_AO): Likewise.
54985         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54986         (TRAP_TRACE): Likewise.
54987         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54988         __USE_XOPEN2K8].
54989         (CLD_KILLED): Likewise.
54990         (CLD_DUMPED): Likewise.
54991         (CLD_TRAPPED): Likewise.
54992         (CLD_STOPPED): Likewise.
54993         (CLD_CONTINUED): Likewise.
54994         (POLL_IN): Likewise.
54995         (POLL_OUT): Likewise.
54996         (POLL_MSG): Likewise.
54997         (POLL_ERR): Likewise.
54998         (POLL_PRI): Likewise.
54999         (POLL_HUP): Likewise.
55000         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
55001         (ILL_ILLOPN): Likewise.
55002         (ILL_ILLADR): Likewise.
55003         (ILL_ILLTRP): Likewise.
55004         (ILL_PRVOPC): Likewise.
55005         (ILL_PRVREG): Likewise.
55006         (ILL_COPROC): Likewise.
55007         (ILL_BADSTK): Likewise.
55008         (FPE_INTDIV): Likewise.
55009         (FPE_INTOVF): Likewise.
55010         (FPE_FLTDIV): Likewise.
55011         (FPE_FLTOVF): Likewise.
55012         (FPE_FLTUND): Likewise.
55013         (FPE_FLTRES): Likewise.
55014         (FPE_FLTINV): Likewise.
55015         (FPE_FLTSUB): Likewise.
55016         (SEGV_MAPERR): Likewise.
55017         (SEGV_ACCERR): Likewise.
55018         (BUS_ADRALN): Likewise.
55019         (BUS_ADRERR): Likewise.
55020         (BUS_OBJERR): Likewise.
55021         (BUS_MCEERR_AR): Likewise.
55022         (BUS_MCEERR_AO): Likewise.
55023         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55024         (TRAP_TRACE): Likewise.
55025         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55026         __USE_XOPEN2K8].
55027         (CLD_KILLED): Likewise.
55028         (CLD_DUMPED): Likewise.
55029         (CLD_TRAPPED): Likewise.
55030         (CLD_STOPPED): Likewise.
55031         (CLD_CONTINUED): Likewise.
55032         (POLL_IN): Likewise.
55033         (POLL_OUT): Likewise.
55034         (POLL_MSG): Likewise.
55035         (POLL_ERR): Likewise.
55036         (POLL_PRI): Likewise.
55037         (POLL_HUP): Likewise.
55038         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
55039         Likewise.
55040         (ILL_ILLOPN): Likewise.
55041         (ILL_ILLADR): Likewise.
55042         (ILL_ILLTRP): Likewise.
55043         (ILL_PRVOPC): Likewise.
55044         (ILL_PRVREG): Likewise.
55045         (ILL_COPROC): Likewise.
55046         (ILL_BADSTK): Likewise.
55047         (ILL_BADIADDR): Likewise.
55048         (ILL_BREAK): Likewise.
55049         (FPE_INTDIV): Likewise.
55050         (FPE_INTOVF): Likewise.
55051         (FPE_FLTDIV): Likewise.
55052         (FPE_FLTOVF): Likewise.
55053         (FPE_FLTUND): Likewise.
55054         (FPE_FLTRES): Likewise.
55055         (FPE_FLTINV): Likewise.
55056         (FPE_FLTSUB): Likewise.
55057         (FPE_DECOVF): Likewise.
55058         (FPE_DECDIV): Likewise.
55059         (FPE_DECERR): Likewise.
55060         (FPE_INVASC): Likewise.
55061         (FPE_INVDEC): Likewise.
55062         (SEGV_MAPERR): Likewise.
55063         (SEGV_ACCERR): Likewise.
55064         (SEGV_PSTKOVF): Likewise.
55065         (BUS_ADRALN): Likewise.
55066         (BUS_ADRERR): Likewise.
55067         (BUS_OBJERR): Likewise.
55068         (BUS_MCEERR_AR): Likewise.
55069         (BUS_MCEERR_AO): Likewise.
55070         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55071         (TRAP_TRACE): Likewise.
55072         (TRAP_BRANCH): Likewise.
55073         (TRAP_HWBKPT): Likewise.
55074         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55075         __USE_XOPEN2K8].
55076         (CLD_KILLED): Likewise.
55077         (CLD_DUMPED): Likewise.
55078         (CLD_TRAPPED): Likewise.
55079         (CLD_STOPPED): Likewise.
55080         (CLD_CONTINUED): Likewise.
55081         (POLL_IN): Likewise.
55082         (POLL_OUT): Likewise.
55083         (POLL_MSG): Likewise.
55084         (POLL_ERR): Likewise.
55085         (POLL_PRI): Likewise.
55086         (POLL_HUP): Likewise.
55087         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
55088         (ILL_ILLOPN): Likewise.
55089         (ILL_ILLADR): Likewise.
55090         (ILL_ILLTRP): Likewise.
55091         (ILL_PRVOPC): Likewise.
55092         (ILL_PRVREG): Likewise.
55093         (ILL_COPROC): Likewise.
55094         (ILL_BADSTK): Likewise.
55095         (FPE_INTDIV): Likewise.
55096         (FPE_INTOVF): Likewise.
55097         (FPE_FLTDIV): Likewise.
55098         (FPE_FLTOVF): Likewise.
55099         (FPE_FLTUND): Likewise.
55100         (FPE_FLTRES): Likewise.
55101         (FPE_FLTINV): Likewise.
55102         (FPE_FLTSUB): Likewise.
55103         (SEGV_MAPERR): Likewise.
55104         (SEGV_ACCERR): Likewise.
55105         (BUS_ADRALN): Likewise.
55106         (BUS_ADRERR): Likewise.
55107         (BUS_OBJERR): Likewise.
55108         (BUS_MCEERR_AR): Likewise.
55109         (BUS_MCEERR_AO): Likewise.
55110         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55111         (TRAP_TRACE): Likewise.
55112         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55113         __USE_XOPEN2K8].
55114         (CLD_KILLED): Likewise.
55115         (CLD_DUMPED): Likewise.
55116         (CLD_TRAPPED): Likewise.
55117         (CLD_STOPPED): Likewise.
55118         (CLD_CONTINUED): Likewise.
55119         (POLL_IN): Likewise.
55120         (POLL_OUT): Likewise.
55121         (POLL_MSG): Likewise.
55122         (POLL_ERR): Likewise.
55123         (POLL_PRI): Likewise.
55124         (POLL_HUP): Likewise.
55125         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55126         (ILL_ILLOPN): Likewise.
55127         (ILL_ILLADR): Likewise.
55128         (ILL_ILLTRP): Likewise.
55129         (ILL_PRVOPC): Likewise.
55130         (ILL_PRVREG): Likewise.
55131         (ILL_COPROC): Likewise.
55132         (ILL_BADSTK): Likewise.
55133         (FPE_INTDIV): Likewise.
55134         (FPE_INTOVF): Likewise.
55135         (FPE_FLTDIV): Likewise.
55136         (FPE_FLTOVF): Likewise.
55137         (FPE_FLTUND): Likewise.
55138         (FPE_FLTRES): Likewise.
55139         (FPE_FLTINV): Likewise.
55140         (FPE_FLTSUB): Likewise.
55141         (SEGV_MAPERR): Likewise.
55142         (SEGV_ACCERR): Likewise.
55143         (BUS_ADRALN): Likewise.
55144         (BUS_ADRERR): Likewise.
55145         (BUS_OBJERR): Likewise.
55146         (BUS_MCEERR_AR): Likewise.
55147         (BUS_MCEERR_AO): Likewise.
55148         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55149         (TRAP_TRACE): Likewise.
55150         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55151         __USE_XOPEN2K8].
55152         (CLD_KILLED): Likewise.
55153         (CLD_DUMPED): Likewise.
55154         (CLD_TRAPPED): Likewise.
55155         (CLD_STOPPED): Likewise.
55156         (CLD_CONTINUED): Likewise.
55157         (POLL_IN): Likewise.
55158         (POLL_OUT): Likewise.
55159         (POLL_MSG): Likewise.
55160         (POLL_ERR): Likewise.
55161         (POLL_PRI): Likewise.
55162         (POLL_HUP): Likewise.
55163         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55164         (ILL_ILLOPN): Likewise.
55165         (ILL_ILLADR): Likewise.
55166         (ILL_ILLTRP): Likewise.
55167         (ILL_PRVOPC): Likewise.
55168         (ILL_PRVREG): Likewise.
55169         (ILL_COPROC): Likewise.
55170         (ILL_BADSTK): Likewise.
55171         (FPE_INTDIV): Likewise.
55172         (FPE_INTOVF): Likewise.
55173         (FPE_FLTDIV): Likewise.
55174         (FPE_FLTOVF): Likewise.
55175         (FPE_FLTUND): Likewise.
55176         (FPE_FLTRES): Likewise.
55177         (FPE_FLTINV): Likewise.
55178         (FPE_FLTSUB): Likewise.
55179         (SEGV_MAPERR): Likewise.
55180         (SEGV_ACCERR): Likewise.
55181         (BUS_ADRALN): Likewise.
55182         (BUS_ADRERR): Likewise.
55183         (BUS_OBJERR): Likewise.
55184         (BUS_MCEERR_AR): Likewise.
55185         (BUS_MCEERR_AO): Likewise.
55186         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55187         (TRAP_TRACE): Likewise.
55188         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55189         __USE_XOPEN2K8].
55190         (CLD_KILLED): Likewise.
55191         (CLD_DUMPED): Likewise.
55192         (CLD_TRAPPED): Likewise.
55193         (CLD_STOPPED): Likewise.
55194         (CLD_CONTINUED): Likewise.
55195         (POLL_IN): Likewise.
55196         (POLL_OUT): Likewise.
55197         (POLL_MSG): Likewise.
55198         (POLL_ERR): Likewise.
55199         (POLL_PRI): Likewise.
55200         (POLL_HUP): Likewise.
55201         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55202         (ILL_ILLOPN): Likewise.
55203         (ILL_ILLADR): Likewise.
55204         (ILL_ILLTRP): Likewise.
55205         (ILL_PRVOPC): Likewise.
55206         (ILL_PRVREG): Likewise.
55207         (ILL_COPROC): Likewise.
55208         (ILL_BADSTK): Likewise.
55209         (ILL_DBLFLT): Likewise.
55210         (ILL_HARDWALL): Likewise.
55211         (FPE_INTDIV): Likewise.
55212         (FPE_INTOVF): Likewise.
55213         (FPE_FLTDIV): Likewise.
55214         (FPE_FLTOVF): Likewise.
55215         (FPE_FLTUND): Likewise.
55216         (FPE_FLTRES): Likewise.
55217         (FPE_FLTINV): Likewise.
55218         (FPE_FLTSUB): Likewise.
55219         (SEGV_MAPERR): Likewise.
55220         (SEGV_ACCERR): Likewise.
55221         (BUS_ADRALN): Likewise.
55222         (BUS_ADRERR): Likewise.
55223         (BUS_OBJERR): Likewise.
55224         (BUS_MCEERR_AR): Likewise.
55225         (BUS_MCEERR_AO): Likewise.
55226         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55227         (TRAP_TRACE): Likewise.
55228         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55229         __USE_XOPEN2K8].
55230         (CLD_KILLED): Likewise.
55231         (CLD_DUMPED): Likewise.
55232         (CLD_TRAPPED): Likewise.
55233         (CLD_STOPPED): Likewise.
55234         (CLD_CONTINUED): Likewise.
55235         (POLL_IN): Likewise.
55236         (POLL_OUT): Likewise.
55237         (POLL_MSG): Likewise.
55238         (POLL_ERR): Likewise.
55239         (POLL_PRI): Likewise.
55240         (POLL_HUP): Likewise.
55241         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55242         (ILL_ILLOPN): Likewise.
55243         (ILL_ILLADR): Likewise.
55244         (ILL_ILLTRP): Likewise.
55245         (ILL_PRVOPC): Likewise.
55246         (ILL_PRVREG): Likewise.
55247         (ILL_COPROC): Likewise.
55248         (ILL_BADSTK): Likewise.
55249         (FPE_INTDIV): Likewise.
55250         (FPE_INTOVF): Likewise.
55251         (FPE_FLTDIV): Likewise.
55252         (FPE_FLTOVF): Likewise.
55253         (FPE_FLTUND): Likewise.
55254         (FPE_FLTRES): Likewise.
55255         (FPE_FLTINV): Likewise.
55256         (FPE_FLTSUB): Likewise.
55257         (SEGV_MAPERR): Likewise.
55258         (SEGV_ACCERR): Likewise.
55259         (BUS_ADRALN): Likewise.
55260         (BUS_ADRERR): Likewise.
55261         (BUS_OBJERR): Likewise.
55262         (BUS_MCEERR_AR): Likewise.
55263         (BUS_MCEERR_AO): Likewise.
55264         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55265         (TRAP_TRACE): Likewise.
55266         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55267         __USE_XOPEN2K8].
55268         (CLD_KILLED): Likewise.
55269         (CLD_DUMPED): Likewise.
55270         (CLD_TRAPPED): Likewise.
55271         (CLD_STOPPED): Likewise.
55272         (CLD_CONTINUED): Likewise.
55273         (POLL_IN): Likewise.
55274         (POLL_OUT): Likewise.
55275         (POLL_MSG): Likewise.
55276         (POLL_ERR): Likewise.
55277         (POLL_PRI): Likewise.
55278         (POLL_HUP): Likewise.
55279         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55280         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55282         [BZ #16670]
55283         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55284         before #include of <time.h>.
55285         [!__USE_XOPEN2K] (__need_timespec): Likewise.
55286         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55287         (test-xfail-UNIX98/sched.h/conform): Likewise.
55289 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55291         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55292         error absence of trapping exception support.
55293         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55295 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
55297         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55298         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55299         * timezone/Makefile (testdata): Move definition above include of
55300         Rules.
55301         (test-zones): New variable.
55302         (tests-special): Add zone files.
55303         (build-testdata): Use $(evaluate-test).
55305         * elf/Makefile (tests-special): Rename tests to end with .out.
55306         ($(objpfx)noload-mem): Likewise.
55307         ($(objpfx)tst-leaks1-mem): Likewise.
55308         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55309         * iconv/Makefile (xtests-special): Change test-iconvconfig to
55310         $(objpfx)test-iconvconfig.out.
55311         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
55312         set -e inside subshell and redirect output to file.
55313         * iconvdata/Makefile (generated): Rename tests to end with .out.
55314         Correct type.
55315         (tests-special): Rename tests to end with .out.
55316         ($(objpfx)mtrace-tst-loading): Likewise.
55317         * intl/Makefile (generated): Likewise.
55318         (tests-special): Likewise.
55319         ($(objpfx)mtrace-tst-gettext): Likewise.
55320         * misc/Makefile (generated): Likewise.
55321         (tests-special): Likewise.
55322         ($(objpfx)tst-error1-mem): Likewise.
55323         * nptl/Makefile (tests-special): Likewise.
55324         ($(objpfx)tst-stack3-mem): Likewise.
55325         (generated): Likewise.
55326         * posix/Makefile (generated): Likewise.
55327         (tests-special): Likewise.
55328         (xtests-special): Likewise.
55329         ($(objpfx)tst-fnmatch-mem): Likewise.
55330         ($(objpfx)bug-regex2-mem): Likewise.
55331         ($(objpfx)bug-regex14-mem): Likewise.
55332         ($(objpfx)bug-regex21-mem): Likewise.
55333         ($(objpfx)bug-regex31-mem): Likewise.
55334         ($(objpfx)tst-vfork3-mem): Likewise.
55335         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55336         ($(objpfx)tst-pcre-mem): Likewise.
55337         ($(objpfx)tst-boost-mem): Likewise.
55338         ($(objpfx)bug-ga2-mem): Likewise.
55339         ($(objpfx)bug-glob2-mem): Likewise.
55340         * resolv/Makefile (generate): Likewise.
55341         (tests-special): Likewise.
55342         (xtests-special): Likewise.
55343         (generated): Likewise.
55344         ($(objpfx)mtrace-tst-leaks): Likewise.
55345         ($(objpfx)mtrace-tst-leaks2): Likewise.
55347         * scripts/merge-test-results.sh: New file.
55348         * Makefile (tests-special-notdir): New variable.
55349         (tests): Run merge-test-results.sh.
55350         (xtests): Likewise.
55351         * Rules (tests-special-notdir): New variable.
55352         (xtests-special-notdir): Likewise.
55353         (tests): Run merge-test-results.sh
55354         (xtests): Likewise.
55356         * Makeconfig (test-xfail-name): New variable.
55357         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55358         compute variable name for expected failures.
55359         * conform/Makefile (conformtest-headers-data): New variable.
55360         (conformtest-standards): Likewise.
55361         (conformtest-headers-ISO): Likewise.
55362         (conformtest-headers-ISO99): Likewise.
55363         (conformtest-headers-ISO11): Likewise.
55364         (conformtest-headers-POSIX): Likewise.
55365         (conformtest-headers-XPG3): Likewise.
55366         (conformtest-headers-XPG4): Likewise.
55367         (conformtest-headers-UNIX98): Likewise.
55368         (conformtest-headers-XOPEN2K): Likewise.
55369         (conformtest-headers-POSIX2008): Likewise.
55370         (conformtest-headers-XOPEN2K8): Likewise.
55371         (conformtest-header-list-base): Likewise.
55372         (conformtest-header-list-tests): Likewise.
55373         (conformtest-header-base): Likewise.
55374         (conformtest-header-tests): Likewise.
55375         (tests-special): Add $(conformtest-header-list-tests).  If
55376         [$(fast-check) && !$(cross-compiling)], add
55377         $(conformtest-header-tests) instead of
55378         $(objpfx)run-conformtest.out.
55379         (generated): Add $(conformtest-header-list-base).  If
55380         [$(fast-check) && !$(cross-compiling)], add
55381         $(conformtest-header-base).  Remove previous setting.
55382         ($(conformtest-header-list-tests)): New target.
55383         (test-xfail-run-conformtest): Remove variable.
55384         ($(objpfx)run-conformtest.out): Remove target.
55385         (test-xfail-ISO11/complex.h/conform): New variable.
55386         (test-xfail-ISO11/stdalign.h/conform): Likewise.
55387         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55388         (test-xfail-XPG3/varargs.h/conform): Likewise.
55389         (test-xfail-XPG4/varargs.h/conform): Likewise.
55390         (test-xfail-UNIX98/varargs.h/conform): Likewise.
55391         (test-xfail-XPG4/ndbm.h/conform): Likewise.
55392         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55393         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55394         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55395         (test-xfail-XPG3/fcntl.h/conform): Likewise.
55396         (test-xfail-XPG3/ftw.h/conform): Likewise.
55397         (test-xfail-XPG3/grp.h/conform): Likewise.
55398         (test-xfail-XPG3/langinfo.h/conform): Likewise.
55399         (test-xfail-XPG3/limits.h/conform): Likewise.
55400         (test-xfail-XPG3/pwd.h/conform): Likewise.
55401         (test-xfail-XPG3/search.h/conform): Likewise.
55402         (test-xfail-XPG3/signal.h/conform): Likewise.
55403         (test-xfail-XPG3/stdio.h/conform): Likewise.
55404         (test-xfail-XPG3/stdlib.h/conform): Likewise.
55405         (test-xfail-XPG3/string.h/conform): Likewise.
55406         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55407         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55408         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55409         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55410         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55411         (test-xfail-XPG3/sys/types.h/conform): Likewise.
55412         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55413         (test-xfail-XPG3/termios.h/conform): Likewise.
55414         (test-xfail-XPG3/time.h/conform): Likewise.
55415         (test-xfail-XPG3/unistd.h/conform): Likewise.
55416         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55417         (test-xfail-XPG4/fcntl.h/conform): Likewise.
55418         (test-xfail-XPG4/langinfo.h/conform): Likewise.
55419         (test-xfail-XPG4/netdb.h/conform): Likewise.
55420         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55421         (test-xfail-XPG4/signal.h/conform): Likewise.
55422         (test-xfail-XPG4/stdio.h/conform): Likewise.
55423         (test-xfail-XPG4/stdlib.h/conform): Likewise.
55424         (test-xfail-XPG4/stropts.h/conform): Likewise.
55425         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55426         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55427         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55428         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55429         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55430         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55431         (test-xfail-XPG4/sys/time.h/conform): Likewise.
55432         (test-xfail-XPG4/sys/types.h/conform): Likewise.
55433         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55434         (test-xfail-XPG4/termios.h/conform): Likewise.
55435         (test-xfail-XPG4/ucontext.h/conform): Likewise.
55436         (test-xfail-XPG4/unistd.h/conform): Likewise.
55437         (test-xfail-XPG4/utmpx.h/conform): Likewise.
55438         (test-xfail-POSIX/sched.h/conform): Likewise.
55439         (test-xfail-POSIX/signal.h/conform): Likewise.
55440         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55441         (test-xfail-POSIX/tar.h/conform): Likewise.
55442         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55443         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55444         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55445         (test-xfail-UNIX98/netdb.h/conform): Likewise.
55446         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55447         (test-xfail-UNIX98/sched.h/conform): Likewise.
55448         (test-xfail-UNIX98/signal.h/conform): Likewise.
55449         (test-xfail-UNIX98/stdio.h/conform): Likewise.
55450         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55451         (test-xfail-UNIX98/stropts.h/conform): Likewise.
55452         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55453         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55454         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55455         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55456         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55457         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55458         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55459         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55460         (test-xfail-UNIX98/unistd.h/conform): Likewise.
55461         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55462         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55463         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55464         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55465         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55466         (test-xfail-XOPEN2K/math.h/conform): Likewise.
55467         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55468         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55469         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55470         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55471         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55472         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55473         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55474         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55475         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55476         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55477         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55478         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55479         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55480         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55481         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55482         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55483         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55484         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55485         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55486         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55487         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55488         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55489         (test-xfail-POSIX2008/signal.h/conform): Likewise.
55490         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55491         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55492         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55493         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55494         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55495         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55496         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55497         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55498         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55499         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55500         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55501         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55502         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55503         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55504         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55505         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55506         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55507         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55508         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55509         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55510         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55511         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55512         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55513         (conformtest-cc-flags): Likewise.
55514         ($(conformtest-header-tests): New target.
55515         * conform/check-header-lists.sh: New file.
55516         * conform/run-conformtest.sh: Remove.
55518         * conform/conformtest.pl: Allow ' and \ in values given for
55519         constants.
55520         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55521         inclusion.
55522         [POSIX] (sys/types.h): Likewise.
55523         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55524         inclusion.
55525         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55526         inclusion.
55527         * conform/data/signal.h-data (SIGIO): Remove expectation.
55528         [XPG3] (SIGBUS): Do not expect.
55529         [POSIX || XPG3] (SIGPOLL): Likewise.
55530         [POSIX || XPG3] (SIGPROF): Likewise.
55531         [POSIX || XPG3] (SIGSYS): Likewise.
55532         [XPG3] (SIGTRAP): Likewise.
55533         [POSIX || XPG3] (SIGURG): Likewise.
55534         [POSIX || XPG3] (SIGVTALRM): Likewise.
55535         [POSIX || XPG3] (SIGXCPU): Likewise.
55536         [POSIX || XPG3] (SIGXFSZ): Likewise.
55537         [POSIX] (SA_SIGINFO): Expect.
55538         [XPG3] (siginfo_t): Do not expect type or contents.
55539         [POSIX] (si_pid): Do not expect element.
55540         [POSIX] (si_uid): Likewise.
55541         [POSIX] (si_addr): Likewise.
55542         [POSIX] (si_status): Likewise.
55543         [POSIX] (si_band): Likewise.
55544         [XPG4] (si_value): Likewise.
55545         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55546         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55547         [POSIX || XPG3] (ILL_ILLADR): Likewise.
55548         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55549         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55550         [POSIX || XPG3] (ILL_PRVREG): Likewise.
55551         [POSIX || XPG3] (ILL_COPROC): Likewise.
55552         [POSIX || XPG3] (ILL_BADSTK): Likewise.
55553         [POSIX || XPG3] (FPE_INTDIV): Likewise.
55554         [POSIX || XPG3] (FPE_INTOVF): Likewise.
55555         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55556         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55557         [POSIX || XPG3] (FPE_FLTUND): Likewise.
55558         [POSIX || XPG3] (FPE_FLTRES): Likewise.
55559         [POSIX || XPG3] (FPE_FLTINV): Likewise.
55560         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55561         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55562         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55563         [POSIX || XPG3] (BUS_ADRALN): Likewise.
55564         [POSIX || XPG3] (BUS_ADRERR): Likewise.
55565         [POSIX || XPG3] (BUS_OBJERR): Likewise.
55566         [POSIX || XPG3] (CLD_EXITED): Likewise.
55567         [POSIX || XPG3] (CLD_KILLED): Likewise.
55568         [POSIX || XPG3] (CLD_DUMPED): Likewise.
55569         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55570         [POSIX || XPG3] (CLD_STOPPED): Likewise.
55571         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55572         [POSIX || XPG3] (POLL_IN): Likewise.
55573         [POSIX || XPG3] (POLL_OUT): Likewise.
55574         [POSIX || XPG3] (POLL_MSG): Likewise.
55575         [POSIX || XPG3] (POLL_ERR): Likewise.
55576         [POSIX || XPG3] (POLL_PRI): Likewise.
55577         [POSIX || XPG3] (POLL_HUP): Likewise.
55578         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55579         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55580         (SIG*): Do not allow.
55581         [XPG3] (si_*): Likewise.
55582         [XPG3] (SI_*): Likewise.
55583         [XPG3 || XPG4] (sigev_*): Likewise.
55584         [XPG3 || XPG4] (SIGEV_*): Likewise.
55585         [XPG3 || XPG4] (sival_*): Likewise.
55586         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55587         [POSIX || XPG3] (BUS_*): Likewise.
55588         [POSIX || XPG3] (CLD_*): Likewise.
55589         [POSIX || XPG3] (FPE_*): Likewise.
55590         [POSIX || XPG3] (ILL_*): Likewise.
55591         [POSIX || XPG3] (POLL_*): Likewise.
55592         [POSIX || XPG3] (SEGV_*): Likewise.
55593         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55594         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55595         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55596         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55597         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55598         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55599         Specify type and value.
55600         (TVERSLEN): Likewise.
55601         (REGTYPE): Likewise.
55602         (AREGTYPE): Likewise.
55603         (LNKTYPE): Likewise.
55604         (SYMTYPE): Likewise.
55605         (CHRTYPE): Likewise.
55606         (BLKTYPE): Likewise.
55607         (DIRTYPE): Likewise.
55608         (FIFOTYPE): Likewise.
55609         (CONTTYPE): Likewise.
55610         (TSUID): Likewise.
55611         (TSGID): Likewise.
55612         (TSVTX): Likewise.
55613         (TUREAD): Likewise.
55614         (TUWRITE): Likewise.
55615         (TUEXEC): Likewise.
55616         (TGREAD): Likewise.
55617         (TGWRITE): Likewise.
55618         (TGEXEC): Likewise.
55619         (TOREAD): Likewise.
55620         (TOWRITE): Likewise.
55621         (TOEXEC): Likewise.
55622         [POSIX] (TSVTX): Expect constant.
55624 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
55626         * Makefile (tests): Change dependencies to ....
55627         (tests-special): ... additions to this variable.
55628         (tests): Depend on $(tests-special).
55629         * Makerules (check-abi-list): New variable.
55630         (check-abi): Depend on $(check-abi-list).
55631         [$(subdir) = elf] (tests-special): Add
55632         $(objpfx)check-abi-libc.out.
55633         [$(build-shared) = yes && subdir] (tests-special): Add
55634         $(check-abi-list).
55635         [$(build-shared) = yes && subdir] (tests): Do not depend on
55636         check-abi.
55637         * Rules (tests): Depend on $(tests-special).
55638         (xtests): Depend on $(xtests-special).
55639         * catgets/Makefile (tests): Change dependencies to ....
55640         (tests-special): ... additions to this variable.
55641         * conform/Makefile (tests): Change dependencies to ....
55642         (tests-special): ... additions to this variable.
55643         * elf/Makefile (tests): Change dependencies to ....
55644         (tests-special): ... additions to this variable.
55645         * grp/Makefile (tests): Change dependencies to ....
55646         (tests-special): ... additions to this variable.
55647         * iconv/Makefile (xtests): Change dependencies to ....
55648         (xtests-special): ... additions to this variable.
55649         * iconvdata/Makefile (tests): Change dependencies to ....
55650         (tests-special): ... additions to this variable.
55651         * intl/Makefile (tests): Change dependencies to ....
55652         (tests-special): ... additions to this variable.  Also add
55653         $(objpfx)tst-gettext.out.
55654         * io/Makefile (tests): Change dependencies to ....
55655         (tests-special): ... additions to this variable.
55656         * libio/Makefile (tests): Change dependencies to ....
55657         (tests-special): ... additions to this variable.
55658         * malloc/Makefile (tests): Change dependencies to ....
55659         (tests-special): ... additions to this variable.
55660         * misc/Makefile (tests): Change dependencies to ....
55661         (tests-special): ... additions to this variable.
55662         * nptl/Makefile (tests): Change dependencies to ....
55663         (tests-special): ... additions to this variable.
55664         * nptl_db/Makefile (tests): Change dependencies to ....
55665         (tests-special): ... additions to this variable.
55666         * posix/Makefile (tests): Change dependencies to ....
55667         (tests-special): ... additions to this variable.
55668         (xtests): Change dependencies to ....
55669         (xtests-special): ... additions to this variable.
55670         * resolv/Makefile (tests): Change dependencies to ....
55671         (tests-special): ... additions to this variable.
55672         (xtests): Change dependencies to ....
55673         (xtests-special): ... additions to this variable.
55674         * stdio-common/Makefile (tests): Change dependencies to ....
55675         (tests-special): ... additions to this variable.
55676         (do-tst-unbputc): Remove target.
55677         (do-tst-printf): Likewise.
55678         * stdlib/Makefile (tests): Change dependencies to ....
55679         (tests-special): ... additions to this variable.
55680         * string/Makefile (tests): Change dependencies to ....
55681         (tests-special): ... additions to this variable.
55682         * sysdeps/x86/Makefile (tests): Change dependencies to ....
55683         (tests-special): ... additions to this variable.
55685         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55686         whole file.
55687         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55688         whole file.
55689         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55690         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55692         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55693         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55694         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55695         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55696         * conform/data/libgen.h-data [XPG3]: Likewise.
55697         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55698         * conform/data/ndbm.h-data [XPG3]: Likewise.
55699         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55700         * conform/data/netdb.h-data [XPG3]: Likewise.
55701         * conform/data/netinet/in.h-data [XPG3]: Likewise.
55702         * conform/data/poll.h-data [XPG3]: Likewise.
55703         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55704         * conform/data/strings.h-data [XPG3]: Likewise.
55705         * conform/data/stropts.h-data [XPG3]: Likewise.
55706         * conform/data/sys/mman.h-data [XPG3]: Likewise.
55707         * conform/data/sys/resource.h-data [XPG3]: Likewise.
55708         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55709         Likewise.
55710         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55711         * conform/data/sys/time.h-data [XPG3]: Likewise.
55712         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55713         * conform/data/sys/uio.h-data [XPG3]: Likewise.
55714         * conform/data/sys/un.h-data [XPG3]: Likewise.
55715         * conform/data/syslog.h-data [XPG3]: Likewise.
55716         * conform/data/ucontext.h-data [XPG3]: Likewise.
55717         * conform/data/utmpx.h-data [XPG3]: Likewise.
55718         * conform/data/varargs.h-data [UNIX98]: Enable file.
55720         * manual/Makefile (INSTALL_INFO): Remove variable setting.
55722         * math/libm-test.inc (struct test_f_f_data): Move expected results
55723         into structure for each rounding mode.
55724         (struct test_ff_f_data): Likewise.
55725         (struct test_ff_f_data_nexttoward): Likewise.
55726         (struct test_fi_f_data): Likewise.
55727         (struct test_fl_f_data): Likewise.
55728         (struct test_if_f_data): Likewise.
55729         (struct test_fff_f_data): Likewise.
55730         (struct test_c_f_data): Likewise.
55731         (struct test_f_f1_data): Likewise.
55732         (struct test_fF_f1_data): Likewise.
55733         (struct test_ffI_f1_data): Likewise.
55734         (struct test_c_c_data): Likewise.
55735         (struct test_cc_c_data): Likewise.
55736         (struct test_f_i_data): Likewise.
55737         (struct test_ff_i_data): Likewise.
55738         (struct test_f_l_data): Likewise.
55739         (struct test_f_L_data): Likewise.
55740         (struct test_fFF_11_data): Likewise.
55741         (RM_): New macro.
55742         (RM_FE_DOWNWARD): Likewise.
55743         (RM_FE_TONEAREST): Likewise.
55744         (RM_FE_TOWARDZERO): Likewise.
55745         (RM_FE_UPWARD): Likewise.
55746         (RUN_TEST_LOOP_f_f): Update references to expected results.
55747         (RUN_TEST_LOOP_2_f): Likewise.
55748         (RUN_TEST_LOOP_fff_f): Likewise.
55749         (RUN_TEST_LOOP_c_f): Likewise.
55750         (RUN_TEST_LOOP_f_f1): Likewise.
55751         (RUN_TEST_LOOP_fF_f1): Likewise.
55752         (RUN_TEST_LOOP_fI_f1): Likewise.
55753         (RUN_TEST_LOOP_ffI_f1): Likewise.
55754         (RUN_TEST_LOOP_c_c): Likewise.
55755         (RUN_TEST_LOOP_cc_c): Likewise.
55756         (RUN_TEST_LOOP_f_i): Likewise.
55757         (RUN_TEST_LOOP_f_i_tg): Likewise.
55758         (RUN_TEST_LOOP_ff_i_tg): Likewise.
55759         (RUN_TEST_LOOP_f_b): Likewise.
55760         (RUN_TEST_LOOP_f_b_tg): Likewise.
55761         (RUN_TEST_LOOP_f_l): Likewise.
55762         (RUN_TEST_LOOP_f_L): Likewise.
55763         (RUN_TEST_LOOP_fFF_11): Likewise.
55764         * math/gen-libm-test.pl (parse_args): Output four copies of
55765         expected results for each test.
55767         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55768         (__ASSUME_UTIMES): Remove.
55769         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55770         (__ASSUME_UTIMES): Likewise.
55772         * math/gen-auto-libm-tests.c: Update comment on output format.
55773         (output_for_one_input_case): Generate before-rounding and
55774         after-rounding information as conditions on output flags not
55775         floating-point format.
55776         * math/auto-libm-test-out: Regenerated.
55777         * math/gen-libm-test.pl (cond_value): New function.
55778         (or_cond_value): Use cond_value.
55779         (generate_testfile): Handle conditional exceptions.
55781 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
55783         * math/libm-test.inc (max_valid_error): New variable.
55784         (init_max_error): Take new argument specifying whether function
55785         results are exactly determined.  Set max_valid_error and bound
55786         other variables for errors based on this argument.
55787         (set_max_error): Do not record results above max_valid_error.
55788         (check_float_internal): Only accept errors of up to 0.5ulps if
55789         also at most max_valid_error.
55790         (START): Take new argument EXACT and pass it to init_max_error.
55791         (acos_test): Update call to START.
55792         (acos_test_tonearest): Likewise.
55793         (acos_test_towardzero): Likewise.
55794         (acos_test_downward): Likewise.
55795         (acos_test_upward): Likewise.
55796         (acosh_test): Likewise.
55797         (asin_test): Likewise.
55798         (asin_test_tonearest): Likewise.
55799         (asin_test_towardzero): Likewise.
55800         (asin_test_downward): Likewise.
55801         (asin_test_upward): Likewise.
55802         (asinh_test): Likewise.
55803         (atan_test): Likewise.
55804         (atanh_test): Likewise.
55805         (atan2_test): Likewise.
55806         (cabs_test): Likewise.
55807         (cacos_test): Likewise.
55808         (cacosh_test): Likewise.
55809         (carg_test): Likewise.
55810         (casin_test): Likewise.
55811         (casinh_test): Likewise.
55812         (catan_test): Likewise.
55813         (catanh_test): Likewise.
55814         (cbrt_test): Likewise.
55815         (ccos_test): Likewise.
55816         (ccosh_test): Likewise.
55817         (ceil_test): Likewise.
55818         (cexp_test): Likewise.
55819         (cimag_test): Likewise.
55820         (clog_test): Likewise.
55821         (clog10_test): Likewise.
55822         (conj_test): Likewise.
55823         (copysign_test): Likewise.
55824         (cos_test): Likewise.
55825         (cos_test_tonearest): Likewise.
55826         (cos_test_towardzero): Likewise.
55827         (cos_test_downward): Likewise.
55828         (cos_test_upward): Likewise.
55829         (cosh_test): Likewise.
55830         (cosh_test_tonearest): Likewise.
55831         (cosh_test_towardzero): Likewise.
55832         (cosh_test_downward): Likewise.
55833         (cosh_test_upward): Likewise.
55834         (cpow_test): Likewise.
55835         (cproj_test): Likewise.
55836         (creal_test): Likewise.
55837         (csin_test): Likewise.
55838         (csinh_test): Likewise.
55839         (csqrt_test): Likewise.
55840         (ctan_test): Likewise.
55841         (ctan_test_tonearest): Likewise.
55842         (ctan_test_towardzero): Likewise.
55843         (ctan_test_downward): Likewise.
55844         (ctan_test_upward): Likewise.
55845         (ctanh_test): Likewise.
55846         (ctanh_test_tonearest): Likewise.
55847         (ctanh_test_towardzero): Likewise.
55848         (ctanh_test_downward): Likewise.
55849         (ctanh_test_upward): Likewise.
55850         (erf_test): Likewise.
55851         (erfc_test): Likewise.
55852         (exp_test): Likewise.
55853         (exp_test_tonearest): Likewise.
55854         (exp_test_towardzero): Likewise.
55855         (exp_test_downward): Likewise.
55856         (exp_test_upward): Likewise.
55857         (exp10_test): Likewise.
55858         (exp10_test_tonearest): Likewise.
55859         (exp10_test_towardzero): Likewise.
55860         (exp10_test_downward): Likewise.
55861         (exp10_test_upward): Likewise.
55862         (pow10_test): Likewise.
55863         (exp2_test): Likewise.
55864         (expm1_test): Likewise.
55865         (expm1_test_tonearest): Likewise.
55866         (expm1_test_towardzero): Likewise.
55867         (expm1_test_downward): Likewise.
55868         (expm1_test_upward): Likewise.
55869         (fabs_test): Likewise.
55870         (fdim_test): Likewise.
55871         (floor_test): Likewise.
55872         (fma_test): Likewise.
55873         (fma_test_towardzero): Likewise.
55874         (fma_test_downward): Likewise.
55875         (fma_test_upward): Likewise.
55876         (fmax_test): Likewise.
55877         (fmin_test): Likewise.
55878         (fmod_test): Likewise.
55879         (fpclassify_test): Likewise.
55880         (frexp_test): Likewise.
55881         (hypot_test): Likewise.
55882         (ilogb_test): Likewise.
55883         (isfinite_test): Likewise.
55884         (finite_test): Likewise.
55885         (isgreater_test): Likewise.
55886         (isgreaterequal_test): Likewise.
55887         (isinf_test): Likewise.
55888         (isless_test): Likewise.
55889         (islessequal_test): Likewise.
55890         (islessgreater_test): Likewise.
55891         (isnan_test): Likewise.
55892         (isnormal_test): Likewise.
55893         (issignaling_test): Likewise.
55894         (isunordered_test): Likewise.
55895         (j0_test): Likewise.
55896         (j1_test): Likewise.
55897         (jn_test): Likewise.
55898         (ldexp_test): Likewise.
55899         (lgamma_test): Likewise.
55900         (gamma_test): Likewise.
55901         (lrint_test): Likewise.
55902         (lrint_test_tonearest): Likewise.
55903         (lrint_test_towardzero): Likewise.
55904         (lrint_test_downward): Likewise.
55905         (lrint_test_upward): Likewise.
55906         (llrint_test): Likewise.
55907         (llrint_test_tonearest): Likewise.
55908         (llrint_test_towardzero): Likewise.
55909         (llrint_test_downward): Likewise.
55910         (llrint_test_upward): Likewise.
55911         (log_test): Likewise.
55912         (log10_test): Likewise.
55913         (log1p_test): Likewise.
55914         (log2_test): Likewise.
55915         (logb_test): Likewise.
55916         (logb_test_downward): Likewise.
55917         (lround_test): Likewise.
55918         (llround_test): Likewise.
55919         (modf_test): Likewise.
55920         (nearbyint_test): Likewise.
55921         (nextafter_test): Likewise.
55922         (nexttoward_test): Likewise.
55923         (pow_test): Likewise.
55924         (pow_test_tonearest): Likewise.
55925         (pow_test_towardzero): Likewise.
55926         (pow_test_downward): Likewise.
55927         (pow_test_upward): Likewise.
55928         (remainder_test): Likewise.
55929         (drem_test): Likewise.
55930         (remainder_test_tonearest): Likewise.
55931         (drem_test_tonearest): Likewise.
55932         (remainder_test_towardzero): Likewise.
55933         (drem_test_towardzero): Likewise.
55934         (remainder_test_downward): Likewise.
55935         (drem_test_downward): Likewise.
55936         (remainder_test_upward): Likewise.
55937         (drem_test_upward): Likewise.
55938         (remquo_test): Likewise.
55939         (rint_test): Likewise.
55940         (rint_test_tonearest): Likewise.
55941         (rint_test_towardzero): Likewise.
55942         (rint_test_downward): Likewise.
55943         (rint_test_upward): Likewise.
55944         (round_test): Likewise.
55945         (scalb_test): Likewise.
55946         (scalbn_test): Likewise.
55947         (scalbln_test): Likewise.
55948         (signbit_test): Likewise.
55949         (sin_test): Likewise.
55950         (sin_test_tonearest): Likewise.
55951         (sin_test_towardzero): Likewise.
55952         (sin_test_downward): Likewise.
55953         (sin_test_upward): Likewise.
55954         (sincos_test): Likewise.
55955         (sinh_test): Likewise.
55956         (sinh_test_tonearest): Likewise.
55957         (sinh_test_towardzero): Likewise.
55958         (sinh_test_downward): Likewise.
55959         (sinh_test_upward): Likewise.
55960         (sqrt_test): Likewise.
55961         (sqrt_test_tonearest): Likewise.
55962         (sqrt_test_towardzero): Likewise.
55963         (sqrt_test_downward): Likewise.
55964         (sqrt_test_upward): Likewise.
55965         (tan_test): Likewise.
55966         (tan_test_tonearest): Likewise.
55967         (tan_test_towardzero): Likewise.
55968         (tan_test_downward): Likewise.
55969         (tan_test_upward): Likewise.
55970         (tanh_test): Likewise.
55971         (tgamma_test): Likewise.
55972         (trunc_test): Likewise.
55973         (y0_test): Likewise.
55974         (y1_test): Likewise.
55975         (yn_test): Likewise.
55976         (significand_test): Likewise.
55978         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
55979         individual tests in comment.
55980         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
55981         (prev_max_error): New variable.
55982         (prev_real_max_error): Likewise.
55983         (prev_imag_max_error): Likewise.
55984         (compare_ulp_data): Don't refer to test names in comment.
55985         (find_test_ulps): Remove function.
55986         (find_function_ulps): Likewise.
55987         (find_complex_function_ulps): Likewise.
55988         (init_max_error): Take function name as argument.  Look up ulps
55989         for that function.
55990         (print_ulps): Remove function.
55991         (print_max_error): Use prev_max_error instead of calling
55992         find_function_ulps.
55993         (print_complex_max_error): Use prev_real_max_error and
55994         prev_imag_max_error instead of calling find_complex_function_ulps.
55995         (check_float_internal): Take max_ulp parameter instead of calling
55996         find_test_ulps.  Don't call print_ulps.
55997         (check_float): Update call to check_float_internal.
55998         (check_complex): Update calls to check_float_internal.
55999         (START): Pass argument to init_max_error.
56000         * math/gen-libm-test.pl (%results): Don't include "kind"
56001         information.
56002         (parse_ulps): Don't handle ulps of individual tests.
56003         (print_ulps_file): Likewise.
56004         (output_ulps): Likewise.
56005         * math/README.libm-test: Update.
56006         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
56007         individual tests.
56008         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
56009         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
56010         * sysdeps/arm/libm-test-ulps: Likewise.
56011         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
56012         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
56013         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
56014         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
56015         * sysdeps/microblaze/libm-test-ulps: Likewise.
56016         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
56017         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
56018         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56019         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
56020         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56021         * sysdeps/sh/libm-test-ulps: Likewise.
56022         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56023         * sysdeps/tile/libm-test-ulps: Likewise.
56024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56026 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
56028         * math/libm-test.inc (print_complex_max_error): Check separately
56029         whether real and imaginary errors are within allowed range and
56030         pass 0 to print_complex_function_ulps instead of value within
56031         allowed range.
56033 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56035         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
56036         formatting.
56037         (get_handles_fopen): Likewise.
56038         (do_write_test): Likewise.
56040         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
56042         * libio/fileops.c (do_ftell): Use cached offset when
56043         available.
56044         * libio/iofwide.c (do_ftell_wide): Likewise.
56045         * libio/iofdopen.c (_IO_new_fdopen): Don't use
56046         _IO_file_attach.
56047         * libio/wfileops.c (_IO_fwide): Don't cache offset.
56049         [BZ #16532]
56050         * libio/libioP.h (get_file_offset): New function.
56051         * libio/fileops.c (get_file_offset): Likewise.
56052         (do_ftell): Likewise.
56053         (_IO_new_file_seekoff): Split out ftell logic.
56054         * libio/wfileops.c (do_ftell_wide): Likewise.
56055         (_IO_wfile_seekoff): Split out ftell logic.
56056         * libio/tst-ftell-active-handler.c: New test case.
56057         * libio/Makefile (tests): Add it.
56059 2014-03-03  Roland McGrath  <roland@hack.frob.com>
56061         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
56062         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
56064 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56066         [BZ #16639]
56067         * nscd/connections.c (nscd_init): Call do_exit.
56068         (start_threads): Call do_exit and notify_parent.
56069         (begin_drop_privileges): Call do_exit.
56070         (finish_drop_privileges): Likewise.
56071         * nscd/selinux.c (preserve_capabilities): Likewise.
56072         (install_real_capabilities): Likewise.
56073         (nscd_selinux_enabled): Likewise.
56074         (avc_create_thread): Likewise.
56075         (avc_alloc_lock): Likewise.
56076         (nscd_avc_init): Likewise.
56077         * nscd/nscd.c (parent_fd): New static variable.
56078         (main): Create a pipe between parent and child processes.
56079         Skip closing parent_fd.
56080         (monitor_child): New function.
56081         (do_exit): Likewise.
56082         (notify_parent): Likewise.
56083         * nscd/nscd.h (notify_parent): Likewise.
56084         (do_exit): Likewise.
56086 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
56088         * malloc/malloc.c (__libc_calloc): Revert last change.
56090 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56094 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56096         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
56097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
56098         implementation.
56099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56100         (__libc_ifunc_impl_list): Likewise.
56101         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
56102         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
56103         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
56104         * string/strrchr.c: Define STRRCHR.
56106 2014-02-28  Ondƙej BĂ­lka  <neleai@seznam.cz>
56108         * benchtest/bench-strtok.c (simple_strtok): Delete.
56109         (strtok_string): Use as benchmark.
56110         * string/strtok (STRTOK): New macro.
56112 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
56114         * manual/threads.texi: Add header and standard comments to all
56115         functions.
56117         * elf/dl-lookup.c (check_match): New function.
56118         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56119         (do_lookup_x): Remove nested function check_match. Use non-nested
56120         function check_match.
56122 2014-02-28  Roland McGrath  <roland@hack.frob.com>
56124         * csu/Makefile (generated, before-compile): Use += rather than =.
56125         * catgets/Makefile (generated, generated-dirs): Likewise.
56126         * debug/Makefile (generated): Likewise.
56127         * dlfcn/Makefile (generated): Likewise.
56128         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56129         * iconvdata/Makefile (before-compile, generated): Likewise.
56130         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56131         * libio/Makefile (generated): Likewise.
56132         * malloc/Makefile (generated): Likewise.
56133         * manual/Makefile (generated, generated-dirs): Likewise.
56134         * misc/Makefile (generated): Likewise.
56135         * posix/Makefile (generated): Likewise.
56136         * resolv/Makefile (generated): Likewise.
56137         * sunrpc/Makefile (generated, generated-dirs): Likewise.
56138         * timezone/Makefile (generated, generated-dirs): Likewise.
56140         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56142 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56144         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56145         power8 implementation.
56146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56147         file: POWER8 llround ifunc implementation.
56148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56149         (__lllround): Add POWER8 implementation.
56150         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56151         POWER8 llround implementation.
56153         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56154         power8 implementation.
56155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56156         file: POWER8 llrint ifunc implementation.
56157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56158         Add POWER8 implementation.
56159         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56160         POWER8 llrint implementation.
56162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56163         power8 implementation.
56164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56165         file: POWER8 finite ifunc implementation.
56166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56167         Add POWER8 implementation.
56168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56169         Likewise.
56170         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56171         POWER8 finite implementation.
56172         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56174         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56175         power8 implementation.
56176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56177         file: POWER8 isinf ifunc implementation.
56178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56179         POWER8 implementation.
56180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56181         Likewise.
56182         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56183         isinf implementation.
56184         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56186         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56187         (INIT_ARCH): Add hwcap2 initialization.
56188         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56189         power8 implementation.
56190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56191         file: POWER8 isnan ifunc implementation.
56192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56193         POWER8 implementation.
56194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56195         Likewise.
56196         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56197         isnan implementation.
56198         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56200 2014-02-27  Joey Ye  <joey.ye@arm.com>
56202         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56203         (_FP_NANFRAC_Q): Set to zero.
56205 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56207         [BZ #16623]
56208         * math/auto-libm-test-in: New test inputs.
56209         * math/auto-libm-test-out: Regenerate.
56210         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56211         and DA.
56212         (__cos): Likewise.
56213         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56215 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
56217         * scripts/evaluate-test.sh: Take new argument indicating whether
56218         failure is expected.
56219         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56220         indicating whether failure is expected.
56221         * conform/Makefile (test-xfail-run-conformtest): New variable.
56222         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56223         level.
56224         * posix/Makefile (test-xfail-annexc): New variable.
56225         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56227 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
56229         * argp/Makefile: Include Makeconfig immediately after defining
56230         subdir.
56231         * assert/Makefile: Likewise.
56232         * benchtests/Makefile: Likewise.
56233         * catgets/Makefile: Likewise.
56234         * conform/Makefile: Likewise.
56235         * crypt/Makefile: Likewise.
56236         * csu/Makefile: Likewise.
56237         (all): Remove target.
56238         * ctype/Makefile: Include Makeconfig immediately after defining
56239         subdir.
56240         * debug/Makefile: Likewise.
56241         * dirent/Makefile: Likewise.
56242         * dlfcn/Makefile: Likewise.
56243         * gmon/Makefile: Likewise.
56244         * gnulib/Makefile: Likewise.
56245         * grp/Makefile: Likewise.
56246         * gshadow/Makefile: Likewise.
56247         * hesiod/Makefile: Likewise.
56248         * hurd/Makefile: Likewise.
56249         (all): Remove target.
56250         * iconvdata/Makefile: Include Makeconfig immediately after
56251         defining subdir.
56252         * inet/Makefile: Likewise.
56253         * intl/Makefile: Likewise.
56254         * io/Makefile: Likewise.
56255         * libio/Makefile: Likewise.
56256         (all): Remove target.
56257         * locale/Makefile: Include Makeconfig immediately after defining
56258         subdir.
56259         * login/Makefile: Likewise.
56260         * mach/Makefile: Likewise.
56261         (all): Remove target.
56262         * malloc/Makefile: Include Makeconfig immediately after defining
56263         subdir.
56264         (all): Remove target.
56265         * manual/Makefile: Include Makeconfig immediately after defining
56266         subdir.
56267         * math/Makefile: Likewise.
56268         * misc/Makefile: Likewise.
56269         * nis/Makefile: Likewise.
56270         * nss/Makefile: Likewise.
56271         * po/Makefile: Likewise.
56272         (all): Remove target.
56273         * posix/Makefile: Include Makeconfig immediately after defining
56274         subdir.
56275         * pwd/Makefile: Likewise.
56276         * resolv/Makefile: Likewise.
56277         * resource/Makefile: Likewise.
56278         * rt/Makefile: Likewise.
56279         * setjmp/Makefile: Likewise.
56280         * shadow/Makefile: Likewise.
56281         * signal/Makefile: Likewise.
56282         * socket/Makefile: Likewise.
56283         * soft-fp/Makefile: Likewise.
56284         * stdio-common/Makefile: Likewise.
56285         * stdlib/Makefile: Likewise.
56286         * streams/Makefile: Likewise.
56287         * string/Makefile: Likewise.
56288         * sunrpc/Makefile: Likewise.
56289         (all): Remove target.
56290         * sysvipc/Makefile: Include Makeconfig immediately after defining
56291         subdir.
56292         * termios/Makefile: Likewise.
56293         * time/Makefile: Likewise.
56294         * timezone/Makefile: Likewise.
56295         (all): Remove target.
56296         * wcsmbs/Makefile: Include Makeconfig immediately after defining
56297         subdir.
56298         * wctype/Makefile: Likewise.
56300 2014-02-26  Steve Ellcey  <sellcey@mips.com>
56302         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56303         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56304         (libc_feholdexcept_setround_mips): Ditto.
56305         (libc_feholdsetround): New.
56306         (libc_feholdsetroundf): New.
56307         (libc_feholdsetroundl): New.
56308         (libc_feupdateenv_test_mips): New.
56309         (libc_feupdateenv_test): New.
56310         (libc_feupdateenv_testf): New.
56311         (libc_feupdateenv_testl): New.
56312         (libc_feresetround): New.
56313         (libc_feresetroundf): New.
56314         (libc_feresetroundl): New.
56315         (libc_fetestexcept_mips): New.
56316         (libc_fetestexcept): New.
56317         (libc_fetestexceptf): New.
56318         (libc_fetestexceptl): New.
56319         (HAVE_RM_CTX): New.
56320         (libc_feholdexcept_setround_mips_ctx): New.
56321         (libc_feholdexcept_setround_ctx): New.
56322         (libc_feholdexcept_setroundf_ctx): New.
56323         (libc_feholdexcept_setroundl_ctx): New.
56324         (libc_fesetenv_mips_ctx): New.
56325         (libc_fesetenv_ctx): New.
56326         (libc_fesetenv_ctxf): New.
56327         (libc_fesetenv_ctxl): New.
56328         (libc_feupdateenv_mips_ctx): New.
56329         (libc_feupdateenv_ctx): New.
56330         (libc_feupdateenvf_ctx): New.
56331         (libc_feupdateenvl_ctx): New.
56332         (libc_feholdsetround_mips_ctx): New.
56333         (libc_feholdsetround_ctx): New.
56334         (libc_feholdsetroundf_ctx): New.
56335         (libc_feholdsetroundl_ctx): New.
56336         (libc_feresetround_mips_ctx): New.
56337         (libc_feresetround_ctx): New.
56338         (libc_feresetroundf_ctx): New.
56339         (libc_feresetroundl_ctx): New.
56341 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
56343         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56345         * manual/ipc.texi: New file.
56346         * manual/Makefile (chapters): Add ipc.
56347         * manual/job.texi: Add "Inter-Process Communication" to next.
56348         * manual/process.texi: Add "Inter-Process Communication" to prev.
56350 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56354 2014-02-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
56356         * malloc/malloc.c (__libc_calloc): Simplify implementation.
56358         * manual/arith.texi: Fix spaces after sentences.
56359         * manual/charset.texi: Likewise.
56360         * manual/errno.texi: Likewise.
56361         * manual/install.texi: Likewise.
56362         * manual/llio.texi: Likewise.
56363         * manual/locale.texi: Likewise.
56364         * manual/maint.texi: Likewise.
56365         * manual/math.texi: Likewise.
56366         * manual/memory.texi: Likewise.
56367         * manual/message.texi: Likewise.
56368         * manual/probes.texi: Likewise.
56369         * manual/resource.texi: Likewise.
56370         * manual/signal.texi: Likewise.
56371         * manual/socket.texi: Likewise.
56372         * manual/stdio.texi: Likewise.
56373         * manual/string.texi: Likewise.
56374         * manual/time.texi: Likewise.
56375         * manual/users.texi: Likewise.
56377 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
56379         [BZ #16632]
56380         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56381         _DEFAULT_SOURCE is defined.
56383 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
56384             Carlos O'Donell  <carlos@redhat.com>
56386         [BZ #16613]
56387         * elf/dl-tls.c (_dl_count_modids): New function.
56388         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56389         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56390         audit library and increment generation counter.
56391         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56392         * elf/tst-audit9.c: New file.
56393         * elf/tst-auditmod9a.c: New file.
56394         * elf/tst-auditmod9b.c: New file.
56395         * elf/Makefile: Add rules to build and run tst-audit9.
56397 2014-02-25  Florian Weimer  <fweimer@redhat.com>
56399         [BZ #15347]
56400         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56402 2014-02-25  Will Newton  <will.newton@linaro.org>
56404         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56405         (__longjmp): Restore sp and lr before restoring callee
56406         saved registers.  Add longjmp and longjmp_target
56407         SystemTap probe point.
56408         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56409         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56410         Define to zero to match jmpbuf layout.
56411         * sysdeps/arm/setjmp.S: Include stap-probe.h.
56412         (__sigsetjmp): Save sp and lr before saving callee
56413         saved registers.  Add setjmp SystemTap probe point.
56415 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
56417         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56419 2014-02-24  Andreas Schwab  <schwab@suse.de>
56421         [BZ #15804]
56422         * elf/pldd.c (wait_for_ptrace_stop): New function.
56423         (main): Call it after attaching.
56425 2014-02-22  Roland McGrath  <roland@hack.frob.com>
56427         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56428         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56429         Versions files is now verboten.
56430         * hurd/Versions (libc: GLIBC_2.0):
56431         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56432         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56433         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56434         * mach/Versions: Likewise.
56436         * csu/Versions: Remove unused %include.
56437         * resolv/Versions: Likewise.
56439 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
56441         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56442         ($(objpfx)check-local-headers.out): Likewise.
56443         ($(objpfx)begin-end-check.out): Likewise.
56444         * Makerules (check-abi-%.out): Likewise.
56445         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56446         ($(objpfx)test2.cat): Likewise.
56447         ($(objpfx)de/libc.cat): Likewise.
56448         ($(objpfx)test-gencat.out): Likewise.
56449         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56450         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56451         ($(objpfx)noload-mem): Likewise.
56452         ($(objpfx)tst-pathopt.out): Likewise.
56453         ($(objpfx)tst-rtld-load-self.out): Likewise.
56454         ($(objpfx)tst-array1-cmp.out): Likewise.
56455         ($(objpfx)tst-array1-static-cmp.out): Likewise.
56456         ($(objpfx)tst-array2-cmp.out): Likewise.
56457         ($(objpfx)tst-array3-cmp.out): Likewise.
56458         ($(objpfx)tst-array4-cmp.out): Likewise.
56459         ($(objpfx)tst-array5-cmp.out): Likewise.
56460         ($(objpfx)tst-array5-static-cmp.out): Likewise.
56461         ($(objpfx)check-textrel.out): Likewise.
56462         ($(objpfx)check-execstack.out): Likewise.
56463         ($(objpfx)check-localplt.out): Likewise.
56464         ($(objpfx)order2-cmp.out): Likewise.
56465         ($(objpfx)tst-leaks1-mem): Likewise.
56466         ($(objpfx)tst-leaks1-static-mem): Likewise.
56467         ($(objpfx)tst-initorder-cmp.out): Likewise.
56468         ($(objpfx)tst-initorder2-cmp.out): Likewise.
56469         ($(objpfx)tst-unused-dep.out): Likewise.
56470         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56471         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56472         * iconv/Makefile (test-iconvconfig): Likewise.
56473         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56474         ($(objpfx)iconv-test.out): Likewise.
56475         ($(objpfx)tst-tables.out): Likewise.
56476         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56477         ($(objpfx)tst-gettext.out): Likewise.
56478         ($(objpfx)tst-translit.out): Likewise.
56479         ($(objpfx)tst-gettext2.out): Likewise.
56480         ($(objpfx)tst-gettext4.out): Likewise.
56481         ($(objpfx)tst-gettext6.out): Likewise.
56482         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56483         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56484         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56485         ($(objpfx)tst-fopenloc-mem.out): Likewise.
56486         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56487         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56488         * posix/Makefile ($(objpfx)globtest.out): Likewise.
56489         ($(objpfx)wordexp-tst.out): Likewise.
56490         ($(objpfx)annexc.out): Likewise.
56491         ($(objpfx)tst-fnmatch-mem): Likewise.
56492         ($(objpfx)bug-regex2-mem): Likewise.
56493         ($(objpfx)bug-regex14-mem): Likewise.
56494         ($(objpfx)bug-regex21-mem): Likewise.
56495         ($(objpfx)bug-regex31-mem): Likewise.
56496         ($(objpfx)tst-vfork3-mem): Likewise.
56497         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56498         ($(objpfx)tst-pcre-mem): Likewise.
56499         ($(objpfx)tst-boost-mem): Likewise.
56500         ($(objpfx)tst-getconf.out): Likewise.
56501         ($(objpfx)bug-ga2-mem): Likewise.
56502         ($(objpfx)bug-glob2-mem): Likewise.
56503         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56504         ($(objpfx)mtrace-tst-leaks2): Likewise.
56505         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56506         ($(objpfx)tst-printf.out): Likewise.
56507         ($(objpfx)tst-setvbuf1.out): Likewise.
56508         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56509         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56510         ($(objpfx)tst-fmtmsg.out): Likewise.
56511         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56512         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56514         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56515         * bits/sigaction.h [__USE_MISC]: Likewise.
56516         * bits/waitstatus.h: Update #endif comments.
56517         * ctype/ctype.h: Likewise.
56518         * dirent/dirent.h: Likewise.
56519         [__USE_MISC]: Remove redundant conditionals.
56520         * grp/grp.h: Update #endif comments.
56521         [__USE_GNU]: Remove redundant conditionals.
56522         [__USE_MISC]: Likewise.
56523         * inet/netinet/in.h [__USE_GNU]: Likewise.
56524         * io/sys/stat.h [__USE_MISC]: Likewise.
56525         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56526         * libio/bits/stdio.h: Update #endif comments.
56527         [__USE_MISC]: Remove redundant conditionals.
56528         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56529         * libio/stdio.h: Update #endif comments.
56530         [__USE_MISC]: Remove redundant conditionals.
56531         * math/bits/math-finite.h [__USE_MISC]: Likewise.
56532         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56533         * math/math.h: Update #else and #endif comments.
56534         [__USE_MISC]: Remove redundant conditionals.
56535         * misc/sys/uio.h: Update #endif comments.
56536         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56537         * posix/glob.h [__USE_MISC]: Likewise.
56538         * posix/sys/types.h: Update #endif comments.
56539         [__USE_MISC]: Remove redundant conditionals.
56540         * posix/sys/wait.h: Update #endif comments.
56541         [__USE_MISC]: Remove redundant conditionals.
56542         * posix/unistd.h: Update #endif comments.
56543         [__USE_MISC]: Remove redundant conditionals.
56544         * pwd/pwd.h [__USE_GNU]: Likewise.
56545         [__USE_MISC]: Likewise.
56546         * resolv/netdb.h [__USE_GNU]: Likewise.
56547         * signal/signal.h: Update #endif comments.
56548         [__USE_MISC]: Remove redundant conditionals.
56549         * stdlib/stdlib.h: Update #else and #endif comments.
56550         [__USE_MISC]: Remove redundant conditionals.
56551         [__USE_GNU]: Likewise.
56552         * string/bits/string2.h [__USE_MISC]: Likewise.
56553         * string/string.h: Update #endif comments.
56554         [__USE_MISC]: Remove redundant conditionals.
56555         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56556         Likewise.
56557         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56558         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56559         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56560         Likewise.
56561         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56562         Likewise.
56563         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56564         comments.
56565         [__USE_MISC]: Remove redundant conditionals.
56566         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56567         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56568         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56569         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56570         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56571         Likewise.
56572         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56573         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56574         Likewise.
56575         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56576         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56577         Likewise.
56578         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56579         Likewise.
56580         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56581         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56582         Likewise.
56583         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56584         Likewise.
56585         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56586         * sysdeps/x86/bits/string.h: Update #endif comments.
56587         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56588         conditionals.
56589         * time/sys/time.h: Update #endif comments.
56590         * time/time.h: Likewise.
56591         [__USE_MISC]: Remove redundant conditionals.
56593 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
56595         [BZ #16600]
56596         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56598 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
56600         * Versions.def (librt): Add GLIBC_2.17.
56602 2014-02-21  Adam Conrad  <adconrad@0c3.net>
56604         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56605         synonym for _SYS_AUXV_H to allow direct inclusion.
56606         * sysdeps/sparc/bits/hwcap.h: Likewise.
56607         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56608         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56609         * sysdeps/sparc/sysdep.h: Likewise.
56611 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56613         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56615 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56617         * benchtests/bench-strrchr.c: Print length instead of position.
56619 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
56621         [BZ #16611]
56622         * sysdeps/unix/sysv/linux/kernel-features.h
56623         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56624         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56625         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56626         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56627         Likewise.
56628         [__i386__ || __powerpc__ || __sh__ || __sparc__]
56629         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56630         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56631         (__ASSUME_SENDMMSG): Define instead of using previous
56632         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56633         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56634         (__ASSUME_SENDMMSG_SYSCALL): Define.
56635         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56636         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56637         Likewise.
56638         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56639         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56640         Likewise.
56641         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56642         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56643         Likewise.
56644         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56645         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56646         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56647         [__ASSUME_SENDMMSG]: Change conditionals to
56648         [__ASSUME_SENDMMSG_SOCKETCALL].
56649         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56650         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56651         Define.
56652         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56653         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56654         Likewise.
56655         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56656         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56657         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56658         [!__ASSUME_SENDMMSG]: Change conditional to
56659         [!__ASSUME_SENDMMSG_SOCKETCALL].
56660         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56661         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56662         Define.
56664         [BZ #16610]
56665         * sysdeps/unix/sysv/linux/kernel-features.h
56666         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56667         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56668         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56669         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56670         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56671         [__i386__ || __sparc__]
56672         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56673         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56674         (__ASSUME_RECVMMSG): Define instead of using previous
56675         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56676         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56677         (__ASSUME_RECVMMSG_SYSCALL): Define.
56678         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56679         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56680         Likewise.
56681         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56682         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56683         Likewise.
56684         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56685         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56686         Likewise.
56687         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56688         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56689         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56690         [__ASSUME_RECVMMSG]: Change condition to
56691         [__ASSUME_RECVMMSG_SOCKETCALL].
56692         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56693         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56694         Define.
56695         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56696         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56697         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56698         Likewise.
56699         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56700         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56701         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56702         [!__ASSUME_RECVMMSG]: Change condition to
56703         [!__ASSUME_RECVMMSG_SOCKETCALL].
56704         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56705         (__ASSUME_RECVMMSG_SYSCALL): Define.
56707         [BZ #16609]
56708         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56709         __powerpc__ || __s390__ || __sh__ || __sparc__]
56710         (__ASSUME_SOCKETCALL): Define.
56711         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56712         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56713         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56714         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56715         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56716         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56717         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56718         (__ASSUME_ACCEPT4): Define instead of using previous
56719         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56720         __powerpc__ || __sparc__ || __s390__)] condition.
56721         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56722         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56723         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56724         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56725         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56726         [!__ASSUME_ACCEPT4]: Change condition to
56727         [!__ASSUME_ACCEPT4_SOCKETCALL].
56728         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56729         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
56730         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56731         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56732         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56733         __ASSUME_ACCEPT4_SYSCALL.
56734         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56735         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56736         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56737         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56738         __ASSUME_ACCEPT4_SYSCALL.
56739         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56740         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56741         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56742         [__ASSUME_ACCEPT4]: Change condition to
56743         [__ASSUME_ACCEPT4_SOCKETCALL].
56744         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56745         (__ASSUME_SOCKETCALL): Define.
56746         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56747         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56748         (__ASSUME_SOCKETCALL): Define.
56749         (__ASSUME_ACCEPT4): Remove.
56750         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56751         Define.
56752         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56753         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56754         Likewise.
56755         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56756         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56758         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56759         macro.
56760         (HWCAP_ARM_LPAE): Likewise.
56761         (HWCAP_ARM_EVTSTRM): Likewise.
56762         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56763         Add vpfd32, lpae and evtstrm.
56764         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56765         Increase to 22.
56767 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
56769         * math/auto-libm-test-in: Add tests of clog10.
56770         * math/auto-libm-test-out: Regenerated.
56771         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56772         * sysdeps/i386/fpu/libm-test-ulps: Update.
56773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56775 2014-02-18  Andreas Schwab  <schwab@suse.de>
56777         [BZ #16574]
56778         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56779         Store non-zero if the second buffer was newly allocated.
56780         (send_dg): Likewise.
56781         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56782         to send_vc and send_dg.
56783         (res_nsend): Pass NULL for ansp2_malloced.
56784         * resolv/res_query.c (__libc_res_nquery): Add parameter
56785         answerp2_malloced and pass it down to __libc_res_nsend.
56786         (res_nquery): Pass additional NULL to __libc_res_nquery.
56787         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56788         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
56789         second answer buffer if answerp2_malloced was set.
56790         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56791         (__libc_res_nquerydomain): Add parameter
56792         answerp2_malloced and pass it down to __libc_res_nquery.
56793         (res_nquerydomain): Pass additional NULL to
56794         __libc_res_nquerydomain.
56795         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56796         additional NULL to __libc_res_nsend and __libc_res_nquery.
56797         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56798         additional NULL to __libc_res_nsearch.
56799         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
56800         parameter of __libc_res_nsearch to check for separately allocated
56801         second buffer.
56802         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56803         __libc_res_nquery.
56804         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56805         additional NULL to __libc_res_nquery.
56806         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56807         __libc_res_nsearch.
56808         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56809         * include/resolv.h: Update prototypes of __libc_res_nquery,
56810         __libc_res_nsearch, __libc_res_nsend.
56812 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
56814         * math/auto-libm-test-in: Add tests of fma.
56815         * math/auto-libm-test-out: Regenerated.
56816         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56817         (fma_towardzero_test_data): Likewise.
56818         (fma_downward_test_data): Likewise.
56819         (fma_upward_test_data): Likewise.
56820         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56821         mpc_mode.
56822         (rounding_modes): Add values for new field.
56823         (func_calc_method): Add value mpfr_fff_f.
56824         (func_calc_desc): Add mpfr_fff_f union field.
56825         (test_function): Add field exact_args.
56826         (FUNC): Add macro argument EXACT_ARGS.
56827         (FUNC_mpfr_f_f): Update call to FUNC.
56828         (FUNC_mpfr_f_f): Likewise.
56829         (FUNC_mpfr_ff_f): Likewise.
56830         (FUNC_mpfr_if_f): Likewise.
56831         (FUNC_mpc_c_f): Likewise.
56832         (FUNC_mpc_c_c): Likewise.
56833         (test_functions): Add fma.  Update calls to FUNC.
56834         (handle_input_arg): Add argument exact_args.
56835         (add_test): Update call to handle_input_arg.
56836         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
56837         (output_for_one_input_case): Update call to calc_generic_results.
56838         Recalculate exact zero results in each rounding mode.
56840         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56841         non-negative before setting low bit.
56842         * math/auto-libm-test-in: Mark one asin test possibly having
56843         spurious underflow.
56844         * math/auto-libm-test-out: Regenerated.
56845         * sysdeps/i386/fpu/libm-test-ulps: Update.
56846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56848 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
56850         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56851         * sysdeps/unix/sysv/linux/microblaze: Move directory from
56852         ports/sysdeps/unix/sysv/linux/microblaze.
56853         * README: Add missing listing for microblaze*-*-linux-gnu.
56855 2014-02-16  Ondƙej BĂ­lka  <neleai@seznam.cz>
56857         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56858         duplicate code
56860 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
56862         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56863         * sysdeps/unix/sysv/linux/ia64: Move directory from
56864         ports/sysdeps/unix/sysv/linux/ia64.
56865         * README: Update listing for ia64-*-linux-gnu.
56867 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
56868             Joseph Myers  <joseph@codesourcery.com>
56870         * Makeconfig (test-name): New variable.
56871         (evaluate-test): Likewise.
56872         * Makerules (do-test-clean): Remove .test-result files.
56873         (common-mostlyclean): Likewise.
56874         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56875         * scripts/evaluate-test.sh: New file.
56877 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
56879         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56880         separate $(objpfx)tst-fopenloc-cmp.out and
56881         $(objpfx)tst-fopenloc-mem.out targets.
56882         (tests): Update dependencies.
56883         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56884         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56885         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56886         (tst-rxspencer-no-utf8-ARGS): New variable.
56887         (tst-rxspencer-no-utf8-ENV): Likewise.
56888         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56889         instead of $(objpfx)tst-rxspencer-mem.
56890         ($(objpfx)tst-rxspencer-mem): Change target to
56891         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
56892         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56893         * posix/tst-rxspencer-no-utf8.c: New file.
56895         * elf/Makefile ($(objpfx)order.out): Remove rule.
56896         [$(run-built-tests) = yes] (tests): Depend on
56897         $(objpfx)order-cmp.out.
56898         ($(objpfx)order-cmp.out): New rule.
56899         [$(run-built-tests) = yes] (tests): Depend on
56900         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56901         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56902         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56903         $(objpfx)tst-array5-static-cmp.out.
56904         ($(objpfx)tst-array1.out): Remove rule.
56905         ($(objpfx)tst-array1-cmp.out): New rule.
56906         ($(objpfx)tst-array1-static.out): Remove rule.
56907         ($(objpfx)tst-array1-static-cmp.out): New rule.
56908         ($(objpfx)tst-array2.out): Remove rule.
56909         ($(objpfx)tst-array2-cmp.out): New rule.
56910         ($(objpfx)tst-array3.out): Remove rule.
56911         ($(objpfx)tst-array3-cmp.out): New rule.
56912         ($(objpfx)tst-array4.out): Remove rule.
56913         ($(objpfx)tst-array4-cmp.out): New rule.
56914         ($(objpfx)tst-array5.out): Remove rule.
56915         ($(objpfx)tst-array5-cmp.out): New rule.
56916         ($(objpfx)tst-array5-static.out): Remove rule.
56917         ($(objpfx)tst-array5-static-cmp.out): New rule.
56918         [$(run-built-tests) = yes] (tests): Depend on
56919         $(objpfx)order2-cmp.out.
56920         ($(objpfx)order2.out): Remove rule.
56921         ($(objpfx)order2-cmp.out): New rule.
56922         ($(objpfx)tst-initorder.out): Remove rule.
56923         [$(run-built-tests) = yes] (tests): Depend on
56924         $(objpfx)tst-initorder-cmp.out.
56925         ($(objpfx)tst-initorder-cmp.out): New rule.
56926         ($(objpfx)tst-initorder2.out): Remove rule.
56927         [$(run-built-tests) = yes] (tests): Depend on
56928         $(objpfx)tst-initorder2-cmp.out.
56929         ($(objpfx)tst-initorder2-cmp.out): New rule.
56930         [$(run-built-tests) = yes] (tests): Depend on
56931         $(objpfx)tst-unused-dep-cmp.out.
56932         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56933         ($(objpfx)tst-unused-dep-cmp.out): New rule.
56934         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56935         on $(objpfx)tst-setvbuf1-cmp.out.
56936         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56937         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56938         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56939         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56940         ($(objpfx)tst-svc.out): Remove rule.
56941         ($(objpfx)tst-svc-cmp.out): New rule.
56943 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
56945         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56946         * ctype/ctype.h [__USE_MISC]: Likewise.
56947         * dirent/dirent.h [__USE_MISC]: Likewise.
56948         * grp/grp.h [__USE_MISC]: Likewise.
56949         * io/fcntl.h [__USE_MISC]: Likewise.
56950         * io/sys/stat.h [__USE_MISC]: Likewise.
56951         * libio/stdio.h [__USE_MISC]: Likewise.
56952         * posix/unistd.h [__USE_MISC]: Likewise.
56953         * pwd/pwd.h [__USE_MISC]: Likewise.
56954         * stdlib.h [__USE_MISC]: Likewise.
56955         * string/bits/string2.h [__USE_MISC]: Likewise.
56956         * string/string.h [__USE_MISC]: Likewise.
56957         * time/time.h [__USE_MISC]: Likewise.
56959 2014-02-13  Andreas Schwab  <schwab@suse.de>
56961         [BZ #16574]
56962         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
56963         second answer buffer if it was separately allocated.
56965 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
56967         * sysdeps/mips/math-tests.h: Include <features.h>.
56968         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56969         (ROUNDING_TESTS_long_double): Do not define.
56970         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56971         (EXCEPTION_TESTS_long_double): Likewise.
56972         * sysdeps/mips/mips64/libm-test-ulps: Update.
56974         * include/features.h (__USE_BSD): Remove macro definitions.
56975         (__USE_SVID): Likewise.
56976         (_BSD_SOURCE): Likewise.
56977         (_SVID_SOURCE): Likewise.
56978         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
56979         from definition of _DEFAULT_SOURCE.
56980         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
56981         [_DEFAULT_SOURCE].
56982         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
56983         * bits/mman.h [__USE_BSD]: Likewise.
56984         * bits/termios.h [__USE_BSD]: Likewise.
56985         * bits/waitstatus.h [__USE_BSD]: Likewise.
56986         * ctype/ctype.h [__USE_SVID]: Likewise.
56987         * dirent/dirent.h [__USE_BSD]: Likewise.
56988         * grp/grp.h [__USE_SVID]: Likewise.
56989         [__USE_BSD]: Likewise.
56990         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
56991         * io/fcntl.h [__USE_BSD]: Likewise.
56992         * io/ftw.h [__USE_BSD]: Likewise.
56993         * io/sys/stat.h [__USE_BSD]: Likewise.
56994         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
56995         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
56996         * libio/stdio.h [__USE_SVID]: Likewise.
56997         [__USE_BSD]: Likewise.
56998         * math/math.h [__USE_SVID]: Likewise.
56999         [__USE_BSD]: Likewise.
57000         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
57001         * misc/bits/syslog.h [__USE_BSD]: Likewise.
57002         * misc/search.h [__USE_SVID]: Likewise.
57003         * misc/sys/mman.h [__USE_BSD]: Likewise.
57004         * misc/sys/syslog.h [__USE_BSD]: Likewise.
57005         * misc/sys/uio.h [__USE_BSD]: Likewise.
57006         * posix/bits/unistd.h [__USE_BSD]: Likewise.
57007         * posix/glob.h [__USE_BSD]: Likewise.
57008         * posix/regex.h [__USE_BSD]: Likewise.
57009         * posix/sys/types.h [__USE_BSD]: Likewise.
57010         [__USE_SVID]: Likewise.
57011         * posix/sys/utsname.h [__USE_SVID]: Likewise.
57012         * posix/sys/wait.h [__USE_BSD]: Likewise.
57013         [__USE_SVID]: Likewise.
57014         * posix/unistd.h [__USE_BSD]: Likewise.
57015         [__USE_SVID]: Likewise.
57016         * pwd/pwd.h [__USE_SVID]: Likewise.
57017         * resolv/netdb.h [__USE_BSD]: Likewise.
57018         * setjmp/setjmp.h [__USE_BSD]: Likewise.
57019         * signal/signal.h [__USE_BSD]: Likewise.
57020         [__USE_SVID]: Likewise.
57021         * socket/sys/socket.h [__USE_BSD]: Likewise.
57022         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
57023         * stdlib/stdlib.h [__USE_BSD]: Likewise.
57024         [__USE_SVID]: Likewise.
57025         * string/bits/string2.h [__USE_BSD]: Likewise.
57026         [__USE_SVID]: Likewise.
57027         * string/bits/string3.h [__USE_BSD]: Likewise.
57028         * string/endian.h [__USE_BSD]: Likewise.
57029         * string/string.h [__USE_SVID]: Likewise.
57030         [__USE_BSD]: Likewise.
57031         * string/strings.h [__USE_BSD]: Likewise.
57032         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
57033         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
57034         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
57035         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
57036         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
57037         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
57038         Likewise.
57039         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
57040         Likewise.
57041         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
57042         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
57043         Likewise.
57044         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
57045         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
57046         Likewise.
57047         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
57048         Likewise.
57049         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
57050         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
57051         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
57052         Likewise.
57053         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
57054         Likewise.
57055         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
57056         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
57057         * termios/termios.h [__USE_BSD]: Likewise.
57058         * time/sys/time.h [__USE_BSD]: Likewise.
57059         * time/time.h [__USE_BSD]: Likewise.
57060         [__USE_SVID]: Likewise.
57062         * Makefile (subdir_targets): Remove subdir_lint.out.
57064         * stdio-common/Makefile (do-tst-unbputc): Remove target.
57065         (do-tst-printf): Likewise.
57066         (tests): Depend directly on $(objpfx)tst-unbputc.out and
57067         $(objpfx)tst-printf.out.
57069         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
57071         * Makerules (check-abi-%): Change target to
57072         $(objpfx)check-abi-%.out.
57073         (check-abi target): Update dependencies.
57074         (check-abi-pattern variable): Redirect output of diff to $@.
57075         (check-abi variable): Likewise.
57076         * elf/Makefile (check-abi): Update dependencies.
57078         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
57079         unused.
57080         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
57081         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
57082         subnormal range.
57083         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
57084         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
57085         value has largest subnormal exponent.
57086         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
57087         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
57088         * sysdeps/aarch64/soft-fp/sfp-machine.h
57089         (_FP_TININESS_AFTER_ROUNDING): New macro.
57090         * sysdeps/alpha/soft-fp/sfp-machine.h
57091         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57092         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57093         Likewise.
57094         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
57095         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57096         * sysdeps/mips/soft-fp/sfp-machine.h
57097         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57098         * sysdeps/powerpc/soft-fp/sfp-machine.h
57099         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57100         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57101         Likewise.
57102         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57103         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57104         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57105         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57106         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57107         Likewise.
57109 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
57111         [BZ #16545]
57112         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
57113         model 1.
57115 2014-02-12  Richard Henderson  <rth@redhat.com>
57117         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57118         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57119         * sysdeps/unix/sysv/linux/alpha: Move directory from
57120         ports/sysdeps/unix/sysv/linux/alpha.
57121         * README: Update listing for alpha-*-linux-gnu.
57123 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
57125         * include/features.h: Update comment documenting feature test
57126         macros.
57127         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
57128         _DEFAULT_SOURCE.
57129         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57130         (_SVID_SOURCE): Likewise.
57131         (_DEFAULT_SOURCE): Update description of default features.
57132         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57133         with _GNU_SOURCE.
57134         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57135         (S_ISVTX): Likewise.
57136         * manual/math.texi (Mathematical Constants): Likewise.
57137         * manual/signal.texi (Interrupted Primitives): Likewise.
57138         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57139         * math/test-matherr.c (_SVID_SOURCE): Do not define.
57140         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57141         Don't refer to _SVID_SOURCE in warning text.
57143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57145         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57146         already defined.
57147         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57148         * sysdeps/mips/dl-lookup.c: Remove.
57149         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57151 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
57153         [BZ #16447]
57154         * math/auto-libm-test-in: Add testcase for expl.
57155         * math/auto-libm-test-out: Regenerate.
57156         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57157         calculation of unsafe.
57158         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57160 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
57162         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57163         * sysdeps/unix/sysv/linux/aarch64: Move directory from
57164         ports/sysdeps/unix/sysv/linux/aarch64.
57165         * README: Update listing for aarch64*-*-linux-gnu.
57167 2014-02-11  Will Newton  <will.newton@linaro.org>
57169         * manual/probes.texi (Mathematical Function Probes): Use
57170         "triggered" instead of "hit".
57172         * manual/probes.texi (Internal Probes): Add documentation
57173         of setjmp, longjmp and longjmp_target probes.
57175         * include/stap-probe.h: Add comment about probe argument
57176         format.
57178         * malloc/mtrace.c (attribute_hidden): Remove unused macro
57179         definition.  (tr_where, tr_freehook, tr_mallochook,
57180         tr_reallochook, tr_memalignhook): Use ANSI protoype.
57182 2014-02-11  David S. Miller  <davem@davemloft.net>
57184         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57185         processing int_tests.
57187 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
57189         * sysdeps/mips: Move directory from ports/sysdeps/mips.
57190         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57191         * sysdeps/unix/sysv/linux/mips: Move directory from
57192         ports/sysdeps/unix/sysv/linux/mips.
57193         * README: Update listing for mips-*-linux-gnu and
57194         mips64-*-linux-gnu.
57196 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
57198         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57199         * sysdeps/unix/sysv/linux/m68k: Move directory from
57200         ports/sysdeps/unix/sysv/linux/m68k.
57201         * README: Update listing for m68k-*-linux-gnu.
57203 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
57205         * sysdeps/tile: Move directory from ports/sysdeps/tile.
57206         * sysdeps/unix/sysv/linux/generic: Move directory from
57207         ports/sysdeps/unix/sysv/linux/generic.
57208         * sysdeps/unix/sysv/linux/tile: Move directory from
57209         ports/sysdeps/unix/sysv/linux/tile.
57210         * README: Update listing for tile*-*-linux-gnu.
57212 2014-02-10  Ondƙej BĂ­lka  <neleai@seznam.cz>
57214         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57215         __builtin_expect.
57216         * benchtests/bench-memmem.c (simple_memmem): Likewise.
57217         * catgets/open_catalog.c (__open_catalog): Likewise.
57218         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57219         * debug/confstr_chk.c: Likewise.
57220         * debug/fread_chk.c (__fread_chk): Likewise.
57221         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57222         * debug/getgroups_chk.c: Likewise.
57223         * debug/mbsnrtowcs_chk.c: Likewise.
57224         * debug/mbsrtowcs_chk.c: Likewise.
57225         * debug/mbstowcs_chk.c: Likewise.
57226         * debug/memcpy_chk.c: Likewise.
57227         * debug/memmove_chk.c: Likewise.
57228         * debug/mempcpy_chk.c: Likewise.
57229         * debug/memset_chk.c: Likewise.
57230         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57231         * debug/strcat_chk.c (__strcat_chk): Likewise.
57232         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57233         * debug/strncat_chk.c (__strncat_chk): Likewise.
57234         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57235         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57236         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57237         * debug/wcpncpy_chk.c: Likewise.
57238         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57239         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57240         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57241         * debug/wcsncpy_chk.c: Likewise.
57242         * debug/wcsnrtombs_chk.c: Likewise.
57243         * debug/wcsrtombs_chk.c: Likewise.
57244         * debug/wcstombs_chk.c: Likewise.
57245         * debug/wmemcpy_chk.c: Likewise.
57246         * debug/wmemmove_chk.c: Likewise.
57247         * debug/wmempcpy_chk.c: Likewise.
57248         * debug/wmemset_chk.c: Likewise.
57249         * dirent/scandirat.c (SCANDIRAT): Likewise.
57250         * dlfcn/dladdr1.c (dladdr1): Likewise.
57251         * dlfcn/dladdr.c (dladdr): Likewise.
57252         * dlfcn/dlclose.c (dlclose_doit): Likewise.
57253         * dlfcn/dlerror.c (__dlerror): Likewise.
57254         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57255         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57256         * dlfcn/dlopen.c (dlopen_doit): Likewise.
57257         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57258         * dlfcn/dlsym.c (dlsym_doit): Likewise.
57259         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57260         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57261         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57262         Likewise.
57263         * elf/dl-conflict.c: Likewise.
57264         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57265         * elf/dl-dst.h: Likewise.
57266         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57267         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57268         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57269         * elf/dl-init.c (call_init, _dl_init): Likewise.
57270         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57271         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57272         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57273         Likewise.
57274         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57275         Likewise.
57276         * elf/dl-minimal.c (__libc_memalign): Likewise.
57277         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57278         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57279         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57280         * elf/dl-sym.c (do_sym): Likewise.
57281         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57282         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57283         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57284         * elf/dl-writev.h (_dl_writev): Likewise.
57285         * elf/ldconfig.c (search_dir): Likewise.
57286         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57287         (dl_main): Likewise.
57288         * elf/setup-vdso.h (setup_vdso): Likewise.
57289         * grp/compat-initgroups.c (compat_call): Likewise.
57290         * grp/fgetgrent.c (fgetgrent): Likewise.
57291         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57292         * grp/putgrent.c (putgrent): Likewise.
57293         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57294         Likewise.
57295         * hurd/hurdinit.c: Likewise.
57296         * iconvdata/8bit-gap.c (struct): Likewise.
57297         * iconvdata/ansi_x3.110.c : Likewise.
57298         * iconvdata/big5.c : Likewise.
57299         * iconvdata/big5hkscs.c : Likewise.
57300         * iconvdata/cp1255.c: Likewise.
57301         * iconvdata/cp1258.c : Likewise.
57302         * iconvdata/cp932.c : Likewise.
57303         * iconvdata/euc-cn.c: Likewise.
57304         * iconvdata/euc-jisx0213.c : Likewise.
57305         * iconvdata/euc-jp.c: Likewise.
57306         * iconvdata/euc-jp-ms.c : Likewise.
57307         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57308         * iconvdata/gb18030.c : Likewise.
57309         * iconvdata/gbbig5.c (const): Likewise.
57310         * iconvdata/gbgbk.c: Likewise.
57311         * iconvdata/gbk.c : Likewise.
57312         * iconvdata/ibm1364.c : Likewise.
57313         * iconvdata/ibm930.c : Likewise.
57314         * iconvdata/ibm932.c: Likewise.
57315         * iconvdata/ibm933.c : Likewise.
57316         * iconvdata/ibm935.c : Likewise.
57317         * iconvdata/ibm937.c : Likewise.
57318         * iconvdata/ibm939.c : Likewise.
57319         * iconvdata/ibm943.c: Likewise.
57320         * iconvdata/iso_11548-1.c: Likewise.
57321         * iconvdata/iso-2022-cn.c : Likewise.
57322         * iconvdata/iso-2022-cn-ext.c : Likewise.
57323         * iconvdata/iso-2022-jp-3.c: Likewise.
57324         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57325         * iconvdata/iso-2022-kr.c : Likewise.
57326         * iconvdata/iso646.c (gconv_end): Likewise.
57327         * iconvdata/iso_6937-2.c : Likewise.
57328         * iconvdata/iso_6937.c : Likewise.
57329         * iconvdata/iso8859-1.c: Likewise.
57330         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57331         * iconvdata/shift_jisx0213.c : Likewise.
57332         * iconvdata/sjis.c : Likewise.
57333         * iconvdata/t.61.c : Likewise.
57334         * iconvdata/tcvn5712-1.c : Likewise.
57335         * iconvdata/tscii.c: Likewise.
57336         * iconvdata/uhc.c : Likewise.
57337         * iconvdata/unicode.c (gconv_end): Likewise.
57338         * iconvdata/utf-16.c (gconv_end): Likewise.
57339         * iconvdata/utf-32.c (gconv_end): Likewise.
57340         * iconvdata/utf-7.c (base64): Likewise.
57341         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57342         * iconv/gconv_close.c (__gconv_close): Likewise.
57343         * iconv/gconv_open.c (__gconv_open): Likewise.
57344         * iconv/gconv_simple.c (internal_ucs4_loop_single)
57345         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57346         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57347         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57348         (ucs4le_internal_loop_single): Likewise.
57349         * iconv/iconv.c (iconv): Likewise.
57350         * iconv/iconv_close.c: Likewise.
57351         * iconv/loop.c (SINGLE): Likewise.
57352         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57353         * include/atomic.h: Likewise.
57354         * inet/inet6_option.c (option_alloc): Likewise.
57355         * intl/bindtextdom.c (set_binding_values): Likewise.
57356         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57357         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57358         * intl/localealias.c (read_alias_file): Likewise.
57359         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57360         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57361         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57362         * libio/fmemopen.c (fmemopen): Likewise.
57363         * libio/iofgets.c (_IO_fgets): Likewise.
57364         * libio/iofgets_u.c (fgets_unlocked): Likewise.
57365         * libio/iofgetws.c (fgetws): Likewise.
57366         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57367         * libio/iogetdelim.c (_IO_getdelim): Likewise.
57368         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57369         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57370         * locale/findlocale.c (_nl_find_locale): Likewise.
57371         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57372         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57373         Likewise.
57374         * locale/setlocale.c (setlocale): Likewise.
57375         * login/programs/pt_chown.c (main): Likewise.
57376         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57377         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57378         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57379         (mmap, mmap64, mremap, munmap): Likewise.
57380         * math/e_exp2l.c: Likewise.
57381         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57382         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57383         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57384         * math/s_catan.c (__catan): Likewise.
57385         * math/s_catanf.c (__catanf): Likewise.
57386         * math/s_catanh.c (__catanh): Likewise.
57387         * math/s_catanhf.c (__catanhf): Likewise.
57388         * math/s_catanhl.c (__catanhl): Likewise.
57389         * math/s_catanl.c (__catanl): Likewise.
57390         * math/s_ccosh.c (__ccosh): Likewise.
57391         * math/s_ccoshf.c (__ccoshf): Likewise.
57392         * math/s_ccoshl.c (__ccoshl): Likewise.
57393         * math/s_cexp.c (__cexp): Likewise.
57394         * math/s_cexpf.c (__cexpf): Likewise.
57395         * math/s_cexpl.c (__cexpl): Likewise.
57396         * math/s_clog10.c (__clog10): Likewise.
57397         * math/s_clog10f.c (__clog10f): Likewise.
57398         * math/s_clog10l.c (__clog10l): Likewise.
57399         * math/s_clog.c (__clog): Likewise.
57400         * math/s_clogf.c (__clogf): Likewise.
57401         * math/s_clogl.c (__clogl): Likewise.
57402         * math/s_csin.c (__csin): Likewise.
57403         * math/s_csinf.c (__csinf): Likewise.
57404         * math/s_csinh.c (__csinh): Likewise.
57405         * math/s_csinhf.c (__csinhf): Likewise.
57406         * math/s_csinhl.c (__csinhl): Likewise.
57407         * math/s_csinl.c (__csinl): Likewise.
57408         * math/s_csqrt.c (__csqrt): Likewise.
57409         * math/s_csqrtf.c (__csqrtf): Likewise.
57410         * math/s_csqrtl.c (__csqrtl): Likewise.
57411         * math/s_ctan.c (__ctan): Likewise.
57412         * math/s_ctanf.c (__ctanf): Likewise.
57413         * math/s_ctanh.c (__ctanh): Likewise.
57414         * math/s_ctanhf.c (__ctanhf): Likewise.
57415         * math/s_ctanhl.c (__ctanhl): Likewise.
57416         * math/s_ctanl.c (__ctanl): Likewise.
57417         * math/w_pow.c: Likewise.
57418         * math/w_powf.c: Likewise.
57419         * math/w_powl.c: Likewise.
57420         * math/w_scalb.c (sysv_scalb): Likewise.
57421         * math/w_scalbf.c (sysv_scalbf): Likewise.
57422         * math/w_scalbl.c (sysv_scalbl): Likewise.
57423         * misc/error.c (error_tail): Likewise.
57424         * misc/pselect.c (__pselect): Likewise.
57425         * nis/nis_callback.c (__nis_create_callback): Likewise.
57426         * nis/nis_call.c (__nisfind_server): Likewise.
57427         * nis/nis_creategroup.c (nis_creategroup): Likewise.
57428         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57429         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57430         * nis/nis_getservlist.c (nis_getservlist): Likewise.
57431         * nis/nis_lookup.c (nis_lookup): Likewise.
57432         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57433         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57434         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57435         * nis/nis_xdr.c (xdr_endpoint): Likewise.
57436         * nis/nss_compat/compat-grp.c (getgrent_next_file)
57437         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57438         * nis/nss_compat/compat-initgroups.c (add_group)
57439         (internal_getgrent_r): Likewise.
57440         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57441         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57442         * nis/nss_compat/compat-spwd.c (getspent_next_file)
57443         (internal_getspnam_r): Likewise.
57444         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57445         (_nss_nis_getaliasbyname_r): Likewise.
57446         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57447         (_nss_nis_getntohost_r): Likewise.
57448         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57449         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57450         (_nss_nis_getgrgid_r): Likewise.
57451         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57452         (internal_nis_gethostent_r, internal_gethostbyname2_r)
57453         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57454         (_nss_nis_gethostbyname4_r): Likewise.
57455         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57456         (initgroups_netid): Likewise.
57457         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57458         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57459         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57460         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57461         (_nss_nis_getprotobynumber_r): Likewise.
57462         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57463         (_nss_nis_getsecretkey): Likewise.
57464         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57465         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57466         (_nss_nis_getpwuid_r): Likewise.
57467         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57468         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57469         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57470         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57471         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57472         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57473         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57474         Likewise.
57475         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57476         (_nss_nisplus_getntohost_r): Likewise.
57477         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57478         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57479         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57480         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57481         Likewise.
57482         * nis/nss_nisplus/nisplus-initgroups.c
57483         (_nss_nisplus_initgroups_dyn): Likewise.
57484         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57485         (_nss_nisplus_getnetbyaddr_r): Likewise.
57486         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57487         (_nss_nisplus_getprotobynumber_r): Likewise.
57488         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57489         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57490         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57491         Likewise.
57492         * nis/nss_nisplus/nisplus-service.c
57493         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57494         (_nss_nisplus_getservbyport_r): Likewise.
57495         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57496         (_nss_nisplus_getspnam_r): Likewise.
57497         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57498         Likewise.
57499         * nscd/aicache.c (addhstaiX): Likewise.
57500         * nscd/cache.c (cache_search, prune_cache): Likewise.
57501         * nscd/connections.c (register_traced_file, send_ro_fd)
57502         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57503         (main_loop_epoll): Likewise.
57504         * nscd/grpcache.c (addgrbyX): Likewise.
57505         * nscd/hstcache.c (addhstbyX): Likewise.
57506         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57507         * nscd/mem.c (gc, mempool_alloc): Likewise.
57508         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57509         (addinnetgrX): Likewise.
57510         * nscd/nscd-client.h (__nscd_acquire_maplock)
57511         (__nscd_drop_map_ref): Likewise.
57512         * nscd/nscd_getai.c (__nscd_getai): Likewise.
57513         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57514         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57515         Likewise.
57516         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57517         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57518         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57519         (__nscd_get_map_ref): Likewise.
57520         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57521         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57522         Likewise.
57523         * nscd/pwdcache.c (addpwbyX): Likewise.
57524         * nscd/selinux.c (preserve_capabilities): Likewise.
57525         * nscd/servicescache.c (addservbyX): Likewise.
57526         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57527         * posix/fnmatch.c (fnmatch): Likewise.
57528         * posix/getopt.c (_getopt_internal_r): Likewise.
57529         * posix/glob.c (glob, glob_in_dir): Likewise.
57530         * posix/wordexp.c (exec_comm_child): Likewise.
57531         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57532         (getanswer_r, gaih_getanswer_slice): Likewise.
57533         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57534         * resolv/res_init.c: Likewise.
57535         * resolv/res_mkquery.c (res_nmkquery): Likewise.
57536         * resolv/res_query.c (__libc_res_nquery): Likewise.
57537         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57538         Likewise.
57539         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57540         * stdio-common/perror.c (perror): Likewise.
57541         * stdio-common/printf_fp.c (___printf_fp): Likewise.
57542         * stdio-common/tmpnam.c (tmpnam): Likewise.
57543         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57544         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57545         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57546         Likewise.
57547         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57548         * stdlib/putenv.c (putenv): Likewise.
57549         * stdlib/setenv.c (__add_to_environ): Likewise.
57550         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57551         * stdlib/strtol_l.c (INTERNAL): Likewise.
57552         * string/memmem.c (memmem): Likewise.
57553         * string/strerror.c (strerror): Likewise.
57554         * string/strnlen.c (__strnlen): Likewise.
57555         * string/test-memmem.c (simple_memmem): Likewise.
57556         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57557         * sunrpc/pm_getport.c (__get_socket): Likewise.
57558         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57559         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57560         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57561         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57562         Likewise.
57563         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57564         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57565         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57566         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57567         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57568         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57569         Likewise.
57570         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57571         Likewise.
57572         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57573         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57574         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57575         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57576         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57577         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57578         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57579         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57580         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57581         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57582         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57583         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57584         Likewise.
57585         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57586         Likewise.
57587         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57588         Likewise.
57589         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57590         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57591         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57592         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57593         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57594         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57595         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57596         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57597         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57598         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57599         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57600         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57601         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57602         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57603         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57604         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57605         Likewise.
57606         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57607         Likewise.
57608         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57609         Likewise.
57610         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57611         Likewise.
57612         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57613         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57614         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57615         Likewise.
57616         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57617         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57618         * sysdeps/posix/opendir.c (__opendirat): Likewise.
57619         * sysdeps/posix/sleep.c: Likewise.
57620         * sysdeps/posix/tempname.c: Likewise.
57621         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57622         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57623         Likewise.
57624         * sysdeps/powerpc/powerpc32/dl-machine.h
57625         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57626         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57627         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57628         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57629         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57630         Likewise.
57631         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57632         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57633         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57634         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57635         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57636         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57637         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57638         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57639         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57640         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57641         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57642         (elf_machine_lazy_rel): Likewise.
57643         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57644         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57645         (elf_machine_lazy_rel): Likewise.
57646         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57647         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57648         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57649         * sysdeps/unix/grantpt.c (grantpt): Likewise.
57650         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57651         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57652         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57653         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57654         Likewise.
57655         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57656         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57657         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57658         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57659         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57660         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57661         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57662         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57663         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57664         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57665         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57666         Likewise.
57667         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57668         (__posix_fallocate64_l64): Likewise.
57669         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57670         (posix_fallocate): Likewise.
57671         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57672         Likewise.
57673         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57674         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57675         (getifaddrs_internal): Likewise.
57676         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57677         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57678         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57679         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57680         * sysdeps/unix/sysv/linux/posix_fallocate64.c
57681         (__posix_fallocate64_l64): Likewise.
57682         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57683         Likewise.
57684         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57685         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57686         (__get_clockfreq): Likewise.
57687         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57688         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57689         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57690         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57691         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57692         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57693         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57694         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57695         Likewise.
57696         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57697         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57698         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57699         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57700         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57701         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57702         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57703         Likewise.
57704         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57705         (posix_fallocate): Likewise.
57706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57707         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57708         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57709         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57710         (elf_machine_rela, elf_machine_rela_relative)
57711         (elf_machine_lazy_rel): Likewise.
57712         * time/asctime.c (asctime_internal): Likewise.
57713         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57714         * time/tzset.c (__tzset_parse_tz): Likewise.
57715         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57716         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57717         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57718         * wcsmbs/wcsmbsload.h: Likewise.
57720         [BZ #15894]
57721         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57723         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57724         (arena_get2): Remove THREAD_STATS conditionals.
57725         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57726         (__malloc_stats, int): Likewise.
57728 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
57730         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57731         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
57733         * manual/setjmp.texi: Fix typos/grammar errors.
57735         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57736         Only return early when n is <= 0.  Delete unused return statement.
57738         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57739         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57740         * debug/tst-longjmp_chk3.c: New file.
57742         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57743         (test_main): Replace code with set_fortify_handler call.
57744         * debug/test-strcpy_chk.c: Likewise.
57745         * debug/tst-chk1.c: Likewise.
57746         * debug/tst-longjmp_chk.c: Likewise.
57747         * test-skeleton.c: Include fcntl.h & paths.h
57748         (set_fortify_handler): Define.
57750         * debug/tst-longjmp_chk.c: Add header comment and include
57751         ../test-skeleton.c.
57752         (do_test): Mark static.
57753         (TEST_FUNCTION): Define.
57755         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57756         (IP_PMTUDISC_INTERFACE): Likewise.
57757         (IP_MULTICAST_IF): Likewise.
57758         (IP_MULTICAST_TTL): Likewise.
57759         (IP_MULTICAST_LOOP): Likewise.
57760         (IP_ADD_MEMBERSHIP): Likewise.
57761         (IP_DROP_MEMBERSHIP): Likewise.
57762         (IP_UNBLOCK_SOURCE): Likewise.
57763         (IP_BLOCK_SOURCE): Likewise.
57764         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57765         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57766         (IP_MSFILTER): Likewise.
57767         (MCAST_JOIN_GROUP): Likewise.
57768         (MCAST_BLOCK_SOURCE): Likewise.
57769         (MCAST_UNBLOCK_SOURCE): Likewise.
57770         (MCAST_LEAVE_GROUP): Likewise.
57771         (MCAST_JOIN_SOURCE_GROUP): Likewise.
57772         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57773         (MCAST_MSFILTER): Likewise.
57774         (IP_MULTICAST_ALL): Likewise.
57775         (IP_UNICAST_IF): Likewise.
57777         * timezone/Makefile: Delete $(have-ksh) check.
57778         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57779         * timezone/tzselect.ksh: Add +x mode bits.
57781         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57782         (ANON_INODE_FS_MAGIC): Likewise.
57783         (BDEVFS_MAGIC): Likewise.
57784         (BINFMTFS_MAGIC): Likewise.
57785         (BTRFS_TEST_MAGIC): Likewise.
57786         (CRAMFS_MAGIC_WEND): Likewise.
57787         (DEBUGFS_MAGIC): Likewise.
57788         (ECRYPTFS_SUPER_MAGIC): Likewise.
57789         (EXT3_SUPER_MAGIC): Likewise.
57790         (EXT4_SUPER_MAGIC): Likewise.
57791         (FUTEXFS_SUPER_MAGIC): Likewise.
57792         (HOSTFS_SUPER_MAGIC): Likewise.
57793         (HUGETLBFS_MAGIC): Likewise.
57794         (MINIX3_SUPER_MAGIC): Likewise.
57795         (MTD_INODE_FS_MAGIC): Likewise.
57796         (NILFS_SUPER_MAGIC): Likewise.
57797         (OPENPROM_SUPER_MAGIC): Likewise.
57798         (PIPEFS_MAGIC): Likewise.
57799         (PSTOREFS_MAGIC): Likewise.
57800         (QNX6_SUPER_MAGIC): Likewise.
57801         (RAMFS_MAGIC): Likewise.
57802         (REISERFS_SUPER_MAGIC_STRING): Likewise.
57803         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57804         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57805         (SECURITYFS_MAGIC): Likewise.
57806         (SELINUX_MAGIC): Likewise.
57807         (SMACK_MAGIC): Likewise.
57808         (SOCKFS_MAGIC): Likewise.
57809         (SQUASHFS_MAGIC): Likewise.
57810         (STACK_END_MAGIC): Likewise.
57811         (TMPFS_MAGIC): Likewise.
57812         (USBDEVICE_SUPER_MAGIC): Likewise.
57813         (V9FS_MAGIC): Likewise.
57814         (XENFS_SUPER_MAGIC): Likewise.
57815         (CRAMFS_MAGIC): Fix typo in comment.
57816         (EXT2_SUPER_MAGIC): Update comment.
57817         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57819 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
57821         * sysdeps/arm: Move directory from ports/sysdeps/arm.
57822         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57823         * sysdeps/unix/sysv/linux/arm: Move directory from
57824         ports/sysdeps/unix/sysv/linux/arm.
57825         * README: Update listing for arm-*-linux-gnueabi.
57827         * README: Remove mention of am33.
57829 2014-02-07  Roland McGrath  <roland@hack.frob.com>
57831         * bits/sigset.h (__sigemptyset): Use a statement expression rather
57832         than the comma operator, to avoid "rhs of comma has no effect"
57833         compiler warnings.
57834         (__sigfillset, __sigandset, __sigorset): Likewise.
57835         * include/signal.h (__sigemptyset): Likewise.
57836         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57838 2014-02-07  Allan McRae  <allan@archlinux.org>
57840         * version.h (RELEASE): Set to "development".
57841         (VERSION): Set to "2.19.90"
57842         * NEWS: Add 2.20 section.
57844 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
57846         [BZ #16529]
57847         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57849 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57851         * manual/contrib.texi: Update entry for Carlos O'Donell,
57852         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57854 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
57856         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57858         * sysdeps/unix/sysv/linux/kernel-features.h
57859         [__LINUX_KERNEL_VERSION >= 0x020621]
57860         (__ASSUME_PROC_PID_TASK_COMM): Define.
57862 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57864         [BZ #16398]
57865         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57866         conversion when destination buffer does not have enough space.
57867         * libio/tst-ftell-partial-wide.c: New test case.
57868         * libio/Makefile (tests): Add tst-ftell-partial-wide.
57870         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57871         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
57872         Leonard and Allan McRae.
57874 2014-02-04  David S. Miller  <davem@davemloft.net>
57876         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57877         32-bit.
57879 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57882         New file
57883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57884         New file
57885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57886         New file.
57887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57888         New file.
57889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57890         New file.
57891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57892         New file.
57893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57894         New file.
57895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57896         New file.
57897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57898         New file.
57899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57900         New file.
57901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57902         New file.
57903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57904         New file.
57905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57906         New file.
57908 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57910         * nptl/shlib-versions: Change powerpc*le start to 2.17.
57911         * shlib-versions: Likewise.
57913 2014-02-04  Roland McGrath  <roland@hack.frob.com>
57914             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57916         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57917         (abilist-pattern): New variable, set to %-le.abilist.
57919         * Makerules (abilist-pattern): New variable.
57920         (vpath): Use $(abilist-pattern) in place of %.abilist.
57921         (check-abi-% pattern rule): Likewise.
57922         (check-abi, update-abi): Likewise.
57924 2014-02-04  Eric Wong  <normalperson@yhbt.net>
57926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57928 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
57930         * manual/startup.texi: Add next, previous, and top entries for
57931         the `Program Arguments' and `Environment Variables' nodes.
57933 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
57935         * manual/macros.texi: Add comments before MTASC-safety macros.
57937         * manual/users.texi: Document MTASC-safety properties.
57939         * manual/threads.texi (pthread_key_create, pthread_key_delete)
57940         (pthread_getspecific, pthread_setspecific): Format with
57941         @deftypefun, and add @safety note.
57942         * manual/signal.texi: Move comments that analyze the above
57943         functions to their home place.
57945 2014-02-03  Allan McRae  <allan@archlinux.org>
57947         * po/sl.po: Update Slovenian translation from translation project.
57949 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
57951         * manual/time.texi (timegm): Add missing blank after @c.
57952         Reported by Joseph Myers <joseph@codesourcery.com>.
57954 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
57956         * manual/check-safety.sh: New.
57957         * manual/Makefile ($(objpfx)stamp-summary): Run it.
57959         * manual/terminal.texi: Document MTASC-safety properties.
57961         * manual/filesys.texi: Document MTASC-safety properties.
57963         * manual/errno.texi: Document MTASC-safety properties.
57965         * manual/intro.texi: Document safety identifiers and
57966         conditionals.
57968         * manual/string.texi (wcstok): Fix prototype.
57969         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
57971         * manual/time.texi: Document MTASC-safety properties.
57973         * manual/string.texi: Document MTASC-safety properties.
57975         * manual/threads.texi: Document MTASC-safety properties.
57977         * manual/stdio.texi: Document MTASC-safety properties.
57979         * manual/syslog.texi: Document MTASC-safety properties.
57981         * manual/sysinfo.texi: Document MTASC-safety properties.
57983         * manual/startup.texi: Document MTASC-safety properties.
57985         * manual/socket.texi: Document MTASC-safety properties.
57987         * manual/signal.texi: Document MTASC-safety properties.
57989 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
57991         * manual/setjmp.texi: Document MTASC-safety properties.
57993         * manual/search.texi: Document MTASC-safety properties.
57995         * manual/resource.texi: Document MTASC-safety properties.
57997         * manual/process.texi: Document MTASC-safety properties.
57999         * manual/platform.texi: Document MTASC-safety properties.
58001         * manual/pipe.texi: Document MTASC-safety properties.
58003         * manual/pattern.texi: Document MTASC-safety properties.
58005         * manual/message.texi: Document MTASC-safety properties.
58007         [BZ #12751]
58008         * manual/memory.texi: Document MTASC-safety properties.
58010         * manual/math.texi: Document MTASC-safety properties.
58012         * manual/locale.texi: Document MTASC-safety properties.
58014         * manual/llio.texi: Document MTASC-safety properties.
58016         * manual/libdl.texi: New.
58018         * manual/lang.texi: Document MTASC-safety properties.
58020         * manual/job.texi: Document MTASC-safety properties.
58022         * manual/getopt.texi: Document MTASC-safety properties.
58024         * manual/ctype.texi: Document MTASC-safety properties.
58026 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
58028         [BZ #16046]
58029         * csu/libc-tls.c (static_map): Remove variable.
58030         (__libc_setup_tls): Use main executable's link map for TLS data.
58031         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
58032         casing for LM_ID_BASE and GL(dl_nns).
58033         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
58034         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
58035         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
58036         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
58037         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
58038         member.
58039         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
58040         l_phnum members.
58042 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
58044         * manual/debug.texi: Document MTASC-safety properties.
58046 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
58048         [BZ #16510]
58049         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
58050         of __x86_64__ when disabling x87 inline functions.
58052 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
58054         * manual/charset.texi: Document MTASC-safety properties.
58056         * manual/crypt.texi: Document MTASC-safety properties.
58058         * manual/conf.texi: Document MTASC-safety properties.
58060         * manual/arith.texi: Document MTASC-safety properties.
58062         * manual/argp.texi: Document MTASC-safety properties.
58064         * manual/macros.texi: Introduce macros to document multi
58065         thread, asynchronous signal and asynchronous cancellation
58066         safety properties.
58067         * manual/intro.texi: Introduce the properties themselves.
58069 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58071         * sysdeps/sh/sh4/Makefile: New file.
58073 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
58075         * math/gen-libm-test.pl ($srcdir): New variable.
58076         ($auto_input): Use it.
58078 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58080         [BZ #16506]
58081         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
58082         access beyond array bounds when parsing netgroups file.
58084         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
58085         the old buffer before realloc.
58087 2014-01-27  Allan McRae  <allan@archlinux.org>
58089         * po/fr.po: Update French translation from translation project.
58091 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58093         * sysdeps/sh/libm-test-ulps: Regenerate.
58095 2014-01-24  David S. Miller  <davem@davemloft.net>
58097         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
58099 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58101         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
58102         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
58104 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58106         [BZ #16474]
58107         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
58108         string pointers after reallocation.
58110 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58112         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
58113         __SH4A__ instead of __SH_FPU_ANY__.
58115 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58117         * sysdeps/sh/fpu_control.h: New file.
58118         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58119         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58120         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58121         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58122         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58123         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58124         * sysdeps/sh/sys/ucontext.h: Remove.
58125         * sysdeps/sh/sys: Remove directory.
58127 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58129         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58130         s390/sys/ucontext.h.
58131         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58132         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58134 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
58136         [BZ #15605]
58137         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58139 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58141         [BZ #16431]
58142         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58143         Adjust the vDSO correctly for internal calls.
58144         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58146 2014-01-20  Allan McRae  <allan@archlinux.org>
58148         * po/ca.po: Update Catalan translation from translation project.
58150 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
58152         * sysdeps/s390/sotruss-lib.c: New file.
58154 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58156         [BZ #16430]
58157         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58158         (__GI___gettimeofday): Alias for a different internal symbol to avoid
58159         local calls issues by not having a PLT stub required for IFUNC calls.
58160         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58162 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
58164         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58165         * math/test-fpucw-static.c: Likewise.
58167 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58169         [BZ #16453]
58170         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58172 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58174         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58175         implementation for powerpc.
58177 2014-01-15  Ondƙej BĂ­lka  <neleai@seznam.cz>
58179         [BZ #14782]
58180         * sysdeps/posix/system.c (__libc_system): Do not enable
58181         asynchronous cancellation.
58183 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58185         [BZ #16427]
58186         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58187         handling only for numbers special also in the IEEE case.
58189 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58191         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58193 2014-01-11  Allan McRae  <allan@archlinux.org>
58195         * po/bg.po: Update Bulgarian translation from translation project.
58197         * po/de.po: Update German translation from translation project.
58199 2014-01-10  Roland McGrath  <roland@hack.frob.com>
58201         * sysdeps/generic/gcc-compat.h: New file.
58203 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58205         * benchtests/asin-inputs: Correct slow inputs.
58206         * benchtests/acos-inputs: Likewise.
58208 2014-01-10  Allan McRae  <allan@archlinux.org>
58210         * po:sv.po: Update Swedish translation from translation project.
58212         * po/vi.po: Update Vietnamese translation from translation project.
58214         * po/eo.po: Update Esperanto translation from translation project.
58216         * po/cs.po: Update Czech translation from translation project.
58218         * po/nl.po: Update Dutch translation from translation project.
58220         * po/pl.po: Update Polish translation from translation project.
58222         * po/ru.po: Update Russian translation from translation project.
58224         * po/uk.po: Update Ukrainian translation from translation project.
58226 2014-01-08  Brooks Moses  <bmoses@google.com>
58228         * elf/dl-load.c: Fix comment typo.
58230 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
58232         * po/header.pot: Rename to...
58233         * po/pot.header: ... this.
58234         * po/Makefile: Use pot.header.
58236 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
58237             Maxim Kuvyrkov  <maxim@kugelworks.com>
58239         [BZ #16394]
58240         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58241         SRC and DEST against LEN.
58243 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58245         [BZ #16414]
58246         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58247         implementation.
58248         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58250 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58254 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
58256         [BZ #16408]
58257         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58258         for large positive arguments.
58260 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
58262         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58264         * math/auto-libm-test-in: Mark various tests with
58265         xfail-rounding:ldbl-128ibm.
58266         * math/auto-libm-test-out: Regenerated.
58268         [BZ #16407]
58269         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58270         Increase overflow threshold.
58272 2014-01-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
58274         [BZ #14286]
58275         * stdio-common/vfprintf.c: Check for integer overflow.
58277 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58279         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58280         the first argument and return value of __tls_get_addr_internal.
58282 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58284         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58285         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58287 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58289         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58290         * sysdeps/s390/rtld-global-offsets.sym: New file.
58291         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58292         GLIBC_2.19 symbol.
58293         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58294         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58295         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58296         ... this.
58297         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58298         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58299         ... this.
58300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58301         Regenerate.
58302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58303         Regenerate.
58304         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58305         halfs of GPRs for high_gprs contexts.
58306         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58307         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
58308         field.
58309         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58310         uc_flags field.
58311         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58312         64 bit versions:
58313         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58314         for high GPRs (uc_high_gprs) and for future extensions
58315         (__reserved).
58316         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58317         for future extensions (__reserved).
58318         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58319         64 bit versions:
58320         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58321         SC_HIGHGPRS offset definition.
58322         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58323         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58325         * Versions.def: Add GLIBC_2.19 for libpthread.
58326         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58327         siglongjmp for libpthread with GLIBC_2.19 symver.
58328         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58329         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58330         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58331         * sysdeps/s390/__longjmp.c: New file.
58332         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58333         * sysdeps/s390/longjmp.c: New file.
58334         * sysdeps/s390/setjmp.S: New file.
58335         * sysdeps/s390/sigjmp.S: New file.
58336         * sysdeps/s390/v1-longjmp.c: New file.
58337         * sysdeps/s390/v1-setjmp.h: New file.
58338         * sysdeps/s390/v1-sigjmp.c: New file.
58339         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58340         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58341         GLIBC_2.19 version.
58342         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58343         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58344         versioned symbols for ____longjmp_chk.
58345         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58346         Likewise.
58347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58348         Regenerate.
58349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58350         Regenerate.
58351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58352         Regenerate.
58353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58354         Regenerate.
58355         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58356         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58357         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58358         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58359         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58360         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58361         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58362         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58363         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58364         * sysdeps/s390/rtld-__longjmp.c: New file.
58365         * sysdeps/s390/rtld-setjmp.S: New file.
58367 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
58369         [BZ #16400]
58370         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58371         Return -__logl (x) for small positive arguments without evaluating
58372         a polynomial.
58374 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
58376         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58377         Rename to ...
58378         (__ptrace_peeksiginfo_args): ... this.
58379         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58380         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58381         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58383 2014-01-06  Allan McRae  <allan@archlinux.org>
58385         * inet/netinet/in.h: Fix typo in comment.
58387 2014-01-05  Andreas Jaeger  <aj@suse.de>
58389         * sysdeps/i386/fpu/libm-test-ulps: Update.
58391 2014-01-05  Allan McRae  <allan@archlinux.org>
58393         * po/libc.pot: Regenerated.
58395         * malloc/memusagestat.c: Fix gettext call formatting.
58397 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
58399         * nscd/nscd.c: Improve usage() output.
58401 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
58403         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58404         * sysdeps/unix/sysv/linux/configure: Regenerated.
58405         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58406         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58408 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58410         [BZ #16390]
58411         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58412         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58414 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58416         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58417         extra tokens at end of #undef directive.
58418         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58419         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58420         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58422 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58424         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58426         * math/auto-libm-test-in: Mark various tests with
58427         xfail-rounding:ldbl-128ibm.
58428         * math/auto-libm-test-out: Regenerated.
58430 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
58432         [BZ #16386]
58433         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58434         numbers with subnormal high part when calculating exponent.
58436         [BZ #16385]
58437         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58438         fabs.
58440         [BZ #16384]
58441         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58442         M_LN2l.
58443         (__ieee754_acoshl): Use __log1pl not __log1p.
58445 2013-01-02  Ondƙej BĂ­lka  <neleai@seznam.cz>
58447         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58448         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58449         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58450         (grow_heap, heap_trim, _int_new_arena, get_free_list)
58451         (reused_arena, arena_get2): Convert to GNU style.
58452         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58453         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58454         (memalign_check, __malloc_set_state): Likewise.
58455         * malloc/mallocbug.c (main): Likewise.
58456         * malloc/malloc.c (__malloc_assert, malloc_init_state)
58457         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58458         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58459         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58460         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58461         (__posix_memalign, malloc_info): Likewise.
58462         * malloc/malloc.h: Likewise.
58463         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58464         (mallochook, memalignhook, reallochook, mabort): Likewise.
58465         * malloc/mcheck.h: Likewise.
58466         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58467         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58468         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58469         * malloc/morecore.c (__default_morecore): Likewise.
58470         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58471         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58472         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58473         (print_and_abort): Likewise.
58474         * malloc/obstack.h: Likewise.
58475         * malloc/set-freeres.c (__libc_freeres): Likewise.
58476         * malloc/tst-mallocstate.c (main): Likewise.
58477         * malloc/tst-mtrace.c (main): Likewise.
58478         * malloc/tst-realloc.c (do_test): Likewise.
58480 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58482         [BZ #16366]
58483         * nscd/netgroupcache.c (do_notfound): New function.
58484         (addgetnetgrentX): Use it.
58486         [BZ # 16365]
58487         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58488         NSS_STATUS_NOTFOUND.
58490 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
58492         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58495 2014-01-01  Allan McRae  <allan@archlinux.org>
58497         * scripts/update-copyrights: Update configure input file suffix.
58499         * NEWS: Update copyright year.
58500         * catgets/gencat.c: Likewise.
58501         * csu/version.c: Likewise.
58502         * debug/catchsegv.sh: Likewise.
58503         * debug/pcprofiledump.c: Likewise.
58504         * debug/xtrace.sh: Likewise.
58505         * elf/ldconfig.c: Likewise.
58506         * elf/ldd.bash.in: Likewise.
58507         * elf/pldd.c: Likewise.
58508         * elf/sotruss.ksh: Likewise.
58509         * elf/sprof.c: Likewise.
58510         * iconv/iconv_prog.c: Likewise.
58511         * iconv/iconvconfig.c: Likewise.
58512         * locale/programs/locale.c: Likewise.
58513         * locale/programs/localedef.c: Likewise.
58514         * login/programs/pt_chown.c: Likewise.
58515         * malloc/memusage.sh: Likewise.
58516         * malloc/memusagestat.c: Likewise.
58517         * malloc/mtrace.pl: Likewise.
58518         * manual/libc.texinfo: Likewise.
58519         * nscd/nscd.c: Likewise.
58520         * nss/getent.c: Likewise.
58521         * nss/makedb.c: Likewise.
58522         * posix/getconf.c: Likewise.
58523         * scripts/test-installation.pl: Likewise.
58525         * All files with FSF copyright notices: Update copyright dates
58526         using scripts/update-copyrights.
58527         * intl/plural.c: Regenerated.
58528         * locale/programs/charmap-kw.h: Likewise.
58529         * locale/programs/locfile-kw.h: Likewise.
58531 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
58533         * sysdeps/unix/sysv/linux/configure: Regenerated.
58534         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58535         the linux/fanotify.h header.
58536         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58537         HAVE_LINUX_FANOTIFY_H is defined.
58539 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58541         * benchtests/cos-inputs: New inputs.
58542         * benchtests/sin-inputs: Likewise.
58544         * benchtests/atan-inputs: New inputs. Fix name of multiple
58545         precision fallback inputs.
58547         * benchtests/atanh-inputs: New inputs.
58548         * benchtests/tanh-inputs: Likewise.
58550         * benchtests/acosh-inputs: New inputs.
58551         * benchtests/asinh-inputs: Likewise.
58553         * benchtests/cosh-inputs: New inputs.
58554         * benchtests/sinh-inputs: Likewise.
58556         * benchtests/acos-inputs: Add more inputs.
58557         * benchtests/asin-inputs: Likewise.
58559 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
58561         [BZ #16375]
58562         * manual/arith.texi: Fix spelling.
58563         * manual/charset.texi: Likewise.
58564         * manual/errno.texi: Likewise.
58565         * manual/filesys.texi: Likewise.
58566         * manual/lang.texi: Likewise.
58567         * manual/llio.texi: Likewise.
58568         * manual/locale.texi: Likewise.
58569         * manual/message.texi: Likewise.
58570         * manual/resource.texi: Likewise.
58571         * manual/search.texi: Likewise.
58572         * manual/setjmp.texi: Likewise.
58573         * manual/stdio.texi: Likewise.
58574         * manual/string.texi: Likewise.
58575         * manual/sysinfo.texi: Likewise.
58576         * manual/time.texi: Likewise.
58578 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
58580         * po/sl.po: New file.
58582 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
58584         * .gitignore: Add core/.gdbinit/.gdb_history.
58586 2013-12-27  Allan McRae  <allan@archlinux.org>
58588         [BZ #16369]
58589         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58590         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58592 2013-12-24  Brooks Moses  <bmoses@google.com>
58594         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58595         all compilers that claim C++98 compliance, not just GCC.
58596         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58597         Likewise.
58599 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58601         * NEWS: Restore accidentally deleted bug-fix entries.
58603 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58604             Ondƙej BĂ­lka  <neleai@seznam.cz>
58606         [BZ #15073]
58607         * malloc/malloc.c (_int_free): Perform sanity check only if we
58608         have_lock.
58610 2013-12-23  Ondƙej BĂ­lka  <neleai@seznam.cz>
58612         [BZ #12986]
58613         * manual/stdio.texi (String Input Conversions): Clarify that character
58614         classes are not supported.
58616 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58620 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
58622         [BZ #16337]
58623         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58624         Calculate results for small negative arguments directly rather
58625         than using reflection formula with special underflow handling.
58627         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58628         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58629         sysdeps/unix/bsd/bsd4.4/syscalls.list.
58630         (fchflags): Likewise.
58631         (revoke): Likewise.
58632         (setlogin): Likewise.
58633         (sigaltstack): Likewise.
58634         (wait4): Likewise.
58635         (sigblock): Remove.
58636         (sigsetmask): Likewise.
58637         (wait3): Likewise.
58638         (waitpid): Likewise.
58639         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58640         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58641         file.
58642         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58643         * sysdeps/unix/bsd/Makefile: ... here.
58644         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58645         * sysdeps/unix/bsd/Versions: ... here.
58646         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58647         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58648         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58649         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58650         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58651         * sysdeps/unix/bsd/sigblock.c: ... here.
58652         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58653         * sysdeps/unix/bsd/sigsetmask.c: ... here.
58654         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58655         * sysdeps/unix/bsd/sigvec.c: ... here.
58656         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58657         * sysdeps/unix/bsd/tcdrain.c: ... here.
58658         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58659         * sysdeps/unix/bsd/tcgetattr.c: ... here.
58660         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58661         * sysdeps/unix/bsd/tcsetattr.c: ... here.
58662         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58663         * sysdeps/unix/bsd/wait.c: ... here.
58664         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58665         * sysdeps/unix/bsd/wait3.c: ... here.
58666         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58667         * sysdeps/unix/bsd/waitpid.c: ... here.
58669 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
58671         [BZ #16356]
58672         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58673         round-to-nearest for [!USE_AS_EXPM1L].
58674         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58675         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
58676         more tests of exp and exp10.  Expect some exp10 tests to miss
58677         exceptions or fail in directed rounding modes.
58678         * math/auto-libm-test-out: Regenerated.
58679         * math/libm-test.inc (exp10_tonearest_test_data): New array.
58680         (exp10_test_tonearest): New function.
58681         (exp10_towardzero_test_data): New array.
58682         (exp10_test_towardzero): New function.
58683         (exp10_downward_test_data): New array.
58684         (exp10_test_downward): New function.
58685         (exp10_upward_test_data): New array.
58686         (exp10_test_upward): New function.
58687         (main): Call the new functions.
58688         * sysdeps/i386/fpu/libm-test-ulps: Update.
58689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58691 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
58693         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58694         asinh, atan, atan2, atanh, cbrt, cos and cosh.
58695         * math/auto-libm-test-out: Regenerated.
58696         * math/libm-test.inc (acosh_test_data): Add more tests.
58697         (atanh_test_data): Likewise.
58698         (ceil_test_data): Likewise.
58699         (copysign_test_data): Likewise.
58700         * sysdeps/i386/fpu/libm-test-ulps: Update.
58701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58703         * timezone/checktab.awk: Update from tzcode 2013i.
58704         * timezone/private.h: Likewise.
58705         * timezone/scheck.c: Likewise.
58706         * timezone/tzfile.h: Likewise.
58707         * timezone/tzselect.ksh: Likewise.
58708         * timezone/zdump.c: Likewise.
58709         * timezone/zic.c: Likewise.
58711         * math/auto-libm-test-in: Add tests of cpow.
58712         * math/auto-libm-test-out: Regenerated.
58713         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58714         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58715         mpc_cc_c.
58716         (func_calc_desc): Add mpc_cc_c union field.
58717         (test_functions): Add cpow.
58718         (special_fill_2pi): New function.
58719         (special_real_inputs): Add 2pi.
58720         (calc_generic_results): Handle mpc_cc_c.
58721         * sysdeps/i386/fpu/libm-test-ulps: Update.
58722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58724         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58725         csqrt, ctan and ctanh.
58726         * math/auto-libm-test-out: Regenerated.
58727         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58728         (TEST_COND_x86): Likewise.
58729         (ccos_test_data): Use AUTO_TESTS_c_c.
58730         (ccosh_test_data): Likewise.
58731         (cexp_test_data): Likewise.
58732         (clog_test_data): Likewise.
58733         (csqrt_test_data): Likewise.
58734         (ctan_test_data): Likewise.
58735         (ctan_tonearest_test_data): Likewise.
58736         (ctan_towardzero_test_data): Likewise.
58737         (ctan_downward_test_data): Likewise.
58738         (ctan_upward_test_data): Likewise.
58739         (ctanh_test_data): Likewise.
58740         (ctanh_tonearest_test_data): Likewise.
58741         (ctanh_towardzero_test_data): Likewise.
58742         (ctanh_downward_test_data): Likewise.
58743         (ctanh_upward_test_data): Likewise.
58744         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58745         mpc_c_c.
58746         (func_calc_desc): Add mpc_c_c union field.
58747         (FUNC_mpc_c_c): New macro.
58748         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58749         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58750         ctanh.
58751         (special_fill_min_subnorm_p120): New function.
58752         (special_real_inputs): Add min_subnorm_p120.
58753         (calc_generic_results): Handle mpc_c_c.
58754         * sysdeps/i386/fpu/libm-test-ulps: Update.
58755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58757 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58759         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58760         (do_sin_slow): New functions.
58761         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58762         (cslow2, csloww1, csloww2): Use the new functions.
58764         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58765         Use M to change sign of result instead of X.  Assume X is
58766         positive.
58767         (csloww1): Likewise.
58768         (__sin): Adjust.
58769         (__cos): Adjust.
58771         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58772         arguments A and DA.
58773         (__sin): Adjust.
58774         (__cos): Likewise.
58776         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58777         (__cos): Likewise.
58778         (sloww1): Don't adjust sign of DX.
58779         (csloww1): Likewise.
58780         (sloww2): Use X directly and don't adjust sign of DX.
58781         (csloww2): Likewise.
58783 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58785         * math/auto-libm-test-in: Add tests of cabs and carg.
58786         * math/auto-libm-test-out: Regenerated.
58787         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58788         (carg_test_data): Likewise.
58789         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58790         mpc_c_f.
58791         (func_calc_desc): Add mpc_c_f union field.
58792         (test_functions): Add cabs and carg.
58793         (calc_generic_results): Handle mpc_c_f.
58795         * sysdeps/powerpc/powerpc32/libgcc-compat.S
58796         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58797         as a macro and a compat symbol.
58798         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58799         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58800         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58801         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58802         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58803         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58804         not use .hidden.
58805         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58806         Likewise.
58807         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58808         Likewise.
58809         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58810         Likewise.
58811         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58812         Likewise.
58813         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58814         Likewise.
58815         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58816         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58817         from GLIBC_2.3.2.
58819 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58823 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58825         * manual/texinfo.tex: Update to version 2013-11-26.10 with
58826         trailing whitespace removed.
58827         * scripts/config.guess: Update to version 2013-11-29.
58828         * scripts/config.sub: Update to version 2013-10-01.
58830         * math/auto-libm-test-in: Add tests of sincos.
58831         * math/auto-libm-test-out: Regenerated.
58832         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58833         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58834         mpfr_f_11.
58835         (func_calc_desc): Add mpfr_f_11 union field.
58836         (test_functions): Add sincos.
58837         (calc_generic_results): Handle mpfr_f_11.
58838         * sysdeps/i386/fpu/libm-test-ulps: Update.
58839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58841 2013-12-19  Andreas Schwab  <schwab@suse.de>
58843         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58844         CALL_MCOUNT.
58845         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58846         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58847         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58849 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58851         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58852         * sysdeps/i386/fpu/libm-test-ulps: Update.
58853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58855         [BZ #16293]
58856         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58857         round-to-nearest mode when using frndint.
58858         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58859         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58860         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58861         Likewise.
58862         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
58863         sinh test to fail.
58864         * math/auto-libm-test-out: Regenerated.
58865         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58866         (TEST_COND_x86): Likewise.
58867         (expm1_tonearest_test_data): New array.
58868         (expm1_test_tonearest): New function.
58869         (expm1_towardzero_test_data): New array.
58870         (expm1_test_towardzero): New function.
58871         (expm1_downward_test_data): New array.
58872         (expm1_test_downward): New function.
58873         (expm1_upward_test_data): New array.
58874         (expm1_test_upward): New function.
58875         (main): Run the new test functions.
58876         * sysdeps/i386/fpu/libm-test-ulps: Update.
58877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58879         * include/features.h: Update comment documenting feature test
58880         macros.  Mention _DEFAULT_SOURCE in comment.
58881         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58882         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58883         _BSD_SOURCE and _SVID_SOURCE.
58884         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58885         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58886         !_SVID_SOURCE]: Likewise.
58887         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58888         (__USE_POSIX_IMPLICITLY): Define.
58889         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58890         (_POSIX_SOURCE): Undefine and redefine.
58891         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58892         (_POSIX_C_SOURCE): Likewise.
58893         * manual/creature.texi (_DEFAULT_SOURCE): Document.
58894         (Feature Test Macros): Update documentation of default features.
58896 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
58898         * benchtests/Makefile: Add bench-strtok.
58899         * benchtests/bench-strtok.c: New file: strtok benchtest.
58901 2013-12-19  Allan McRae  <allan@archlinux.org>
58903         * manual/install.texi: Suppress menu for plain text output.
58904         * INSTALL: Regenerated.
58906 2013-12-18  Brooks Moses  <bmoses@google.com>
58908         [BZ #15846]
58909         * misc/getauxval.c: Include errno.h.
58910         (__getauxval): Set errno to ENOENT if the requested type is not
58911         found.
58912         * misc/sys/auxv.h (getauxval): Document that it may set errno;
58913         don't declare with __attribute_const__.
58914         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58915         * manual/startup.texi: Document that getauxval sets errno.
58917 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
58919         * math/auto-libm-test-in: Add tests of jn and yn.
58920         * math/auto-libm-test-out: Regenerated.
58921         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58922         (yn_test_data): Likewise.
58923         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58924         mpfr_if_f.
58925         (func_calc_desc): Add mpfr_if_f union field.
58926         (FUNC_mpfr_if_f): New macro.
58927         (test_functions): Add jn and yn.
58928         (calc_generic_results): Assert type of second input for
58929         mpfr_ff_f.  Handle mpfr_if_f.
58930         (output_for_one_input_case): Disable all checking for arguments
58931         fitting floating-point types in case of an integer argument.
58932         * sysdeps/i386/fpu/libm-test-ulps: Update.
58933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58936         Don't expect fegetround reference in libm.so.
58938 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58940         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58941         $(config-cflags-nofma).
58943 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
58945         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58946         * math/auto-libm-test-out: Regenerated.
58948         [BZ #16338]
58949         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58950         to determine exponent and adjust argument to have exponent of -1.
58951         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58952         log2.
58953         * math/auto-libm-test-out: Regenerated.
58954         * sysdeps/i386/fpu/libm-test-ulps: Update.
58955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58957 2013-12-18  Ondƙej BĂ­lka  <neleai@seznam.cz>
58959         * manual/probes.texi: Remove cases when per-thread arenas are
58960         disabled.
58962 2013-12-18  Andreas Schwab  <schwab@suse.de>
58964         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
58965         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
58966         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
58967         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
58968         * sysdeps/i386/i686/multiarch/Makefile: Update.
58969         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
58971 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58973         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
58974         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
58976 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
58978         [BZ #15968]
58979         Support TZ transition times < 00:00:00.
58980         This is needed for version-3 tz-format files; it supports time
58981         stamps past 2037 for America/Godthab (the only entry in the tz
58982         database for which this change is relevant).
58983         * manual/time.texi (TZ Variable): Document transition times
58984         from -167:59:59 through -00:00:01.
58985         * time/tzset.c (tz_rule): Time of day is now signed.
58986         (__tzset_parse_tz): Parse negative time of day.
58988         Document TZ transition times >= 25:00:00.
58989         * manual/time.texi (TZ Variable): Document transition times from
58990         25:00:00 through 167:59:59.  These are already supported, and this
58991         support will help with version-3 tz-format files.
58993         * manual/time.texi (TZ Variable): Modernize North America example
58994         to reflect current (i.e., 2007-and-later) daylight saving rules.
58996         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
58998 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59000         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
59001         * sysdeps/unix/bsd/bits/stat.h: Likewise.
59002         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
59003         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59004         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
59005         * sysdeps/unix/bsd/bsdstat.h: Likewise.
59006         * sysdeps/unix/bsd/clock.c: Likewise.
59007         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
59008         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
59009         * sysdeps/unix/bsd/init-posix.c: Likewise.
59010         * sysdeps/unix/bsd/poll.c: Likewise.
59011         * sysdeps/unix/bsd/ptsname.c: Likewise.
59012         * sysdeps/unix/bsd/seekdir.c: Likewise.
59013         * sysdeps/unix/bsd/setegid.c: Likewise.
59014         * sysdeps/unix/bsd/seteuid.c: Likewise.
59015         * sysdeps/unix/bsd/setgid.c: Likewise.
59016         * sysdeps/unix/bsd/setrgid.c: Likewise.
59017         * sysdeps/unix/bsd/setruid.c: Likewise.
59018         * sysdeps/unix/bsd/setsid.c: Likewise.
59019         * sysdeps/unix/bsd/setuid.c: Likewise.
59020         * sysdeps/unix/bsd/sigaction.c: Likewise.
59021         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
59022         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
59023         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
59024         * sysdeps/unix/bsd/telldir.c: Likewise.
59025         * sysdeps/unix/bsd/times.c: Likewise.
59026         * sysdeps/unix/bsd/usleep.c: Likewise.
59028         * misc/Makefile (install-lib): Remove libbsd-compat.a.
59029         ($(objpfx)libbsd-compat.a): Remove rule.
59031         * include/features.h (__FAVOR_BSD): Do not define.
59032         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
59033         features conflicting with POSIX.
59034         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
59035         (_BSD_SOURCE): Remove description of not being a subset of other
59036         feature test macros.
59037         * manual/job.texi (getpgrp): Do not document BSD version.
59038         (getpgid): Do not document by reference to BSD getpgrp.
59039         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
59040         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
59041         * signal/signal.h [__FAVOR_BSD]: Likewise.
59042         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
59043         instead of making contents conditional on [__FAVOR_BSD].
59044         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
59046 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59050 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59052         [BZ #16314]
59053         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
59054         values below 2**-450, not 2**-500.
59055         * math/auto-libm-test-in: Don't allow spurious underflow from
59056         hypot.
59057         * math/auto-libm-test-out: Regenerated.
59059         [BZ #16316]
59060         [BZ #16330]
59061         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
59062         values of ha and hb and sort them after adjusting subnormal
59063         arguments.
59064         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
59065         Likewise.
59066         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
59067         values of ea and eb and sort them after adjusting subnormal
59068         arguments.
59069         * math/auto-libm-test-in: Do not expect some hypot tests of
59070         subnormals to fail.  Add more hypot tests.
59071         * math/auto-libm-test-out: Regenerated.
59073 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59075         [BZ #13304]
59076         * sysdeps/sh/s_fma.c: New file.
59077         * sysdeps/sh/s_fmaf.c: New file.
59078         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
59079         version.
59080         * sysdeps/sh/Implies: Add sh/soft-fp.
59082 2013-12-16  Roland McGrath  <roland@hack.frob.com>
59084         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
59085         level of indirection to members `objname', `errstring', `malloced'.
59086         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
59087         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
59088         it as the __longjmp argument (just pass 1 instead).
59089         (_dl_catch_error): Initialize C with argument pointers and address of
59090         volatile local ERRCODE rather than copying values out of C at return.
59092 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
59094         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
59095         * math/auto-libm-test-out: Regenerated.
59096         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
59097         (hypot_test_data): Likewise.
59098         (pow_test_data): Likewise.
59099         (pow_tonearest_test_data): Likewise.
59100         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59101         mpfr_ff_f.
59102         (func_calc_desc): Add mpfr_ff_f union field.
59103         (FUNC_mpfr_ff_f): New macro.
59104         (test_functions): Add atan2, hypot and pow.
59105         (special_fill_min): New function.
59106         (special_fill_minus_min): Likewise.
59107         (special_fill_min_subnorm): Likewise.
59108         (special_fill_minus_min_subnorm): Likewise.
59109         (special_real_inputs): Add min, -min, min_subnorm and
59110         -min_subnorm.
59111         (calc_generic_results): Handle mpfr_ff_f.
59112         * sysdeps/i386/fpu/libm-test-ulps: Update.
59113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59115 2013-12-16  Will Newton  <will.newton@linaro.org>
59117         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59118         (Aligned Memory Blocks): Add documentation for aligned_alloc
59119         and suggest it as an alternative to posix_memalign.
59120         (Hooks for Malloc): Document __memalign_hook is also called
59121         for aligned_alloc.  (Summary of Malloc): Add summary for
59122         aligned alloc.  Document __memalign_hook is also called
59123         for aligned_alloc.
59125 2013-12-16  Will Newton  <will.newton@linaro.org>
59127         * manual/memory.texi (Malloc Examples): Clarify default
59128         alignment documentation.  Suggest posix_memalign rather
59129         than memalign or valloc.
59130         (Aligned Memory Blocks): Remove suggestion to use memalign
59131         or valloc.  Remove obsolete comment about BSD.
59132         Document memalign errno values and mark the function obsolete.
59133         Document posix_memalign returned error codes.  Mark valloc
59134         as obsolete.  (Hooks for Malloc): __memalign_hook is also
59135         called for posix_memalign and valloc.
59136         (Summary of Malloc): Add posix_memalign to function summary.
59137         __memalign_hook is also called for posix_memalign and valloc.
59139 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59141         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59142         TAYLOR_SIN.
59143         (__sin): Adjust.
59144         (__cos): Likewise.
59145         (sloww): Use mynumber union.  Expand ternary operator into
59146         if-else statements.
59147         (cslow): use mynumber union.
59149 2013-12-16  Allan McRae  <allan@archlinux.org>
59151         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59152         * configure: Regenerated.
59154         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59156         [BZ #14120]
59157         * configure.ac: Added --enable-maintainer-mode. Check for
59158         autoconf when enabled.
59159         * configure: Regenerated.
59161         * nscd/nscd.service: New file.
59162         * nscd/nscd.tmpfiles: New file.
59164 2013-12-14  Ondƙej BĂ­lka  <neleai@seznam.cz>
59166         [BZ #12100]
59167         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59168         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59169         * sysdeps/x86_64/multiarch/strstr.c: ... here.
59170         (strstr): Add __strstr_sse2_unaligned ifunc.
59171         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59172         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59173         (strcasestr): Remove __strcasestr_sse42 ifunc.
59174         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59175         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59178 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59180         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59181         * sysdeps/sh/bits/fenv.h: ... here.
59182         * sysdeps/sh/sh4/fpu/bits: Remove directory.
59184 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59186         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59188         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59189         hypotf multiarch implementations.
59190         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59191         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59192         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59193         multiarch hypot for PPC64.
59194         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59195         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59196         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59197         multiarch hypotf for PPC64.
59199         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59200         modff multiarch implementations.
59201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59204         multiarch modf for PPC64.
59205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59208         multiarch modff for PPC64.
59210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59211         and logl multiarch implementations.
59212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59215         multiarch logb for PPC64.
59216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59219         multiarch logb for PPC64.
59220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59223         multiarch logb for PPC64.
59225         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59226         isinff multiarch implementation.
59227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59228         file.
59229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59231         multiarch isinf for PPC64.
59232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59233         file.
59234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59235         multiarch isinff for PPC64.
59237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59238         finitef multiarch implementation.
59239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59240         file.
59241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59243         multiarch finite for PPC64.
59244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59245         file.
59246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59247         multiarch finitef for PPC64.
59249         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59250         lrint multiarch implementation.
59251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59252         file.
59253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59255         multiarch llrint for PPC64.
59256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59257         multiarch lrint for PPC64.
59259         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59260         copysignf multiarch implementation.
59261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59262         file.
59263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59264         file.
59265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59266         multiarch copysign for PPC64.
59267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59268         multiarch copysignf for PPC64.
59270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59271         multiarch implementation.
59272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59273         file.
59274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59275         file.
59276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59277         file.
59278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59279         file.
59280         multiarch llround for PPC64.
59281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59282         multiarch trunc for PPC64.
59283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59284         multiarch truncf for PPC64.
59286         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59287         multiarch implementation.
59288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59289         file.
59290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59291         file.
59292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59293         file.
59294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59295         file.
59296         multiarch llround for PPC64.
59297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59298         multiarch round for PPC64.
59299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59300         multiarch roundf for PPC64.
59302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59303         multiarch implementation.
59304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59305         file.
59306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59307         file.
59308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59309         file.
59310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59311         file.
59312         multiarch llround for PPC64.
59313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59314         multiarch floor for PPC64.
59315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59316         multiarch floorf for PPC64.
59318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59319         multiarch implementation.
59320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59321         file.
59322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59323         file.
59324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59325         file.
59326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59327         file.
59328         multiarch llround for PPC64.
59329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59330         multiarch ceil for PPC64.
59331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59332         multiarch ceilf for PPC64.
59334         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59335         multiarch implementation.
59336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59337         file.
59338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59339         file.
59340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59341         file.
59342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59343         multiarch llround for PPC64.
59344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59345         multiarch lround for PPC64.
59347         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59348         multiarch implementation.
59349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59352         file.
59353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59356         multiarch isnan for PPC64.
59357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59358         multiarch isnanf for PPC64.
59360         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59361         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59362         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59363         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59364         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59367         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59368         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59369         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59370         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59372         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59373         multiarch implementations.
59374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59375         (__libc_ifunc_impl_list): Likewise.
59376         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59377         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59378         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59379         multiarch stpcpy for PPC64.
59381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59382         multiarch implementations.
59383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59384         (__libc_ifunc_impl_list): Likewise.
59385         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59386         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59387         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59388         multiarch strcpy for PPC64.
59390         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59391         redefine function name.
59392         (_wordcopy_fwd_dest_aligned): Likewise.
59393         (_wordcopy_bwd_aligned): Likewise.
59394         (_wordcopy_bwd_dest_aligned): Likewise.
59395         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59396         multiarch implementations.
59397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59398         (__libc_ifunc_impl_list): Likewise.
59399         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59400         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59401         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59402         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59403         multiarch wcscpy for PPC64.
59405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59406         multiarch implementations.
59407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59408         (__libc_ifunc_impl_list): Likewise.
59409         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59410         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59411         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59412         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59413         multiarch wcscpy for PPC64.
59415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59416         multiarch implementations.
59417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59418         (__libc_ifunc_impl_list): Likewise.
59419         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59420         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59421         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59422         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59423         multiarch wcsrchr for PPC64.
59425         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59426         multiarch implementations.
59427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59428         (__libc_ifunc_impl_list): Likewise.
59429         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59430         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59431         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59432         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59433         multiarch wcschr for PPC64.
59435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59436         multiarch implementations.
59437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59438         (__libc_ifunc_impl_list): Likewise.
59439         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59440         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59441         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59442         multiarch strchrnul for PPC64.
59444         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59445         implementations.
59446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59447         (__libc_ifunc_impl_list): Likewise.
59448         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59449         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59450         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59451         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59452         strchr for PPC64.
59454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59455         implementations.
59456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59457         (__libc_ifunc_impl_list): Likewise.
59458         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59459         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59460         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59461         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59462         strncmp for PPC64.
59464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59465         multiarch implementations.
59466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59467         (__libc_ifunc_impl_list): Likewise.
59468         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59469         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59470         strncasecmp for PPC64.
59471         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59472         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59473         multiarch strncasecmp_l for PPC64.
59475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59476         multiarch implementations.
59477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59478         (__libc_ifunc_impl_list): Likewise.
59479         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59480         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59481         multiarch strcasecmp for PPC64.
59482         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59483         file.
59484         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59485         multiarch strcasecmp_l for PPC64.
59487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59488         implementations.
59489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59490         (__libc_ifunc_impl_list): Likewise.
59491         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59492         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59493         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59494         strnlen for PPC64.
59496         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59497         implementations.
59498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59499         (__libc_ifunc_impl_list): Likewise.
59500         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59501         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59502         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59503         strlen for PPC64.
59505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59506         implementations.
59507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59508         (__libc_ifunc_impl_list): Likewise.
59509         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59510         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59511         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59512         rawmemrchr for PPC64.
59514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59515         implementation.
59516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59517         (__libc_ifunc_impl_list): Likewise.
59518         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59519         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59520         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59521         memrchr for PPC64.
59523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59524         implementation.
59525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59526         (__libc_ifunc_impl_list): Likewise.
59527         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59528         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59529         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59530         memchr for PPC64.
59532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59533         implementation.
59534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59535         (__libc_ifunc_impl_list): Likewise.
59536         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59537         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59538         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59539         mempcpy for PPC64.
59541         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59542         avoid cretion of __bzero symbol.
59543         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59544         Likewise.
59545         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59546         Likewise.
59547         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59548         Likewise.
59549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59550         multiarch implementations.
59551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59552         (__libc_ifunc_impl_list): Likewise.
59553         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59554         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59555         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59556         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59557         bzero for PPC32.
59558         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59559         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59560         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59561         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59562         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59563         memset for PPC64.
59564         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59566         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59568         implementations.
59569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59570         (__libc_ifunc_impl_list): Likewise.
59571         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59572         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59573         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59574         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59575         memcmp for PPC64.
59577         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59578         multiarch for POWER/PPC64.
59579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59580         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59581         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59582         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59583         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59584         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59585         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59586         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59587         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59588         memcpy for PPC64.
59590         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59591         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59592         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59593         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59594         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59595         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59596         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59597         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59598         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59599         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59600         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59601         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59602         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59603         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59604         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59613 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59615         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59617 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59619         * benchtests/Makefile (bench): Add exp2 and log2.
59620         (LDLIBS-bench-exp2): Add -lm.
59621         (LDLIBS-bench-log2): Likewise.
59622         * benchtests/exp2-inputs: New inputs file.
59623         * benchtests/log2-inputs: New inputs file.
59624         * benchtests/log-inputs: Add new inputs.
59625         * benchtests/tan-inputs: Likewise.
59627 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59629         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59630         definition...
59631         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59632         (csloww2): ... from here.
59634         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59635         instead of structures.
59636         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59637         (POLYNOMIAL): Likewise.
59638         (TAYLOR_SLOW): Likewise.
59639         (__sin): Likewise.
59640         (__cos): Likewise.
59641         (slow1): Likewise.
59642         (slow2): Likewise.
59643         (sloww): Likewise.
59644         (sloww1); Likewise.
59645         (sloww2): Likewise.
59646         (bsloww1): Likewise.
59647         (bsloww2): Likewise.
59648         (cslow2): Likewise.
59649         (csloww): Likewise.
59650         (csloww1): Likewise.
59651         (csloww2): Likewise.
59653 2013-12-10  Ondƙej BĂ­lka  <neleai@seznam.cz>
59655         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59656         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59657         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59658         * malloc/hooks.c (realloc_check): Likewise.
59660         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59661         * malloc/arena.c: Remove PER_THREAD conditional.
59662         [!PER_THREAD]: Remove code.
59663         (ptmalloc_unlock_all2): Likewise.
59664         (ptmalloc_init): Likewise.
59665         (_int_new_arena): Likewise.
59666         (arena_get2): Likewise.
59667         * malloc/hooks.c (__malloc_get_state): Likewise.
59668         (__malloc_set_state): Likewise.
59669         * malloc/malloc.c: Likewise.
59670         (struct malloc_state): Likewise.
59671         (struct malloc_par): Likewise.
59672         (__libc_realloc): Likewise.
59673         (__libc_mallopt): Likewise.
59675 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59677         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59679 2013-12-09  Ondƙej BĂ­lka  <neleai@seznam.cz>
59681         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59682         macro to a function.  Check for zero perturb_byte.
59683         (_int_malloc, _int_free): Remove zero perturb_byte checks.
59685         * malloc/malloc.c: (force_reg): Remove.
59686         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59687         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59688         force_reg by atomic_forced_read.
59689         * malloc/arena.c (ptmalloc_init): Likewise.
59690         * malloc/hooks.c (top_check): Likewise.
59692 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59696 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
59698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59700 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
59702         * math/auto-libm-test-in: Add tests of lgamma.
59703         * math/auto-libm-test-out: Regenerated.
59704         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59705         (M_LOG_2_SQRT_PIl): Likewise.
59706         (lgamma_test_data): Use AUTO_TESTS_f_f1.
59707         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59708         mpfr_f_f1.
59709         (func_calc_desc): Add mpfr_f_f1 union field.
59710         (ARGS1): New macro.
59711         (ARGS2): Likewise.
59712         (ARGS3): Likewise.
59713         (ARGS4): Likewise.
59714         (RET1): Likewise.
59715         (RET2): Likewise.
59716         (CALC): Likewise.
59717         (FUNC): Likewise.
59718         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59719         (test_functions): Add lgamma.
59720         (calc_generic_results): Handle mpfr_f_f1.
59721         * sysdeps/i386/fpu/libm-test-ulps: Update.
59722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59724 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59726         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59727         __mpn_add_n for PowerPC64/POWER7.
59728         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59729         __mpn_sub_n for PowerPC64/POWER7.
59731         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59732         __mpn_addmul_1 for PowerPC64.
59733         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59734         __mpn_submul_1 for PowerPC64.
59735         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59736         for PowerPC64.
59737         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59738         for PowerPC64.
59740 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
59742         [BZ #15089]
59743         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59745 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59747         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59749         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59750         add multiarch folders.
59751         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59752         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59753         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59754         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59755         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59756         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59757         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59758         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59759         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59760         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59761         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59770         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59772         New file.
59773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59774         New file.
59775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59776         multiarch __ieee754_hypot for PowerPC32.
59777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59778         New file.
59779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59780         New file.
59781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59782         multiarch __ieee754_hypotf for PowerPC32.
59784         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59785         long_double_symbol only if __logbl is defined.
59786         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59787         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59788         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59789         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59790         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59791         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59792         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59793         path for implementation.
59794         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59795         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59797         logb, and logbl multiarch implementations for PowerPC32.
59798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59799         file.
59800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59801         file.
59802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59803         multiarch logb for PowerPC32.
59804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59805         file.
59806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59807         file.
59808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59809         multiarch logbf for PowerPC32.
59810         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59812         file.
59813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59814         multiarch logbl implementation for PowerPC32.
59816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59817         and modff multiarch implementations.
59818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59819         New file.
59820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59821         New file.
59822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59823         multiarch modf for PowerPC32.
59824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59825         New file.
59826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59827         New file.
59828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59829         multiarch modff for PowerPC32.
59831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59832         and lrintf multiarch implementations.
59833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59834         New file.
59835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59836         New file.
59837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59838         multiarch lrint for PowerPC32.
59839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59840         file: multiarch lrintf for PowerPC32.
59842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59843         and lroundf multiarch implementations.
59844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59845         New file.
59846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59847         New file.
59848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59849         New file.
59850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59851         multiarch lround for PowerPC32.
59852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59853         file: multiarch lroundf for PowerPC32.
59855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59856         copysign and copysignf multiarch implementations.
59857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59858         New file.
59859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59860         New file.
59861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59862         file: multiarch copysign for PowerPC32.
59863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59864         file: multiarch copysignf for PowerPC32.
59866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59867         and truncf multiarch implementations.
59868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59869         New file.
59870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59871         file.
59872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59873         multiarch trunc for PowerPC32.
59874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59875         New file.
59876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59877         New file.
59878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59879         multiarch truncf for PowerPC32.
59881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59882         and roundf multiarch implementations.
59883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59884         New file.
59885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59886         file.
59887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59888         multiarch round for PowerPC32.
59889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59890         New file.
59891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59892         New file.
59893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59894         multiarch roundf for PowerPC32.
59896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59897         and floorf multiarch implementations.
59898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59899         New file.
59900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59901         file.
59902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59903         multiarch floor for PowerPC32.
59904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59905         New file.
59906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59907         New file.
59908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59909         multiarch floorf for PowerPC32.
59911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59912         and ceilf multiarch implementations.
59913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59914         New file.
59915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59916         file.
59917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59918         multiarch ceil for PowerPC32.
59919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59920         New file.
59921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59922         file.
59923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59924         multiarch ceilf for PowerPC32.
59926         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59927         is defined.
59928         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59929         FINITEF is defined.
59930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59931         and finitef multiarch implementations.
59932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59933         New file.
59934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59935         file.
59936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59937         multiarch finite for PowerPC32.
59938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59939         New file.
59940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59941         file: multiarch finitef for PowerPC32.
59943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59944         and isinff multiarch implementations.
59945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59946         file.
59947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59948         file.
59949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59950         multiarch isinf for PowerPC32.
59951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59952         New file.
59953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59954         multiarch isinff for PowerPC32.
59956         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59957         alias when __isnan is defined.
59958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
59959         and isnanf multiarch implementations.
59960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
59961         file.
59962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
59963         file.
59964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
59965         file.
59966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
59967         file.
59968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
59969         multiarch isnan for PowerPC32.
59970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
59971         New file.
59972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
59973         New file.
59974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
59975         multiarch isnanf for PowerPC32.
59977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
59978         and sqrtf multiarch implementations.
59979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
59980         file.
59981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
59982         file.
59983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
59984         multiarch sqrt for PowerPC32.
59985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
59986         file.
59987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
59988         file.
59989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
59990         multiarch sqrtf for PowerPC32.
59992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
59993         and llroundf multiarch implementations.
59994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
59995         New file.
59996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
59997         New file.
59998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
59999         New file.
60000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
60001         file: multiarch llround for PowerPC32.
60002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
60003         file: multiarch llroundf for PowerPC32.
60005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
60006         multiarch PowerPC32 fpu implementations.
60007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
60008         New file.
60009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
60010         New file.
60011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
60012         multiarch llrint for PowerPC32.
60013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
60014         New file.
60015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
60016         New file.
60017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
60018         file.
60020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
60022         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
60023         file.
60024         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
60025         file.
60026         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
60027         file.
60028         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
60029         multiarch wordcopy for PPC32.
60030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60031         wordcopy objects.
60032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60033         (__libc_ifunc_impl_list): Likewise.
60034         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
60035         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
60036         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
60037         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
60038         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
60039         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
60041         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
60042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
60043         file.
60044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
60045         file.
60046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
60047         file.
60048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
60049         multiarch wcscpy for PPC32.
60050         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60051         multiarch objects.
60052         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60053         (__libc_ifunc_impl_list): Likewise.
60054         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60055         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60056         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
60057         sysdeps/powerpc/power6/wcscpy.c.
60059         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
60060         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
60061         file.
60062         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
60063         file.
60064         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
60065         file.
60066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
60067         multiarch wcsrchr for PPC32.
60068         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60069         multiarch objects.
60070         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60071         (__libc_ifunc_impl_list): Likewise.
60072         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60073         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60074         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
60075         sysdeps/powerpc/power6/wcsrchr.c.
60077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
60078         file.
60079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
60080         file.
60081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
60082         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
60083         multiarch wcschr for PPc32.
60084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60085         multiarch objects.
60086         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60087         (__libc_ifunc_impl_list): Likewise.
60088         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
60089         * sysdeps/powerpc/power6/wcschr.c: ... to here.
60090         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
60091         sysdeps/powerpc/power6/wcschr.c.
60093         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
60094         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
60095         file.
60096         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
60097         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
60098         file: multiarch strchr for PPC32.
60099         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
60100         multiarch objects.
60101         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60102         (__libc_ifunc_impl_list): Likewise.
60104         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
60105         name.
60106         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
60107         file.
60108         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
60109         file.
60110         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
60111         multiarch strchrnul for PPC32.
60112         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
60113         multiarch objects.
60114         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60115         (__libc_ifunc_impl_list): Likewise.
60117         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60118         file.
60119         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60120         multiarch strncasecmp for PPC32.
60121         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60122         file.
60123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60124         multiarch strncasecmp_l for PPC32.
60125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60126         strncasecmp multiarch objects.
60127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60128         (__libc_ifunc_impl_list): Likewise.
60130         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60131         file.
60132         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60133         multiarch strncasecmp for PPC32.
60134         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60135         New file.
60136         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60137         multiarch strcasecmp_l for PPC32.
60138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
60139         multiarch objects.
60140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60141         (__libc_ifunc_impl_list): Likewise.
60143         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
60144         file.
60145         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60146         file.
60147         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60148         multiarch strncmp for PPC32.
60149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
60150         multiarch objects.
60151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60152         (__libc_ifunc_impl_list): Likewise.
60154         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
60155         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60156         file.
60157         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60158         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60160         multiarch objects.
60161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60162         (__libc_ifunc_impl_list): Likewise.
60164         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60165         file.
60166         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60167         file.
60168         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60170         multiarch objects.
60171         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60172         (__libc_ifunc_impl_list): Likewise.
60174         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60175         file.
60176         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60177         file.
60178         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60179         multiarch rawmemchr for PPC32.
60180         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60181         multiarch objects.
60182         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60183         (__libc_ifunc_impl_list): Likewise.
60185         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60186         file.
60187         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60188         file.
60189         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60190         file: memrchr multiarch for PPC32.
60191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60192         multiarch objects.
60193         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60194         (__libc_ifunc_impl_list): Likewise.
60196         * string/memchr.c (__memchr): Using macro to redefine symbol name.
60197         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60198         file.
60199         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60200         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60201         multiarch memchr for PPC32.
60202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60203         multiarch objects.
60204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60205         (__libc_ifunc_impl_list): Likewise.
60207         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60208         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60209         file.
60210         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60211         file.
60212         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60213         file: multiarch mempcpy for PPC32.
60214         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60215         multiarch objects.
60216         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60217         (__libc_ifunc_impl_list): Likewise.
60219         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60220         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60221         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60222         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60223         multiarch bzero for PPC32.
60224         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60225         file.
60226         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60227         file.
60228         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60229         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60230         file: multiarch memset for PPC32.
60231         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60232         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60233         memset multiarch objects.
60234         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60235         (__libc_ifunc_impl_list): Likewise.
60237         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60238         file.
60239         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60240         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60241         memcmp for PPC32.
60242         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60243         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60244         multiarch objects.
60245         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60246         (__libc_ifunc_impl_list): Likewise.
60248         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60249         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60250         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60251         file.
60252         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60253         file.
60254         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60255         file.
60256         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60257         multiarch memcpy for PPC32.
60258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60259         multiarch objects.
60260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60261         (__libc_ifunc_impl_list): Likewise.
60263         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60264         support multiarch for POWER/PPC32.
60265         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60266         Likewise.
60267         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60269         Implies file to make multiarch folder appers before the fpu and
60270         default folder for power4 configuration.
60272 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60274         * scripts/bench.pl: Append volatile keyword to type.
60276 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60278         * sysdeps/sh/sotruss-lib.c: New file.
60279         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60281 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60285 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
60287         [BZ #6810]
60288         * math/w_tgamma.c: Include <errno.h>.
60289         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
60290         * math/w_tgammaf.c: Include <errno.h>.
60291         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
60292         * math/w_tgammal.c: Include <errno.h>.
60293         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
60294         * math/auto-libm-test-in: Do not allow missing errno on tgamma
60295         underflow.  Add more tgamma tests.
60296         * math/auto-libm-test-out: Regenerated.
60297         * sysdeps/i386/fpu/libm-test-ulps: Update.
60298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60300         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60301         sin, sinh, tan, tanh, tgamma, y0 and y1.
60302         * math/auto-libm-test-out: Regenerated.
60303         * math/libm-test.inc (TEST_COND_x86_64): New macro.
60304         (TEST_COND_x86): Likewise.
60305         (M_E2l): Remove macro.
60306         (M_E3l): Likewise.
60307         (M_2_SQRT_PIl): Likewise.
60308         (M_SQRT_PIl): Likewise.
60309         (M_1_DIV_El): Likewise.
60310         (log_test_data): Use AUTO_TESTS_f_f.
60311         (log10_test_data): Likewise.
60312         (log1p_test_data): Likewise.
60313         (log2_test_data): Likewise.
60314         (sin_test_data): Likewise.
60315         (sin_tonearest_test_data): Likewise.
60316         (sin_towardzero_test_data): Likewise.
60317         (sin_downward_test_data): Likewise.
60318         (sin_upward_test_data): Likewise.
60319         (sinh_test_data): Likewise.
60320         (sinh_tonearest_test_data): Likewise.
60321         (sinh_towardzero_test_data): Likewise.
60322         (sinh_downward_test_data): Likewise.
60323         (sinh_upward_test_data): Likewise.
60324         (tan_test_data): Likewise.
60325         (tan_tonearest_test_data): Likewise.
60326         (tan_towardzero_test_data): Likewise.
60327         (tan_downward_test_data): Likewise.
60328         (tan_upward_test_data): Likewise.
60329         (tanh_test_data): Likewise.
60330         (tgamma_test_data): Likewise.
60331         (y0_test_data): Likewise.
60332         (y1_test_data): Likewise.
60333         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60334         (special_real_inputs): Add pi/4.
60335         * sysdeps/i386/fpu/libm-test-ulps: Update.
60336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60338 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60340         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60341         "longjmp_target" static probes.
60342         (__longjmp): Rename to __longjmp_symbol.
60343         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60344         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60345         on which longjmp to generate.
60346         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60347         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60348         probe.
60349         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60350         (__sigjmp_save): Rename to __sigjmp_save_symbol.
60351         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60352         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60353         and __sigjmp_save_symbol based on which sigsetjmp to generated.
60354         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60356         __longjmp_symbol based on which __longjmp to generate.
60357         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60358         probe.
60359         (setjmp): Rename to setjmp_symbol.
60360         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60361         (_setjmp): Rename to _setjmp_symbol.
60362         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60363         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60364         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60365         which setjmp to generate.
60366         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60367         "longjmp_target" static probes.
60369 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60371         * benchtests/README: Add note about output arguments.
60372         * benchtests/bench-sincos.c: Remove file.
60373         * benchtests/sincos-inputs: New file.
60374         * scripts/bench.pl: Identify output arguments and define
60375         static variables for them.
60377         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60379         [BZ #15941]
60380         * Makefile (INSTALL): Add install-plain.texi as the primary
60381         dependency.
60382         * manual/install-plain.texi: New file.
60383         * manual/install.texi: Include node directive only for
60384         non-plaintext output.
60386 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
60388         * stdlib/longlong.h: Update from GCC.
60390         [BZ #6807]
60391         [BZ #15901]
60392         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60393         * math/w_j0f.c (y0f): Likewise.
60394         * math/w_j0l.c (__y0l): Likewise.
60395         * math/w_j1.c (y1): Likewise.
60396         * math/w_j1f.c (y1f): Likewise.
60397         * math/w_j1l.c (__y1l): Likewise.
60398         * math/w_jn.c (yn): Likewise.
60399         * math/w_jnf.c (ynf): Likewise.
60400         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60401         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
60402         value for Bessel function domain errors outside _SVID_ mode.
60403         Adjust sign of return value for yn (negative integer, 0).
60404         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60405         by zero in return for negative x and set sign appropriately for
60406         negative n.
60407         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60408         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60409         * math/libm-test.inc (y0_test_data): Add more tests and adjust
60410         expectations in error cases.
60411         (y1_test_data): Likewise.
60412         (yn_test_data): Likewise.
60413         * sysdeps/i386/fpu/libm-test-ulps: Update.
60414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60416 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60418         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60419         "64" to "64-v1".  Add "64-v2".
60420         (abi-64-options): Rename to ...
60421         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
60422         (abi-64-condition): Rename to ...
60423         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
60424         (abi-64-ld-soname): Rename to ...
60425         (abi-64-v1-ld-soname): ... this.
60426         (abi-64-v2-options): Define.
60427         (abi-64-v2-condition): Likewise.
60428         (abi-64-v2-ld-soname): Likewise.
60429         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60430         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60435 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60436             Alan Modra  <amodra@gmail.com>
60438         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60439         New versions for use with the ELFv2 ABI.
60440         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60441         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60442         declaration.
60443         (struct La_ppc64v2_retval): Likewise.
60444         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60445         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60446         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60447         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60448         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60449         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60450         Do not save or restore CR.
60451         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60452         (_dl_profile_resolve): Do no save or restore CR.  Support extended
60453         return values for ELFv2 ABI.  Fix location of FPR return registers.
60454         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60455         updated values for _CALL_ELF == 2.
60456         (La_regs, La_retval, int_retval): Likewise.
60458 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60460         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60461         (FRAME_MIN_SIZE_PARM): Likewise.
60462         (FRAME_BACKCHAIN): Likewise.
60463         (FRAME_CR_SAVE): Likewise.
60464         (FRAME_LR_SAVE): Likewise.
60465         (FRAME_TOC_SAVE): Likewise.
60466         (FRAME_PARM_SAVE): Likewise.
60467         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60468         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60469         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60470         (call_mcount_parm_offset): New macro.
60471         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60472         (PROF): Use symbolic stack frame offsets.
60473         (TAIL_CALL_SYSCALL_ERROR): Likewise.
60474         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60475         Redefine in terms of FRAME_MIN_SIZE.
60476         (_dl_runtime_resolve): Use symbolic stack frame offsets.
60477         (_dl_profile_resolve): Likewise.  Update comment.
60478         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60479         symbols stack frame offsets.
60480         (__sigsetjmp): Likewise.
60481         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60482         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60483         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60484         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60487         (FRAME_BACKCHAIN): Remove.
60488         (FRAME_CR_SAVE): Likewise.
60489         (FRAME_LR_SAVE): Likewise.
60490         (FRAME_COMPILER_DW): Likewise.
60491         (FRAME_LINKER_DW): Likewise.
60492         (FRAME_TOC_SAVE): Likewise.
60493         (FRAME_PARM_SAVE): Likewise.
60494         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60495         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60496         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60498         (CHECK_SP): Use symbolic stack frame offsets.
60499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60500         zone" instead of caller's parameter save area for temp storage.
60501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60502         Likewise.  Also, use symbolic stack frame offsets.
60503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60504         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60505         our own stack frame instead of the caller's.
60506         (__socket): Use symbolic stack frame offsets.
60508 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60509             Alan Modra  <amodra@gmail.com>
60511         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60512         Define.
60513         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60514         (PPC64_LOCAL_ENTRY_OFFSET): Define.
60515         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60516         New function.
60517         (elf_machine_fixup_plt): Call it.
60518         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
60519         reloc arguments.
60520         (elf_machine_rela): Update call to elf_machine_plt_conflict.
60521         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60522         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60523         r2 before calling target.
60525 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60526             Alan Modra  <amodra@gmail.com>
60528         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60529         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60530         versions of macros to support ELFv2 ABI.
60531         (LOCALENTRY): New macro.
60532         (ENTRY, EALIGN): Use it.
60533         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60534         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60535         fall through into ENTRY entry point.
60536         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60537         Only define if _CALL_ELF != 2.
60539         (elf_machine_matches_host): Verify ABI version matches.
60540         (RTLD_START): Use LOCALENTRY.
60541         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60542         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60543         (PLT_ENTRY_WORDS): New macro.
60544         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60545         (elf_machine_runtime_setup): Support ELFv2 ABI.
60546         (elf_machine_fixup_plt): Likewise.
60547         (elf_machine_plt_conflict): Likewise.
60548         (resolve_ifunc): Likewise.
60549         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60550         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60551         Likewise.
60552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60553         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60555         (makecontext): Support ELFv2 ABI.
60556         * elf/elf.h (EF_PPC64_ABI): Define.
60558 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60560         * sysdeps/powerpc/powerpc64/sysdep.h
60561         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60562         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60563         (ENTRY) [ASSEMBLER]: ... but instead here ...
60564         (EALIGN) [ASSEMBLER]: ... and here.
60565         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60566         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60567         (ENTRY_2) [!ASSEMBLER]: Use it.
60568         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60569         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
60570         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60571         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60572         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60574         Use PPC64_LOAD_FUNCPTR.
60576         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60578 2013-12-04  Alan Modra  <amodra@gmail.com>
60580         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60581         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60582         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60583         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60585         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60586         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60587         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60588         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60589         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60590         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60592 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60595         (__makecontext): Fix incorrect CFI when backtracing out of
60596         context created via makecontext.
60597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60598         (__setcontext): Fix incorrect CFI during switch to new context.
60599         (__novec_setcontext): Likewise.
60601 2013-12-04  Ondƙej BĂ­lka  <neleai@seznam.cz>
60603         [BZ #4772]
60604         * time/strptime_l.c (__strptime_internal): Allow modifiers
60605         in strptime.
60606         * time/tst-strptime.c (day_tests): Add testcase.
60608 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60610         * scripts/bench.pl: Skip over blank lines.
60612 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
60614         [BZ #926]
60615         * manual/time.texi (Calendar Time): Clarify what timezone functions
60616         use.
60618 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60622 2013-12-04  Ondƙej BĂ­lka  <neleai@seznam.cz>
60624         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60625         implementation.
60626         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60627         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60628         * debug/memset_chk.c (__memset_chk): Likewise.
60629         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60630         * debug/strncpy_chk.c: Likewise.
60632 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60634         [BZ #15268]
60635         [BZ #15425]
60636         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60637         (__ieee754_exp): For possibly underflowing results, check size of
60638         result and force underflow exception if required.
60639         * math/auto-libm-test-in: Add more tests of exp.
60640         * math/auto-libm-test-out: Regenerated.
60641         * sysdeps/i386/fpu/libm-test-ulps: Update.
60642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60644         [BZ #16283]
60645         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60646         * math/w_exp2f.c (__exp2f): Likewise.
60647         * math/w_exp2l.c (__exp2l): Likewise.
60648         * math/auto-libm-test-in: Do not allow missing errno on exp2
60649         underflow.
60650         * math/auto-libm-test-out: Regenerated.
60652 2013-12-03  Ondƙej BĂ­lka  <neleai@seznam.cz>
60654         [BZ #16274]
60655         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60656         handle filename validation.
60657         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60658         (do_open): Delete.
60660 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60662         [BZ #6786]
60663         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60664         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60665         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60666         <float.h>.
60667         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60668         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60669         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60670         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60671         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60672         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60673         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60674         * math/auto-libm-test-in: Don't allow missing errno from erfc.
60675         Add more erfc tests.
60676         * math/auto-libm-test-out: Regenerated.
60677         * sysdeps/i386/fpu/libm-test-ulps: Update.
60678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60680         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60681         exp2, expm1, j0 and j1.
60682         * math/auto-libm-test-out: Regenerated.
60683         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60684         (erfc_test_data): Likewise.
60685         (exp_test_data): Likewise.
60686         (exp_tonearest_test_data): Likewise.
60687         (exp_towardzero_test_data): Likewise.
60688         (exp_downward_test_data): Likewise.
60689         (exp_upward_test_data): Likewise.
60690         (exp10_test_data): Likewise.
60691         (exp2_test_data): Likewise.
60692         (expm1_test_data): Likewise.
60693         (j0_test_data): Likewise.
60694         (j1_test_data): Likewise.
60695         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60696         (input_flag_type): Add flag_xfail_rounding.
60697         (input_flags): Add xfail-rounding.
60698         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60699         (output_for_one_input_case): Handle flag_xfail_rounding.
60700         * sysdeps/i386/fpu/libm-test-ulps: Update.
60701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60703 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
60705         [BZ #16289]
60706         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60707         division by 0.
60709 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60711         [BZ #16195]
60712         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60713         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60714         (STAP_PROBE0): New macro.
60715         (STAP_PROBE1): Likewise.
60716         (STAP_PROBE2): Likewise.
60717         (STAP_PROBE3): Likewise.
60718         (STAP_PROBE4): Likewise.
60720 2013-12-02  Ondƙej BĂ­lka  <neleai@seznam.cz>
60722         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60724 2013-12-02  Steve Ellcey  <sellcey@mips.com>
60726         * benchtests/Makefile (bench): Add sqrt.
60727         (LDLIBS-bench-sqrt): New.
60728         * benchtests/sqrt-input: New.
60730 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
60732         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60733         (GAIH_EAI): Likewise.
60734         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60735         (gaih_inet): Likewise.
60736         (getaddrinfo): Don't use GAIH_EAI.
60738         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60739         (struct gaih): Remove definition.
60741 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60743         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60744         Use HERRNOP directly.
60746 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60750 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
60752         * math/gen-auto-libm-tests.c (test_functions): Add more
60753         single-argument functions.
60754         (special_fill_pi_2): New function.
60755         (special_fill_minus_pi_2): Likewise.
60756         (special_fill_pi_6): Likewise.
60757         (special_fill_minus_pi_6): Likewise.
60758         (special_fill_pi_3): Likewise.
60759         (special_fill_2pi_3): Likewise.
60760         (special_fill_e): Likewise.
60761         (special_fill_1_e): Likewise.
60762         (special_fill_e_minus_1): Likewise.
60763         (special_real_inputs): Add more special inputs.
60764         (output_for_one_input_case): Do not require ERANGE on underflow to
60765         zero if round-to-nearest result does not underflow to zero, unless
60766         exact results required.
60767         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60768         atan, atanh, cbrt, cos and cosh.
60769         * math/auto-libm-test-out: Regenerated.
60770         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60771         (acos_tonearest_test_data): Likewise.
60772         (acos_towardzero_test_data): Likewise.
60773         (acos_downward_test_data): Likewise.
60774         (acos_upward_test_data): Likewise.
60775         (acosh_test_data): Likewise.
60776         (asin_test_data): Likewise.
60777         (asin_tonearest_test_data): Likewise.
60778         (asin_towardzero_test_data): Likewise.
60779         (asin_upward_test_data): Likewise.
60780         (asinh_test_data): Likewise.
60781         (atan_test_data): Likewise.
60782         (atanh_test_data): Likewise.
60783         (cbrt_test_data): Likewise.
60784         (cos_test_data): Likewise.
60785         (cos_tonearest_test_data): Likewise.
60786         (cos_towardzero_test_data): Likewise.
60787         (cos_downward_test_data): Likewise.
60788         (cos_upward_test_data): Likewise.
60789         (cosh_test_data): Likewise.
60790         (cosh_tonearest_test_data): Likewise.
60791         (cosh_towardzero_test_data): Likewise.
60792         (cosh_downward_test_data): Likewise.
60793         (cosh_upward_test_data): Likewise.
60794         * sysdeps/i386/fpu/libm-test-ulps: Update.
60795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60797 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
60799         [BZ #6787]
60800         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60801         * math/w_exp10f.c (__exp10f): Likewise.
60802         * math/w_exp10l.c (__exp10l): Likewise.
60803         * math/libm-test.inc (exp10_test_data): Add more tests and expect
60804         errno settings in existing tests.
60806         [BZ #14032]
60807         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60808         precision control set to double precision.
60809         * sysdeps/i386/fpu/w_sqrt.c: New file.
60810         * math/auto-libm-test-in: Add more tests.
60811         * math/auto-libm-test-out: Update.
60813         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60814         (sqrt_test_tonearest): New function.
60815         (sqrt_towardzero_test_data): New variable.
60816         (sqrt_test_towardzero): New function.
60817         (sqrt_downward_test_data): New variable.
60818         (sqrt_test_downward): New function.
60819         (sqrt_upward_test_data): New variable.
60820         (sqrt_test_upward): New function.
60821         (main): Call the new functions.
60823         * math/gen-auto-libm-tests.c: New file.
60824         * math/auto-libm-test-in: Likewise.
60825         * math/auto-libm-test-out: New generated file.
60826         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60827         variables.
60828         (%beautify): Add generated representations of zero.
60829         (top level): Set $auto_input and call parse_auto_input.
60830         (beautify): Remove trailing "f" from hex float constants.
60831         (parse_args): Handle XFAIL_TEST.
60832         (convert_condition): New function.
60833         (or_value): Likewise.
60834         (or_cond_value): Likewise.
60835         (generate_testfile): Handle AUTO_TESTS_* lines.
60836         (parse_auto_input): New function.
60837         * math/libm-test.inc (XFAIL_TEST): New macro.
60838         (ERRNO_UNCHANGED): Update value.
60839         (ERRNO_EDOM): Likewise.
60840         (ERRNO_ERANGE): Likewise.
60841         (IGNORE_RESULT): Likewise.
60842         (TEST_COND_flt_32): New macro.
60843         (TEST_COND_dbl_64): Likewise.
60844         (TEST_COND_ldbl_96_intel): Likewise.
60845         (TEST_COND_ldbl_96_m68k): Likewise.
60846         (TEST_COND_ldbl_128): Likewise.
60847         (TEST_COND_ldbl_128ibm): Likewise.
60848         (TEST_COND_long32): Likewise.
60849         (TEST_COND_long64): Likewise.
60850         (TEST_COND_before_rounding): Likewise.
60851         (TEST_COND_after_rounding): Likewise.
60852         (enable_test): Handle XFAIL_TEST flag.
60853         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60854         with finite results.
60855         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60856         auto-libm-test-out.
60858 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60859             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60861         [BZ #16214]
60862         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60863         __tls_get_addr_internal instead of __tls_get_offset in order to
60864         avoid GOT pointer dependency.  Make rtld export
60865         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60866         __tls_get_addr since we are a __tls_get_offset platform.
60867         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60868         GOT pointer being set up before.
60869         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60871 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
60873         * manual/math.texi (Errors in Math Functions): Document accuracy
60874         goals.
60876         [BZ #15004]
60877         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60878         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60879         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60880         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60881         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60882         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60883         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60884         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60885         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60886         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60887         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60888         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60889         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60890         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60891         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60892         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60894         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60895         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60896         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60897         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60898         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60899         Likewise.
60900         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60901         Likewise.
60902         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60903         Likewise.
60904         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60905         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60906         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60907         atomic-feupdateenv and flt-rounds.
60908         * sysdeps/powerpc/nofpu/Versions (libc): Add
60909         __atomic_feholdexcept, __atomic_feclearexcept,
60910         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60911         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60912         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60913         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60914         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60915         here.
60916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60917         Update.
60919         * manual/arith.texi (FP Exceptions): Document that exceptions may
60920         not be raised when matherr is used.
60921         (Math Error Reporting): Document overflow in directed rounding
60922         modes.  Document that errno may not be set when finite values are
60923         returned on overflow.  Document intent to set errno on underflow
60924         only for underflow to zero.
60926         [BZ #16271]
60927         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60928         round-to-nearest then adjust result for other rounding modes.
60929         * include/fenv.h (fegetround): Use libm_hidden_proto.
60930         * math/fegetround.c (fegetround): Use libm_hidden_def.
60931         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60932         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60933         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60934         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60935         Likewise.
60936         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60937         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60938         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60939         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60941 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60943         [BZ #16077]
60944         * nss/Versions (libnss_files): Add
60945         _nss_files_gethostbyname3_r.
60946         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60947         New function.
60948         (HOST_DB_LOOKUP): Remove macro.
60949         (_nss_files_gethostbyname_r): Implement function without the
60950         HOST_DB_LOOKUP macro.
60951         (_nss_files_gethostbyname2_r): Likewise.
60953 2013-11-28  Ondƙej BĂ­lka  <neleai@seznam.cz>
60955         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60957 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
60959         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
60960         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
60961         warning.
60963 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60965         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
60966         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
60967         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
60968         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
60969         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
60970         __fe_nomask_env_priv and attribute_hidden.
60971         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
60972         (libc_feupdateenv_test_ppc): Likewise.
60973         (libc_feresetround_ppc): Likewise.
60974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60975         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
60976         compat_symbol macro.
60977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60978         (__fe_nomask_env): Likewise.
60979         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
60981 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
60983         * string/Makefile: Remove ifunc tests.
60984         * string/test-string.h: Define TEST_IFUNC.
60985         * string/test-bcopy-ifunc.c: Remove.
60986         * string/test-bzero-ifunc.c: Likewise.
60987         * string/test-memccpy-ifunc.c: Likewise.
60988         * string/test-memchr-ifunc.c: Likewise.
60989         * string/test-memcmp-ifunc.c: Likewise.
60990         * string/test-memcpy-ifunc.c: Likewise.
60991         * string/test-memmem-ifunc.c: Likewise.
60992         * string/test-memmove-ifunc.c: Likewise.
60993         * string/test-mempcpy-ifunc.c: Likewise.
60994         * string/test-memrchr-ifunc.c: Likewise.
60995         * string/test-memset-ifunc.c: Likewise.
60996         * string/test-rawmemchr-ifunc.c: Likewise.
60997         * string/test-stpcpy-ifunc.c: Likewise.
60998         * string/test-stpncpy-ifunc.c: Likewise.
60999         * string/test-strcasecmp-ifunc.c: Likewise.
61000         * string/test-strcasestr-ifunc.c: Likewise.
61001         * string/test-strcat-ifunc.c: Likewise.
61002         * string/test-strchr-ifunc.c: Likewise.
61003         * string/test-strchrnul-ifunc.c: Likewise.
61004         * string/test-strcmp-ifunc.c: Likewise.
61005         * string/test-strcpy-ifunc.c: Likewise.
61006         * string/test-strcspn-ifunc.c: Likewise.
61007         * string/test-strlen-ifunc.c: Likewise.
61008         * string/test-strncasecmp-ifunc.c: Likewise.
61009         * string/test-strncat-ifunc.c: Likewise.
61010         * string/test-strncmp-ifunc.c: Likewise.
61011         * string/test-strncpy-ifunc.c: Likewise.
61012         * string/test-strnlen-ifunc.c: Likewise.
61013         * string/test-strpbrk-ifunc.c: Likewise.
61014         * string/test-strrchr-ifunc.c: Likewise.
61015         * string/test-strspn-ifunc.c: Likewise.
61016         * string/test-strstr-ifunc.c: Likewise.
61018 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61020         * benchtests/Makefile: Remove ifunc tests.
61021         * benchtests/bench-string.h: Define TEST_IFUNC.
61022         * benchtests/bench-bcopy-ifunc.c: Remove.
61023         * benchtests/bench-bzero-ifunc.c: Likewise.
61024         * benchtests/bench-memccpy-ifunc.c: Likewise.
61025         * benchtests/bench-memchr-ifunc.c: Likewise.
61026         * benchtests/bench-memcmp-ifunc.c: Likewise.
61027         * benchtests/bench-memcpy-ifunc.c: Likewise.
61028         * benchtests/bench-memmem-ifunc.c: Likewise.
61029         * benchtests/bench-memmove-ifunc.c: Likewise.
61030         * benchtests/bench-mempcpy-ifunc.c: Likewise.
61031         * benchtests/bench-memrchr-ifunc.c: Likewise.
61032         * benchtests/bench-memset-ifunc.c: Likewise.
61033         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
61034         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
61035         * benchtests/bench-stpcpy-ifunc.c: Likewise.
61036         * benchtests/bench-stpncpy-ifunc.c: Likewise.
61037         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
61038         * benchtests/bench-strcasestr-ifunc.c: Likewise.
61039         * benchtests/bench-strcat-ifunc.c: Likewise.
61040         * benchtests/bench-strchr-ifunc.c: Likewise.
61041         * benchtests/bench-strchrnul-ifunc.c: Likewise.
61042         * benchtests/bench-strcmp-ifunc.c: Likewise.
61043         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
61044         * benchtests/bench-strcpy-ifunc.c: Likewise.
61045         * benchtests/bench-strcspn-ifunc.c: Likewise.
61046         * benchtests/bench-strlen-ifunc.c: Likewise.
61047         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
61048         * benchtests/bench-strncat-ifunc.c: Likewise.
61049         * benchtests/bench-strncmp-ifunc.c: Likewise.
61050         * benchtests/bench-strncpy-ifunc.c: Likewise.
61051         * benchtests/bench-strnlen-ifunc.c: Likewise.
61052         * benchtests/bench-strpbrk-ifunc.c: Likewise.
61053         * benchtests/bench-strrchr-ifunc.c: Likewise.
61054         * benchtests/bench-strsep-ifunc.c: Likewise.
61055         * benchtests/bench-strspn-ifunc.c: Likewise.
61056         * benchtests/bench-strstr-ifunc.c: Likewise.
61058 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61060         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
61062 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61064         * resolv/netdb.h: Use __glibc_reserved instead __unused.
61065         * rt/aio.h: Likewise.
61066         * sysdeps/gnu/bits/utmp.h: Likewise.
61067         * sysdeps/gnu/bits/utmpx.h: Likewise.
61068         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61069         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
61070         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
61071         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
61072         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
61073         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
61074         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
61075         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
61076         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
61077         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
61078         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
61079         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
61080         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
61081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
61082         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61083         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
61084         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
61085         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
61086         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
61087         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
61088         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
61089         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
61090         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
61091         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61092         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
61093         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61094         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
61095         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
61096         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
61097         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
61098         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
61099         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
61100         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
61101         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
61102         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
61103         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
61104         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
61105         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
61106         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
61107         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
61108         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
61109         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61111 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
61113         [BZ #16245]
61114         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
61115         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
61117 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
61119         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61120         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61121         Likewise.
61123 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61125         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61126         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61127         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61128         (__fesetround): Remove define.
61129         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61130         rounding and exceptions handling.
61131         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61132         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61133         (__fe_nomask_env): Likewise.
61134         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61135         __fegetround instead of fegetround.
61136         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61137         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61139 2013-11-21  Roland McGrath  <roland@hack.frob.com>
61141         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61142         it's there.
61144         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61146 2013-11-21  Meador Inge  <meadori@codesourcery.com>
61148         [BZ #11157]
61149         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61150         (encrypt_r): Likewise.
61151         * malloc/obstack.h (obstack_free): Likewise.
61152         * posix/unistd.h (encrypt): Likewise.
61154 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
61156         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61157         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61158         DL_CALL_DT_FINI() that call the functions directly.
61159         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61160         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61161         * elf/dl-fini.c: Likewise.
61163 2013-11-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
61165         * malloc/hooks.c (memalign_check): Add alignment rounding.
61166         * malloc/malloc.c (_mid_memalign): New function.
61167         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61168         Implement by calling _mid_memalign.
61169         * manual/probes.texi (Memory Allocation Probes): Remove
61170         memory_valloc_retry and memory_pvalloc_retry.
61172 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61174         * locale/programs/locarchive.c (open_archive): Add const
61175         qualifier to ARCHIVEFNAME and copy default fname to
61176         DEFAULT_FNAME.
61178         [BZ #15601]
61179         * libio/tst-widetext.input: Rename Oriya to Odia.
61180         * locale/iso-639.def: Likewise.
61182         * manual/probes.texi (Mathematical Function Probes): Add
61183         documentation for sin, cos, asin and acos probes.
61184         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61185         (__sin32): Add slowasin probe.
61186         (__cos32): Add slowacos probe.
61187         (__mpsin): Add slowsin probe.
61188         (__mpcos): Add slowcos probe.
61190 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
61192         [BZ #15483]
61193         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61194         thread-local __sim_exceptions_thread and global
61195         __sim_exceptions_global.
61196         (__sim_disabled_exceptions): Change to thread-local
61197         __sim_disabled_exceptions_thread and global
61198         __sim_disabled_exceptions_global.
61199         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61200         and global __sim_round_mode_global.
61201         (__simulate_exceptions): Use thread-local floating-point state and
61202         set global state from it as needed.
61203         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61204         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61205         __sim_round_mode_thread.
61206         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61207         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61208         and global __sim_exceptions_global.
61209         (__sim_disabled_exceptions): Change to thread-local
61210         __sim_disabled_exceptions_thread and global
61211         __sim_disabled_exceptions_global.
61212         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61213         and global __sim_round_mode_global.
61214         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61215         (SIM_SET_GLOBAL): Likewise.
61216         * sysdeps/powerpc/soft-fp/sfp-machine.h
61217         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61218         __sim_round_mode_thread.
61219         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61220         __sim_disabled_exceptions_thread.
61221         (__sim_exceptions): Change to __sim_exceptions_thread.
61222         (__sim_disabled_exceptions): Change to
61223         __sim_disabled_exceptions_thread.
61224         (__sim_round_mode): Change to __sim_round_mode_thread.
61225         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61226         thread-local floating-point state and set global state from it as
61227         needed.
61228         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61229         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61230         (__sim_disabled_exceptions): Remove extern declaration.
61231         (feenableexcept): Use thread-local floating-point state and set
61232         global state from it as needed.
61233         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61234         extern declaration.
61235         (__sim_disabled_exceptions): Likewise.
61236         (__sim_round_mode): Likewise.
61237         (__fegetenv): Use thread-local floating-point state.
61238         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61239         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61240         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61241         floating-point state and set global state from it as needed.
61242         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61243         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61244         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61245         Likewise.
61246         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61247         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61248         Likewise.
61249         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61250         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61251         Use __sim_round_mode_thread.
61252         * math/test-fenv-tls.c: New file.
61253         * math/Makefile (tests): Add test-fenv-tls.
61254         ($(objpfx)test-fenv-tls): Depend on
61255         $(common-objpfx)nptl/libpthread.so.
61257 2013-11-19  Andreas Schwab  <schwab@suse.de>
61259         * locale/programs/locale.c (show_info): Decode wordarray elements.
61260         * locale/categories.def (LC_MONETARY): Add element for
61261         _NL_MONETARY_CRNCYSTR.
61262         * locale/C-monetary.c (conversion_rate): New variable.
61263         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61264         element.
61266 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
61268         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61269         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61271 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
61273         * elf/Makefile (tst-auxv): New test.
61274         * elf/tst-auxv.c: New
61275         * elf/rtld.c (dl_main): Adjust AT_EXECFN
61277 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
61279         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61280         (hidden_proto): Caller changed.
61281         (hidden_tls_proto): New macro.
61282         (libc_hidden_tls_proto): Likewise.
61283         (rtld_hidden_tls_proto): Likewise.
61284         (libm_hidden_tls_proto): Likewise.
61285         (libresolv_hidden_tls_proto): Likewise.
61286         (librt_hidden_tls_proto): Likewise.
61287         (libdl_hidden_tls_proto): Likewise.
61288         (libnss_files_hidden_tls_proto): Likewise.
61289         (libnsl_hidden_tls_proto): Likewise.
61290         (libnss_nisplus_hidden_tls_proto): Likewise.
61291         (libutil_hidden_tls_proto): Likewise.
61293 2013-11-18  Ondƙej BĂ­lka  <neleai@seznam.cz>
61295         [BZ #10253]
61296         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61297         (decompose_rpath): Defer expansion to fillin_rpath.
61298         (_dl_init_paths): Pass linkmap to fillin_rpath.
61300 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
61302         * benchtests/Makefile: Add strsep.
61303         * benchtests/bench-strsep.c: New file: strsep benchtest.
61304         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61306 2013-11-18  Andreas Schwab  <schwab@suse.de>
61308         * locale/programs/locale.c (show_info) [case byte]: Check for
61309         '\377' instead of '\177'.
61310         * locale/C-monetary.c (not_available): Always use "\377".
61311         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61312         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
61313         detect unavailable sign_posn locale elements.
61314         * locale/localeconv.c (__localeconv): For grouping and
61315         mon_grouping handle "\177" and "\377" like no grouping.
61316         (INT_ELEM): New macro.  Use it to set all numeric members.
61317         * locale/programs/ld-monetary.c (monetary_read)
61318         <tok_mon_grouping>: Normalize single -1 to the empty string.
61319         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61320         Likewise.
61322 2013-11-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
61324         [BZ #16055]
61325         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61326         when we match (nil).
61327         * stdio-common/tst-sscanf.c (struct test): Add testcase.
61329 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
61331         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61332         (NO_TEST_INLINE): Update value.
61333         (ERRNO_UNCHANGED): Likewise.
61334         (ERRNO_EDOM): Likewise.
61335         (ERRNO_ERANGE): Likewise.
61336         (IGNORE_RESULT): Likewise.
61337         (check_float_internal): Check signs of NaN results if
61338         TEST_NAN_SIGN used.
61339         (check_complex): Pass TEST_NAN_SIGN flag through to second
61340         check_float_internal call.
61341         (copysign_test_data): Add tests with quiet NaNs as second
61342         argument.  Use TEST_NAN_SIGN.
61343         (fabs_test_data): Add test of negative quiet NaN argument.  Use
61344         TEST_NAN_SIGN.
61345         (signbit_test_data): Add tests of quiet NaN argument.
61346         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61348         * math/gen-libm-test.pl (show_exceptions): Take extra argument
61349         $ignore_result.
61350         (parse_args): Handle function results specified as IGNORE.
61351         * math/libm-test.inc (IGNORE_RESULT): New macro.
61352         (check_float_internal): Do not check numerical result if flag
61353         IGNORE_RESULT set.
61354         (check_complex): Pass through IGNORE_RESULT to second
61355         check_float_internal call.
61356         (check_int): Do not check numerical result if flag IGNORE_RESULT
61357         set.
61358         (check_long): Likewise.
61359         (check_bool): Likewise.
61360         (check_longlong): Likewise.
61361         (lrint_test_data): Add tests of infinite and NaN arguments.
61362         (lrint_tonearest_test_data): Likewise.
61363         (lrint_towardzero_test_data): Likewise.
61364         (lrint_downward_test_data): Likewise.
61365         (lrint_upward_test_data): Likewise.
61366         (llrint_test_data): Likewise.
61367         (llrint_tonearest_test_data): Likewise.
61368         (llrint_towardzero_test_data): Likewise.
61369         (llrint_downward_test_data): Likewise.
61370         (llrint_upward_test_data): Likewise.
61371         (lround_test_data): Likewise.
61372         (llround_test_data): Likewise.
61374         * math/libm-test.inc (NO_TEST_INLINE): New macro.
61375         (ERRNO_UNCHANGED): Update value.
61376         (ERRNO_EDOM): Likewise.
61377         (ERRNO_ERANGE): Likewise.
61378         (NO_TEST_INLINE_FLOAT): New macro.
61379         (NO_TEST_INLINE_DOUBLE): Likewise.
61380         (enable_test): New function.
61381         (RUN_TEST_f_f): Check enable_test before running test.
61382         (RUN_TEST_2_f): Likewise.
61383         (RUN_TEST_fff_f): Likewise.
61384         (RUN_TEST_c_f): Likewise.
61385         (RUN_TEST_f_f1): Likewise.
61386         (RUN_TEST_fF_f1): Likewise.
61387         (RUN_TEST_fI_f1): Likewise.
61388         (RUN_TEST_ffI_f1): Likewise.
61389         (RUN_TEST_c_c): Likewise.
61390         (RUN_TEST_cc_c): Likewise.
61391         (RUN_TEST_f_i): Likewise.
61392         (RUN_TEST_f_i_tg): Likewise.
61393         (RUN_TEST_ff_i_tg): Likewise.
61394         (RUN_TEST_f_b): Likewise.
61395         (RUN_TEST_f_b_tg): Likewise.
61396         (RUN_TEST_f_l): Likewise.
61397         (RUN_TEST_f_L): Likewise.
61398         (RUN_TEST_fFF_11): Likewise.
61399         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61400         conditionals.
61401         (cosh_test_data): Likewise.
61402         (exp_test_data): Likewise.
61403         (expm1_test_data): Likewise.
61404         (hypot_test_data): Likewise.
61405         (pow_test_data): Likewise.
61406         (sinh_test_data): Likewise.
61407         (tanh_test_data): Likewise.
61408         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61409         flags argument.
61411         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61412         tests with quiet NaN input and output.
61413         (acosh_test_data): Likewise.
61414         (asin_test_data): Likewise.
61415         (asinh_test_data): Likewise.
61416         (atan_test_data): Likewise.
61417         (atanh_test_data): Likewise.
61418         (atan2_test_data): Likewise.
61419         (cbrt_test_data): Likewise.
61420         (cos_test_data): Likewise.
61421         (cosh_test_data): Likewise.
61422         (erf_test_data): Likewise.
61423         (erfc_test_data): Likewise.
61424         (exp_test_data): Likewise.
61425         (exp10_test_data): Likewise.
61426         (exp2_test_data): Likewise.
61427         (expm1_test_data): Likewise.
61428         (hypot_test_data): Likewise.
61429         (j0_test_data): Likewise.
61430         (j1_test_data): Likewise.
61431         (jn_test_data): Likewise.
61432         (lgamma_test_data): Likewise.
61433         (log_test_data): Likewise.
61434         (log10_test_data): Likewise.
61435         (log1p_test_data): Likewise.
61436         (log2_test_data): Likewise.
61437         (pow_test_data): Likewise.
61438         (scalb_test_data): Likewise.
61439         (sin_test_data): Likewise.
61440         (sincos_test_data): Likewise.
61441         (sinh_test_data): Likewise.
61442         (tan_test_data): Likewise.
61443         (tanh_test_data): Likewise.
61444         (tgamma_test_data): Likewise.
61445         (y0_test_data): Likewise.
61446         (y1_test_data): Likewise.
61447         (yn_test_data): Likewise.
61449         [BZ #16167]
61450         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61451         argument being NaN and avoid computations with second argument in
61452         that case.
61453         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61454         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61455         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61457 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
61459         * locale/iso-639.def: Add Chitwani Tharu (the).
61461 2013-11-14  Andreas Schwab  <schwab@suse.de>
61463         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61464         word instead of empty string.
61466 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61469         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61471         (__fe_nomask_env): Likewise.
61473 2013-11-13  Steve Ellcey  <sellcey@mips.com>
61475         * benchtests/bench-timing.h: Include time.h.
61477 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
61479         [BZ #15997]
61480         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61481         to 3.4.0 for x32.
61482         * sysdeps/unix/sysv/linux/configure: Regenerated.
61484 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
61486         [BZ #16151]
61487         * stdlib/strtod_l.c (round_and_return): Do not consider
61488         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61489         exponent one less than half the least subnormal exponent.
61490         * stdlib/test-strtod-round-data: Add more tests.
61491         * stdlib/tst-strtod-round.c (tests): Regenerated.
61493 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61495         [BZ #14143]
61496         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61497         (__fe_mask_env): Likewise.
61498         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61499         libm_hidden_proto and add function prototype.
61500         (__fe_mask_env): Add function prototype.
61501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61502         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61504         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61506         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61508 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61510         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61511         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61513 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61515         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61516         of htab_find_slot().
61518 2013-11-11  David S. Miller  <davem@davemloft.net>
61520         [BZ #16150]
61521         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61522         symbol in the non-vis3 case in static builds.
61523         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61524         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61525         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61526         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61528 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
61530         [BZ #387]
61531         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61532         it is empty.
61534 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61536         * benchtests/Makefile: Add bench-strtod.
61537         * benchtests/bench-strtod.c: New file: strtod benchtest
61539 2013-11-11  Andreas Schwab  <schwab@suse.de>
61541         [BZ #16153]
61542         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61543         terminating NUL in key length.
61545 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61547         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61548         Add artificial ODP entry for vDSO symbol for PPC64.
61549         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61550         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61552 2013-11-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
61554         [BZ #15374]
61555         * nss/getent.c (services_keys): Recognize services starting with digit.
61557 2013-11-06  David S. Miller  <davem@davemloft.net>
61559         [BZ #15985]
61560         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61561         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61563 2013-11-06  Will Newton  <will.newton@linaro.org>
61565         * manual/memory.texi (Malloc Examples): Remove register
61566         keyword from examples.
61568 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
61570         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61572 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
61574         [BZ #6981]
61575         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61576         depending on [__GCC_IEC_559 > 0].
61577         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61578         depending on [__GCC_IEC_559_COMPLEX > 0].
61580 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
61582         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61583         to iso-639.def.
61585 2013-11-03  Ondƙej BĂ­lka  <neleai@seznam.cz>
61587         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61589 2013-11-01  Ondƙej BĂ­lka  <neleai@seznam.cz>
61591         [BZ #16112]
61592         * malloc/malloc (malloc_info): Do not handle first bin as
61593         special case.
61595 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
61597         * locale/iso-639.def: Add Central Nahuatl (nhn).
61599 2013-11-01  Bruno Haible  <bruno@clisp.org>
61601         [BZ #7003]
61602         * manual/math.texi (BSD Random): Specify range upper bound as
61603         in POSIX.
61605 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
61607         * locale/iso-639.def: Add Meadow Mari (mhr).
61609 2013-10-31  Ondƙej BĂ­lka  <neleai@seznam.cz>
61611         [BZ #14752], [BZ #15763]
61612         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61613         Validate name.
61614         * rt/tst_shm.c: Add test for escaping directory.
61616 2013-10-31  Andreas Schwab  <schwab@suse.de>
61618         [BZ #15917]
61619         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61620         followed by 'x' as part of digit sequence.
61621         * stdio-common/tst-sscanf.c (double_tests2): New tests.
61623 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61625         [BZ #16037]
61626         * configure.ac: allow GNU Make 4.0 and greater.
61627         * configure: Regenerated.
61629 2013-10-30  Will Newton  <will.newton@linaro.org>
61631         [BZ #16038]
61632         * malloc/hooks.c (memalign_check): Limit alignment to the
61633         maximum representable power of two.
61634         * malloc/malloc.c (__libc_memalign): Likewise.
61635         * malloc/tst-memalign.c (do_test): Add test for very
61636         large alignment values.
61637         * malloc/tst-posix_memalign.c (do_test): Likewise.
61639 2013-10-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
61641         [BZ #11087]
61642         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61643         (munmap_chunk): Likewise.
61644         (mremap_chunk): Likewise.
61646 2013-10-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
61648         [BZ #15799]
61649         * stdlib/div.c (div): Remove obsolete code.
61650         * stdlib/ldiv.c (ldiv): Likewise.
61651         * stdlib/lldiv.c (lldiv): Likewise.
61653 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61655         [BZ #16071]
61656         * nss/nss_files/files-XXX.c (get_contents_ret): New
61657         enumerator.
61658         (get_contents): New function.
61659         (internal_getent): Use it.  Expand size of LINEBUFLEN.
61661 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
61663         * configure.in: Moved to ...
61664         * configure.ac: ... here. Change reference to configure.in
61665         to configure.ac.
61666         * sysdeps/arm/preconfigure.ac: ... here.
61667         configure.in to configure.ac.
61668         * sysdeps/gnu/configure.in: Moved to ...
61669         * sysdeps/gnu/configure.ac: ... here.
61670         * sysdeps/i386/configure.in: Moved to ...
61671         * sysdeps/i386/configure.ac: ... here.
61672         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61673         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61674         * sysdeps/mach/configure.in: Moved to ...
61675         * sysdeps/mach/configure.ac: ... here.
61676         * sysdeps/mach/hurd/configure.in: Moved to ...
61677         * sysdeps/mach/hurd/configure.ac: ... here.
61678         * sysdeps/powerpc/configure.in: Moved to ...
61679         * sysdeps/powerpc/configure.ac: ... here.
61680         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61681         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61682         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61683         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61684         * sysdeps/s390/s390-32/configure.in: Moved to ...
61685         * sysdeps/s390/s390-32/configure.ac: ... here.
61686         * sysdeps/s390/s390-64/configure.in: Moved to ...
61687         * sysdeps/s390/s390-64/configure.ac: ... here.
61688         * sysdeps/sh/configure.in: Moved to ...
61689         * sysdeps/sh/configure.ac: ... here.
61690         * sysdeps/sparc/configure.in: Moved to ...
61691         * sysdeps/sparc/configure.ac: ... here.
61692         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61693         * sysdeps/unix/sysv/linux/configure.ac: ... here.
61694         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61695         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61696         * sysdeps/x86_64/configure.in: Moved to ...
61697         * sysdeps/x86_64/configure.ac: ... here.
61698         * sysdeps/x86_64/preconfigure.in: Moved to ...
61699         * sysdeps/x86_64/preconfigure.ac: ... here.
61700         * aclocal.m4: Change reference to configure.in to configure.ac.
61701         * config.h.in: Likewise.
61702         * manual/install.texi: Likewise.
61703         * manual/maint.texi: Likewise.
61704         * Makefile: Likewise.
61705         * malloc/Makefile: Likewise.
61706         * nscd/Makefile: Likewise.
61707         * Makeconfig: Change reference to configure.in and
61708         preconfigure.in to configure.ac and preconfigure.ac
61709         respectively.
61710         * INSTALL: Regenerated.
61711         * configure: Likewise.
61712         * sysdeps/gnu/configure: Likewise.
61713         * sysdeps/i386/configure: Likewise.
61714         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61715         * sysdeps/mach/configure: Likewise.
61716         * sysdeps/mach/hurd/configure: Likewise.
61717         * sysdeps/powerpc/configure: Likewise.
61718         * sysdeps/powerpc/powerpc32/configure: Likewise.
61719         * sysdeps/powerpc/powerpc64/configure: Likewise.
61720         * sysdeps/s390/s390-32/configure: Likewise.
61721         * sysdeps/s390/s390-64/configure: Likewise.
61722         * sysdeps/sh/configure: Likewise.
61723         * sysdeps/sparc/configure: Likewise.
61724         * sysdeps/unix/sysv/linux/configure: Likewise.
61725         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61726         * sysdeps/x86_64/configure: Likewise.
61727         * sysdeps/x86_64/preconfigure: Likewise.
61729 2013-10-29  Andreas Schwab  <schwab@suse.de>
61731         * stdio-common/Makefile (tst-swscanf-ENV): Define.
61733 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61735         * benchtests/pow-inputs: Add new inputs.
61737         * benchtests/exp-inputs: Add new inputs.
61739         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61740         conditional check for return value.
61741         (__cos32): Likewise.
61743 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61745         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61746         to provide a boost for large inputs with word alignment.
61747         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61748         implementation based on optimized PPC64 strcpy.
61749         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61750         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61751         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61752         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61754 2013-10-25   Ondƙej BĂ­lka  <neleai@seznam.cz>
61756         [BZ #2801]
61757         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61759 2013-10-25   Ondƙej BĂ­lka  <neleai@seznam.cz>
61761         [BZ #14876]
61762         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61763         * time/tst-strptime.c (day_tests): Add testcase.
61765 2013-10-25   Ondƙej BĂ­lka  <neleai@seznam.cz>
61767         [BZ #14029]
61768         * manual/pattern.texi: Acknowledge that fnmatch can fail.
61770 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
61772         [BZ #16074]
61773         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61774         MAP_FAILED on error.
61776 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61778         [BZ #16072]
61779         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61780         heap for large requests.
61782 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
61784         [BZ #9954]
61785         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61786         result if the result has no associated interface.
61787         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61788         interface for all 127.X.Y.Z addresses.
61790 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
61792         * locale/iso-639.def: Add Ligurian (lij)
61794 2013-10-21  Ondƙej BĂ­lka  <neleai@seznam.cz>
61796         [BZ #15825]
61797         * sunrpc/rpc_main.c: Document rpcgen -5.
61799 2013-10-19  Michael Stahl  <mstahl@redhat.com>
61801         * elf/rtld.c (do_preload): Print the reason why preloading failed.
61803 2013-10-19  Ondƙej BĂ­lka  <neleai@seznam.cz>
61805         [BZ #10278]
61806         * posix/glob.c: Match only directories when trailing slash is present.
61807         * posix/tst-gnuglob.c (my_opendir): Do not open files.
61808         (main): Add testcase.
61810 2013-10-19  Ondƙej BĂ­lka  <neleai@seznam.cz>
61812         [BZ #15670]
61813         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61815 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
61817         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61818         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61819         AUTH_DES and cindex for FIPS 140-2.
61820         (DES Encryption): Add cindex FIPS 46-3.
61822         * locale/locarchive.h (struct locarhandle): Add fname.
61823         * locale/programs/localedef.c (main): Pass ARGV[remaining]
61824         if an optional argument was specified to --list-archive,
61825         otherwise NULL.
61826         * locale/programs/locarchive.c (show_archive_content): Take new
61827         argument fname and pass it via ah.fname to open_archive.
61828         * locale/programs/localedef.h: Update decl.
61829         (open_archive): If AH->fname is non-null, open that file
61830         rather than the default file name, and don't ignore ENOENT.
61831         (create_archive): Set AH.fname to NULL.
61832         (delete_locales_from_archive): Likewise.
61833         (add_locales_to_archive): Likewise.
61834         * locale/programs/locfile.c (write_all_categories): Likewise.
61836 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
61837             Aldy Hernandez  <aldyh@redhat.com>
61839         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61840         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61841         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61842         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61843         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61844         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61845         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61846         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61847         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61848         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61849         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61850         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61851         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61852         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61853         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61854         Likewise.
61855         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61856         Likewise.
61857         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61858         Likewise.
61859         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61860         Likewise.
61861         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61862         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61863         Likewise.
61864         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61865         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61866         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61867         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61868         Likewise.
61869         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61870         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61871         * sysdeps/powerpc/preconfigure: Likewise.
61872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61873         Likewise.
61874         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61875         Replace contents of file by #include of <fenv_libc.h>.
61876         * sysdeps/powerpc/soft-fp/sfp-machine.h
61877         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61878         and <sys/prctl.h>.
61879         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61880         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61881         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61882         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61883         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61884         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61885         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61886         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61887         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61888         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61889         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61890         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61892         Allow copysignl PLT reference to be missing.
61894 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
61895             Joseph Myers  <joseph@codesourcery.com
61897         [BZ #15948]
61898         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61899         single character.
61900         (add_to_tablewc): Assert sequence of wide characters is nonempty.
61902 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61904         * elf/tst-tls-dlinfo.c: Don't include tls.h.
61905         * elf/tst-tls1.c: Likewise.
61906         * elf/tst-tls10.h: Likewise.
61907         * elf/tst-tls14.c: Likewise.
61908         * elf/tst-tls2.c: Likewise.
61909         * elf/tst-tls3.c: Likewise.
61910         * elf/tst-tls4.c: Likewise.
61911         * elf/tst-tls5.c: Likewise.
61912         * elf/tst-tls6.c: Likewise.
61913         * elf/tst-tls7.c: Likewise.
61914         * elf/tst-tls8.c: Likewise.
61915         * elf/tst-tls9.c: Likewise.
61916         * elf/tst-tlsmod1.c: Likewise.
61917         * elf/tst-tlsmod13.c: Likewise.
61918         * elf/tst-tlsmod13a.c: Likewise.
61919         * elf/tst-tlsmod14a.c: Likewise.
61920         * elf/tst-tlsmod16a.c: Likewise.
61921         * elf/tst-tlsmod16b.c: Likewise.
61922         * elf/tst-tlsmod2.c: Likewise.
61923         * elf/tst-tlsmod3.c: Likewise.
61924         * elf/tst-tlsmod4.c: Likewise.
61925         * elf/tst-tlsmod5.c: Likewise.
61926         * elf/tst-tlsmod6.c: Likewise.
61928 2013-10-18  Ondƙej BĂ­lka  <neleai@seznam.cz>
61930         [BZ #12486]
61931         * malloc/malloc.c: remove checks for statistics.
61933 2013-10-17  Ondƙej BĂ­lka  <neleai@seznam.cz>
61935         [BZ #15277]
61936         * inet/inet_net.c (inet_network): Detect additional invalid strings.
61937         * inet/tst-network.c: Add testcase.
61939 2013-10-17  Andreas Schwab  <schwab@suse.de>
61941         [BZ #15218]
61942         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61943         to determine canonical name.
61945 2013-10-17  Ondƙej BĂ­lka  <neleai@seznam.cz>
61947         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61948         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61949         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61950         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61951         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61952         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61953         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61954         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61955         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61956         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61957         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61958         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61959         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61960         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61961         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61962         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61963         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61964         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61965         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61966         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61967         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61968         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61969         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61970         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
61971         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
61972         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61973         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61974         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
61975         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61976         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
61977         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61978         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61979         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61980         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61981         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61982         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61983         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61984         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61985         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61986         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61987         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61988         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61989         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61990         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61991         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61992         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61993         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61994         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61995         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61996         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61997         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61998         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61999         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62000         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62001         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62002         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62003         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62004         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62006 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
62008         [BZ #16041]
62009         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
62010         make result into a quiet NaN.
62012 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
62014         * soft-fp/adddf3.c: Fix horizontal whitespace.
62015         * soft-fp/addsf3.c: Likewise.
62016         * soft-fp/addtf3.c: Likewise.
62017         * soft-fp/divdf3.c: Likewise.
62018         * soft-fp/divsf3.c: Likewise.
62019         * soft-fp/divtf3.c: Likewise.
62020         * soft-fp/double.h: Likewise.
62021         * soft-fp/eqdf2.c: Likewise.
62022         * soft-fp/eqsf2.c: Likewise.
62023         * soft-fp/eqtf2.c: Likewise.
62024         * soft-fp/extenddftf2.c: Likewise.
62025         * soft-fp/extended.h: Likewise.
62026         * soft-fp/extendsfdf2.c: Likewise.
62027         * soft-fp/extendsftf2.c: Likewise.
62028         * soft-fp/extendxftf2.c: Likewise.
62029         * soft-fp/fixdfdi.c: Likewise.
62030         * soft-fp/fixdfsi.c: Likewise.
62031         * soft-fp/fixdfti.c: Likewise.
62032         * soft-fp/fixsfdi.c: Likewise.
62033         * soft-fp/fixsfsi.c: Likewise.
62034         * soft-fp/fixsfti.c: Likewise.
62035         * soft-fp/fixtfdi.c: Likewise.
62036         * soft-fp/fixtfsi.c: Likewise.
62037         * soft-fp/fixtfti.c: Likewise.
62038         * soft-fp/fixunsdfdi.c: Likewise.
62039         * soft-fp/fixunsdfsi.c: Likewise.
62040         * soft-fp/fixunsdfti.c: Likewise.
62041         * soft-fp/fixunssfdi.c: Likewise.
62042         * soft-fp/fixunssfsi.c: Likewise.
62043         * soft-fp/fixunssfti.c: Likewise.
62044         * soft-fp/fixunstfdi.c: Likewise.
62045         * soft-fp/fixunstfsi.c: Likewise.
62046         * soft-fp/fixunstfti.c: Likewise.
62047         * soft-fp/floatdidf.c: Likewise.
62048         * soft-fp/floatdisf.c: Likewise.
62049         * soft-fp/floatditf.c: Likewise.
62050         * soft-fp/floatsidf.c: Likewise.
62051         * soft-fp/floatsisf.c: Likewise.
62052         * soft-fp/floatsitf.c: Likewise.
62053         * soft-fp/floattidf.c: Likewise.
62054         * soft-fp/floattisf.c: Likewise.
62055         * soft-fp/floattitf.c: Likewise.
62056         * soft-fp/floatundidf.c: Likewise.
62057         * soft-fp/floatundisf.c: Likewise.
62058         * soft-fp/floatunditf.c: Likewise.
62059         * soft-fp/floatunsidf.c: Likewise.
62060         * soft-fp/floatunsisf.c: Likewise.
62061         * soft-fp/floatunsitf.c: Likewise.
62062         * soft-fp/floatuntidf.c: Likewise.
62063         * soft-fp/floatuntisf.c: Likewise.
62064         * soft-fp/floatuntitf.c: Likewise.
62065         * soft-fp/fmadf4.c: Likewise.
62066         * soft-fp/fmasf4.c: Likewise.
62067         * soft-fp/fmatf4.c: Likewise.
62068         * soft-fp/gedf2.c: Likewise.
62069         * soft-fp/gesf2.c: Likewise.
62070         * soft-fp/getf2.c: Likewise.
62071         * soft-fp/ledf2.c: Likewise.
62072         * soft-fp/lesf2.c: Likewise.
62073         * soft-fp/letf2.c: Likewise.
62074         * soft-fp/muldf3.c: Likewise.
62075         * soft-fp/mulsf3.c: Likewise.
62076         * soft-fp/multf3.c: Likewise.
62077         * soft-fp/negdf2.c: Likewise.
62078         * soft-fp/negsf2.c: Likewise.
62079         * soft-fp/negtf2.c: Likewise.
62080         * soft-fp/op-1.h: Likewise.
62081         * soft-fp/op-2.h: Likewise.
62082         * soft-fp/op-4.h: Likewise.
62083         * soft-fp/op-8.h: Likewise.
62084         * soft-fp/op-common.h: Likewise.
62085         * soft-fp/quad.h: Likewise.
62086         * soft-fp/single.h: Likewise.
62087         * soft-fp/soft-fp.h: Likewise.
62088         * soft-fp/sqrtdf2.c: Likewise.
62089         * soft-fp/sqrtsf2.c: Likewise.
62090         * soft-fp/sqrttf2.c: Likewise.
62091         * soft-fp/subdf3.c: Likewise.
62092         * soft-fp/subsf3.c: Likewise.
62093         * soft-fp/subtf3.c: Likewise.
62094         * soft-fp/truncdfsf2.c: Likewise.
62095         * soft-fp/trunctfdf2.c: Likewise.
62096         * soft-fp/trunctfsf2.c: Likewise.
62097         * soft-fp/trunctfxf2.c: Likewise.
62098         * soft-fp/unorddf2.c: Likewise.
62099         * soft-fp/unordsf2.c: Likewise.
62100         * soft-fp/unordtf2.c: Likewise.
62102 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
62104         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
62105         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
62107 2013-10-15   Ondƙej BĂ­lka  <neleai@seznam.cz>
62109         * elf/dl-libc.c: Clear initfini list after freeing.
62111 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
62113         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
62114         * soft-fp/addsf3.c: Likewise.
62115         * soft-fp/addtf3.c: Likewise.
62116         * soft-fp/divdf3.c: Likewise.
62117         * soft-fp/divsf3.c: Likewise.
62118         * soft-fp/divtf3.c: Likewise.
62119         * soft-fp/double.h: Likewise.
62120         * soft-fp/eqdf2.c: Likewise.
62121         * soft-fp/eqsf2.c: Likewise.
62122         * soft-fp/eqtf2.c: Likewise.
62123         * soft-fp/extenddftf2.c: Likewise.
62124         * soft-fp/extended.h: Likewise.
62125         * soft-fp/extendsfdf2.c: Likewise.
62126         * soft-fp/extendsftf2.c: Likewise.
62127         * soft-fp/extendxftf2.c: Likewise.
62128         * soft-fp/fixdfdi.c: Likewise.
62129         * soft-fp/fixdfsi.c: Likewise.
62130         * soft-fp/fixdfti.c: Likewise.
62131         * soft-fp/fixsfdi.c: Likewise.
62132         * soft-fp/fixsfsi.c: Likewise.
62133         * soft-fp/fixsfti.c: Likewise.
62134         * soft-fp/fixtfdi.c: Likewise.
62135         * soft-fp/fixtfsi.c: Likewise.
62136         * soft-fp/fixtfti.c: Likewise.
62137         * soft-fp/fixunsdfdi.c: Likewise.
62138         * soft-fp/fixunsdfsi.c: Likewise.
62139         * soft-fp/fixunsdfti.c: Likewise.
62140         * soft-fp/fixunssfdi.c: Likewise.
62141         * soft-fp/fixunssfsi.c: Likewise.
62142         * soft-fp/fixunssfti.c: Likewise.
62143         * soft-fp/fixunstfdi.c: Likewise.
62144         * soft-fp/fixunstfsi.c: Likewise.
62145         * soft-fp/fixunstfti.c: Likewise.
62146         * soft-fp/floatdidf.c: Likewise.
62147         * soft-fp/floatdisf.c: Likewise.
62148         * soft-fp/floatditf.c: Likewise.
62149         * soft-fp/floatsidf.c: Likewise.
62150         * soft-fp/floatsisf.c: Likewise.
62151         * soft-fp/floatsitf.c: Likewise.
62152         * soft-fp/floattidf.c: Likewise.
62153         * soft-fp/floattisf.c: Likewise.
62154         * soft-fp/floattitf.c: Likewise.
62155         * soft-fp/floatundidf.c: Likewise.
62156         * soft-fp/floatundisf.c: Likewise.
62157         * soft-fp/floatunsidf.c: Likewise.
62158         * soft-fp/floatunsisf.c: Likewise.
62159         * soft-fp/floatuntidf.c: Likewise.
62160         * soft-fp/floatuntisf.c: Likewise.
62161         * soft-fp/floatuntitf.c: Likewise.
62162         * soft-fp/fmadf4.c: Likewise.
62163         * soft-fp/fmasf4.c: Likewise.
62164         * soft-fp/fmatf4.c: Likewise.
62165         * soft-fp/gedf2.c: Likewise.
62166         * soft-fp/gesf2.c: Likewise.
62167         * soft-fp/getf2.c: Likewise.
62168         * soft-fp/ledf2.c: Likewise.
62169         * soft-fp/lesf2.c: Likewise.
62170         * soft-fp/letf2.c: Likewise.
62171         * soft-fp/muldf3.c: Likewise.
62172         * soft-fp/mulsf3.c: Likewise.
62173         * soft-fp/multf3.c: Likewise.
62174         * soft-fp/negdf2.c: Likewise.
62175         * soft-fp/negsf2.c: Likewise.
62176         * soft-fp/negtf2.c: Likewise.
62177         * soft-fp/op-1.h: Likewise.
62178         * soft-fp/op-2.h: Likewise.
62179         * soft-fp/op-4.h: Likewise.
62180         * soft-fp/op-8.h: Likewise.
62181         * soft-fp/op-common.h: Likewise.
62182         * soft-fp/quad.h: Likewise.
62183         * soft-fp/single.h: Likewise.
62184         * soft-fp/soft-fp.h: Likewise.
62185         * soft-fp/sqrtdf2.c: Likewise.
62186         * soft-fp/sqrtsf2.c: Likewise.
62187         * soft-fp/sqrttf2.c: Likewise.
62188         * soft-fp/subdf3.c: Likewise.
62189         * soft-fp/subsf3.c: Likewise.
62190         * soft-fp/subtf3.c: Likewise.
62191         * soft-fp/truncdfsf2.c: Likewise.
62192         * soft-fp/trunctfdf2.c: Likewise.
62193         * soft-fp/trunctfsf2.c: Likewise.
62194         * soft-fp/trunctfxf2.c: Likewise.
62195         * soft-fp/unorddf2.c: Likewise.
62196         * soft-fp/unordsf2.c: Likewise.
62197         * soft-fp/unordtf2.c: Likewise.
62199 2013-10-14   Ondƙej BĂ­lka  <neleai@seznam.cz>
62201         [BZ #15672]
62202         * misc/error.c (error_tail): Fix possible buffer overflow.
62204 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
62206         [BZ #13028]
62207         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62208         address.
62210 2013-10-14  P. J. McDermott  <pj@pehjota.net>
62212         [BZ #832]
62213         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
62214         testing pipefail option.
62216 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62218         * soft-fp/double.h: Indent preprocessor directives inside #if.
62219         * soft-fp/extended.h: Likewise.
62220         * soft-fp/op-2.h: Likewise.
62221         * soft-fp/op-4.h: Likewise.
62222         * soft-fp/op-common.h: Likewise.
62223         * soft-fp/quad.h: Likewise.
62224         * soft-fp/single.h: Likewise.
62225         * soft-fp/soft-fp.h: Likewise.
62227 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
62229         * iconv/iconv_prog.c: Fix typos.
62230         * stdio-common/psiginfo-data.h: Likewise.
62232 2013-10-12   Reuben Thomas <rrt@sc3d.org>
62234         [BZ #15764]
62235         * locale/setlocale.c: Fix typo.
62237 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62239         [BZ #16036]
62240         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62241         signaling NaN arguments.
62242         * soft-fp/unordsf2.c (__unordsf2): Likewise.
62243         * soft-fp/unordtf2.c (__unordtf2): Likewise.
62245         [BZ #14910]
62246         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62247         unordered operands.
62248         * soft-fp/gesf2.c (__gesf2): Likewise.
62249         * soft-fp/getf2.c (__getf2): Likewise.
62250         * soft-fp/ledf2.c (__ledf2): Likewise.
62251         * soft-fp/lesf2.c (__lesf2): Likewise.
62252         * soft-fp/letf2.c (__letf2): Likewise.
62254         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62255         * soft-fp/eqsf2.c (__eqsf2): Likewise.
62256         * soft-fp/eqtf2.c (__eqtf2): Likewise.
62257         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62258         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62259         * soft-fp/fixdfti.c (__fixdfti): Likewise.
62260         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62261         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62262         * soft-fp/fixsfti.c (__fixsfti): Likewise.
62263         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62264         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62265         * soft-fp/fixtfti.c (__fixtfti): Likewise.
62266         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62267         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62268         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62269         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62270         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62271         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62272         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62273         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62274         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62275         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62276         * soft-fp/floatdisf.c (__floatdisf): Likewise.
62277         * soft-fp/floatsisf.c (__floatsisf): Likewise.
62278         * soft-fp/floattidf.c (__floattidf): Likewise.
62279         * soft-fp/floattisf.c (__floattisf): Likewise.
62280         * soft-fp/floattitf.c (__floattitf): Likewise.
62281         * soft-fp/floatundidf.c (__floatundidf): Likewise.
62282         * soft-fp/floatundisf.c (__floatundisf): Likewise.
62283         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62284         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62285         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62286         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62287         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62288         * soft-fp/gesf2.c (__gesf2): Likewise.
62289         * soft-fp/getf2.c (__getf2): Likewise.
62290         * soft-fp/ledf2.c (__ledf2): Likewise.
62291         * soft-fp/lesf2.c (__lesf2): Likewise.
62292         * soft-fp/letf2.c (__letf2): Likewise.
62294         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62295         Undefine and redefine.
62296         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62297         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62298         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62299         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62300         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62301         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62302         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62303         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62304         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62305         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62306         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62307         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62308         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62309         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62310         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62312         [BZ #16032]
62313         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62314         without decrementing exponent if mantissa >= that for the
62315         denominator, not >.
62316         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62317         denominator, not >.  Decrement exponent in < case instead of
62318         incrementing in >= case.
62319         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62320         without decrementing exponent if mantissa >= that for the
62321         denominator, not >.
62323         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62324         computing saturated result for unsigned overflow.
62326 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62327             Jeff Law  <law@redhat.com>
62329         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62330         (atan2Mp): Add systemtap probe marker.
62331         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62332         (__ieee754_log): Add systemtap probe marker.
62333         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62334         (atanMp): Add systemtap probe marker.
62335         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62336         (tanMp): Add systemtap probe marker.
62337         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62338         (__slowexp): Add systemtap probe marker.
62339         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62340         (__slowpow): Add systemtap probe marker.
62341         * manual/probes.texi: Document probes.
62343 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
62345         [BZ #15362]
62346         * libio/fileops.c (_IO_new_file_write): Return count of bytes
62347         written.
62348         (_IO_new_file_xsputn): Don't return EOF if nothing has been
62349         written.
62350         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62351         written to buffer but not flushed.
62352         * libio/iofwrite_u.c:  Likewise.
62353         * libio/iopadn.c:  Return bytes returned even if EOF was
62354         encountered.
62355         * libio/iowpadn.c:  Likewise.
62356         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62357         if _IO_padn does not write the whole buffer.
62358         [!COMPILE_WPRINTF] (PAD): Likewise.
62360 2013-10-10  David S. Miller  <davem@davemloft.net>
62362         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62363         directory block.
62365 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62367         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
62368         instead of FSF address.
62369         * soft-fp/fixdfti.c: Likewise.
62370         * soft-fp/fixsfti.c: Likewise.
62371         * soft-fp/fixtfti.c: Likewise.
62372         * soft-fp/fixunsdfti.c: Likewise.
62373         * soft-fp/fixunssfti.c: Likewise.
62374         * soft-fp/fixunstfti.c: Likewise.
62375         * soft-fp/floattidf.c: Likewise.
62376         * soft-fp/floattisf.c: Likewise.
62377         * soft-fp/floattitf.c: Likewise.
62378         * soft-fp/floatuntidf.c: Likewise.
62379         * soft-fp/floatuntisf.c: Likewise.
62380         * soft-fp/floatuntitf.c: Likewise.
62381         * soft-fp/trunctfxf2.c: Likewise.
62383         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
62384         * soft-fp/fixdfti.c: Likewise.
62385         * soft-fp/fixsfti.c: Likewise.
62386         * soft-fp/fixtfti.c: Likewise.
62387         * soft-fp/fixunsdfti.c: Likewise.
62388         * soft-fp/fixunssfti.c: Likewise.
62389         * soft-fp/fixunstfti.c: Likewise.
62390         * soft-fp/floattidf.c: Likewise.
62391         * soft-fp/floattisf.c: Likewise.
62392         * soft-fp/floattitf.c: Likewise.
62393         * soft-fp/floatuntidf.c: Likewise.
62394         * soft-fp/floatuntisf.c: Likewise.
62395         * soft-fp/floatuntitf.c: Likewise.
62396         * soft-fp/trunctfxf2.c: Likewise.
62398 2013-10-10  David S. Miller  <davem@davemloft.net>
62400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62402 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
62404         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62405         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62406         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62407         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62408         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62409         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62410         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62412         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62413         for NaNs before doing comparisons on argument.
62414         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62415         Likewise.
62417 2013-10-10  Will Newton  <will.newton@linaro.org>
62419         * malloc/hooks.c (memalign_check): Ensure the value of bytes
62420         passed to _int_memalign does not overflow.
62422 2013-10-10  Torvald Riegel  <triegel@redhat.com>
62424         * scripts/bench.pl: Add include-sources directive.
62425         * benchtests/README: Update documentation.
62427 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62429         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62430         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62431         instead of FP_INIT_ROUNDMODE.
62432         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62433         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62435         [BZ #16034]
62436         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
62437         copy class of input value.
62438         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
62439         not handle exceptions.
62440         * soft-fp/negsf2.c (__negsf2): Likewise.
62441         * soft-fp/negtf2.c (__negtf2): Likewise.
62442         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62444 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
62446         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62447         semicolon.  From Linux kernel.
62449 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
62451         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62453 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
62455         [BZ #156]
62456         * manual/socket.texi: Added statement about buffer
62457         for gethostbyname2_r.
62459 2013-10-08  Ondƙej BĂ­lka  <neleai@seznam.cz>
62461         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62462         Use .p2align directive instead, throughout.
62463         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62464         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62465         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62466         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62467         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62468         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62469         * sysdeps/x86_64/strchr.S: Likewise.
62470         * sysdeps/x86_64/strrchr.S: Likewise.
62472 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62474         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62476         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62478         * sysdeps/generic/math_private.h (__mpsin1): Remove
62479         declaration.
62480         (__mpcos1): Likewise.
62481         (__mpsin): New argument __range_reduce.
62482         (__mpcos): Likewise.
62483         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62484         (slow): Use __mpsin and __mpcos.
62485         (slow1): Likewise.
62486         (slow2): Likewise.
62487         (sloww): Likewise.
62488         (sloww1): Likewise.
62489         (sloww2): Likewise.
62490         (bsloww): Likewise.
62491         (bsloww1): Likewise.
62492         (bsloww2): Likewise.
62493         (cslow2): Likewise.
62494         (csloww): Likewise.
62495         (csloww1): Likewise.
62496         (csloww2): Likewise.
62497         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62498         range_reduce.  Merge in __mpsin1.
62499         (__mpcos): Likewise.
62500         (__mpsin1): Remove.
62501         (__mpcos1): Likewise.
62503 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
62505         * locale/loadlocale.c (_nl_intern_locale_data): Use
62506         LOCFILE_ALIGNED_P.
62507         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62508         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62509         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62510         obstack data is appropriately aligned.
62511         (obstack_int32_grow_fast): Likewise.
62512         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62513         * locale/programs/locfile.c (add_locale_uint32): Likewise.
62514         (add_locale_uint32_array): Likewise.
62516 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62518         * benchtests/Makefile: Remove ARGLIST and RET variables.
62519         ($(objpfx)bench-%.c): Pass only function name to the script.
62520         * benchtests/README: Update documentation.
62521         * benchtests/acos-inputs: Add new directives.
62522         * benchtests/acosh-inputs: Likewise.
62523         * benchtests/asin-inputs: Likewise.
62524         * benchtests/asinh-inputs: Likewise.
62525         * benchtests/atan-inputs: Likewise.
62526         * benchtests/atanh-inputs: Likewise.
62527         * benchtests/cos-inputs: Likewise.
62528         * benchtests/cosh-inputs: Likewise.
62529         * benchtests/exp-inputs: Likewise.
62530         * benchtests/log-inputs: Likewise.
62531         * benchtests/pow-inputs: Likewise.
62532         * benchtests/rint-inputs: Likewise.
62533         * benchtests/sin-inputs: Likewise.
62534         * benchtests/sinh-inputs: Likewise.
62535         * benchtests/tan-inputs: Likewise.
62536         * benchtests/tanh-inputs: Likewise.
62537         * scripts/bench.pl: Add support for new directives.
62539 2013-10-07  Alan Modra  <amodra@gmail.com>
62541         * README: Fix careless merge.
62543 2013-10-05  Alan Modra  <amodra@gmail.com>
62545         * NEWS: Mention powerpc64le support and bugs fixed.
62546         * README: Both big-endian and little-endian powerpc64 supported.
62548 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62550         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62551         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62552         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62553         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62555 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
62557         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62558         match prototype.
62560 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
62562         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62563         Move -mhard-float appending from
62564         ports/sysdeps/powerpc/powerpc32/Makefile.
62565         [$(with-fp) = yes] (ASFLAGS): Likewise.
62566         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62567         * sysdeps/powerpc/nofpu: Move directory from
62568         ports/sysdeps/powerpc/nofpu.
62569         * sysdeps/powerpc/soft-fp: Move directory from
62570         ports/sysdeps/powerpc/soft-fp.
62571         * sysdeps/powerpc/powerpc32/405: Move directory from
62572         ports/sysdeps/powerpc/powerpc32/405.
62573         * sysdeps/powerpc/powerpc32/440: Move directory from
62574         ports/sysdeps/powerpc/powerpc32/440.
62575         * sysdeps/powerpc/powerpc32/464: Move directory from
62576         ports/sysdeps/powerpc/powerpc32/464.
62577         * sysdeps/powerpc/powerpc32/476: Move directory from
62578         ports/sysdeps/powerpc/powerpc32/476.
62579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62580         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62582         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62584         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62586         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62588         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62589         * README: Update for powerpc-*-linux-gnu software floating point
62590         support in libc.
62592         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62593         case to powerpc/powerpc32*.
62594         * sysdeps/unix/sysv/linux/configure: Regenerated.
62596         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62597         (_FPU_MASK_OM): Define as 0x04.
62598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62599         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62600         0x00c10080.
62601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62602         0x0000003c.
62603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62606         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62607         getcontext_e500.
62608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62609         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62610         setcontext_e500.
62611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62612         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62613         and setcontext_e500.
62615 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
62617         * locale/iso-3166.def: Update iso-1366.def and related occurrences
62619 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62621         * manual/threads.texi (Default Thread Attributes): Fix typo.
62623 2013-10-04  Will Newton  <will.newton@linaro.org>
62625         * malloc/Makefile: Add tst-memalign.
62626         * malloc/tst-memalign.c: New file.
62628         * malloc/tst-posix_memalign.c: Add comments.
62629         (do_test): Add comments and call free on all potentially
62630         allocated pointers. Add space after cast.
62632         * malloc/tst-pvalloc.c: Add comments.
62633         (do_test): Add comments and call free on all potentially
62634         allocated pointers. Remove duplicate check for NULL pointer.
62635         Add space after cast.
62637         * malloc/tst-valloc.c: Add comments.
62638         (do_test): Add comments and call free on all potentially
62639         allocated pointers. Remove duplicate check for NULL pointer.
62640         Add space after cast.
62642 2013-10-04  Alan Modra  <amodra@gmail.com>
62644         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62645         Use stdint types in rather than __attribute__((mode())).
62646         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62648 2013-10-04  Alan Modra  <amodra@gmail.com>
62650         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62651         Correct handling of unaligned relocs for little-endian.
62652         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62654 2013-10-04  Alan Modra  <amodra@gmail.com>
62656         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62657         * configure: Regenerate.
62658         * nptl/shlib-versions: Powerpc*le starts at 2.18.
62659         * shlib-versions: Likewise.
62661 2013-10-04  Alan Modra  <amodra@gmail.com>
62663         * string/tester.c (test_memrchr): Increment reported test cycle.
62665 2013-10-04  Alan Modra  <amodra@gmail.com>
62667         * string/test-memcpy.c (do_one_test): When reporting errors, print
62668         string address and don't overrun end of string.
62670 2013-10-04  Alan Modra  <amodra@gmail.com>
62672         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62673         insrdi.  Make better use of reg selection to speed exit slightly.
62674         Schedule entry path a little better.  Remove useless "are we done"
62675         checks on entry to main loop.  Handle wrapping around zero address.
62676         Correct main loop count.  Handle single left-over word from main
62677         loop inline rather than by using loop_small.  Remove extra word
62678         case in loop_small caused by wrong loop count.  Add little-endian
62679         support.
62680         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62681         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
62682         cache hint.
62683         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62684         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62685         support.  Avoid rlwimi.
62686         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62688 2013-10-04  Alan Modra  <amodra@gmail.com>
62690         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62691         insrdi.  Formatting.
62692         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62693         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62694         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62695         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62696         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62697         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62699 2013-10-04  Alan Modra  <amodra@gmail.com>
62701         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62702         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62703         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62704         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62705         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62706         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62707         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62708         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62709         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
62710         use of regs.  Use power7 mtocrf.  Tidy function tails.
62712 2013-10-04  Alan Modra  <amodra@gmail.com>
62714         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62715         Formatting.  Consistently use rXXX register defines or rN defines.
62716         Use early exit labels that avoid restoring unused non-volatile regs.
62717         Make cr field use more consistent with rWORDn compares.  Rename
62718         regs used as shift registers for unaligned loop, using rN defines
62719         for short lifetime/multiple use regs.
62720         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62721         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
62722         addi 1,1,64 to pop stack frame.  Simplify return value code.
62723         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62725 2013-10-04  Alan Modra  <amodra@gmail.com>
62727         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62728         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
62729         rather than rlwimi.
62730         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62731         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62732         little-endian support.  Correct typos.
62733         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
62734         rather than rlwimi.
62735         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
62736         in loop and entry code to keep "and." results.
62737         (strchr): Add little-endian support.  Comment.  Move cntlzd
62738         earlier in tail.
62739         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62741 2013-10-04  Alan Modra  <amodra@gmail.com>
62743         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62744         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62745         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62746         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62748 2013-10-04  Alan Modra  <amodra@gmail.com>
62750         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62751         (rTMP): Define as r11.
62752         (strcmp): Add little-endian support.  Optimise tail.
62753         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62754         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62755         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62756         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62757         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62758         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62759         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62761 2013-10-04  Alan Modra  <amodra@gmail.com>
62763         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62764         little-endian support.  Remove unnecessary "are we done" tests.
62765         Handle "s" wrapping around zero and extremely large "size".
62766         Correct main loop count.  Handle single left-over word from main
62767         loop inline rather than by using small_loop.  Correct comments.
62768         Delete "zero" tail, use "end_max" instead.
62769         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62771 2013-10-04  Alan Modra  <amodra@gmail.com>
62773         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62774         support.  Don't branch over align.
62775         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62776         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62777         support.  Rearrange tmp reg use to suit.  Comment.
62778         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62780 2013-10-04  Alan Modra  <amodra@gmail.com>
62782         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62784 2013-10-04  Alan Modra  <amodra@gmail.com>
62786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62787         conditional form of branch and link when obtaining pc.
62788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62790 2013-10-04  Alan Modra  <amodra@gmail.com>
62792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62793         HIWORD/LOWORD.
62794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62797 2013-10-04  Alan Modra  <amodra@gmail.com>
62799         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62800         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62801         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62802         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62803         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62804         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62805         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62806         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62807         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62808         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62810 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62811             Alistair Popple <alistair@ozlabs.au.ibm.com>
62812             Alan Modra <amodra@gmail.com>
62814         [BZ #15723]
62815         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62816         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62817         _dl_hwcap access for little-endian.
62818         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
62819         destroy vmx regs when saving unaligned.
62820         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62821         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
62822         destroy vmx regs when saving unaligned.
62824 2013-10-04  Alan Modra  <amodra@gmail.com>
62826         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62827         Don't use a union to pack hi/low value.
62829 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62831         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62832         for little-endian.
62833         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62834         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62835         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62836         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62837         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62839 2013-10-04  Alan Modra  <amodra@gmail.com>
62841         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62842         constants to usual value for .cst8 section, and remove redundant
62843         high address load.
62844         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62845         constant for 0x1p52.  Load little-endian words of double from
62846         correct stack offsets.
62848 2013-10-04  Alan Modra  <amodra@gmail.com>
62850         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62851         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62852         words of double from correct stack offsets.
62853         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62854         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62855         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62856         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62857         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62858         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62859         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62860         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62861         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62862         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62863         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62864         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62865         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62866         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62867         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62868         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62869         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62871 2013-10-04  Alan Modra  <amodra@gmail.com>
62873         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62874         64-bit int/double union.
62875         (_FPU_SETCW): Likewise.
62876         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62877         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62879 2013-10-04  Alan Modra  <amodra@gmail.com>
62881         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62882         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62884 2013-10-04  Alan Modra  <amodra@gmail.com>
62886         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62887         use vector int constants.
62888         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62890 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62892         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62893         array with long long.
62894         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62895         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62896         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62897         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62898         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62899         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62900         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62901         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62902         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62903         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62904         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62905         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62906         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62908 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62910         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62911         (__signbit): Likewise.  Correct for little-endian.
62912         (__signbitl): Call __signbit.
62913         (lrint): Correct for little-endian.
62914         (lrintf): Call lrint.
62916 2013-10-04  Alan Modra  <amodra@gmail.com>
62918         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62919         union 32-bit int array member with 64-bit int array.
62920         (t515, tm256): Double rather than long double.
62921         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62923 2013-10-04  Alan Modra  <amodra@gmail.com>
62925         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62926         Delete.
62927         (IEEE854_LONG_DOUBLE_BIAS): Delete.
62928         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62929         version of math_ldbl.h.
62931 2013-10-04  Alan Modra  <amodra@gmail.com>
62933         [BZ #15734], [BZ #15735]
62934         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62935         all uses of ieee875 long double macros and unions.  Simplify test
62936         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
62937         ldbl_extract_mantissa value for ix,iy exponents.  Properly
62938         normalize after ldbl_extract_mantissa, and don't add hidden bit
62939         already handled.  Don't treat low word of ieee854 mantissa like
62940         low word of IBM long double and mask off bit when testing for
62941         zero.
62942         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62943         all uses of ieee875 long double macros and unions.  Simplify tests
62944         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
62945         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
62946         two1022, instead use their values.  Recognise that tests for large
62947         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
62948         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62949         Rewrite all uses of ieee875 long double macros and unions.  Simplify
62950         test for 0.0L and nan.  Correct negation.
62951         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62952         ieee875 long double macros and unions.  Correct output for large
62953         magnitude x.  Correct absolute value calculation.
62954         (__erfcl): Likewise.
62955         * math/libm-test.inc: Add tests for errors discovered in IBM long
62956         double versions of fmodl, remainderl, erfl and erfcl.
62958 2013-10-04  Alan Modra  <amodra@gmail.com>
62960         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
62961         all uses of ieee854 long double macros and unions.  Simplify tests
62962         for long doubles that are fully specified by the high double.
62963         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
62964         Likewise.
62965         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
62966         Remove dead code too.
62967         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
62968         (__ieee754_ynl): Likewise.
62969         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
62970         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
62971         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
62972         Remove dead code too.
62973         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
62974         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
62975         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
62976         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
62977         Simplify.
62978         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
62979         Simplify.
62980         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
62981         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
62982         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
62983         Comment on variable precision.
62984         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
62985         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62986         Likewise.
62987         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
62988         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62989         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62990         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
62991         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
62993 2013-10-04  Alan Modra  <amodra@gmail.com>
62995         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
62996         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
62997         all uses of ieee854 long double macros and unions.
62998         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
62999         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63000         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
63001         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
63002         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
63003         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63004         Likewise.
63005         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
63006         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63007         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
63008         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63009         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
63010         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
63011         Simplify sign and nan test too.
63012         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
63013         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
63014         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
63015         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
63016         Likewise.
63017         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63018         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
63019         Likewise.
63020         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63021         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
63022         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
63023         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
63024         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
63025         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
63027 2013-10-04  Alan Modra  <amodra@gmail.com>
63029         * stdio-common/printf_size.c (__printf_size): Don't use
63030         union ieee854_long_double in fpnum union.
63031         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
63032         signbit macro to retrieve sign from long double.
63033         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
63034         retrieve sign from long double.
63035         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
63036         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
63037         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
63038         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63039         * math/test-misc.c (main): Don't use union ieee854_long_double.
63041 2013-10-04  Alan Modra  <amodra@gmail.com>
63043         [BZ #15680]
63044         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
63045         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
63046         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
63047         calculation.  Remove unnecessary test for denormal exponent.
63048         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
63049         Correct handling of denormals.  Avoid undefined shift behaviour.
63050         Correct normalisation of low mantissa when low double is denormal.
63051         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
63052         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
63053         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
63054         Correct normalisation of low mantissa.  Test for overflow of high
63055         mantissa and normalise.
63056         (ldbl_nearbyint): Use more readable constant for two52.
63057         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
63058         (__mpn_construct_long_double): Fix test for overflow of high
63059         mantissa and correct normalisation.  Avoid undefined shift.
63061 2013-10-04  Alan Modra  <amodra@gmail.com>
63063         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63064         (union ibm_extended_long_double): Define as an array of ieee754_double.
63065         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
63066         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
63067         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
63068         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63069         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63070         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
63071         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63072         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63073         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63074         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
63075         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63077 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
63079         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
63080         page size instead of calling getpagesize.
63082         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
63083         (LOCFILE_ALIGN_MASK): Likewise.
63084         (LOCFILE_ALIGN_UP): Likewise.
63085         (LOCFILE_ALIGNED_P): Likewise.
63086         * locale/programs/ld-collate.c (collate_output): Use the new
63087         macros instead of __alignof__ (int32_t).
63088         * locale/weight.h (findidx): Likewise.
63090 2013-10-03  Ondƙej BĂ­lka  <neleai@seznam.cz>
63092         [BZ #431]
63093         * manual/string.texi: Fix strncat and wcsncat.
63095 2013-10-03  Brooks Moses  <bmoses@google.com>
63097         [BZ #15915]
63098         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
63099         * Makerules: ...here, and adjust associated comments.
63101 2013-10-02  Will Newton  <will.newton@linaro.org>
63103         * malloc/Makefile: Add tst-pvalloc.
63104         * malloc/tst-pvalloc.c: New file.
63106 2013-10-02  Will Newton  <will.newton@linaro.org>
63108         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
63109         improve test coverage.
63111 2013-10-02  Will Newton  <will.newton@linaro.org>
63113         * malloc/Makefile: Add tst-posix_memalign.
63114         * malloc/tst-posix_memalign.c: New file.
63116 2013-10-01  Eric Blake  <eblake@redhat.com>
63118         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63119         Use __THROWNL rather than __THROW on static functions.
63121 2013-09-30  Petr Machata  <pmachata@redhat.com>
63123         * elf/elf.h (R_AARCH64_ABS16): New macro.
63124         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63125         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63126         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63127         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63128         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63129         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63130         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63131         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63132         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63133         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63134         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63135         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63136         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63137         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63138         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63139         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63140         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63141         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63142         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63143         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63144         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63145         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63146         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63147         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63148         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63149         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63150         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63151         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63152         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63153         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63154         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63155         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63156         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63157         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63158         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63159         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63160         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63161         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63162         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63163         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63164         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63165         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63166         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63167         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63168         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63169         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63170         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63171         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63172         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63173         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63174         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63175         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63176         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63177         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63178         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63179         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63180         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63181         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63182         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63183         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63184         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63185         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63186         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63187         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63188         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63189         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63190         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63191         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63192         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63193         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63194         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63195         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63196         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63197         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63198         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63199         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63200         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63201         (R_AARCH64_TLSDESC_LDR): Likewise.
63202         (R_AARCH64_TLSDESC_ADD): Likewise.
63203         (R_AARCH64_TLSDESC_CALL): Likewise.
63205 2013-09-30  Andreas Schwab  <schwab@suse.de>
63207         [BZ #15048]
63208         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63209         the nss database lookup.
63210         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63213 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
63215         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63217 2013-09-28  P. J. McDermott  <pj@pehjota.net>
63219         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63220         ${Bash-specific parameter/pattern/string} parameter expansion.
63221         * sysdeps/unix/make-syscalls.sh: Likewise.
63223 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63225         * sysdeps/sh/stackguard-macros.h: New file.
63227 2013-09-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
63229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63230         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63231         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63232         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63233         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63234         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63236 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63238         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63239         Fix thread ID register.
63241 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
63243         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63244         [POSIX || UNIX98]: Require rather than permitting all symbols from
63245         <time.h>.
63246         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63247         element of struct sched_param.
63248         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63249         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63250         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63251         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63252         constant.
63254 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
63256         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63257         argument calculation.
63259 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63261         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63262         Expect macro.
63263         [POSIX] (pthread_attr_t): Do not require type.
63264         [POSIX] (pthread_cond_t): Likewise.
63265         [POSIX] (pthread_condattr_t): Likewise.
63266         [POSIX] (pthread_key_t): Likewise.
63267         [POSIX] (pthread_mutex_t): Likewise.
63268         [POSIX] (pthread_mutexattr_t): Likewise.
63269         [POSIX] (pthread_once_t): Likewise.
63270         [POSIX] (pthread_t): Likewise.
63271         [POSIX-based standards] (pthread_atfork): Expect function.
63273 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63274             Richard Sandiford  <richard@codesourcery.com>
63276         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63277         (swap_endianness_p): New extern variable.
63278         (set_big_endian): New inline function.
63279         (maybe_swap_uint32): Likewise.
63280         (maybe_swap_uint32_array): Likewise.
63281         (maybe_swap_uint32_obstack): Likewise.
63282         * locale/programs/locfile.c: Include <stdbool.h>.
63283         (swap_endianness_p): New variable.
63284         (add_locale_uint32): Call maybe_swap_uint32.
63285         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63286         (write_locale_data): Call maybe_swap_uint32_array.
63287         * locale/programs/ld-collate.c (obstack_int32_grow): Call
63288         maybe_swap_uint32.
63289         (obstack_int32_grow_fast): Likewise.
63290         (output_weightwc): Call maybe_swap_uint32_obstack.
63291         (collate_output): Likewise.
63292         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63293         (OPT_LITTLE_ENDIAN): Likewise.
63294         (options): Add --little-endian and --big-endian options.
63295         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63296         * locale/programs/locarchive.c: Include "locfile.h".
63297         (GET): New macro.
63298         (SET): Likewise.
63299         (INC): Likewise.
63300         (create_archive): Use the new macros to access fields of
63301         structures directly mapped from or written to locale archives.
63302         (oldlocrecentcmp): Likewise.
63303         (enlarge_archive): Likewise.
63304         (insert_name): Likewise.
63305         (add_alias): Likewise.
63306         (add_locale): Likewise.
63307         (delete_locales_from_archive): Likewise.
63308         (show_archive_content): Likewise.
63309         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
63310         locale data.
63312 2013-09-24  Roland McGrath  <roland@hack.frob.com>
63314         * manual/freemanuals.texi: Updated from (newly) canonical copy at
63315         http://www.gnu.org/doc/freemanuals.texi.
63316         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63318 2013-09-24  Will Newton  <will.newton@linaro.org>
63320         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63321         macro.
63323 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
63325         * locale/hashval.h (compute_hashval): Interpret bytes of key as
63326         unsigned char.
63328 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
63330         * manual/threads.texi (POSIX Threads): Fix a typo.
63332 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
63334         [BZ #14547]
63335         * string/tst-strcoll-overflow.c: New test case.
63336         * string/Makefile (xtests): Add tst-strcoll-overflow.
63337         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63338         cache if string sizes may cause integer overflow.
63340         [BZ #14547]
63341         * string/strcoll_l.c (coll_seq): New members rule, idx,
63342         save_idx and back_us.
63343         (get_next_seq_nocache): New function.
63344         (do_compare_nocache): New function.
63345         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63346         when malloc fails.
63348 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
63350         [BZ #15754]
63351         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63352         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63353         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63355         [BZ #15754]
63356         * elf/Makefile (tests): Add tst-ptrguard1.
63357         (tests-static): Add tst-ptrguard1-static.
63358         (tst-ptrguard1-ARGS): Define.
63359         (tst-ptrguard1-static-ARGS): Define.
63360         * elf/tst-ptrguard1.c: New file.
63361         * elf/tst-ptrguard1-static.c: New file.
63362         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63363         * sysdeps/i386/stackguard-macros.h: Likewise.
63364         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63365         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63366         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63367         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63368         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63369         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63371 2013-09-23  Hector Marco  <hecmargi@upv.es>
63372             Ismael Ripoll  <iripoll@disca.upv.es>
63373             Carlos O'Donell  <carlos@redhat.com>
63375         [BZ #15754]
63376         * sysdeps/generic/stackguard-macros.h: Define
63377         __pointer_chk_guard_local and POINTER_CHK_GUARD.
63378         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63379         Define __pointer_chk_guard_local.
63380         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63381         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63383 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
63385         [BZ #15859]
63386         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63388 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
63390         * include/string.h (__ffs): Declare as hidden.
63391         * string/ffs.c (__ffs): Define as hidden.
63392         * sysdeps/i386/ffs.c (__ffs): Likewise.
63393         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63394         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63395         * sysdeps/s390/ffs.c (__ffs): Likewise.
63396         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63398 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
63400         * NEWS: Mention malloc probes.
63402         * malloc/arena.c (new_heap): New memory_heap_new probe.
63403         (grow_heap): New memory_heap_more probe.
63404         (shrink_heap): New memory_heap_less probe.
63405         (heap_trim): New memory_heap_free probe.
63406         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63407         (systrim): New memory_sbrk_less probe.
63408         * manual/probes.texi: Document them.
63410         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63411         * manual/probes.texi: Document it.
63413         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63414         (__libc_realloc): Add memory_realloc_retry probe.
63415         (__libc_memalign): Add memory_memalign_retry probe.
63416         (__libc_valloc): Add memory_valloc_retry probe.
63417         (__libc_pvalloc): Add memory_pvalloc_retry probe.
63418         (__libc_calloc): Add memory_calloc_retry probe.
63419         * manual/probes.texi: Document them.
63421         * malloc/arena.c (get_free_list): Add probe
63422         memory_arena_reuse_free_list.
63423         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63424         and memory_arena_reuse.
63425         (arena_get2) [!PER_THREAD]: Likewise.
63426         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63427         memory_arena_reuse_realloc.
63428         * manual/probes.texi: Document them.
63430         * malloc/malloc.c (__libc_free): Add
63431         memory_mallopt_free_dyn_thresholds probe.
63432         (__libc_mallopt): Add multiple memory_mallopt probes.
63433         * manual/probes.texi: Document them.
63435         * malloc/malloc.c: Include stap-probe.h.
63436         (__libc_mallopt): Add memory_mallopt probe.
63437         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63438         * manual/probes.texi: New.
63439         * manual/Makefile (chapters): Add probes.
63440         * manual/threads.texi: Set next node.
63442 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
63444         [BZ #15963, #13985]
63445         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63446         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63447         Add `Chinese' to `nan' entry name.
63449 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63451         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63452         (POLYNOMIAL): Likewise.
63453         (TAYLOR_SINCOS): Likewise.
63454         (TAYLOR_SLOW): Likewise.
63455         (__sin): Use TAYLOR_SINCOS.
63456         (__cos): Likewise.
63457         (slow): Use TAYLOR_SLOW.
63458         (sloww): Likewise.
63459         (bsloww): Likewise.
63460         (csloww): Likewise.
63462 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63464         * stdlib/strtod_l.c: Fix buffer overrun.
63466 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63468         * benchtests/Makefile (bench): Add sincos.
63469         * benchtests/bench-sincos.c: New file.
63471         * math/libm-test.inc (cos_test_data): New test inputs.
63472         (sin_test_data): Likewise.
63474         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63475         macro.
63476         (__sin): Use it.
63477         (__cos): Likewise.
63478         (slow1): Likewise.
63479         (slow2): Likewise.
63480         (sloww1): Likewise.
63481         (sloww2): Likewise.
63482         (bsloww1): Likewise.
63483         (bsloww2): Likewise.
63484         (cslow2): Likewise.
63485         (csloww1): Likewise.
63486         (csloww2): Likewise.
63488         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63489         function.
63490         (__sin): Use it.
63491         (__cos): Likewise.
63493         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63494         gotos.
63495         (__cos): Likewise.
63497 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
63499         * config.h.in (HAVE_MIPS_NAN2008): New macro.
63500         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63501         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63502         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63503         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63504         * elf/cache.c (print_entry): Handle the new cache flags.
63506 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63507             Aldy Hernandez  <aldyh@redhat.com>
63509         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63510         Change condition to [_SOFT_FLOAT].
63511         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63512         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63514         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63516         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63521         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63523         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63524         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63526         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63527         declaration.
63529 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63531         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63532         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63533         (__longjmp): Use LOAD_GP to load saved GPRs.
63534         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63535         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63536         (__sigsetjmp): Use SAVE_GP to save GPRs.
63538         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63539         Do not append -msoft-float.
63540         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63542 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63544         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63546 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
63548         [BZ #15966]
63549         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63550         (_FPU_GETCW): Use initial "__" on variable and field names but not
63551         on macro parameter name.
63552         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
63553         parentheses around reference to macro parameter.
63555 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
63557         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63558         prototype.
63559         (ctype_startup): Use uint32_t in cast and sizeof for
63560         ctype->charnames.
63562 2013-09-11  Jia Liu  <proljc@gmail.com>
63564         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63565         __daddr_t_defined.
63566         [__FreeBSD__]: Likewise.
63568 2013-09-11  Ondƙej BĂ­lka  <neleai@seznam.cz>
63570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63571         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63572         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63573         (strchr): Remove __strchr_sse42 ifunc selection.
63574         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63575         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63577 2013-09-11  Will Newton  <will.newton@linaro.org>
63579         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63580         parameter to RES. Remove hardcoded 1000 value.
63581         * benchtests/bench-skeleton.c (main): Pass RES parameter
63582         to TIMING_INIT and multiply result by 1000.
63584 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63588 2013-09-11  Andreas Schwab  <schwab@suse.de>
63590         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63591         if not defined.
63592         (O_TMPFILE) [__USE_GNU]: Define.
63593         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63594         Define.
63596 2013-09-11  Will Newton  <will.newton@linaro.org>
63598         [BZ #15857]
63599         * malloc/malloc.c (__libc_memalign): Check the value of bytes
63600         does not overflow.
63602 2013-09-11  Will Newton  <will.newton@linaro.org>
63604         [BZ #15856]
63605         * malloc/malloc.c (__libc_valloc): Check the value of bytes
63606         does not overflow.
63608 2013-09-11  Will Newton  <will.newton@linaro.org>
63610         [BZ #15855]
63611         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63612         does not overflow.
63614 2013-09-10  Ondƙej BĂ­lka  <neleai@seznam.cz>
63616         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63617         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63618         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63619         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63620         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63622 2013-09-10  Allan McRae  <allan@archlinux.org>
63624         [BZ #15748]
63625         * manual/arith.texi (Parsing of Floats): Clarify
63626         cross-reference.
63628         [BZ #15849]
63629         * manual/install.texi (Running make install): Mention
63630         --enable-pt-chown.
63631         * INSTALL: Regenerated.
63633 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
63635         * csu/init-first.c (_init): Remove the !SHARED condition around
63636         FPU control word initialization.
63637         * elf/dl-support.c (_dl_fpu_control): New variable.
63638         (_dl_aux_init) <AT_FPUCW>: Initialize it.
63639         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63640         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63641         * math/test-fpucw-static.c: New file.
63642         * math/test-fpucw-ieee.c: New file.
63643         * math/test-fpucw-ieee-static.c: New file.
63644         * math/Makefile (tests): Add `test-fpucw-ieee' and
63645         `$(tests-static)'.
63646         (tests-static): New variable.
63647         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63648         dependency to...
63649         [($(build-shared),yes)]
63650         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63651         ... this.
63652         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63653         New dependency.
63655 2013-09-09  Allan McRae  <allan@archlinux.org>
63657         [BZ #15939]
63658         * manual/string.texi (Collation Functions): Fix typo in
63659         strcoll example.
63660         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63662         [BZ #15893]
63663         * stdlib/isomac.c (get_null_defines): Fix memory leak.
63665         [BZ #15892]
63666         * libio/memstream.c (open_memstream): Fix memory leak.
63667         * libio/wmemstream.c (open_wmemstream): Likewise.
63669         [BZ #15895]
63670         * nscd/netgroupcache.c: Fix nesting of ifdefs.
63672 2013-09-09  Will Newton  <will.newton@linaro.org>
63674         * malloc/Makefile: Add tst-realloc to tests.
63675         * malloc/tst-realloc.c: New file.
63677 2013-09-09  Allan McRae  <allan@archlinux.org>
63679         [BZ #15844]
63680         * COPYING: Update from GNU website to fix FSF address.
63681         * COPYING.LIB: Likewise.
63683 2013-09-06  David S. Miller  <davem@davemloft.net>
63685         * po/zh_TW.po: Update Chinese (traditional) translation from
63686         translation project.
63688 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
63689             Joseph Myers  <joseph@codesourcery.com>
63691         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63692         "localeinfo.h".
63693         (obstack_chunk_alloc): New macro.
63694         (obstack_chunk_free): Likewise.
63695         (record_offset): New function.
63696         (init_locale_data): Likewise.
63697         (align_locale_data): Likewise.
63698         (add_locale_empty): Likewise.
63699         (add_locale_raw_data): Likewise.
63700         (add_locale_raw_obstack): Likewise.
63701         (add_locale_string): Likewise.
63702         (add_locale_wstring): Likewise.
63703         (add_locale_uint32): Likewise.
63704         (add_locale_uint32_array): Likewise.
63705         (add_locale_char): Likewise.
63706         (start_locale_structure): Likewise.
63707         (end_locale_structure): Likewise.
63708         (start_locale_prelude): Likewise.
63709         (end_locale_prelude): Likewise.
63710         (write_locale_data): Take locale_file structure rather than an
63711         iovec.
63712         * locale/programs/locfile.h: Include "obstack.h".
63713         (struct locale_file): Change to store locale file contents instead
63714         of header.
63715         (init_locale_data): New prototype.
63716         (align_locale_data): Likewise.
63717         (add_locale_empty): Likewise.
63718         (add_locale_raw_data): Likewise.
63719         (add_locale_raw_obstack): Likewise.
63720         (add_locale_string): Likewise.
63721         (add_locale_wstring): Likewise.
63722         (add_locale_uint32): Likewise.
63723         (add_locale_uint32_array): Likewise.
63724         (add_locale_char): Likewise.
63725         (start_locale_structure): Likewise.
63726         (end_locale_structure): Likewise.
63727         (start_locale_prelude): Likewise.
63728         (end_locale_prelude): Likewise.
63729         (write_locale_data): Update prototype.
63730         * locale/programs/3level.h (struct TABLE): Remove result field.
63731         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63732         Use new locale_file interface.
63733         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63734         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63735         * locale/programs/ld-address.c (address_output): Use new
63736         locale_file interface.
63737         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63738         NO_ADD_LOCALE.
63739         (collate_finish): Don't call collseq_table_finalize.
63740         (collate_output): Use new locale_file interface.
63741         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63742         in file.
63743         (NO_FINALIZE): Change to NO_ADD_LOCALE.
63744         (TABLE): Move defines earlier in file.
63745         (ELEMENT): Likewise.
63746         (DEFAULT): Likewise.
63747         (wctrans_table_add): Move macro and inline function earlier in
63748         file.
63749         (struct wctype_table): Move type earlier in file.
63750         (add_locale_wctype_table): New static prototype.
63751         (struct locale_ctype_t): Use logical types instead of struct iovec
63752         pointers for members.
63753         (ctype_output): Use new locale_file interface.
63754         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
63755         new locale_file interface.
63756         (allocate_arrays): Update for use of new locale_file interface.
63757         * locale/programs/ld-identification.c (identification_output): Use
63758         new locale_file interface.
63759         * locale/programs/ld-measurement.c (measurement_output): Likewise.
63760         * locale/programs/ld-messages.c (messages_output): Likewise.
63761         * locale/programs/ld-monetary.c (monetary_output): Likewise.
63762         * locale/programs/ld-name.c (name_output): Likewise.
63763         * locale/programs/ld-numeric.c (numeric_output): Likewise.
63764         * locale/programs/ld-paper.c (paper_output): Likewise.
63765         * locale/programs/ld-telephone.c (telephone_output): Likewise.
63766         * locale/programs/ld-time.c (time_output): Likewise.
63768 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63770         * benchtests/Makefile: Add memrchr benchmark.
63771         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63772         benchmark as memrchr.
63773         * benchtests/bench-memrchr-ifunc.c: New file.
63774         * benchtests/bench-memrchr.c: New file.
63776 2013-09-06   Will Newton  <will.newton@linaro.org>
63778         * benchtests/Makefile (string-bench): Add memcpy.
63780 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
63781             Cong Wang  <amwang@redhat.com>
63783         [BZ #15850]
63784         * sysdeps/unix/sysv/linux/bits/in.h
63785         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63786         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63787         before __USE_KERNEL_IPV6_DEFS uses.
63788         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63789         IPPROTO_BEETPH.
63790         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63791         sockaddr_in6, or ipv6_mreq.
63793 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63795         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63796         memory access for final bytes in some large inputs.
63797         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63799 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63801         * string/test-memrchr.c: New file.
63802         * string/test-memrchr-ifunc.c: New file.
63803         * string/Makefile: Add new memrchr testcase.
63805 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
63807         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63808         fanotify_init returns EPERM.
63810 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63812         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63813         errors.
63814         (top level): Treat second token from macro or constant entries for
63815         allowed headers as allowed.
63816         * include/complex.h: Condition internal declarations on
63817         [!_ISOMAC].
63818         * include/fenv.h: Condition include of <stdbool.h> and internal
63819         declarations on [!_ISOMAC].
63821 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
63823         [BZ #15923]
63824         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63826 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63828         * configure.in (--enable-versioning): Remove configure option.
63829         (libc_cv_asm_symver_directive): Remove configure test.
63830         (libc_cv_ld_version_script_option): Likewise.
63831         (VERSIONING): Remove variable and AC_SUBST.
63832         (DO_VERSIONING): Remove AC_DEFINE.
63833         * configure: Regenerated.
63834         * config.h.in (DO_VERSIONING): Remove macro.
63835         * Makerules [$(versioning) = yes]: Change conditionals to
63836         [$(build-shared) = yes].
63837         * config.make.in (versioning): Remove variable.
63838         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63839         [$(build-shared) = yes].
63840         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63841         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63842         * elf/Makefile [$(versioning) = yes]: Change conditionals to
63843         [$(build-shared) = yes].
63844         * extra-lib.mk [$(versioning) = yes]: Likewise.
63845         * hurd/Makefile [$(versioning) = yes]: Likewise.
63846         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63847         [SHARED].
63848         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63849         [SHARED].
63850         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63851         [SHARED && !NO_HIDDEN].
63852         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63853         [SHARED].
63854         [SHARED && DO_VERSIONING]: Likewise..
63855         * libio/Makefile [$(versioning) = yes]: Change conditionals to
63856         [$(build-shared) = yes].
63857         * manual/install.texi (--disable-versioning): Remove
63858         documentation.
63859         * INSTALL: Regenerated.
63860         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63861         to [SHARED].
63862         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63863         [$(build-shared) = yes].
63864         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63865         * sysdeps/i386/i686/multiarch/strstr-c.c
63866         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63867         [SHARED && !NO_HIDDEN].
63868         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63869         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63870         * sysdeps/powerpc/powerpc32/dl-machine.c
63871         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63872         * sysdeps/powerpc/powerpc32/sysdep.h
63873         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63874         to [SHARED && PIC && !NO_HIDDEN].
63875         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63876         conditional to [SHARED].
63878 2013-09-04   Will Newton  <will.newton@linaro.org>
63880         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63881         * benchtests/bench-string.h: Include bench-timing.h instead
63882         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63883         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63884         call to HP_TIMING_DIFF_INIT.
63885         * benchtests/bench-memccpy.c: Use bench-timing.h macros
63886         instead of hp-timing.h macros.
63887         * benchtests/bench-memchr.c: Likewise.
63888         * benchtests/bench-memcmp.c: Likewise.
63889         * benchtests/bench-memcpy.c: Likewise.
63890         * benchtests/bench-memmem.c: Likewise.
63891         * benchtests/bench-memmove.c: Likewise.
63892         * benchtests/bench-memset.c: Likewise.
63893         * benchtests/bench-rawmemchr.c: Likewise.
63894         * benchtests/bench-strcasecmp.c: Likewise.
63895         * benchtests/bench-strcasestr.c: Likewise.
63896         * benchtests/bench-strcat.c: Likewise.
63897         * benchtests/bench-strchr.c: Likewise.
63898         * benchtests/bench-strcmp.c: Likewise.
63899         * benchtests/bench-strcpy.c: Likewise.
63900         * benchtests/bench-strcpy_chk.c: Likewise.
63901         * benchtests/bench-strlen.c: Likewise.
63902         * benchtests/bench-strncasecmp.c: Likewise.
63903         * benchtests/bench-strncat.c: Likewise.
63904         * benchtests/bench-strncmp.c: Likewise.
63905         * benchtests/bench-strncpy.c: Likewise.
63906         * benchtests/bench-strnlen.c: Likewise.
63907         * benchtests/bench-strpbrk.c: Likewise.
63908         * benchtests/bench-strrchr.c: Likewise.
63909         * benchtests/bench-strspn.c: Likewise.
63910         * benchtests/bench-strstr.c: Likewise.
63912 2013-09-04  Will Newton  <will.newton@linaro.org>
63914         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63916 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
63918         [BZ #15427]
63919         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63920         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63921         * math/libm-test.inc (lgamma_test_data): Add more tests.
63922         * sysdeps/i386/fpu/libm-test-ulps: Update.
63923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63925 2013-09-03   Ondƙej BĂ­lka  <neleai@seznam.cz>
63927         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63929         Add ifunc.
63930         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63931         Add strcmp-sse2-unaligned
63932         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63934 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
63936         * Versions.def (libc): Add GLIBC_2.19.
63938 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
63940         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63941         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63943 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
63945         [BZ #14155]
63946         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63947         intermediate calculations in recurrence.
63948         (__ieee754_ynf): Likewise.
63949         * math/libm-test.inc (jn_test_data): Do not allow spurious
63950         underflow exception.  Add more tests.
63951         (yn_test_data): Add more tests.
63952         * sysdeps/i386/fpu/libm-test-ulps: Update.
63953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63955 2013-09-02   Ondƙej BĂ­lka  <neleai@seznam.cz>
63957         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
63959 2013-08-30   Ondƙej BĂ­lka  <neleai@seznam.cz>
63961         * csu/init-first.c: Fix then/than typos.
63962         * locale/programs/ld-collate.c: Likewise.
63963         * locale/programs/linereader.h: Likewise.
63964         * manual/charset.texi: Likewise.
63965         * manual/filesys.texi: Likewise.
63966         * manual/stdio.texi: Likewise.
63967         * manual/string.texi: Likewise.
63968         * stdlib/fmtmsg.c: Likewise.
63969         * sysdeps/i386/stpncpy.S: Likewise.
63970         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63971         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
63972         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63973         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63975 2013-08-30   Ondƙej BĂ­lka  <neleai@seznam.cz>
63977         * elf/dl-open.c: Fix typos.
63978         * iconvdata/gbbig5.c: Likewise.
63979         * iconvdata/iso-2022-jp.c: Likewise.
63980         * iconv/gconv_int.h: Likewise.
63981         * iconv/loop.c: Likewise.
63982         * nis/rpcsvc/nis.h: Likewise.
63983         * resolv/ns_name.c: Likewise.
63984         * stdio-common/vfscanf.c: Likewise.
63985         * streams/stropts.h: Likewise.
63986         * sunrpc/rpc_thread.c: Likewise.
63987         * sysdeps/i386/strpbrk.S: Likewise.
63988         * sysdeps/ieee754/k_standard.c: Likewise.
63989         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63990         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63991         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
63992         * sysdeps/mach/hurd/profil.c: Likewise.
63993         * sysdeps/s390/dl-procinfo.h: Likewise.
63994         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
63995         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
63996         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
63997         * sysdeps/x86_64/dl-trampoline.S: Likewise.
63998         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64000 2013-08-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
64002         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
64003         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
64005 2013-08-29  Ondƙej BĂ­lka  <neleai@seznam.cz>
64007         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
64008         aix specific files.
64009         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
64010         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
64011         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
64012         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
64013         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
64014         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
64015         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
64016         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
64018 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
64019             Roland McGrath  <roland@hack.frob.com>
64021         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
64022         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
64024 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64026         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
64027         __executable_start symbol instead of _start.
64029 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
64031         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
64032         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
64033         Move macros to...
64034         * sysdeps/gnu/ldsodefs.h: ... this new file.
64036         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
64037         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
64038         instead of ELFOSABI_LINUX.
64040         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
64041         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
64042         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
64043         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
64044         Likewise.
64045         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
64046         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
64047         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
64048         Likewise.
64049         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
64050         (ibm_extended_long_double): Add ieee_nan member.
64051         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
64052         (do_test): New function.
64054         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
64055         TEST_TRUNC.
64056         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
64057         functions, renamed from truncdfsf_test, trunctfsf_test,
64058         trunctfdf_test.
64059         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
64060         functions.
64061         (do_test): Run all these.
64063 2013-08-29   Ondƙej BĂ­lka  <neleai@seznam.cz>
64065         * argp/argp-help.c: Fix typos.
64066         * argp/argp-parse.c: Likewise.
64067         * debug/backtracesyms.c: Likewise.
64068         * elf/elf.h: Likewise.
64069         * malloc/malloc.c: Likewise.
64070         * nis/nis_print.c: Likewise.
64071         * resolv/res_comp.c: Likewise.
64072         * stdlib/stdlib.h: Likewise.
64073         * sunrpc/clnt_tcp.c: Likewise.
64074         * sunrpc/clnt_udp.c: Likewise.
64075         * sunrpc/clnt_unix.c: Likewise.
64076         * sysdeps/unix/bsd/ptsname.c: Likewise.
64077         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
64078         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
64079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
64080         Likewise.
64081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
64082         Likewise.
64083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
64084         Likewise.
64085         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64087 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64089         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
64090         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64092 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
64094         [BZ #15897]
64095         * dlfcn/Makefile (tests): Add bug-dl-leaf.
64096         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
64097         ($(objpfx)bug-dl-leaf): New rule.
64098         ($(objpfx)bug-dl-leaf.so): Likewise.
64099         ($(objpfx)bug-dl-leaf.out): Likewise.
64100         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
64101         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
64102         * dlfcn/bug-dl-leaf.c: New test.
64103         * dlfcn/bug-dl-leaf-lib.c: Likewise.
64104         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
64105         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
64106         (dlclose): Likewise.
64107         (dlmopen): Likewise.
64109 2013-08-27  Roland McGrath  <roland@hack.frob.com>
64111         * include/netdb.h [!_ISOMAC]:
64112         Don't include <tls.h>.
64113         (h_errno, __libc_h_errno): Move declaration and macros out of
64114         [_LIBC_REENTRANT].
64116         * include/resolv.h [_RESOLV_H_]:
64117         Don't include <tls.h>.
64118         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64119         * resolv/res_libc.c: Don't include <tls.h>.
64120         (_res): Use __attribute__ ((nocommon)) in place of
64121         __attribute__ ((section (".bss"))).
64123         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64124         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
64126         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
64128         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64129         only under [SIOCGIFCONF && SIOCGIFNETMASK].
64131         * resolv/res_mkquery.c: Include <sys/time.h>.
64133         * inet/ifreq.c: Moved to ...
64134         * sysdeps/unix/ifreq.c: ... here.
64135         * inet/ifreq.c: New file, true stub version.
64137         * socket/sa_len.c: New file.
64138         * socket/Makefile (aux): Add it.
64139         * sysdeps/unix/sysv/linux/Makefile
64140         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64141         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64142         and #include <socket/sa_len.c>.
64143         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64144         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
64146         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64147         * bits/socket.h: ... here.
64149         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64150         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64151         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
64153 2013-08-27  Andreas Schwab  <schwab@suse.de>
64155         [BZ #15736]
64156         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64157         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64158         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64159         * string/test-strcasecmp.c (test_main): Run tests in several
64160         locales.
64161         * string/test-strncasecmp.c (test_main): Likewise.
64163         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64164         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64165         to __strcasecmp_nonascii and __strncasecmp_nonascii.
64166         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64167         (__strncasecmp_ssse3) [PIC]: Likewise.
64169 2013-08-26  Roland McGrath  <roland@hack.frob.com>
64171         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64173         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64174         instead of explicitly declaring xdecrypt.
64175         * nis/nss_nis/nis-publickey.c: Likewise.
64177 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64179         [BZ #15890]
64180         * nscd/aicache.c: Include res_hconf.h.
64181         (addhstaiX): Initialize res_hconf.
64183 2013-08-26  Andreas Schwab  <schwab@suse.de>
64185         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64186         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64188 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64190         * nscd/aicache.c (addhstaiX): Fix indentation.
64192 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
64194         * configure.ac: Quote $build_pt_chown test.
64195         * configure: Regenerated.
64197 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
64199         [BZ #15532]
64200         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64201         * math/s_cexpf.c (__cexpf): Likewise.
64202         * math/s_cexpl.c (__cexpl): Likewise.
64203         * math/libm-test.inc (cexp_test_data): Correct expected return
64204         value for NaN + i0.  Add another test.
64206 2013-08-22  David S. Miller  <davem@davemloft.net>
64208         * po/ca.po: Update Catalan translation from translation project.
64209         * po/uk.po: Add Ukrainian translations from translation project.
64211 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
64213         [BZ #15797]
64214         * math/s_fdim.c (__fdim): Check for infinite arguments if result
64215         is infinite, not alongside NaN test.
64216         * math/s_fdimf.c (__fdimf): Likewise.
64217         * math/s_fdiml.c (__fdiml): Likewise.
64218         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
64219         errno is unchanged.
64221 2013-08-21   Ondƙej BĂ­lka  <neleai@seznam.cz>
64223         * argp/argp-help.c: Fix typos.
64224         * crypt/speeds.c: Likewise.
64225         * csu/check_fds.c: Likewise.
64226         * elf/dl-load.c: Likewise.
64227         * elf/dl-open.c: Likewise.
64228         * elf/reldep3.c: Likewise.
64229         * elf/reldep.c: Likewise.
64230         * elf/sprof.c: Likewise.
64231         * iconv/iconv_charmap.c: Likewise.
64232         * iconv/skeleton.c: Likewise.
64233         * iconv/strtab.c: Likewise.
64234         * io/lockf64.c: Likewise.
64235         * libio/libioP.h: Likewise.
64236         * resolv/gai_notify.c: Likewise.
64237         * resolv/ns_name.c: Likewise.
64238         * resolv/ns_samedomain.c: Likewise.
64239         * resolv/res_send.c: Likewise.
64240         * stdlib/random.c: Likewise.
64241         * sunrpc/rpc/xdr.h: Likewise.
64242         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64243         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64244         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64245         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64246         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64247         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64248         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64249         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64250         * sysdeps/mach/hurd/check_fds.c: Likewise.
64251         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64252         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64253         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64254         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64255         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64256         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64257         * sysdeps/pthread/aio_notify.c: Likewise.
64258         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64259         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64260         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64261         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64262         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64264 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64266         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64267         version if bit_Slow_SSE4_2 is set.
64268         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64269         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64271 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64273         [BZ #15867]
64274         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64275         trampoline stack frame information.
64276         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64277         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64278         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64279         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64280         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64281         * sysdeps/unix/sysv/linux/powerpc/init-first.c
64282         (_libc_vdso_platform_setup): Initialize the signal trampolines.
64283         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64284         sa_flags value.
64285         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64286         interrupting a syscall and set with option SA_SIGINFO.
64288 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64290         [BZ #15531]
64291         * math/s_cproj.c (__cproj): Only return an infinity if one part of
64292         argument is infinite.
64293         * math/s_cprojf.c (__cprojf): Likewise.
64294         * math/s_cprojl.c (__cprojl): Likewise.
64295         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64296         * math/libm-test.inc (cproj_test_data): Add more tests.
64298         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64300         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64301         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64302         size.  Use __ffs to determine corresponding shift.
64304 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64305             Roland McGrath  <roland@hack.frob.com>
64307         * Makefile (INSTALL): Remove trailing blank lines from output of
64308         makeinfo.
64310 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64312         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64313         Align 32 bit compat elf_greg to 8 bytes.
64315 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
64317         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64319 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64321         * string/strcoll_l.c (coll_seq): New structure.
64322         (get_next_seq_cached): New function.
64323         (get_next_seq): New function.
64324         (do_compare): New function.
64325         (STRCOLL): Use GNU style definition.  Simplify implementation
64326         by using get_next_seq, get_next_seq_cached and do_compare.
64328 2013-08-16  Florian Weimer  <fweimer@redhat.com>
64330         [BZ #14699]
64331         CVE-2013-4237
64332         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64333         member.
64334         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64335         member.
64336         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64337         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64338         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
64339         conditional.
64340         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64341         GETDENTS_64BIT_ALIGNED.
64342         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64343         * manual/filesys.texi (Reading/Closing Directory): Document
64344         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
64345         strongly.
64346         * manual/conf.texi (Limits for Files): Add portability note to
64347         NAME_MAX, PATH_MAX.
64348         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64350 2013-08-13  Andreas Schwab  <schwab@suse.de>
64352         [BZ #15749]
64353         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64354         of fabs.
64355         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64356         LDBL_MAX_EXP >= 16384]: Add tests for it.
64358 2013-08-12  David S. Miller  <davem@davemloft.net>
64360         * version.h (RELEASE): Set to "development".
64361         (VERSION): Set to "2.18.90".
64362         * NEWS: Add 2.19 section.
64364 2013-08-03  David S. Miller  <davem@davemloft.net>
64366         * po/ko.po: Update Korean translation from translation project.
64368 2013-08-01  David S. Miller  <davem@davemloft.net>
64370         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
64371         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64372         Bilka.
64374 2013-07-30  David S. Miller  <davem@davemloft.net>
64376         * po/fr.po: Update French translation from translation project.
64378 2013-07-28  David S. Miller  <davem@davemloft.net>
64380         * po/cs.po: Update Czech translation from translation project.
64382         * po/sv.po: Update Swedish translation from translation project.
64384 2013-07-27  David S. Miller  <davem@davemloft.net>
64386         * po/eo.po: Update Esperanto translation from translation project.
64388         * po/vi.po: Update Vietnamese translation from translation project.
64390         * po/de.po: Update German translation from translation project.
64392 2013-07-26  David S. Miller  <davem@davemloft.net>
64394         * po/bg.po: Update Bulgarian translation from translation project.
64396         * po/nl.po: Update Dutch translation from translation project.
64397         * po/pl.po: Update Polish translation from translation project.
64398         * po/ru.po: Update Russian translation from translation project.
64400 2013-07-24  David S. Miller  <davem@davemloft.net>
64402         * po/libc.pot: Update.
64404 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64406         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64407         variable page size.
64408         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64409         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64410         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64412 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64414         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64416 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64417             Andreas Schwab  <schwab@suse.de>
64418             Roland McGrath  <roland@hack.frob.com>
64419             Joseph Myers  <joseph@codesourcery.com>
64420             Carlos O'Donell  <carlos@redhat.com>
64422         [BZ #15755]
64423         * config.h.in: Define HAVE_PT_CHOWN.
64424         * config.make.in (build-pt-chown): New variable.
64425         * configure.in (--enable-pt_chown): New configure option.
64426         * configure: Regenerate.
64427         * login/Makefile: Include Makeconfig.  Build pt_chown only if
64428         build-pt-chown is enabled.
64429         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64430         pt_chown to fix pty ownership.
64431         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64432         CLOSE_ALL_FDS.
64433         * manual/install.texi (Configuring and compiling): Mention
64434         --enable-pt_chown. Add @findex for grantpt.
64435         * INSTALL: Regenerate.
64437 2013-07-20  David S. Miller  <davem@davemloft.net>
64439         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64440         difference between 32-bit and 64-bit.
64442 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
64444         [BZ #15711]
64445         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64446         Avoid system header dependency with -ffreestanding.
64447         ($(objpfx)bits/syscall%d): Likewise.
64449 2013-07-13  David S. Miller  <davem@davemloft.net>
64451         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64452         underflows from atanl/atan2l due to bug 15319.
64453         (casinh_test_data): Likewise.
64455 2013-07-07  David S. Miller  <davem@davemloft.net>
64457         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64459 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
64461         * sysdeps/i386/fpu/libm-test-ulps: Update.
64462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64464 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64466         * configure.in (--enable-lock-elision): Fix message text.
64467         * INSTALL: Regenerate.
64468         * configure: Regenerate.
64470 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64474 2013-07-03  Andreas Jaeger  <aj@suse.de>
64476         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64477         define.
64478         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64479         (ptrace_peeksiginfo_args): Add.
64480         (__ptrace_peeksiginfo_flags): Add.
64481         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64482         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64483         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64485 2013-07-03  Allan McRae  <allan@archlinux.org>
64487         * sysdeps/i386/fpu/libm-test-ulps: Update.
64489 2013-07-02  David S. Miller  <davem@davemloft.net>
64491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64493 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
64495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64497 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64499         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64502 2013-07-02  Andi Kleen <ak@linux.intel.com>
64504         * config.h.in (ENABLE_LOCK_ELISION): Add.
64505         * configure.in (--enable-lock-elision): Add option.
64506         * manual/install.texi: Document --enable lock elision.
64507         * configure: Regenerate
64508         * INSTALL: Regenerate.
64510 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
64512         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64513         SSE4.2 strcasecmp for libc.a.
64514         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64516 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64518         [BZ #13304]
64519         * soft-fp/op-common.h (_FP_FMA): New macro.
64520         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64521         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
64522         (_FP_MUL_MEAT_1_imm): ... here.
64523         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
64524         (_FP_MUL_MEAT_1_wide): ... here.
64525         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
64526         (_FP_MUL_MEAT_1_hard): ... here.
64527         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64528         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
64529         (_FP_MUL_MEAT_2_wide): ... here.
64530         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
64531         (_FP_MUL_MEAT_2_wide_3mul): ... here.
64532         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
64533         (_FP_MUL_MEAT_2_gmp): ... here.
64534         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64535         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
64536         (_FP_MUL_MEAT_4_wide): ... here.
64537         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
64538         (_FP_MUL_MEAT_4_gmp): ... here.
64539         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64540         (_FP_WFRACBITS_DW_S): Likewise.
64541         (_FP_WFRACXBITS_DW_S): Likewise.
64542         (_FP_HIGHBIT_DW_S): Likewise.
64543         (FP_FMA_S): Likewise.
64544         (_FP_FRAC_HIGH_DW_S): Likewise.
64545         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64546         (_FP_WFRACBITS_DW_D): Likewise.
64547         (_FP_WFRACXBITS_DW_D): Likewise.
64548         (_FP_HIGHBIT_DW_D): Likewise.
64549         (FP_FMA_D): Likewise.
64550         (_FP_FRAC_HIGH_DW_D): Likewise.
64551         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64552         (_FP_WFRACBITS_DW_E): Likewise.
64553         (_FP_WFRACXBITS_DW_E): Likewise.
64554         (_FP_HIGHBIT_DW_E): Likewise.
64555         (FP_FMA_E): Likewise.
64556         (_FP_FRAC_HIGH_DW_E): Likewise.
64557         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64558         (_FP_WFRACBITS_DW_Q): Likewise.
64559         (_FP_WFRACXBITS_DW_Q): Likewise.
64560         (_FP_HIGHBIT_DW_Q): Likewise.
64561         (FP_FMA_Q): Likewise.
64562         (_FP_FRAC_HIGH_DW_Q): Likewise.
64563         * soft-fp/fmasf4.c: New file.
64564         * soft-fp/fmadf4.c: Likewise.
64565         * soft-fp/fmatf4.c: Likewise.
64567 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64569         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64570         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64571         Silvermont.
64572         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64573         macro.
64574         (index_Slow_SSE4_2): Likewise.
64575         (index_Prefer_PMINUB_for_stringop): Likewise.
64576         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64577         bit_Slow_SSE4_2 is set.
64578         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64579         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64581 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64583         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64584         rtld_global._dl_hwcap2.
64585         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64586         POWER8.
64587         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64588         POWER8 feature descriptions defined in _dl_hwcap2.
64589         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64590         string handling for POWER8 feature bits.
64591         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64592         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64593         _dl_powerpc_cap_flags.
64594         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64595         * sysdeps/powerpc/rtld-global-offsets.sym
64596         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64597         _dl_hwcap2 in the rtld_global_ro structure.
64599 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64601         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64602         hardware capabilities in support of AT_HWCAP2.
64603         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64604         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64605         GLRO(dl_hwcap2).
64606         (_dl_show_auxv): Add support for calling _dl_procinfo to display
64607         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
64608         explicitly the unknown a_type display mechanism is used.
64609         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64610         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64611         struct member.
64612         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64613         to macro prototype for AT_HWCAP2 support.
64614         * sysdeps/i386/dl-procinfo.h: Likewise.
64615         * sysdeps/s390/dl-procinfo.h: Likewise.
64616         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64617         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
64618         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
64619         return -1 for unknown a_type display fallback.
64620         * sysdeps/sparc/dl-procinfo.h: Likewise.
64621         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64622         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64624 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
64626         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64627         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64629 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
64631         [BZ #12492]
64632         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64633         mprotect making __stack_prot writable.
64635 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
64636             Joseph Myers  <joseph@codesourcery.com>
64638         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64639         as being properly aligned.
64641 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
64643         * dlfcn/modstatic5.c: New file.
64644         * dlfcn/tststatic5.c: New file.
64645         * dlfcn/Makefile (tests): Add tststatic5.
64646         (tests-static): Likewise.
64647         (modules-names): Add modstatic5.
64648         (tststatic5-ENV): New variable.
64649         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64651         [BZ #15022]
64652         * elf/dl-support.c (_dl_main_map): New variable.
64653         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64654         (_dl_nns, _dl_load_adds): Set to 1.
64655         (_dl_initial_searchlist): Refer to _dl_main_map.
64656         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64657         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64658         call to _dl_get_origin.
64659         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64660         around call_map.
64661         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64662         * dlfcn/modstatic3.c: New file.
64663         * dlfcn/tststatic3.c: New file.
64664         * dlfcn/tststatic4.c: New file.
64665         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64666         (tests-static): Likewise.
64667         (modules-names): Add modstatic3.
64668         (tststatic3-ENV, tststatic4-ENV): New variables.
64669         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64670         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64672 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
64674         * configure.in (CC): Require GCC version 4.4 or later.
64675         * configure: Regenerated.
64676         * manual/install.texi (Tools for Compilation): Update GCC version
64677         requirement.
64678         * INSTALL: Regenerated.
64680 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64682         [BZ #15674]
64683         * string/test-memcmp.c (check2): New.
64684         (main): Call check2.
64686         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64688 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
64690         [BZ #15022]
64691         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64692         over to...
64693         (dl_open_worker) [!SHARED]: ... here.
64695 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64697         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64699 2013-06-25  Richard Henderson  <rth@redhat.com>
64701         * locale/programs/locarchive.c: Include <libc-internal.h>
64703 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
64705         * manual/texinfo.tex: Update to version 2013-06-21.17, with
64706         trailing whitespace removed.
64708 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64710         [BZ #10283]
64711         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64712         * locale/programs/locarchive.c: Include libc-mmap.h.
64713         (prepare_address_space): Take two new outputs (the mmap base and len).
64714         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
64715         values.
64716         (create_archive): Declare new mmap base and len values for
64717         prepare_address_space, and store the result in ah.
64718         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64719         (enlarge_archive): If ah->mmap_base is not NULL, use that and
64720         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64721         Declare new mmap base and len values for
64722         prepare_address_space, and store the result in new_ah.
64723         (open_archive): Declare new mmap base and len values for
64724         prepare_address_space, and store the result in ah.
64725         (close_archive): If ah->mmap_base is not NULL, use that and
64726         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64727         * sysdeps/generic/libc-mmap.h: New file.
64729 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64731         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64732         (ALIGN_UP): Likewise.
64733         (PTR_ALIGN_DOWN): Likewise.
64734         (PTR_ALIGN_UP): Likewise.
64736 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64738         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64739         entry mapped to PPC_PLATFORM_POWER8.
64740         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64741         POWER8.
64742         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64743         (_dl_string_platform): Add case for exporting platform position for
64744         POWER8.
64745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64746         search path to sysdeps/powerpc/powerpc32/power8 directory.
64747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64748         search path to sysdeps/powerpc/powerpc64/power8 directory.
64749         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64750         power7 directories.
64751         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64752         power7 directories.
64754 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64756         * INSTALL: Regenerate.
64758         * nscd/connections.c (nscd_init): Fix comment.
64760 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
64762         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64764         [BZ #15667]
64765         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64766         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64768 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64770         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64771         DL_DST_REQ_STATIC.
64772         (DL_DST_REQ_STATIC): Remove macro.
64774 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
64776         [BZ #7006]
64777         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64778         with a shift of 0 bits.
64780 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64782         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64783         $(tststatic-ENV).
64785 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64787         [BZ #15655]
64788         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64790 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64792         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64793         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64794         accepts -fno-tree-loop-distribute-patterns.
64795         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64796         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64797         recursive call.
64798         * string/memset.c (memset): Likewise.
64799         * string/test-memmove.c (simple_memmove): Disable loop transformation
64800         to library calls.
64801         * string/test-memset.c (simple_memset): Likewise.
64802         * benchtests/bench-memmove.c (simple_memmove): Likewise.
64803         * benchtests/bench-memset.c (simple_memset): Likewise.
64804         * configure: Regenerated.
64806 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
64808         * math/test-misc.c (main): Ignore fesetround failure when failures
64809         of subsequent rounding tests would be ignored.
64811         [BZ #15654]
64812         * math/fedisblxcpt.c (fedisableexcept): Return 0.
64813         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64814         * math/fegetenv.c (__fegetenv): Return 0.
64815         * math/fegetexcept.c (fegetexcept): Return 0.
64816         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64817         FE_TONEAREST.
64818         * math/feholdexcpt.c (feholdexcept): Return 0.
64819         * math/fesetenv.c (__fesetenv): Return 0.
64820         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64821         argument FE_TONEAREST.
64822         * math/feupdateenv.c (__feupdateenv): Return 0.
64823         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64825 2013-06-18  Roland McGrath  <roland@hack.frob.com>
64827         * elf/rtld-Rules (rtld-compile-command.S): New variable.
64828         (rtld-compile-command.s, rtld-compile-command.c): New variables.
64829         ($(objpfx)rtld-%.os rules): Use them.
64831 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64833         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64834         fields.
64836 2013-06-17  Roland McGrath  <roland@hack.frob.com>
64838         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64839         length of target pattern, then descending length of dependency pattern.
64840         * configure.in (AWK): Require gawk 3.1.2 or newer.
64841         * manual/install.texi (Tools for Compilation): Say that we do.
64842         * configure: Regenerated.
64844         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64845         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64846         * scripts/sysd-rules.awk: ... this new script.
64847         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64848         than a glob-style pattern.
64850 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
64852         * math/test-misc.c (main): Do not treat incorrectly rounded
64853         conversions as failure unless ROUNDING_TESTS passes.
64855 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
64857         [BZ #15631]
64858         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64859         restore exception state around main square root computation, then
64860         check for inexactness explicitly.
64862         * math/libm-test.inc (fma_test_data): Add another test.
64864 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64866         * manual/threads.texi (Non-POSIX Extensions): New document
64867         node.  Document pthread_getattr_default_np and
64868         pthread_setattr_default_np.
64870         * Versions.def (libpthread): Add GLIBC_2.18.
64871         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64873         Likewise.
64874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64875         Likewise.
64876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64877         Likewise.
64878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64879         Likewise.
64880         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64881         Likewise.
64882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64883         Likewise.
64884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64885         Likewise.
64886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64887         Likewise.
64888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64889         Likewise.
64891 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64894         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64896 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64897             H.J. Lu  <hjl.tools@gmail.com>
64899         [BZ #15627]
64900         * sysdeps/x86_64/rtld-memset.c: Remove file.
64901         * sysdeps/x86_64/rtld-memset.S: New file.
64903 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
64905         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64906         (test_in_one_mode): Take arguments for whether the rounding mode
64907         is supported for each floating-point type.
64908         (do_test): Pass new arguments to test_in_one_mode using
64909         ROUNDING_TESTS.
64911 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64913         * posix/tst-waitid.c (do_test): Distinguish different instances of
64914         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
64915         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64916         before entering the kernel for waitpid.
64918 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64920         * NEWS: Fix note on clock function precision.  Text by Roland
64921         McGrath.
64923 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64925         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64926         it into place only when and if the sanity check passes.
64928 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
64930         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64931         output for whether conversion result is exact.  Take argument
64932         indicating whether type is IBM long double.
64933         (round_for_all): Change need_exact field to ibm_ld.
64934         * stdlib/tst-strtod-round.c (struct exactness): New type.
64935         (struct test): Change bool ld_ok field to struct exactness exact.
64936         (TEST): Update all definitions for change to field.
64937         (tests): Regenerate array contents.
64938         (test_in_one_mode): Take pointer to new field instead of old ld_ok
64939         field value.  Check for IBM long double here.
64940         (do_test): Update calls to test_in_one_mode.
64942 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64944         [BZ #12515]
64945         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64946         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64948 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64950         [BZ #15605]
64951         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64952         generated by the compiler on loop optimizations.
64953         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64954         general definitions.
64956 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
64958         * math/bug-nextafter.c: Include <math-tests.h>.
64959         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64960         the relevant type.
64961         * math/bug-nexttoward.c: Include <math-tests.h>.
64962         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64963         the relevant type.
64964         * math/test-misc.c: Include <math-tests.h>.
64965         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64966         the relevant type.
64968 2013-06-12  Andreas Jaeger  <aj@suse.de>
64970         * po/ia.po: Update Interlingua translation from translation
64971         project.
64973 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
64975         * include/fenv.h: Include stdbool.h.
64976         (struct rm_ctx): New structure.
64977         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
64978         Define macro.
64979         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
64980         (SET_RESTORE_ROUNDF): Likewise.
64981         (SET_RESTORE_ROUNDL): Likewise.
64982         (SET_RESTORE_ROUND_NOEX): Likewise.
64983         (SET_RESTORE_ROUND_NOEXF): Likewise.
64984         (SET_RESTORE_ROUND_NOEXL): Likewise.
64985         (SET_RESTORE_ROUND_53BIT): Likewise.
64986         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
64987         (libc_feresetround_noexf_ctx): Likewise.
64988         (libc_feresetround_noexl_ctx): Likewise.
64989         (libc_feholdsetround_53bit_ctx): Likewise.
64990         (libc_feresetround_53bit_ctx): Likewise.
64991         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
64992         (libc_feholdexcept_setround_sse_ctx): New function.
64993         (libc_fesetenv_sse_ctx): Likewise.
64994         (libc_feupdateenv_sse_ctx): Likewise.
64995         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
64996         (libc_feholdexcept_setround_387_ctx): Likewise.
64997         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
64998         (libc_feholdsetround_387_prec_ctx): Likewise.
64999         (libc_feholdsetround_387_ctx): Likewise.
65000         (libc_feholdsetround_387_53bit_ctx): Likewise.
65001         (libc_feholdsetround_sse_ctx): Likewise.
65002         (libc_feresetround_sse_ctx): Likewise.
65003         (libc_feresetround_387_ctx): Likewise.
65004         (libc_feupdateenv_387_ctx): Likewise.
65005         (libc_feholdexcept_setroundf_ctx): Define macro.
65006         (libc_fesetenvf_ctx): Likewise.
65007         (libc_feupdateenvf_ctx): Likewise.
65008         (libc_feholdsetroundf_ctx): Likewise.
65009         (libc_feresetroundf_ctx): Likewise.
65010         (libc_feholdexcept_setround_ctx): Likewise.
65011         (libc_fesetenv_ctx): Likewise.
65012         (libc_feupdateenv_ctx): Likewise.
65013         (libc_feholdsetround_ctx): Likewise.
65014         (libc_feresetround_ctx): Likewise.
65015         (libc_feholdexcept_setroundl_ctx): Likewise.
65016         (libc_feupdateenvl_ctx): Likewise.
65017         (libc_feholdsetroundl_ctx): Likewise.
65018         (libc_feresetroundl_ctx): Likewise.
65019         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
65020         (libc_feresetround_53bit_ctx): Likewise.
65022 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65024         * locale/iso-639.def: Convert to UTF-8.
65026 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
65028         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
65029         (EXCEPTION_TESTS_double): Likewise.
65030         (EXCEPTION_TESTS_long_double): Likewise.
65031         (EXCEPTION_TESTS): Likewise.
65032         * math/libm-test.inc (test_exceptions): Only test exceptions if
65033         EXCEPTION_TESTS (FLOAT).
65035 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65037         * benchtests/Makefile (string-bench): Add strcpy_chk and
65038         stpcpy_chk.
65039         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
65040         * benchtests/bench-stpcpy_chk.c: New file.
65041         * benchtests/bench-strcpy_chk-ifunc.c: New file.
65042         * benchtests/bench-strcpy_chk.c: New file.
65043         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
65044         code.
65045         (do_test): Likewise.
65047 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65049         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
65050         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
65051         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
65052         with tabs where appropriate.
65053         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
65054         dl-procinfo.h.
65055         [PPC_PLATFORM_PPC440]: Likewise.
65056         [PPC_PLATFORM_PPC464]: Likewise.
65057         [PPC_PLATFORM_PPC476]: Likewise.
65058         (_dl_string_platform): Add support for detecting ppc405, ppc440,
65059         ppc464, and ppc476 platform strings merging from ports/
65060         dl-procinfo.h.
65062 2013-06-11  Andreas Schwab  <schwab@suse.de>
65064         [BZ #14991]
65065         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
65066         (from_ucs4_idx): Regenerate.
65067         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
65068         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
65069         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
65070         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
65071         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
65072         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
65073         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
65074         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
65075         from FROM_LOOP and TO_LOOP specific macros.
65076         (BODY): Handle combining characters.
65077         * iconvdata/BIG5HKSCS.irreversible: Update.
65078         * iconvdata/BIG5HKSCS.precomposed: New file.
65079         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
65080         characters.
65081         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
65083 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65085         * include/sys/time.h: Fix indentation and add copyright header.
65087         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
65088         (do_test): Likewise.
65089         * string/test-memchr.c (do_one_test): Likewise.
65090         (do_test): Likewise.
65091         * string/test-memcmp.c (do_one_test): Likewise.
65092         (do_test): Likewise.
65093         * string/test-memcpy.c (do_one_test): Likewise.
65094         (do_test): Likewise.
65095         * string/test-memmem.c (do_one_test): Likewise.
65096         (do_test): Likewise.
65097         (do_random_tests): Likewise.
65098         * string/test-memmove.c (do_one_test): Likewise.
65099         (do_test): Likewise.
65100         * string/test-memset.c (do_one_test): Likewise.
65101         (do_test): Likewise.
65102         * string/test-rawmemchr.c (do_one_test): Likewise.
65103         (do_test): Likewise.
65104         * string/test-strcasecmp.c (do_one_test): Likewise.
65105         (do_test): Likewise.
65106         * string/test-strcasestr.c (do_one_test): Likewise.
65107         (do_test): Likewise.
65108         * string/test-strcat.c (do_one_test): Likewise.
65109         (do_test): Likewise.
65110         * string/test-strchr.c (do_one_test): Likewise.
65111         (do_test): Likewise.
65112         * string/test-strcmp.c (do_one_test): Likewise.
65113         (do_test): Likewise.
65114         * string/test-strcpy.c (do_one_test): Likewise.
65115         (do_test): Likewise.
65116         * string/test-string.h: Likewise.
65117         (test_init): Likewise.
65118         * string/test-strlen.c (do_one_test): Likewise.
65119         (do_test): Likewise.
65120         * string/test-strncasecmp.c (do_one_test): Likewise.
65121         (do_test): Likewise.
65122         * string/test-strncat.c (do_one_test): Likewise.
65123         (do_test): Likewise.
65124         * string/test-strncmp.c (do_one_test): Likewise.
65125         (do_test_limit): Likewise.
65126         (do_test): Likewise.
65127         * string/test-strncpy.c (do_one_test): Likewise.
65128         (do_test): Likewise.
65129         * string/test-strnlen.c (do_one_test): Likewise.
65130         (do_test): Likewise.
65131         * string/test-strpbrk.c (do_one_test): Likewise.
65132         (do_test): Likewise.
65133         * string/test-strrchr.c (do_one_test): Likewise.
65134         (do_test): Likewise.
65135         * string/test-strspn.c (do_one_test): Likewise.
65136         (do_test): Likewise.
65137         * string/test-strstr.c (do_one_test): Likewise.
65138         (do_test): Likewise.
65140         * benchtests/Makefile (string-bench): Add string benchmarks.
65141         * benchtests/bench-bcopy-ifunc.c: New file.
65142         * benchtests/bench-bcopy.c: New file.
65143         * benchtests/bench-bzero-ifunc.c: New file.
65144         * benchtests/bench-bzero.c: New file.
65145         * benchtests/bench-memccpy-ifunc.c: New file.
65146         * benchtests/bench-memccpy.c: New file.
65147         * benchtests/bench-memchr-ifunc.c: New file.
65148         * benchtests/bench-memchr.c: New file.
65149         * benchtests/bench-memcmp-ifunc.c: New file.
65150         * benchtests/bench-memcmp.c: New file.
65151         * benchtests/bench-memmem-ifunc.c: New file.
65152         * benchtests/bench-memmem.c: New file.
65153         * benchtests/bench-memmove-ifunc.c: New file.
65154         * benchtests/bench-memmove.c: New file.
65155         * benchtests/bench-mempcpy-ifunc.c: New file.
65156         * benchtests/bench-mempcpy.c: New file.
65157         * benchtests/bench-memset-ifunc.c: New file.
65158         * benchtests/bench-memset.c: New file.
65159         * benchtests/bench-rawmemchr-ifunc.c: New file.
65160         * benchtests/bench-rawmemchr.c: New file.
65161         * benchtests/bench-stpcpy-ifunc.c: New file.
65162         * benchtests/bench-stpcpy.c: New file.
65163         * benchtests/bench-stpncpy-ifunc.c: New file.
65164         * benchtests/bench-stpncpy.c: New file.
65165         * benchtests/bench-strcasecmp-ifunc.c: New file.
65166         * benchtests/bench-strcasecmp.c: New file.
65167         * benchtests/bench-strcasestr-ifunc.c: New file.
65168         * benchtests/bench-strcasestr.c: New file.
65169         * benchtests/bench-strcat-ifunc.c: New file.
65170         * benchtests/bench-strcat.c: New file.
65171         * benchtests/bench-strchr-ifunc.c: New file.
65172         * benchtests/bench-strchr.c: New file.
65173         * benchtests/bench-strchrnul-ifunc.c: New file.
65174         * benchtests/bench-strchrnul.c: New file.
65175         * benchtests/bench-strcmp-ifunc.c: New file.
65176         * benchtests/bench-strcmp.c: New file.
65177         * benchtests/bench-strcpy-ifunc.c: New file.
65178         * benchtests/bench-strcpy.c: New file.
65179         * benchtests/bench-strcspn-ifunc.c: New file.
65180         * benchtests/bench-strcspn.c: New file.
65181         * benchtests/bench-strlen-ifunc.c: New file.
65182         * benchtests/bench-strlen.c: New file.
65183         * benchtests/bench-strncasecmp-ifunc.c: New file.
65184         * benchtests/bench-strncasecmp.c: New file.
65185         * benchtests/bench-strncat-ifunc.c: New file.
65186         * benchtests/bench-strncat.c: New file.
65187         * benchtests/bench-strncmp-ifunc.c: New file.
65188         * benchtests/bench-strncmp.c: New file.
65189         * benchtests/bench-strncpy-ifunc.c: New file.
65190         * benchtests/bench-strncpy.c: New file.
65191         * benchtests/bench-strnlen-ifunc.c: New file.
65192         * benchtests/bench-strnlen.c: New file.
65193         * benchtests/bench-strpbrk-ifunc.c: New file.
65194         * benchtests/bench-strpbrk.c: New file.
65195         * benchtests/bench-strrchr-ifunc.c: New file.
65196         * benchtests/bench-strrchr.c: New file.
65197         * benchtests/bench-strspn-ifunc.c: New file.
65198         * benchtests/bench-strspn.c: New file.
65199         * benchtests/bench-strstr-ifunc.c: New file.
65200         * benchtests/bench-strstr.c: New file.
65202         * benchtests/Makefile: Disable parallel execution of targets.
65203         (string-bench): Add memcpy.
65204         (benchset): New variable to store a list of benchmark sets.
65205         (bench-func): Renamed from bench.
65206         (bench-set): New target.
65207         (bench): Depend on bench-func and bench-set.
65208         * benchtests/README: Add section on benchmark sets.
65209         * benchtests/bench-memcpy-ifunc.c: New file.
65210         * benchtests/bench-memcpy.c: New file.
65211         * benchtests/bench-string.h: New file.
65213 2013-06-11  Andreas Schwab  <schwab@suse.de>
65215         [BZ #15577]
65216         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65217         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65218         values in the triple.
65219         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65220         terminator in the group key.
65222 2013-06-11  Andreas Jaeger  <aj@suse.de>
65224         * po/zh_TW.po: Update Chinese (traditional) translation from
65225         translation project.
65227 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65229         * include/time.h (__clock_gettime): Add libc_hidden_proto.
65230         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65231         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
65232         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65233         (clock_getcpuclockid): Likewise.
65234         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65235         Add weak_alias and libc_hidden_def.
65236         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65237         * rt/clock_gettime.c (clock_gettime): Rename to
65238         __clock_gettime.  Add weak_alias and libc_hidden_def.
65239         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65240         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65241         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
65242         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65243         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65244         Likewise.
65245         * rt/clock_settime.c (clock_settime): Rename to
65246         __clock_settime.  Add weak_alias and libc_hidden_def.
65247         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65249 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
65251         * mach/err_boot.sub: Remove trailing whitespace.
65252         * mach/err_ipc.sub: Likewise.
65253         * mach/err_mach.sub: Likewise.
65255         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65256         (ROUNDING_TESTS_double): Likewise.
65257         (ROUNDING_TESTS_long_double): Likewise.
65258         (ROUNDING_TESTS): Likewise.
65259         * math/libm-test.inc: Include <math-tests.h>.
65260         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65261         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65262         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65263         (IF_ROUND_INIT_FE_UPWARD): Likewise.
65265 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65267         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65268         of assigning.
65270 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
65272         * sysdeps/gnu/errlist.awk: Do not generate space at end of
65273         otherwise empty TRANS lines.
65274         * sysdeps/gnu/errlist.c: Regenerated.
65276         * catgets/gencat.c (error_print): Use (void) in function
65277         definition.
65278         * crypt/crypt_util.c (__init_des): Likewise.
65279         * crypt/speeds.c (Stop): Likewise.
65280         (main): Likewise.
65281         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65282         * inet/ruserpass.c (token): Likewise.
65283         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65284         * intl/localealias.c (extend_alias_table): Likewise.
65285         * intl/plural-exp.c (init_germanic_plural): Likewise.
65286         * libio/fcloseall.c (__fcloseall): Likewise.
65287         * libio/genops.c (_IO_flush_all): Likewise.
65288         (_IO_flush_all_linebuffered): Likewise.
65289         (_IO_cleanup): Likewise.
65290         (_IO_iter_begin): Likewise.
65291         (_IO_iter_end): Likewise.
65292         (_IO_list_lock): Likewise.
65293         (_IO_list_unlock): Likewise.
65294         (_IO_list_resetlock): Likewise.
65295         * libio/getchar.c (getchar): Likewise.
65296         * libio/getchar_u.c (getchar_unlocked): Likewise.
65297         * libio/getwchar.c (getwchar): Likewise.
65298         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65299         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65300         * login/getpt.c (__getpt): Likewise.
65301         * login/tst-utmp.c (main): Likewise.
65302         * malloc/hooks.c (__malloc_check_init): Likewise.
65303         * malloc/malloc.c (__malloc_stats): Likewise.
65304         * malloc/mtrace.c (tr_break): Likewise.
65305         (mtrace): Likewise.
65306         (muntrace): Likewise.
65307         * misc/fstab.c (endfsent): Likewise.
65308         * misc/getclktck.c (__getclktck): Likewise.
65309         * misc/getdtsz.c (__getdtablesize): Likewise.
65310         * misc/gethostid.c (gethostid): Likewise.
65311         * misc/getpagesize.c (__getpagesize): Likewise.
65312         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65313         (__get_nprocs): Likewise.
65314         (__get_phys_pages): Likewise.
65315         (__get_avphys_pages): Likewise.
65316         * misc/getttyent.c (getttyent): Likewise.
65317         (setttyent): Likewise.
65318         (endttyent): Likewise.
65319         * misc/getusershell.c (getusershell): Likewise.
65320         (endusershell): Likewise.
65321         (setusershell): Likewise.
65322         (initshells): Likewise.
65323         * misc/hsearch.c (__hdestroy): Likewise.
65324         * misc/sync.c (sync): Likewise.
65325         * misc/syslog.c (closelog_internal): Likewise.
65326         (closelog): Likewise.
65327         * misc/ttyslot.c (ttyslot): Likewise.
65328         * misc/vhangup.c (vhangup): Likewise.
65329         * posix/fork.c (__fork): Likewise.
65330         * posix/getegid.c (__getegid): Likewise.
65331         * posix/geteuid.c (__geteuid): Likewise.
65332         * posix/getgid.c (__getgid): Likewise.
65333         * posix/getpid.c (__getpid): Likewise.
65334         * posix/getppid.c (__getppid): Likewise.
65335         * posix/getuid.c (__getuid): Likewise.
65336         * posix/pause.c (pause): Likewise.
65337         * posix/setpgrp.c (setpgrp): Likewise.
65338         * posix/setsid.c (__setsid): Likewise.
65339         * posix/test-vfork.c (noop): Likewise.
65340         * resolv/gethnamaddr.c (_endhtent): Likewise.
65341         (_gethtent): Likewise.
65342         (ht_endhostent): Likewise.
65343         (gethostent): Likewise.
65344         (dns_service): Likewise.
65345         * stdlib/drand48.c (drand48): Likewise.
65346         * stdlib/lrand48.c (lrand48): Likewise.
65347         * stdlib/mrand48.c (mrand48): Likewise.
65348         * stdlib/rand.c (rand): Likewise.
65349         * stdlib/random.c (__random): Likewise.
65350         * stdlib/setenv.c (clearenv): Likewise.
65351         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65352         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65353         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65354         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65355         (__get_nprocs): Likewise.
65356         (__get_phys_pages): Likewise.
65357         (__get_avphys_pages): Likewise.
65358         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65359         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65360         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65361         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65362         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65363         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65364         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65365         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65366         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65367         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65368         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65369         * sysdeps/mach/hurd/sync.c (sync): Likewise.
65370         * sysdeps/posix/clock.c (clock): Likewise.
65371         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65372         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65373         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65374         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65375         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65376         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65377         (__get_nprocs_conf): Likewise.
65378         (__get_phys_pages): Likewise.
65379         (__get_avphys_pages): Likewise.
65380         * time/clock.c (clock): Likewise.
65381         * time/tzset.c (__tzname_max): Likewise.
65383 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
65385         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65386         (__bswap_32): Do not use "register".
65387         * crypt/crypt.c (_ufc_doit_r): Likewise.
65388         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65389         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65390         * gmon/gmon.c (__monstartup): Likewise.
65391         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65392         * hurd/hurdmalloc.c (more_memory): Likewise.
65393         (malloc): Likewise.
65394         (free): Likewise.
65395         (realloc): Likewise.
65396         (malloc_fork_prepare): Likewise.
65397         (malloc_fork_parent): Likewise.
65398         (malloc_fork_child): Likewise.
65399         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65400         (_svcauth_des): Likewise.
65401         * inet/inet_lnaof.c (inet_lnaof): Likewise.
65402         * inet/inet_net.c (inet_network): Likewise.
65403         * inet/inet_netof.c (inet_netof): Likewise.
65404         * inet/rcmd.c (__validuser2_sa): Likewise.
65405         * io/fts.c (fts_open): Likewise.
65406         (fts_load): Likewise.
65407         (fts_close): Likewise.
65408         (fts_read): Likewise.
65409         (fts_children): Likewise.
65410         (fts_build): Likewise.
65411         (fts_stat): Likewise.
65412         (fts_sort): Likewise.
65413         (fts_alloc): Likewise.
65414         (fts_lfree): Likewise.
65415         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65416         (_IO_file_xsgetn): Likewise.
65417         (_IO_file_xsgetn_mmap): Likewise.
65418         * libio/iofopncook.c (_IO_cookie_read): Likewise.
65419         (_IO_cookie_write): Likewise.
65420         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65421         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65422         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65423         * malloc/obstack.c (_obstack_begin): Likewise.
65424         (_obstack_begin_1): Likewise.
65425         (_obstack_newchunk): Likewise.
65426         (_obstack_allocated_p): Likewise.
65427         (obstack_free): Likewise.
65428         (_obstack_memory_used): Likewise.
65429         * misc/getttyent.c (getttynam): Likewise.
65430         (getttyent): Likewise.
65431         (skip): Likewise.
65432         (value): Likewise.
65433         * misc/getusershell.c (initshells): Likewise.
65434         * misc/syslog.c (__vsyslog_chk): Likewise.
65435         * misc/ttyslot.c (ttyslot): Likewise.
65436         * nis/nis_hash.c (__nis_hash): Likewise.
65437         * posix/fnmatch_loop.c (FCT): Likewise.
65438         * posix/getconf.c (print_all): Likewise.
65439         (main): Likewise.
65440         * posix/getopt.c (exchange): Likewise.
65441         * posix/glob.c (globfree): Likewise.
65442         (prefix_array): Likewise.
65443         (__glob_pattern_type): Likewise.
65444         * resolv/arpa/nameser.h (NS_GET16): Likewise.
65445         (NS_GET32): Likewise.
65446         (NS_PUT16): Likewise.
65447         (NS_PUT32): Likewise.
65448         * resolv/gethnamaddr.c (getanswer): Likewise.
65449         (gethostbyname2): Likewise.
65450         (gethostbyaddr): Likewise.
65451         (_gethtent): Likewise.
65452         (_gethtbyname2): Likewise.
65453         (_gethtbyaddr): Likewise.
65454         * resolv/ns_print.c (dst_s_get_int16): Likewise.
65455         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65456         * resolv/res_init.c (__res_vinit): Likewise.
65457         (net_mask): Likewise.
65458         * resolv/res_mkquery.c (outchar): Likewise.
65459         (PRINT): Likewise.
65460         * stdio-common/printf_fp.c (outchar): Likewise.
65461         (PRINT): Likewise.
65462         * stdio-common/printf_fphex.c (outchar): Likewise.
65463         (PRINT): Likewise.
65464         * stdio-common/printf_size.c (outchar): Likewise.
65465         (PRINT): Likewise.
65466         * stdio-common/test_rdwr.c (main): Likewise.
65467         * stdio-common/tfformat.c (matches): Likewise.
65468         * stdio-common/vfprintf.c (outchar): Likewise.
65469         (printf_unknown): Likewise.
65470         (buffered_vfprintf): Likewise.
65471         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65472         * stdio-common/xbug.c (AppendToBuffer): Likewise.
65473         (ReadFile): Likewise.
65474         * stdlib/qsort.c (SWAP): Likewise.
65475         (_quicksort): Likewise.
65476         * stdlib/setenv.c (__add_to_environ): Likewise.
65477         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65478         * stdlib/strtol_l.c (__strtol_l): Likewise.
65479         * stdlib/tst-strtod.c (main): Likewise.
65480         * stdlib/tst-strtol.c (main): Likewise.
65481         * stdlib/tst-strtoll.c (main): Likewise.
65482         * string/bits/string2.h (__strcmp_cc): Likewise.
65483         (__strcmp_cg): Likewise.
65484         (__strcspn_c1): Likewise.
65485         (__strcspn_c2): Likewise.
65486         (__strcspn_c3): Likewise.
65487         (__strspn_c1): Likewise.
65488         (__strspn_c2): Likewise.
65489         (__strspn_c3): Likewise.
65490         (__strsep_1c): Likewise.
65491         (__strsep_2c): Likewise.
65492         (__strsep_3c): Likewise.
65493         * string/memccpy.c (__memccpy): Likewise.
65494         * string/stpcpy.c (__stpcpy): Likewise.
65495         * string/strcmp.c (strcmp): Likewise.
65496         * string/strrchr.c (strrchr): Likewise.
65497         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65498         Likewise.
65499         * sysdeps/mach/hurd/getcwd.c
65500         (_hurd_canonicalize_directory_name_internal): Likewise.
65501         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65502         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65503         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65504         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65505         Likewise, in both definitions.
65506         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65507         definitions.
65508         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65509         64] (__bswap_64): Likewise.
65510         * time/test_time.c (main): Likewise.
65511         * time/tzfile.c (__tzfile_read): Likewise.
65512         (__tzfile_compute): Likewise.
65513         * time/tzset.c (__tzset_parse_tz): Likewise.
65514         (tzset_internal): Likewise.
65515         (compute_change): Likewise.
65516         * wcsmbs/wcscat.c (__wcscat): Likewise.
65517         * wcsmbs/wcschr.c (wcschr): Likewise.
65518         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65519         * wcsmbs/wcscspn.c (wcscspn): Likewise.
65520         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65521         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65522         * wcsmbs/wcsspn.c (wcsspn): Likewise.
65523         * wcsmbs/wcsstr.c (wcsstr): Likewise.
65524         * wcsmbs/wmemchr.c (wmemchr): Likewise.
65525         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65526         * wcsmbs/wmemset.c (wmemset): Likewise.
65528 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
65530         * scripts/config.guess: Update to version 2013-05-16.
65531         * scripts/config.sub: Update to version 2013-04-24.
65532         * scripts/install-sh: Update to version 2011-11-20.07.
65533         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65534         * scripts/move-if-change: Update to version 2012-01-06 07:23.
65536 2013-06-06   Ondƙej BĂ­lka  <neleai@seznam.cz>
65538         * debug/fgetws_u_chk.c: Fix leading whitespaces.
65539         * elf/sln.c: Likewise.
65540         * hurd/hurd/ioctl.h: Likewise.
65541         * hurd/hurdmalloc.c: Likewise.
65542         * hurd/xattr.c: Likewise.
65543         * include/shlib-compat.h: Likewise.
65544         * inet/ruserpass.c: Likewise.
65545         * libio/iofgets_u.c: Likewise.
65546         * libio/iofgetws_u.c: Likewise.
65547         * locale/programs/ld-identification.c: Likewise.
65548         * locale/programs/ld-time.c: Likewise.
65549         * mach/msg-destroy.c: Likewise.
65550         * nss/nss_files/files-netgrp.c: Likewise.
65551         * resolv/res_data.c: Likewise.
65552         * soft-fp/op-1.h: Likewise.
65553         * soft-fp/op-2.h: Likewise.
65554         * soft-fp/op-4.h: Likewise.
65555         * soft-fp/op-common.h: Likewise.
65556         * stdio-common/printf_fphex.c: Likewise.
65557         * stdlib/strtod_l.c: Likewise.
65558         * sunrpc/rpc/clnt.h: Likewise.
65559         * sysdeps/generic/framestate.c: Likewise.
65560         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65561         * sysdeps/i386/bsd-setjmp.S: Likewise.
65562         * sysdeps/i386/__longjmp.S: Likewise.
65563         * sysdeps/i386/setjmp.S: Likewise.
65564         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65565         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65566         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65567         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65568         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65569         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65570         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65571         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65572         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65573         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65574         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65575         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65576         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65577         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65578         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65579         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65580         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65581         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65582         * sysdeps/ieee754/support.c: Likewise.
65583         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65584         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65585         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65586         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65587         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65588         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65589         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65590         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65591         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65592         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65593         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65594         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65595         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65596         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65597         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65598         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65599         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65602 2013-06-05  Ondƙej BĂ­lka  <neleai@seznam.cz>
65604         * posix/transbug.c: Remove executable mode.
65606 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
65608         * crypt/speeds.c: Remove trailing whitespace.
65609         * dlfcn/default.c: Likewise.
65610         * elf/ifuncdep2.c: Likewise.
65611         * elf/ifuncmain1.c: Likewise.
65612         * elf/ifuncmain1vis.c: Likewise.
65613         * elf/testobj.h: Likewise.
65614         * elf/tst-stackguard1.c: Likewise.
65615         * gmon/sys/gmon.h: Likewise.
65616         * hurd/hurdmsg.c: Likewise.
65617         * hurd/new-fd.c: Likewise.
65618         * hurd/ports-get.c: Likewise.
65619         * iconvdata/ibm1008_420.c: Likewise.
65620         * inet/tst-getni1.c: Likewise.
65621         * inet/tst-getni2.c: Likewise.
65622         * libio/ioungetc.c: Likewise.
65623         * libio/wfiledoalloc.c: Likewise.
65624         * manual/libm-err-tab.pl: Likewise.
65625         * math/w_dremf.c: Likewise.
65626         * misc/ftruncate.c: Likewise.
65627         * posix/bug-glob2.c: Likewise.
65628         * posix/tst-pcre.c: Likewise.
65629         * posix/wait4.c: Likewise.
65630         * resolv/README: Likewise.
65631         * resolv/res_debug.h: Likewise.
65632         * resolv/tst-inet_ntop.c: Likewise.
65633         * setjmp/bug269-setjmp.c: Likewise.
65634         * soft-fp/extended.h: Likewise.
65635         * soft-fp/op-1.h: Likewise.
65636         * soft-fp/op-2.h: Likewise.
65637         * soft-fp/op-4.h: Likewise.
65638         * soft-fp/op-8.h: Likewise.
65639         * soft-fp/testit.c: Likewise.
65640         * stdio-common/bug16.c: Likewise.
65641         * stdlib/random.c: Likewise.
65642         * sunrpc/rpcsvc/rquota.x: Likewise.
65643         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65644         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65645         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65646         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65647         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65648         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65649         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65650         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65651         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65652         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65653         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65654         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65655         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65656         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65657         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65658         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65659         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65660         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65661         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65662         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65663         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65664         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65665         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65666         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65667         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65668         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65669         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65670         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65671         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65672         * sysdeps/ieee754/s_lib_version.c: Likewise.
65673         * sysdeps/mach/hurd/check_fds.c: Likewise.
65674         * sysdeps/mach/hurd/getsockname.c: Likewise.
65675         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65676         * sysdeps/mach/hurd/recvfrom.c: Likewise.
65677         * sysdeps/powerpc/bits/link.h: Likewise.
65678         * sysdeps/powerpc/dl-procinfo.c: Likewise.
65679         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65680         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65681         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65682         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65683         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65684         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65685         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65686         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65687         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65688         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65689         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65690         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65691         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65692         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65693         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65694         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65695         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65696         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65697         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65698         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65699         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65700         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65701         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65702         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65703         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65704         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65705         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65706         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65707         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65708         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65709         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65710         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65711         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65712         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65713         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65714         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65715         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65716         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65717         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65718         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65719         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65720         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65721         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65722         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65723         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65724         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65725         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65726         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65727         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65728         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65729         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65730         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65731         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65732         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65733         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65734         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65735         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65736         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65737         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65738         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65739         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65740         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65741         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65742         * sysdeps/powerpc/sysdep.h: Likewise.
65743         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65744         * sysdeps/s390/s390-64/sub_n.S: Likewise.
65745         * sysdeps/sh/dl-trampoline.S: Likewise.
65746         * sysdeps/sh/memset.S: Likewise.
65747         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65748         * sysdeps/sh/strlen.S: Likewise.
65749         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65750         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65751         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65752         * sysdeps/sparc/sparc32/rem.S: Likewise.
65753         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65754         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65755         * sysdeps/sparc/sparc32/strchr.S: Likewise.
65756         * sysdeps/sparc/sparc32/udiv.S: Likewise.
65757         * sysdeps/sparc/sparc32/urem.S: Likewise.
65758         * sysdeps/sparc/sparc64/add_n.S: Likewise.
65759         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65760         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65761         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65762         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65763         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65764         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65765         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65766         * sysdeps/unix/bsd/times.c: Likewise.
65767         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65768         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65772         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65773         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65774         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65775         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65776         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65777         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65778         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65779         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65780         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65781         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65782         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65783         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65784         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65785         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65786         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65787         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65788         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65789         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65790         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65791         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65792         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65793         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65794         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65795         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65796         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65797         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65798         * sysdeps/x86_64/strcspn.S: Likewise.
65800 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65802         * locale/C-translit.h: Revert #include <stdint.h> because this is a
65803         generated file.  Regenerate properly from gen-translit.pl.
65804         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
65805         locale/C-translit.h.
65807 2013-06-05  Andreas Schwab  <schwab@suse.de>
65809         [BZ #15100]
65810         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65811         week as 6 instead of -1.
65812         * time/tst-strptime.c (day_tests): Add test case.
65814 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
65816         * sysdeps/generic/math_private.h
65817         (libc_feholdexcept_setround_53bit): Replace with
65818         libc_feholdsetround_53bit.
65819         (libc_feupdateenv_53bit): Replace with
65820         libc_feresetround_53bit.
65821         (SET_RESTORE_ROUND_53BIT): Adjust.
65823 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65825         * string/test-strchrnul.c: Add copyright header.
65827         * posix/tst-getaddrinfo4.c: Increase test timeout.
65829 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
65831         [BZ #15536]
65832         * math/libm-test.inc (MAX_EXP): Remove
65833         (MIN_EXP): Define.
65834         (ulp): Use MIN_EXP - MANT_DIG.
65835         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65837 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
65839         * po/be.po: Revert last change.
65840         * po/zh_CN.po: Likewise.
65841         * po/header.pot: Likewise.
65843 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
65845         * Makefile ($(common-objpfx)linkobj/libc.so): Define
65846         link-libc-deps to empty as target-specific variable.
65847         * Makerules (link-libc-args): New variable.
65848         (libc-for-link): Likewise.
65849         (link-libc-deps): Likewise.
65850         (lib%.so): Depend on $(link-libc-deps).  Link with
65851         $(link-libc-args).
65852         (build-module): Link with $(link-libc-args).
65853         (build-module-asneeded): Likewise.
65854         (build-module-helper-objlist): Filter out $(link-libc-deps) from
65855         list of objects.
65856         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65857         target-specific variable.
65858         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65859         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65860         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65861         libc.
65862         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65863         libc and ld.so.
65864         ($(objpfx)libpcprofile.so): Likewise.
65865         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65866         libc_nonshared.a.
65867         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65868         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65869         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65870         $(link-libc-deps).
65871         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65872         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65873         * login/Makefile ($(objpfx)libutil.so): Likewise.
65874         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65875         * math/Makefile ($(objpfx)libm.so): Likewise.
65876         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65877         $(objpfx)libnsl.so): Define libc-for-link as target-specific
65878         variable instead of depending directly on libc.
65879         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65880         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65881         $(link-libc-deps).
65882         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65883         libc.
65884         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65885         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65886         ($(objpfx)libanl.so): Likewise.
65887         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65888         ld.so.
65889         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65890         $(link-libc-deps).
65891         * sysdeps/i386/fpu/Makefile: Remove file.
65892         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65893         ($(objpfx)libm.so): Remove dependency on ld.so.
65895 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
65897         [BZ # 15553]
65898         * nis/yp_xdr.c (XDRMAXNAME): Define.
65899         (XDRMAXRECORD): Define.
65900         (xdr_domainname): Use XDRMAXNAME.
65901         (xdr_mapname): Likewise.
65902         (xdr_peername): Likewise.
65903         (xdr_keydat): Use XDRMAXRECORD.
65904         (xdr_valdat): Likewise.
65906 2013-05-30  Jeff Law  <law@redhat.com>
65908         [BZ #14256]
65909         * manual/errno.texi (ESTALE): Update to account for more than
65910         just NFS file systems.
65911         * sysdeps/gnu/errlist.c: Regenerated.
65913 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65915         [BZ #15465]
65916         * elf/Makefile (tests): Add tst-null-argv.
65917         (modules-names):  Add tst-null-argv-lib.
65918         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65919         (tst-null-argv-ENV): Set environment for tst-null-argv.
65920         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65921         (RTLD_PROGNAME): New macro.
65922         * elf/tst-null-argv.c: New test case.
65923         * elf/tst-null-argv-lib.c: Library for test case.
65924         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65925         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65926         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65927         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65928         * elf/dl-init.c (call_init): Likewise.
65929         (_dl_init): Likewise.
65930         * elf/dl-load.c (print_search_path): Likewise.
65931         (_dl_map_object): Likewise.
65932         * elf/dl-lookup.c (do_lookup_x): Likewise.
65933         (add_dependency): Likewise.
65934         (_dl_lookup_symbol_x): Likewise.
65935         (_dl_debug_bindings): Likewise.
65936         * elf/dl-open.c (_dl_show_scope): Likewise.
65937         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65938         * elf/dl-version.c (match_symbol): Likewise.
65939         (_dl_check_map_versions): Likewise.
65940         * elf/rtld.c (dl_main): Likewise.
65941         (print_unresolved): Use RTLD_PROGNAME.
65942         (print_missing_version): Likewise.
65943         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65944         (elf_machine_rela): Likewise.
65945         * sysdeps/powerpc/powerpc32/dl-machine.c
65946         (__process_machine_rela): Likewise.
65947         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65948         Likewise.
65949         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65950         Likewise.
65951         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65952         Likewise.
65953         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65954         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65955         Likewise.
65956         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65957         Likewise.
65958         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65960 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
65962         * po/be.po: Add descriptive title.
65963         * po/zh_CN.po: Likewise.
65964         * po/header.pot: Likewise.
65966 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
65968         * locale/programs/locarchive.c (create_archive): Inlucde fname in
65969         error message.
65970         (enlarge_archive): Likewise.
65972 2013-05-28  Ben North  <ben@redfrontdoor.org>
65974         * manual/arith.texi (frexp): It is the magnitude of the return
65975         value which lies in [0.5, 1), not the return value itself.
65977 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65981 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
65983         * stdio-common/bug26.c (main): Correct fscanf template.
65985         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
65986         declare _dl_skip_args.
65988         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
65989         Don't declare.
65991         * manual/platform.texi: Add missing @end deftypefun.
65993 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
65995         [BZ #15529]
65996         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
65997         bit of mantissa of 2^16382.
65998         * math/libm-test.inc (hypot_test_data): Add more tests.
66000         * math/libm-test.inc: Add drem and pow10 to list of tested
66001         functions.
66002         (pow10_test): New function.
66003         (drem_test): Likewise.
66004         (drem_test_tonearest): Likewise.
66005         (drem_test_towardzero): Likewise.
66006         (drem_test_downward): Likewise.
66007         (drem_test_upward): Likewise.
66008         (main): Call the new functions.
66010         * math/libm-test.inc (finite_test_data): Remove.
66011         (finite_test): Run tests from isfinite_test_data.
66012         (gamma_test_data): Remove.
66013         (gamma_test): Run tests from lgamma_test_data.
66014         * sysdeps/i386/fpu/libm-test-ulps: Update.
66015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66017 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66019         * manual/platform.texi: Add PowerPC PPR function set documentation.
66020         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
66021         implementation.
66023 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
66025         * math/libm-test.inc (MAX_EXP): Define.
66026         (ULPDIFF): Define.
66027         (ulp): New function.
66028         (check_float_internal): Use ULPDIFF.
66029         (cpow_test): Disable failing test.
66030         (check_ulp): Test ulp() implementation.
66031         (main): Call check_ulp before starting tests.
66033 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
66035         * math/gen-libm-test.pl (generate_testfile): Do not handle
66036         START_DATA and END_DATA.
66037         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
66038         END_DATA.
66039         (acos_tonearest_test_data): Likewise.
66040         (acos_towardzero_test_data): Likewise.
66041         (acos_downward_test_data): Likewise.
66042         (acos_upward_test_data): Likewise.
66043         (acosh_test_data): Likewise.
66044         (asin_test_data): Likewise.
66045         (asin_tonearest_test_data): Likewise.
66046         (asin_towardzero_test_data): Likewise.
66047         (asin_downward_test_data): Likewise.
66048         (asin_upward_test_data): Likewise.
66049         (asinh_test_data): Likewise.
66050         (atan_test_data): Likewise.
66051         (atanh_test_data): Likewise.
66052         (atan2_test_data): Likewise.
66053         (cabs_test_data): Likewise.
66054         (cacos_test_data): Likewise.
66055         (cacosh_test_data): Likewise.
66056         (carg_test_data): Likewise.
66057         (casin_test_data): Likewise.
66058         (casinh_test_data): Likewise.
66059         (catan_test_data): Likewise.
66060         (catanh_test_data): Likewise.
66061         (cbrt_test_data): Likewise.
66062         (ccos_test_data): Likewise.
66063         (ccosh_test_data): Likewise.
66064         (ceil_test_data): Likewise.
66065         (cexp_test_data): Likewise.
66066         (cimag_test_data): Likewise.
66067         (clog_test_data): Likewise.
66068         (clog10_test_data): Likewise.
66069         (conj_test_data): Likewise.
66070         (copysign_test_data): Likewise.
66071         (cos_test_data): Likewise.
66072         (cos_tonearest_test_data): Likewise.
66073         (cos_towardzero_test_data): Likewise.
66074         (cos_downward_test_data): Likewise.
66075         (cos_upward_test_data): Likewise.
66076         (cosh_test_data): Likewise.
66077         (cosh_tonearest_test_data): Likewise.
66078         (cosh_towardzero_test_data): Likewise.
66079         (cosh_downward_test_data): Likewise.
66080         (cosh_upward_test_data): Likewise.
66081         (cpow_test_data): Likewise.
66082         (cproj_test_data): Likewise.
66083         (creal_test_data): Likewise.
66084         (csin_test_data): Likewise.
66085         (csinh_test_data): Likewise.
66086         (csqrt_test_data): Likewise.
66087         (ctan_test_data): Likewise.
66088         (ctan_tonearest_test_data): Likewise.
66089         (ctan_towardzero_test_data): Likewise.
66090         (ctan_downward_test_data): Likewise.
66091         (ctan_upward_test_data): Likewise.
66092         (ctanh_test_data): Likewise.
66093         (ctanh_tonearest_test_data): Likewise.
66094         (ctanh_towardzero_test_data): Likewise.
66095         (ctanh_downward_test_data): Likewise.
66096         (ctanh_upward_test_data): Likewise.
66097         (erf_test_data): Likewise.
66098         (erfc_test_data): Likewise.
66099         (exp_test_data): Likewise.
66100         (exp_tonearest_test_data): Likewise.
66101         (exp_towardzero_test_data): Likewise.
66102         (exp_downward_test_data): Likewise.
66103         (exp_upward_test_data): Likewise.
66104         (exp10_test_data): Likewise.
66105         (exp2_test_data): Likewise.
66106         (expm1_test_data): Likewise.
66107         (fabs_test_data): Likewise.
66108         (fdim_test_data): Likewise.
66109         (finite_test_data): Likewise.
66110         (floor_test_data): Likewise.
66111         (fma_test_data): Likewise.
66112         (fma_towardzero_test_data): Likewise.
66113         (fma_downward_test_data): Likewise.
66114         (fma_upward_test_data): Likewise.
66115         (fmax_test_data): Likewise.
66116         (fmin_test_data): Likewise.
66117         (fmod_test_data): Likewise.
66118         (fpclassify_test_data): Likewise.
66119         (frexp_test_data): Likewise.
66120         (gamma_test_data): Likewise.
66121         (hypot_test_data): Likewise.
66122         (ilogb_test_data): Likewise.
66123         (isfinite_test_data): Likewise.
66124         (isgreater_test_data): Likewise.
66125         (isgreaterequal_test_data): Likewise.
66126         (isinf_test_data): Likewise.
66127         (isless_test_data): Likewise.
66128         (islessequal_test_data): Likewise.
66129         (islessgreater_test_data): Likewise.
66130         (isnan_test_data): Likewise.
66131         (isnormal_test_data): Likewise.
66132         (issignaling_test_data): Likewise.
66133         (isunordered_test_data): Likewise.
66134         (j0_test_data): Likewise.
66135         (j1_test_data): Likewise.
66136         (jn_test_data): Likewise.
66137         (ldexp_test_data): Likewise.
66138         (lgamma_test_data): Likewise.
66139         (lrint_test_data): Likewise.
66140         (lrint_tonearest_test_data): Likewise.
66141         (lrint_towardzero_test_data): Likewise.
66142         (lrint_downward_test_data): Likewise.
66143         (lrint_upward_test_data): Likewise.
66144         (llrint_test_data): Likewise.
66145         (llrint_tonearest_test_data): Likewise.
66146         (llrint_towardzero_test_data): Likewise.
66147         (llrint_downward_test_data): Likewise.
66148         (llrint_upward_test_data): Likewise.
66149         (log_test_data): Likewise.
66150         (log10_test_data): Likewise.
66151         (log1p_test_data): Likewise.
66152         (log2_test_data): Likewise.
66153         (logb_test_data): Likewise.
66154         (logb_downward_test_data): Likewise.
66155         (lround_test_data): Likewise.
66156         (llround_test_data): Likewise.
66157         (modf_test_data): Likewise.
66158         (nearbyint_test_data): Likewise.
66159         (nextafter_test_data): Likewise.
66160         (nexttoward_test_data): Likewise.
66161         (pow_test_data): Likewise.
66162         (pow_tonearest_test_data): Likewise.
66163         (pow_towardzero_test_data): Likewise.
66164         (pow_downward_test_data): Likewise.
66165         (pow_upward_test_data): Likewise.
66166         (remainder_test_data): Likewise.
66167         (remainder_tonearest_test_data): Likewise.
66168         (remainder_towardzero_test_data): Likewise.
66169         (remainder_downward_test_data): Likewise.
66170         (remainder_upward_test_data): Likewise.
66171         (remquo_test_data): Likewise.
66172         (rint_test_data): Likewise.
66173         (rint_tonearest_test_data): Likewise.
66174         (rint_towardzero_test_data): Likewise.
66175         (rint_downward_test_data): Likewise.
66176         (rint_upward_test_data): Likewise.
66177         (round_test_data): Likewise.
66178         (scalb_test_data): Likewise.
66179         (scalbn_test_data): Likewise.
66180         (scalbln_test_data): Likewise.
66181         (signbit_test_data): Likewise.
66182         (sin_test_data): Likewise.
66183         (sin_tonearest_test_data): Likewise.
66184         (sin_towardzero_test_data): Likewise.
66185         (sin_downward_test_data): Likewise.
66186         (sin_upward_test_data): Likewise.
66187         (sincos_test_data): Likewise.
66188         (sinh_test_data): Likewise.
66189         (sinh_tonearest_test_data): Likewise.
66190         (sinh_towardzero_test_data): Likewise.
66191         (sinh_downward_test_data): Likewise.
66192         (sinh_upward_test_data): Likewise.
66193         (sqrt_test_data): Likewise.
66194         (tan_test_data): Likewise.
66195         (tan_tonearest_test_data): Likewise.
66196         (tan_towardzero_test_data): Likewise.
66197         (tan_downward_test_data): Likewise.
66198         (tan_upward_test_data): Likewise.
66199         (tanh_test_data): Likewise.
66200         (tgamma_test_data): Likewise.
66201         (trunc_test_data): Likewise.
66202         (y0_test_data): Likewise.
66203         (y1_test_data): Likewise.
66204         (yn_test_data): Likewise.
66205         (significand_test_data): Likewise.
66207         * math/gen-libm-test.pl (@functions): Remove variable.
66208         (generate_testfile): Don't handle START and END lines.
66209         * math/libm-test.inc (START): New macro.
66210         (END): Likewise.
66211         (END_COMPLEX): Likewise.
66212         (acos_test): Use END macro without arguments.
66213         (acos_test_tonearest): Likewise.
66214         (acos_test_towardzero): Likewise.
66215         (acos_test_downward): Likewise.
66216         (acos_test_upward): Likewise.
66217         (acosh_test): Likewise.
66218         (asin_test): Likewise.
66219         (asin_test_tonearest): Likewise.
66220         (asin_test_towardzero): Likewise.
66221         (asin_test_downward): Likewise.
66222         (asin_test_upward): Likewise.
66223         (asinh_test): Likewise.
66224         (atan_test): Likewise.
66225         (atanh_test): Likewise.
66226         (atan2_test): Likewise.
66227         (cabs_test): Likewise.
66228         (cacos_test): Use END_COMPLEX macro without arguments.
66229         (cacosh_test): Likewise.
66230         (carg_test): Use END macro without arguments.
66231         (casin_test): Use END_COMPLEX macro without arguments.
66232         (casinh_test): Likewise.
66233         (catan_test): Likewise.
66234         (catanh_test): Likewise.
66235         (cbrt_test): Use END macro without arguments.
66236         (ccos_test): Use END_COMPLEX macro without arguments.
66237         (ccosh_test): Likewise.
66238         (ceil_test): Use END macro without arguments.
66239         (cexp_test): Use END_COMPLEX macro without arguments.
66240         (cimag_test): Use END macro without arguments.
66241         (clog_test): Use END_COMPLEX macro without arguments.
66242         (clog10_test): Likewise.
66243         (conj_test): Likewise.
66244         (copysign_test): Use END macro without arguments.
66245         (cos_test): Likewise.
66246         (cos_test_tonearest): Likewise.
66247         (cos_test_towardzero): Likewise.
66248         (cos_test_downward): Likewise.
66249         (cos_test_upward): Likewise.
66250         (cosh_test): Likewise.
66251         (cosh_test_tonearest): Likewise.
66252         (cosh_test_towardzero): Likewise.
66253         (cosh_test_downward): Likewise.
66254         (cosh_test_upward): Likewise.
66255         (cpow_test): Use END_COMPLEX macro without arguments.
66256         (cproj_test): Likewise.
66257         (creal_test): Use END macro without arguments.
66258         (csin_test): Use END_COMPLEX macro without arguments.
66259         (csinh_test): Likewise.
66260         (csqrt_test): Likewise.
66261         (ctan_test): Likewise.
66262         (ctan_test_tonearest): Likewise.
66263         (ctan_test_towardzero): Likewise.
66264         (ctan_test_downward): Likewise.
66265         (ctan_test_upward): Likewise.
66266         (ctanh_test): Likewise.
66267         (ctanh_test_tonearest): Likewise.
66268         (ctanh_test_towardzero): Likewise.
66269         (ctanh_test_downward): Likewise.
66270         (ctanh_test_upward): Likewise.
66271         (erf_test): Use END macro without arguments.
66272         (erfc_test): Likewise.
66273         (exp_test): Likewise.
66274         (exp_test_tonearest): Likewise.
66275         (exp_test_towardzero): Likewise.
66276         (exp_test_downward): Likewise.
66277         (exp_test_upward): Likewise.
66278         (exp10_test): Likewise.
66279         (exp2_test): Likewise.
66280         (expm1_test): Likewise.
66281         (fabs_test): Likewise.
66282         (fdim_test): Likewise.
66283         (finite_test): Likewise.
66284         (floor_test): Likewise.
66285         (fma_test): Likewise.
66286         (fma_test_towardzero): Likewise.
66287         (fma_test_downward): Likewise.
66288         (fma_test_upward): Likewise.
66289         (fmax_test): Likewise.
66290         (fmin_test): Likewise.
66291         (fmod_test): Likewise.
66292         (fpclassify_test): Likewise.
66293         (frexp_test): Likewise.
66294         (gamma_test): Likewise.
66295         (hypot_test): Likewise.
66296         (ilogb_test): Likewise.
66297         (isfinite_test): Likewise.
66298         (isgreater_test): Likewise.
66299         (isgreaterequal_test): Likewise.
66300         (isinf_test): Likewise.
66301         (isless_test): Likewise.
66302         (islessequal_test): Likewise.
66303         (islessgreater_test): Likewise.
66304         (isnan_test): Likewise.
66305         (isnormal_test): Likewise.
66306         (issignaling_test): Likewise.
66307         (isunordered_test): Likewise.
66308         (j0_test): Likewise.
66309         (j1_test): Likewise.
66310         (jn_test): Likewise.
66311         (ldexp_test): Likewise.
66312         (lgamma_test): Likewise.
66313         (lrint_test): Likewise.
66314         (lrint_test_tonearest): Likewise.
66315         (lrint_test_towardzero): Likewise.
66316         (lrint_test_downward): Likewise.
66317         (lrint_test_upward): Likewise.
66318         (llrint_test): Likewise.
66319         (llrint_test_tonearest): Likewise.
66320         (llrint_test_towardzero): Likewise.
66321         (llrint_test_downward): Likewise.
66322         (llrint_test_upward): Likewise.
66323         (log_test): Likewise.
66324         (log10_test): Likewise.
66325         (log1p_test): Likewise.
66326         (log2_test): Likewise.
66327         (logb_test): Likewise.
66328         (logb_test_downward): Likewise.
66329         (lround_test): Likewise.
66330         (llround_test): Likewise.
66331         (modf_test): Likewise.
66332         (nearbyint_test): Likewise.
66333         (nextafter_test): Likewise.
66334         (nexttoward_test): Likewise.
66335         (pow_test): Likewise.
66336         (pow_test_tonearest): Likewise.
66337         (pow_test_towardzero): Likewise.
66338         (pow_test_downward): Likewise.
66339         (pow_test_upward): Likewise.
66340         (remainder_test): Likewise.
66341         (remainder_test_tonearest): Likewise.
66342         (remainder_test_towardzero): Likewise.
66343         (remainder_test_downward): Likewise.
66344         (remainder_test_upward): Likewise.
66345         (remquo_test): Likewise.
66346         (rint_test): Likewise.
66347         (rint_test_tonearest): Likewise.
66348         (rint_test_towardzero): Likewise.
66349         (rint_test_downward): Likewise.
66350         (rint_test_upward): Likewise.
66351         (round_test): Likewise.
66352         (scalb_test): Likewise.
66353         (scalbn_test): Likewise.
66354         (scalbln_test): Likewise.
66355         (signbit_test): Likewise.
66356         (sin_test): Likewise.
66357         (sin_test_tonearest): Likewise.
66358         (sin_test_towardzero): Likewise.
66359         (sin_test_downward): Likewise.
66360         (sin_test_upward): Likewise.
66361         (sincos_test): Likewise.
66362         (sinh_test): Likewise.
66363         (sinh_test_tonearest): Likewise.
66364         (sinh_test_towardzero): Likewise.
66365         (sinh_test_downward): Likewise.
66366         (sinh_test_upward): Likewise.
66367         (sqrt_test): Likewise.
66368         (tan_test): Likewise.
66369         (tan_test_tonearest): Likewise.
66370         (tan_test_towardzero): Likewise.
66371         (tan_test_downward): Likewise.
66372         (tan_test_upward): Likewise.
66373         (tanh_test): Likewise.
66374         (tgamma_test): Likewise.
66375         (trunc_test): Likewise.
66376         (y0_test): Likewise.
66377         (y1_test): Likewise.
66378         (yn_test): Likewise.
66379         (significand_test): Likewise.
66381 2013-05-24  Ondƙej BĂ­lka  <neleai@seznam.cz>
66383         [BZ #15381]
66384         * libio/genops.c (_IO_no_init): Initialize wide struct info.
66386 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
66388         [BZ #14894]
66389         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66390         __ppc_mdoio and __ppc_mdoom.
66391         * manual/platform.texi: Document new functions __ppc_yield,
66392         __ppc_mdoio and __ppc_mdoom.
66394 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
66396         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66397         (main): Mention "tls" pseudo-hwcap is legacy.
66398         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66400 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66402         * math/gen-libm-test.pl (parse_args): Output only string of
66403         arguments as text for test name, not full call or descriptions of
66404         tests for extra outputs.
66405         (generate_testfile): Do not pass function name to parse_args.
66406         Generate this_func variable from START.
66407         * math/libm-test.inc (struct test_f_f_data): Rename test_name
66408         field to arg_str.
66409         (struct test_ff_f_data): Likewise.
66410         (test_ff_f_data_nexttoward): Likewise.
66411         (struct test_fi_f_data): Likewise.
66412         (struct test_fl_f_data): Likewise.
66413         (struct test_if_f_data): Likewise.
66414         (struct test_fff_f_data): Likewise.
66415         (struct test_c_f_data): Likewise.
66416         (struct test_f_f1_data): Likewise.  Remove field extra_name.
66417         (struct test_fF_f1_data): Likewise.
66418         (struct test_ffI_f1_data): Likewise.
66419         (struct test_c_c_data): Rename test_name field to arg_str.
66420         (struct test_cc_c_data): Likewise.
66421         (struct test_f_i_data): Likewise.
66422         (struct test_ff_i_data): Likewise.
66423         (struct test_f_l_data): Likewise.
66424         (struct test_f_L_data): Likewise.
66425         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
66426         and extra2_name.
66427         (COMMON_TEST_SETUP): New macro.
66428         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66429         (COMMON_TEST_CLEANUP): Likewise.
66430         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66431         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
66432         macros.
66433         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66434         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
66435         macros.
66436         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66437         (RUN_TEST_fff_f): Take argument string.  Call new setup and
66438         cleanup macros.
66439         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66440         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
66441         macros.
66442         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66443         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
66444         macros.
66445         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66446         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
66447         cleanup macros.
66448         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66449         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
66450         cleanup macros.
66451         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66452         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
66453         cleanup macros.
66454         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66455         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
66456         macros.
66457         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66458         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
66459         macros.
66460         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66461         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
66462         macros.
66463         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66464         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
66465         cleanup macros.
66466         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66467         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
66468         cleanup macros.
66469         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66470         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
66471         macros.
66472         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66473         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
66474         cleanup macros.
66475         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66476         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
66477         macros.
66478         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66479         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
66480         macros.
66481         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66482         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
66483         cleanup macros.
66484         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66486 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
66488         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66489         to _sifields.sigfault.
66490         (si_addr_lsb): Define new macro.
66491         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66492         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66493         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66495 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
66497         [BZ #15441]
66498         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66499         returns -1.
66500         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66501         null return -1.
66502         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66503         loading the domain.
66505 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66507         * math/gen-libm-test.pl (parse_args): Do not include expected
66508         result in test name.
66509         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66510         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66511         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66512         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66513         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66516 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66518         * benchtests/Makefile: Sort function entries.
66520         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66521         tanh, asinh, acosh, atanh.
66522         * benchtests/acos-inputs: New file.
66523         * benchtests/acosh-inputs: New file.
66524         * benchtests/asin-inputs: New file.
66525         * benchtests/asinh-inputs: New file.
66526         * benchtests/atanh-inputs: New file.
66527         * benchtests/cosh-inputs: New file.
66528         * benchtests/log-inputs: New file.
66529         * benchtests/sinh-inputs: New file.
66530         * benchtests/tanh-inputs: New file.
66532 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
66534         [BZ #15339]
66535         * posix/tst-getaddrinfo4.c: New test.
66536         * posix/Makefile (tests): Add it.
66538 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66540         [BZ #15339]
66541         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66542         when no services were used.
66543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66544         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66546 2013-05-21  Andreas Schwab  <schwab@suse.de>
66548         [BZ #15014]
66549         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66550         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66551         successful.
66552         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66553         redundant variable declarations and reallocation of buffer when
66554         parsing as IPv6 address.  Always set NSS status when called from
66555         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
66556         buffer too small.  Correct computation of needed size.
66557         * nss/Makefile (tests): Add test-digits-dots.
66558         * nss/test-digits-dots.c: New test.
66560 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66562         * benchtests/Makefile: Remove instructions for adding
66563         benchmark tests.
66564         * benchtests/README: New file to explain how to execute and
66565         enhance the benchmark tests.
66567 2013-05-21  Andreas Schwab  <schwab@suse.de>
66569         [BZ #15493]
66570         * setjmp/Makefile (tests): Add tst-sigsetjmp.
66571         * setjmp/tst-sigsetjmp.c: New test.
66573 2013-05-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
66575         * sysdeps/x86_64/memset.S (memset): New implementation.
66576         (__bzero): Likewise.
66577         (__memset_tail): New function.
66579 2013-05-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
66581         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66582         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66583         __memcpy_sse2_unaligned ifunc selection.
66584         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66585         Add memcpy-sse2-unaligned.S.
66586         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66587         Add: __memcpy_sse2_unaligned.
66589 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
66591         [BZ #15490]
66592         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66593         math_force_eval before restoring floating-point envrionment.
66594         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66595         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66596         Likewise.
66597         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66598         <math_private.h>.
66599         (__nearbyintl): Use math_force_eval before restoring
66600         floating-point environment.
66601         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66603         * math/gen-libm-test.pl (special_functions): Remove.
66604         (parse_args): Don't handle TEST_extra.  Handle functions with no
66605         return value.
66606         * math/libm-test.inc (struct test_sincos_data): Replace with
66607         struct test_fFF_11_data.
66608         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66609         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66610         (sincos_test_data): Change element type to struct
66611         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
66612         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66613         RUN_TEST_LOOP_sincos.
66614         * math/README.libm-test: Don't mention special handling of
66615         individual functions.
66616         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66617         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66618         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66619         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66620         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66623         * math/gen-libm-test.pl (get_variable): Remove function.
66624         (parse_args): Don't show pointer parameters to call in test
66625         names.  Use "extra output N" in test names for extra outputs
66626         rather than naming variables.
66628 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
66630         [BZ #15488]
66631         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66632         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66633         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66634         double tests.
66635         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66636         disable.
66637         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66638         check_long_double.
66640         * math/gen-libm-test.pl (@tests): Remove variable.
66641         ($count): Likewise.
66642         (new_test): Remove function.
66643         (show_exceptions): New function.
66644         (special_functions): Use show_exceptions instead of new_test.
66645         (parse_args): Likewise.
66646         (generate_testfile): Pass only function name in generated call to
66647         print_max_error or print_complex_max_error.
66648         (get_ulps): Do not handle complex tests specially.
66649         (output_test): Rename to ...
66650         (get_all_ulps_for_test): ... this.  Return a string rather than
66651         printing to a file.  Require ulps to be present.
66652         (output_ulps): Generate arrays rather than #defines.
66653         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66654         (struct ulp_data): New type.
66655         (BUILD_COMPLEX_ULP): Remove macro.
66656         (compare_ulp_data): New function.
66657         (find_ulps): Likewise.
66658         (find_test_ulps): Likewise.
66659         (find_function_ulps): Likewise.
66660         (find_complex_function_ulps): Likewise.
66661         (print_max_error): Determine allowed ulps using
66662         find_function_ulps.
66663         (print_complex_max_error): Determine allowed ulps using
66664         find_complex_function_ulps.
66665         (check_float_internal): Determine max ulps using find_test_ulps.
66666         (check_float): Do not take max_ulp parameter.  Update call to
66667         check_float_internal.
66668         (check_complex): Likewise.
66669         (check_int): Do not take max_ulp parameter.
66670         (check_long): Likewise.
66671         (check_bool): Likewise.
66672         (check_longlong): Likewise.
66673         (struct test_f_f_data): Remove max_ulp field.
66674         (struct test_ff_f_data): Likewise.
66675         (struct test_ff_f_data_nexttoward): Likewise.
66676         (struct test_fi_f_data): Likewise.
66677         (struct test_fl_f_data): Likewise.
66678         (struct test_if_f_data): Likewise.
66679         (struct test_fff_f_data): Likewise.
66680         (struct test_c_f_data): Likewise.
66681         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66682         (struct test_fF_f1_data): Likewise.
66683         (struct test_ffI_f1_data): Likewise.
66684         (struct test_c_c_data): Remove max_ulp field.
66685         (struct test_cc_c_data): Likewise.
66686         (struct test_f_i_data): Likewise.
66687         (struct test_ff_i_data): Likewise.
66688         (struct test_f_l_data): Likewise.
66689         (struct test_f_L_data): Likewise.
66690         (struct test_sincos_data): Likewise.
66691         (RUN_TEST_f_f): Do not handle ulps.
66692         (RUN_TEST_LOOP_f_f): Likewise.
66693         (RUN_TEST_2_f): Likewise.
66694         (RUN_TEST_LOOP_2_f): Likewise.
66695         (RUN_TEST_fff_f): Likewise.
66696         (RUN_TEST_LOOP_fff_f): Likewise.
66697         (RUN_TEST_c_f): Likewise.
66698         (RUN_TEST_LOOP_c_f): Likewise.
66699         (RUN_TEST_f_f1): Likewise.
66700         (RUN_TEST_LOOP_f_f1): Likewise.
66701         (RUN_TEST_fF_f1): Likewise.
66702         (RUN_TEST_LOOP_fF_f1): Likewise.
66703         (RUN_TEST_fI_f1): Likewise.
66704         (RUN_TEST_LOOP_fI_f1): Likewise.
66705         (RUN_TEST_ffI_f1): Likewise.
66706         (RUN_TEST_LOOP_ffI_f1): Likewise.
66707         (RUN_TEST_c_c): Likewise.
66708         (RUN_TEST_LOOP_c_c): Likewise.
66709         (RUN_TEST_cc_c): Likewise.
66710         (RUN_TEST_LOOP_cc_c): Likewise.
66711         (RUN_TEST_f_i): Likewise.
66712         (RUN_TEST_LOOP_f_i): Likewise.
66713         (RUN_TEST_f_i_tg): Likewise.
66714         (RUN_TEST_LOOP_f_i_tg): Likewise.
66715         (RUN_TEST_ff_i_tg): Likewise.
66716         (RUN_TEST_LOOP_ff_i_tg): Likewise.
66717         (RUN_TEST_f_b): Likewise.
66718         (RUN_TEST_LOOP_f_b): Likewise.
66719         (RUN_TEST_f_b_tg): Likewise.
66720         (RUN_TEST_LOOP_f_b_tg): Likewise.
66721         (RUN_TEST_f_l): Likewise.
66722         (RUN_TEST_LOOP_f_l): Likewise.
66723         (RUN_TEST_f_L): Likewise.
66724         (RUN_TEST_LOOP_f_L): Likewise.
66725         (RUN_TEST_sincos): Likewise.
66726         (RUN_TEST_LOOP_sincos): Likewise.
66728 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
66730         [BZ #15480]
66731         [BZ #15485]
66732         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66733         main case of finite arguments, set rounding mode to FE_TONEAREST
66734         and discard exceptions.
66735         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66736         exceptions.
66737         (remainder_tonearest_test_data): New variable.
66738         (remainder_test_tonearest): New function.
66739         (remainder_towardzero_test_data): New variable.
66740         (remainder_test_towardzero): New function.
66741         (remainder_downward_test_data): New variable.
66742         (remainder_test_downward): New function.
66743         (remainder_upward_test_data): New variable.
66744         (remainder_test_upward): New function.
66745         (main): Call the new test functions.
66747         * math/libm-test.inc (struct test_f_f1_data): Remove field
66748         extra_init.
66749         (struct test_fF_f1_data): Likewise.
66750         (struct test_ffI_f1_data): Likewise.
66751         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
66752         based on value of EXTRA_EXPECTED.
66753         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66754         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
66755         EXTRA_VAR based on value of EXTRA_EXPECTED.
66756         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66757         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
66758         EXTRA_VAR based on value of EXTRA_EXPECTED.
66759         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66760         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
66761         EXTRA_VAR based on value of EXTRA_EXPECTED.
66762         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66763         * math/gen-libm-test.pl (parse_args): Don't output initializers
66764         for extra output values.
66766         * math/libm-test.inc (check_int): Expect result to be exactly
66767         equal to expected value and do not handle ulps.
66768         (check_long): Likewise.
66769         (check_longlong): Likewise.
66771         * math/libm-test.inc (ceil_test_data): Test for "inexact"
66772         exceptions.
66773         (cimag_test_data): Likewise.
66774         (conj_test_data): Likewise.
66775         (copysign_test_data): Likewise.
66776         (cproj_test_data): Likewise.
66777         (creal_test_data): Likewise.
66778         (fabs_test_data): Likewise.
66779         (fdim_test_data): Likewise.
66780         (finite_test_data): Likewise.
66781         (floor_test_data): Likewise.
66782         (fmax_test_data): Likewise.
66783         (fmin_test_data): Likewise.
66784         (fmod_test_data): Likewise.
66785         (fpclassify_test_data): Likewise.
66786         (frexp_test_data): Likewise.
66787         (ilogb_test_data): Likewise.
66788         (isfinite_test_data): Likewise.
66789         (isgreater_test_data): Likewise.
66790         (isgreaterequal_test_data): Likewise.
66791         (isinf_test_data): Likewise.
66792         (isless_test_data): Likewise.
66793         (islessequal_test_data): Likewise.
66794         (islessgreater_test_data): Likewise.
66795         (isnan_test_data): Likewise.
66796         (isnormal_test_data): Likewise.
66797         (issignaling_test_data): Likewise.
66798         (isunordered_test_data): Likewise.
66799         (ldexp_test_data): Likewise.
66800         (lrint_test_data): Likewise.
66801         (lrint_test_data) [TEST_FLOAT]: Disable one test.
66802         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66803         (lrint_tonearest_test_data): Test for "inexact" exceptions.
66804         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66805         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66806         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66807         test input.
66808         (lrint_towardzero_test_data): Test for "inexact" exceptions.
66809         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66810         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66811         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66812         that test input.
66813         (lrint_downward_test_data): Test for "inexact" exceptions.
66814         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66815         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66816         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66817         test input.
66818         (lrint_upward_test_data): Test for "inexact" exceptions.
66819         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66820         test input.
66821         (llrint_test_data): Test for "inexact" exceptions.
66822         (llrint_test_data) [TEST_FLOAT]: Disable one test.
66823         (llrint_tonearest_test_data): Test for "inexact" exceptions.
66824         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66825         (llrint_towardzero_test_data): Test for "inexact" exceptions.
66826         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66827         (llrint_downward_test_data): Test for "inexact" exceptions.
66828         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66829         (llrint_upward_test_data): Test for "inexact" exceptions.
66830         (logb_test_data): Likewise.
66831         (logb_downward_test_data): Likewise.
66832         (nextafter_test_data): Likewise.
66833         (nexttoward_test_data): Likewise.
66834         (remainder_test_data): Likewise.
66835         (remquo_test_data): Likewise.
66836         (scalbn_test_data): Likewise.
66837         (scalbln_test_data): Likewise.
66838         (signbit_test_data): Likewise.
66839         (sqrt_test_data): Likewise.
66840         (significand_test_data): Likewise.
66842 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66844         [BZ #15424]
66845         * benchtests/bench-modf.c (struct args): Mark arg0 as
66846         volatile.
66847         * scripts/bench.pl: Mark members of struct args as volatile.
66849 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66851         [BZ # 15497]
66852         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66853         negative infinity on POWER6 or lower.
66854         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66856 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
66858         [BZ #15442]
66859         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66860         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66861         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66862         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66863         (_FP_SETQNAN): New macro.
66864         (_FP_SETQNAN_SEMIRAW): Likewise.
66865         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66866         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66867         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66868         (FP_EXTEND): Use _FP_FRAC_SNANP.
66869         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66870         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66871         into account.
66872         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66873         New macro.
66874         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66875         Likewise.
66877 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66879         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66880         with DIVIDE_BY_ZERO_EXCEPTION.
66881         (gamma_test_data): Likewise.
66882         (lgamma_test_data): Likewise.
66883         (log_test_data): Likewise.
66884         (log10_test_data): Likewise.
66885         (log2_test_data): Likewise.
66886         (tgamma_test_data): Likewise.
66888         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66889         (acos_test_tonearest): Likewise.
66890         (acos_test_towardzero): Likewise.
66891         (acos_test_downward): Likewise.
66892         (acos_test_upward): Likewise.
66893         (acosh_test): Likewise.
66894         (asin_test): Likewise.
66895         (asin_test_tonearest): Likewise.
66896         (asin_test_towardzero): Likewise.
66897         (asin_test_downward): Likewise.
66898         (asin_test_upward): Likewise.
66899         (asinh_test): Likewise.
66900         (atan_test): Likewise.
66901         (atanh_test): Likewise.
66902         (atan2_test): Likewise.
66903         (cabs_test): Likewise.
66904         (cacos_test): Likewise.
66905         (cacosh_test): Likewise.
66906         (casin_test): Likewise.
66907         (casinh_test): Likewise.
66908         (catan_test): Likewise.
66909         (catanh_test): Likewise.
66910         (cbrt_test): Likewise.
66911         (ccos_test): Likewise.
66912         (ccosh_test): Likewise.
66913         (cexp_test): Likewise.
66914         (clog_test): Likewise.
66915         (clog10_test): Likewise.
66916         (cos_test): Likewise.
66917         (cos_test_tonearest): Likewise.
66918         (cos_test_towardzero): Likewise.
66919         (cos_test_downward): Likewise.
66920         (cos_test_upward): Likewise.
66921         (cosh_test): Likewise.
66922         (cosh_test_tonearest): Likewise.
66923         (cosh_test_towardzero): Likewise.
66924         (cosh_test_downward): Likewise.
66925         (cosh_test_upward): Likewise.
66926         (cpow_test): Likewise.
66927         (csin_test): Likewise.
66928         (csinh_test): Likewise.
66929         (csqrt_test): Likewise.
66930         (ctan_test): Likewise.
66931         (ctan_test_tonearest): Likewise.
66932         (ctan_test_towardzero): Likewise.
66933         (ctan_test_downward): Likewise.
66934         (ctan_test_upward): Likewise.
66935         (ctanh_test): Likewise.
66936         (ctanh_test_tonearest): Likewise.
66937         (ctanh_test_towardzero): Likewise.
66938         (ctanh_test_downward): Likewise.
66939         (ctanh_test_upward): Likewise.
66940         (erf_test): Likewise.
66941         (erfc_test): Likewise.
66942         (exp_test): Likewise.
66943         (exp_test_tonearest): Likewise.
66944         (exp_test_towardzero): Likewise.
66945         (exp_test_downward): Likewise.
66946         (exp_test_upward): Likewise.
66947         (exp10_test): Likewise.
66948         (exp2_test): Likewise.
66949         (expm1_test): Likewise.
66950         (fmod_test): Likewise.
66951         (gamma_test): Likewise.
66952         (hypot_test): Likewise.
66953         (j0_test): Likewise.
66954         (j1_test): Likewise.
66955         (jn_test): Likewise.
66956         (lgamma_test): Likewise.
66957         (log_test): Likewise.
66958         (log10_test): Likewise.
66959         (log1p_test): Likewise.
66960         (log2_test): Likewise.
66961         (logb_test_downward): Likewise.
66962         (pow_test): Likewise.
66963         (pow_test_tonearest): Likewise.
66964         (pow_test_towardzero): Likewise.
66965         (pow_test_downward): Likewise.
66966         (pow_test_upward): Likewise.
66967         (remainder_test): Likewise.
66968         (remquo_test): Likewise.
66969         (sin_test): Likewise.
66970         (sin_test_tonearest): Likewise.
66971         (sin_test_towardzero): Likewise.
66972         (sin_test_downward): Likewise.
66973         (sin_test_upward): Likewise.
66974         (sincos_test): Likewise.
66975         (sinh_test): Likewise.
66976         (sinh_test_tonearest): Likewise.
66977         (sinh_test_towardzero): Likewise.
66978         (sinh_test_downward): Likewise.
66979         (sinh_test_upward): Likewise.
66980         (sqrt_test): Likewise.
66981         (tan_test): Likewise.
66982         (tan_test_tonearest): Likewise.
66983         (tan_test_towardzero): Likewise.
66984         (tan_test_downward): Likewise.
66985         (tan_test_upward): Likewise.
66986         (tanh_test): Likewise.
66987         (tgamma_test): Likewise.
66988         (y0_test): Likewise.
66989         (y1_test): Likewise.
66990         (yn_test): Likewise.
66992         * math/gen-libm-test.pl (adjust_arg): Remove function.
66993         (special_function): Remove argument $in_func.  Only handle
66994         generating output for tables of tests, not inside functions.
66995         (parse_args): Likewise.
66996         (generate_testfile): Remove variable $in_func.  Update call to
66997         parse_args.
66998         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
66999         (MINUS_ZERO_INIT): Rename macro to minus_zero.
67000         (PLUS_INFTY_INIT): Rename macro to plus_infty.
67001         (MINUS_INFTY_INIT): Rename macro to minus_infty.
67002         (QNAN_VALUE_INIT): Rename macro to qnan_value.
67003         (MAX_VALUE_INIT): Rename macro to max_value.
67004         (MIN_VALUE_INIT): Rename macro to min_value.
67005         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
67006         (plus_zero): Remove variable.
67007         (minus_zero): Likewise.
67008         (plus_infty): Likewise.
67009         (minus_infty): Likewise.
67010         (qnan_value): Likewise.
67011         (max_value): Likewise.
67012         (min_value): Likewise.
67013         (min_subnorm_value): Likewise.
67015 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67017         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
67018         uint64_t or uint32_t usage.
67019         * crypt/sha256-block.c: Likewise.
67020         * crypt/sha256-crypt.c: Likewise.
67021         * crypt/sha256.c: Likewise.
67022         * crypt/sha512-block.c: Likewise.
67023         * crypt/sha512-crypt.c: Likewise.
67024         * crypt/sha512.c: Likewise.
67025         * debug/backtrace-tst.c: Likewise.
67026         * debug/pcprofiledump.c: Likewise.
67027         * elf/cache.c: Likewise.
67028         * elf/dl-cache.c: Likewise.
67029         * elf/dl-misc.c: Likewise.
67030         * elf/dl-profile.c: Likewise.
67031         * elf/dl-support.c: Likewise.
67032         * elf/ldconfig.c: Likewise.
67033         * elf/sprof.c: Likewise.
67034         * iconv/dummy-repertoire.c: Likewise.
67035         * iconv/iconv_charmap.c: Likewise.
67036         * iconv/skeleton.c: Likewise.
67037         * iconvdata/8bit-generic.c: Likewise.
67038         * iconvdata/cp737.h: Likewise.
67039         * iconvdata/cp775.h: Likewise.
67040         * iconvdata/ibm1008.h: Likewise.
67041         * iconvdata/ibm1025.h: Likewise.
67042         * iconvdata/ibm1046.h: Likewise.
67043         * iconvdata/ibm1097.h: Likewise.
67044         * iconvdata/ibm1112.h: Likewise.
67045         * iconvdata/ibm1122.h: Likewise.
67046         * iconvdata/ibm1123.h: Likewise.
67047         * iconvdata/ibm1124.h: Likewise.
67048         * iconvdata/ibm1129.h: Likewise.
67049         * iconvdata/ibm1130.h: Likewise.
67050         * iconvdata/ibm1132.h: Likewise.
67051         * iconvdata/ibm1133.h: Likewise.
67052         * iconvdata/ibm1137.h: Likewise.
67053         * iconvdata/ibm1140.h: Likewise.
67054         * iconvdata/ibm1141.h: Likewise.
67055         * iconvdata/ibm1142.h: Likewise.
67056         * iconvdata/ibm1143.h: Likewise.
67057         * iconvdata/ibm1144.h: Likewise.
67058         * iconvdata/ibm1145.h: Likewise.
67059         * iconvdata/ibm1146.h: Likewise.
67060         * iconvdata/ibm1147.h: Likewise.
67061         * iconvdata/ibm1148.h: Likewise.
67062         * iconvdata/ibm1149.h: Likewise.
67063         * iconvdata/ibm1153.h: Likewise.
67064         * iconvdata/ibm1154.h: Likewise.
67065         * iconvdata/ibm1155.h: Likewise.
67066         * iconvdata/ibm1156.h: Likewise.
67067         * iconvdata/ibm1157.h: Likewise.
67068         * iconvdata/ibm1158.h: Likewise.
67069         * iconvdata/ibm1160.h: Likewise.
67070         * iconvdata/ibm1161.h: Likewise.
67071         * iconvdata/ibm1162.h: Likewise.
67072         * iconvdata/ibm1163.h: Likewise.
67073         * iconvdata/ibm1164.h: Likewise.
67074         * iconvdata/ibm1166.h: Likewise.
67075         * iconvdata/ibm1167.h: Likewise.
67076         * iconvdata/ibm12712.h: Likewise.
67077         * iconvdata/ibm1390.h: Likewise.
67078         * iconvdata/ibm1399.h: Likewise.
67079         * iconvdata/ibm16804.h: Likewise.
67080         * iconvdata/ibm4517.h: Likewise.
67081         * iconvdata/ibm4899.h: Likewise.
67082         * iconvdata/ibm4909.h: Likewise.
67083         * iconvdata/ibm4971.h: Likewise.
67084         * iconvdata/ibm5347.h: Likewise.
67085         * iconvdata/ibm803.h: Likewise.
67086         * iconvdata/ibm856.h: Likewise.
67087         * iconvdata/ibm901.h: Likewise.
67088         * iconvdata/ibm902.h: Likewise.
67089         * iconvdata/ibm9030.h: Likewise.
67090         * iconvdata/ibm9066.h: Likewise.
67091         * iconvdata/ibm921.h: Likewise.
67092         * iconvdata/ibm922.h: Likewise.
67093         * iconvdata/ibm9448.h: Likewise.
67094         * iconvdata/isiri-3342.h: Likewise.
67095         * iconvdata/jis0201.h: Likewise.
67096         * include/link.h: Likewise.
67097         * include/netdb.h: Likewise.
67098         * inet/check_native.c: Likewise.
67099         * inet/check_pf.c: Likewise.
67100         * inet/getipv4sourcefilter.c: Likewise.
67101         * inet/getnameinfo.c: Likewise.
67102         * inet/getsourcefilter.c: Likewise.
67103         * inet/htonl.c: Likewise.
67104         * inet/setipv4sourcefilter.c: Likewise.
67105         * inet/setsourcefilter.c: Likewise.
67106         * inet/test-inet6_opt.c: Likewise.
67107         * inet/tst-network.c: Likewise.
67108         * locale/C-collate.c: Likewise.
67109         * locale/C-ctype.c: Likewise.
67110         * locale/C-time.c: Likewise.
67111         * locale/C-translit.h: Likewise.
67112         * locale/loadarchive.c: Likewise.
67113         * locale/programs/3level.h: Likewise.
67114         * locale/programs/charmap.c: Likewise.
67115         * locale/programs/charmap.h: Likewise.
67116         * locale/programs/ld-address.c: Likewise.
67117         * locale/programs/ld-collate.c: Likewise.
67118         * locale/programs/ld-ctype.c: Likewise.
67119         * locale/programs/ld-identification.c: Likewise.
67120         * locale/programs/ld-measurement.c: Likewise.
67121         * locale/programs/ld-messages.c: Likewise.
67122         * locale/programs/ld-monetary.c: Likewise.
67123         * locale/programs/ld-name.c: Likewise.
67124         * locale/programs/ld-numeric.c: Likewise.
67125         * locale/programs/ld-paper.c: Likewise.
67126         * locale/programs/ld-telephone.c: Likewise.
67127         * locale/programs/ld-time.c: Likewise.
67128         * locale/programs/linereader.c: Likewise.
67129         * locale/programs/locale.c: Likewise.
67130         * locale/programs/locarchive.c: Likewise.
67131         * locale/programs/locfile.h: Likewise.
67132         * locale/programs/repertoire.c: Likewise.
67133         * locale/programs/simple-hash.c: Likewise.
67134         * locale/programs/simple-hash.h: Likewise.
67135         * malloc/memusage.c: Likewise.
67136         * malloc/memusagestat.c: Likewise.
67137         * nis/nis_defaults.c: Likewise.
67138         * nis/nis_hash.c: Likewise.
67139         * nis/nis_print.c: Likewise.
67140         * nis/nis_xdr.c: Likewise.
67141         * nscd/connections.c: Likewise.
67142         * nscd/hstcache.c: Likewise.
67143         * nscd/nscd_gethst_r.c: Likewise.
67144         * nscd/nscd_getserv_r.c: Likewise.
67145         * nscd/nscd_helper.c: Likewise.
67146         * nscd/servicescache.c: Likewise.
67147         * nss/makedb.c: Likewise.
67148         * nss/nss_db/db-XXX.c: Likewise.
67149         * nss/nss_db/db-initgroups.c: Likewise.
67150         * nss/nss_db/db-netgrp.c: Likewise.
67151         * nss/nss_files/files-network.c: Likewise.
67152         * nss/nss_files/files-parse.c: Likewise.
67153         * posix/bug-regex5.c: Likewise.
67154         * posix/fnmatch_loop.c: Likewise.
67155         * posix/regcomp.c: Likewise.
67156         * posix/regexec.c: Likewise.
67157         * posix/tst-rfc3484-2.c: Likewise.
67158         * posix/tst-rfc3484-3.c: Likewise.
67159         * posix/tst-rfc3484.c: Likewise.
67160         * resolv/nss_dns/dns-canon.c: Likewise.
67161         * resolv/nss_dns/dns-network.c: Likewise.
67162         * resolv/res_init.c: Likewise.
67163         * resolv/res_mkquery.c: Likewise.
67164         * resolv/tst-aton.c: Likewise.
67165         * stdlib/cxa_atexit.c: Likewise.
67166         * stdlib/cxa_finalize.c: Likewise.
67167         * stdlib/gen-fpioconst.c: Likewise.
67168         * stdlib/strtol_l.c: Likewise.
67169         * string/tst-endian.c: Likewise.
67170         * sunrpc/auth_des.c: Likewise.
67171         * sunrpc/clnt_udp.c: Likewise.
67172         * sunrpc/rtime.c: Likewise.
67173         * sunrpc/svcauth_des.c: Likewise.
67174         * sunrpc/xdr.c: Likewise.
67175         * sunrpc/xdr_intXX_t.c: Likewise.
67176         * sunrpc/xdr_rec.c: Likewise.
67177         * sysdeps/generic/ldconfig.h: Likewise.
67178         * sysdeps/generic/ldsodefs.h: Likewise.
67179         * sysdeps/generic/memusage.h: Likewise.
67180         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67181         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67182         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67183         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67184         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67185         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67186         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67187         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67188         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67189         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67190         * sysdeps/posix/getaddrinfo.c: Likewise.
67191         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67192         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67193         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67194         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67195         * sysdeps/powerpc/test-gettimebase.c: Likewise.
67196         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67197         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67198         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67199         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67200         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67201         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67202         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67203         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67204         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67205         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67206         * sysdeps/x86_64/dl-tls.h: Likewise.
67207         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67208         * time/alt_digit.c: Likewise.
67209         * time/era.c: Likewise.
67210         * wcsmbs/tst-c16c32-1.c: Likewise.
67212 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67214         * math/libm-test.inc (struct test_sincos_data): New type.
67215         (RUN_TEST_LOOP_sincos): New macro.
67216         (sincos_test_data): New variable.
67217         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67219 2013-05-16  Richard Henderson  <rth@redhat.com>
67221         * math/atest-exp2.c (LIMB64): New macro.
67222         (CONSTSZ): New macro.
67223         (mp_exp1, mp_exp_m1, mp_log2): New variables.
67224         (hexdig): Move ...
67225         (print_mpn_fp): ... to function scope.
67226         (read_mpn_hex): Remove.
67227         (get_log2): Remove.
67228         (exp2_mpn): Use mp_log2.
67229         (main): Use mp_exp1.
67231 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67233         * math/libm-test.inc: Remove comment about not testing "inexact"
67234         exceptions.
67235         (INEXACT_EXCEPTION): New macro.
67236         (NO_INEXACT_EXCEPTION): Likewise.
67237         (INVALID_EXCEPTION_OK): Update value.
67238         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67239         (OVERFLOW_EXCEPTION_OK): Likewise.
67240         (UNDERFLOW_EXCEPTION_OK): Likewise.
67241         (IGNORE_ZERO_INF_SIGN): Likewise.
67242         (ERRNO_UNCHANGED): Likewise.
67243         (ERRNO_EDOM): Likewise.
67244         (ERRNO_ERANGE): Likewise.
67245         (test_exceptions): Handle testing "inexact" exceptions.
67246         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67247         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67248         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67249         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67250         INEXACT_EXCEPTION.
67251         (rint_towardzero_test_data): Likewise.
67252         (rint_downward_test_data): Likewise.
67253         (rint_upward_test_data): Likewise.
67255         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67256         with OVERFLOW_EXCEPTION.
67257         (exp10_test_data): Likewise.
67258         (exp2_test_data): Likewise.
67259         (expm1_test_data): Likewise.
67260         (lgamma_test_data): Likewise.
67261         (pow_test_data): Likewise.
67262         (tgamma_test_data): Likewise.
67263         (yn_test_data): Remove duplicate test of overflow.
67265         * math/libm-test.inc (struct test_cc_c_data): New type.
67266         (RUN_TEST_LOOP_cc_c): New macro.
67267         (cpow_test_data): New variable.
67268         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67270         * math/libm-test.inc (struct test_f_L_data): New type.
67271         (RUN_TEST_LOOP_f_L): New macro.
67272         (llrint_test_data): New variable.
67273         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67274         (llrint_tonearest_test_data): New variable.
67275         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67276         (llrint_towardzero_test_data): New variable.
67277         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67278         (llrint_downward_test_data): New variable.
67279         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67280         (llrint_upward_test_data): New variable.
67281         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67282         (llround_test_data): New variable.
67283         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67285 2013-05-13  Peter Collingbourne  <pcc@google.com>
67287         * math/atest-exp2.c (get_log2): Remove const attribute.
67289 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67291         * math/libm-test.inc (struct test_f_l_data): New type.
67292         (RUN_TEST_LOOP_f_l): New macro.
67293         (lrint_test_data): New variable.
67294         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67295         (lrint_tonearest_test_data): New variable.
67296         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67297         (lrint_towardzero_test_data): New variable.
67298         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67299         (lrint_downward_test_data): New variable.
67300         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67301         (lrint_upward_test_data): New variable.
67302         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67303         (lround_test_data): New variable.
67304         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67306 2013-05-15  Peter Collingbourne  <pcc@google.com>
67308         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67309         (EXTRACT_WORDS64) Use where appropriate.
67310         (INSERT_WORDS64) Likewise.
67312         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67313         constraints with x constraints.
67314         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67316         * malloc/obstack.c (_obstack_compat): Add initializer.
67318 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
67320         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67321         si_trapno and add si_addr_lsb to _sifields.sigfault.
67322         (si_trapno): Remove macro.
67323         (si_addr_lsb): Define new macro.
67324         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67326 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67328         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67329         instead of TEST_f_l.
67330         (llrint_test_tonearest): Likewise.
67331         (llrint_test_towardzero): Likewise.
67332         (llrint_test_downward): Likewise.
67333         (llrint_test_upward): Likewise.
67334         (llround_test): Likewise.
67336         * math/libm-test.inc (struct test_f_i_data): Add comment.
67337         (RUN_TEST_LOOP_f_b): New macro.
67338         (RUN_TEST_LOOP_f_b_tg): Likewise.
67339         (finite_test_data): New variable.
67340         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67341         (isfinite_test_data): New variable.
67342         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67343         (isinf_test_data): New variable.
67344         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67345         (isnan_test_data): New variable.
67346         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67347         (isnormal_test_data): New variable.
67348         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67349         (issignaling_test_data): New variable.
67350         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67351         (signbit_test_data): New variable.
67352         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67354         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67355         with INVALID_EXCEPTION.
67356         (acosh_test_data): Likewise.
67357         (asin_test_data): Likewise.
67358         (atanh_test_data): Likewise.
67359         (fmod_test_data): Likewise.
67360         (log_test_data): Likewise.
67361         (log10_test_data): Likewise.
67362         (log2_test_data): Likewise.
67363         (pow_test_data): Likewise.
67364         (sqrt_test_data): Likewise.
67365         (y0_test_data): Likewise.
67366         (y1_test_data): Likewise.
67367         (yn_test_data): Likewise.
67369         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67370         function contents.
67372         * math/libm-test.inc (struct test_ff_i_data): New type.
67373         (RUN_TEST_LOOP_ff_i_tg): New macro.
67374         (isgreater_test_data): New variable.
67375         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67376         (isgreaterequal_test_data): New variable.
67377         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67378         (isless_test_data): New variable.
67379         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67380         (islessequal_test_data): New variable.
67381         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67382         (islessgreater_test_data): New variable.
67383         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67384         (isunordered_test_data): New variable.
67385         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67387 2013-05-14  David S. Miller  <davem@davemloft.net>
67389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67391 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
67393         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67395         * math/libm-test.inc (struct test_fF_f1_data): Change type of
67396         extra_test to int.
67397         (struct test_f_i_data): Change type of max_ulp to int.
67399         * math/libm-test.inc (test_ffI_f1_data): New type.
67400         (RUN_TEST_LOOP_ffI_f1): New macro.
67401         (remquo_test_data): New variable.
67402         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67404         * setjmp/tst-setjmp-fp.c: New file.
67405         * setjmp/Makefile (tests): Add tst-setjmp-fp.
67406         (link-libm): New variable.
67407         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67409         * math/libm-test.inc (struct test_f_i_data): New type.
67410         (RUN_TEST_LOOP_f_i): New macro.
67411         (RUN_TEST_LOOP_f_i_tg): Likewise.
67412         (fpclassify_test_data): New variable.
67413         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67414         (ilogb_test_data): New variable.
67415         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67417         * math/libm-test.inc (scalbln_test): Correct function name in END
67418         call.
67420         * math/libm-test.inc (struct test_f_f1_data): Add comment.
67421         (RUN_TEST_LOOP_fI_f1): New macro.
67422         (frexp_test_data): New variable.
67423         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67425         * math/libm-test.inc (struct test_fF_f1_data): New type.
67426         (RUN_TEST_LOOP_fF_f1): New macro.
67427         (modf_test_data): New variable.
67428         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67430         * math/libm-test.inc (struct test_f_f1_data): New type.
67431         (RUN_TEST_LOOP_f_f1): New macro.
67432         (gamma_test_data): New variable.
67433         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67434         (lgamma_test_data): New variable.
67435         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67437 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
67439         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67440         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67441         (main): Comment "tls" pseudo-hwcap.
67443 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
67445         * math/libm-test.inc (struct test_fl_f_data): New type.
67446         (RUN_TEST_LOOP_fl_f): New variable.
67447         (scalbln_test_data): New variable.
67448         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67450         * math/libm-test.inc (struct test_fi_f_data): New type.
67451         (RUN_TEST_LOOP_fi_f): New macro.
67452         (ldexp_test_data): New variable.
67453         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67454         (scalbn_test_data): New variable.
67455         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67457         * math/libm-test.inc (struct test_c_f_data): New type.
67458         (RUN_TEST_LOOP_c_f): New macro.
67459         (cabs_test_data): New variable.
67460         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67461         (carg_test_data): New variable.
67462         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67463         (cimag_test_data): New variable.
67464         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67465         (creal_test_data): New variable.
67466         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67468         * math/libm-test.inc (struct test_if_f_data): New type.
67469         (RUN_TEST_LOOP_if_f): New macro.
67470         (jn_test_data): New variable.
67471         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67472         (yn_test_data): New variable.
67473         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67475         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67477 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67479         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67480         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67482 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67484         * benchtests/Makefile (CPPFLAGS-nonlib): Add
67485         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67486         (bench-deps): Add bench-timing.h.
67487         * benchtests-bench-skeleton.c: Include bench-timing.h.
67488         (main): Use TIMING_* macros instead of clock_gettime.
67489         * benchtests/bench-timing.h: New file.
67491         [BZ #14582]
67492         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67493         Renamed from _LIB_VERSION.
67494         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67496 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
67498         * math/libm-test.inc (struct test_fff_f_data): New type.
67499         (RUN_TEST_LOOP_fff_f): New macro.
67500         (fma_test_data): New variable.
67501         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67502         (fma_towardzero_test_data): New variable.
67503         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67504         (fma_downward_test_data): New variable.
67505         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67506         (fma_upward_test_data): New variable.
67507         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67509         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67510         (struct test_c_c_data): New type.
67511         (RUN_TEST_LOOP_c_c): New macro.
67512         (cacos_test_data): New variable.
67513         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67514         (cacosh_test_data): New variable.
67515         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67516         (casin_test_data): New variable.
67517         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67518         (casinh_test_data): New variable.
67519         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67520         (catan_test_data): New variable.
67521         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67522         (catanh_test_data): New variable.
67523         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67524         (ccos_test_data): New variable.
67525         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67526         (ccosh_test_data): New variable.
67527         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67528         (cexp_test_data): New variable.
67529         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67530         (clog_test_data): New variable.
67531         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67532         (clog10_test_data): New variable.
67533         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67534         (conj_test_data): New variable.
67535         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67536         (cproj_test_data): New variable.
67537         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67538         (csin_test_data): New variable.
67539         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67540         (csinh_test_data): New variable.
67541         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67542         (csqrt_test_data): New variable.
67543         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67544         (ctan_test_data): New variable.
67545         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67546         (ctan_tonearest_test_data): New variable.
67547         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67548         (ctan_towardzero_test_data): New variable.
67549         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67550         (ctan_downward_test_data): New variable.
67551         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67552         (ctan_upward_test_data): New variable.
67553         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67554         (ctanh_test_data): New variable.
67555         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67556         (ctanh_tonearest_test_data): New variable.
67557         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67558         (ctanh_towardzero_test_data): New variable.
67559         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67560         (ctanh_downward_test_data): New variable.
67561         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67562         (ctanh_upward_test_data): New variable.
67563         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67564         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67565         of BUILD_COMPLEX.
67567         * math/libm-test.inc (struct test_ff_f_data): New type.
67568         (struct test_ff_f_data_nexttoward): Likewise.
67569         (RUN_TEST_LOOP_2_f): New macro.
67570         (RUN_TEST_LOOP_ff_f): Likewise.
67571         (atan2_test_data): New variable.
67572         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67573         (copysign_test_data): New variable.
67574         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67575         (fdim_test_data): New variable.
67576         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67577         (fmax_test_data): New variable.
67578         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67579         (fmin_test_data): New variable.
67580         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67581         (fmod_test_data): New variable.
67582         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67583         (hypot_test_data): New variable.
67584         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67585         (nextafter_test_data): New variable.
67586         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67587         (nexttoward_test_data): New variable.
67588         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67589         (pow_test_data): New variable.
67590         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67591         (pow_tonearest_test_data): New variable.
67592         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67593         (pow_towardzero_test_data): New variable.
67594         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67595         (pow_downward_test_data): New variable.
67596         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67597         (pow_upward_test_data): New variable.
67598         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67599         (remainder_test_data): New variable.
67600         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67601         (scalb_test_data): New variable.
67602         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67603         * sysdeps/i386/fpu/libm-test-ulps: Update.
67605 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
67607         * math/libm-test.inc (fma_test): Use max_value instead of local
67608         variable fltmax.
67609         (nextafter_test): Likewise.
67611         * math/libm-test.inc (acos_towardzero_test_data): New variable.
67612         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67613         (acos_downward_test_data): New variable.
67614         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67615         (acos_upward_test_data): New variable.
67616         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67617         (acosh_test_data): New variable.
67618         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67619         (asin_test_data): New variable.
67620         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67621         (asin_tonearest_test_data): New variable.
67622         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67623         (asin_towardzero_test_data): New variable.
67624         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67625         (asin_downward_test_data): New variable.
67626         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67627         (asin_upward_test_data): New variable.
67628         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67629         (asinh_test_data): New variable.
67630         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67631         (atan_test_data): New variable.
67632         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67633         (atanh_test_data): New variable.
67634         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67635         (cbrt_test_data): New variable.
67636         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67637         (ceil_test_data): New variable.
67638         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67639         (cos_test_data): New variable.
67640         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67641         (cos_tonearest_test_data): New variable.
67642         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67643         (cos_towardzero_test_data): New variable.
67644         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67645         (cos_downward_test_data): New variable.
67646         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67647         (cos_upward_test_data): New variable.
67648         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67649         (cosh_test_data): New variable.
67650         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67651         (cosh_tonearest_test_data): New variable.
67652         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67653         (cosh_towardzero_test_data): New variable.
67654         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67655         (cosh_downward_test_data): New variable.
67656         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67657         (cosh_upward_test_data): New variable.
67658         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67659         (erf_test_data): New variable.
67660         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67661         (erfc_test_data): New variable.
67662         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67663         (exp_test_data): New variable.
67664         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67665         (exp_tonearest_test_data): New variable.
67666         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67667         (exp_towardzero_test_data): New variable.
67668         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67669         (exp_downward_test_data): New variable.
67670         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67671         (exp_upward_test_data): New variable.
67672         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67673         (exp10_test_data): New variable.
67674         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67675         (exp2_test_data): New variable.
67676         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67677         (expm1_test_data): New variable.
67678         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67679         (fabs_test_data): New variable.
67680         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67681         (floor_test_data): New variable.
67682         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67683         (j0_test_data): New variable.
67684         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67685         (j1_test_data): New variable.
67686         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67687         (log_test_data): New variable.
67688         (log_test): Run tests with RUN_TEST_LOOP_f_f.
67689         (log10_test_data): New variable.
67690         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67691         (log1p_test_data): New variable.
67692         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67693         (log2_test_data): New variable.
67694         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67695         (logb_test_data): New variable.
67696         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67697         (logb_downward_test_data): New variable.
67698         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67699         (nearbyint_test_data): New variable.
67700         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67701         (rint_test_data): New variable.
67702         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67703         (rint_tonearest_test_data): New variable.
67704         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67705         (rint_towardzero_test_data): New variable.
67706         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67707         (rint_downward_test_data): New variable.
67708         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67709         (rint_upward_test_data): New variable.
67710         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67711         (round_test_data): New variable.
67712         (round_test): Run tests with RUN_TEST_LOOP_f_f.
67713         (sin_test_data): New variable.
67714         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67715         (sin_tonearest_test_data): New variable.
67716         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67717         (sin_towardzero_test_data): New variable.
67718         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67719         (sin_downward_test_data): New variable.
67720         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67721         (sin_upward_test_data): New variable.
67722         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67723         (sinh_test_data): New variable.
67724         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67725         (sinh_tonearest_test_data): New variable.
67726         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67727         (sinh_towardzero_test_data): New variable.
67728         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67729         (sinh_downward_test_data): New variable.
67730         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67731         (sinh_upward_test_data): New variable.
67732         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67733         (sqrt_test_data): New variable.
67734         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67735         (tan_test_data): New variable.
67736         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67737         (tan_tonearest_test_data): New variable.
67738         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67739         (tan_towardzero_test_data): New variable.
67740         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67741         (tan_downward_test_data): New variable.
67742         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67743         (tan_upward_test_data): New variable.
67744         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67745         (tanh_test_data): New variable.
67746         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67747         (tgamma_test_data): New variable.
67748         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67749         (trunc_test_data): New variable.
67750         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67751         (y0_test_data): New variable.
67752         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67753         (y1_test_data): New variable.
67754         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67755         (significand_test_data): New variable.
67756         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67758 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
67760         [BZ #12387]
67761         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67763 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67765         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67767 2013-05-10  Andreas Jaeger  <aj@suse.de>
67769         [BZ #15448]
67770         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67771         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67773 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67775         * math/gen-libm-test.pl (adjust_arg): New function.
67776         (special_functions): Handle generating output in both functions
67777         and arrays.
67778         (parse_args): Likewise.
67779         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
67780         $in_func argument to parse_args.
67781         * math/libm-test.inc (struct test_f_f_data): New type.
67782         (IF_ROUND_INIT_): New macro.
67783         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67784         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67785         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67786         (IF_ROUND_INIT_FE_UPWARD): Likewise.
67787         (ROUND_RESTORE_): Likewise.
67788         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67789         (ROUND_RESTORE_FE_TONEAREST): Likewise.
67790         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67791         (ROUND_RESTORE_FE_UPWARD): Likewise.
67792         (RUN_TEST_LOOP_f_f): New macro.
67793         (acos_test_data): New variable.
67794         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67795         (acos_tonearest_test_data): New variable.
67796         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67798 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67800         * benchtests/bench-skeleton.c (startup): Fix coding style.
67802 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67804         [BZ #6809]
67805         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67806         negative infinity argument.
67807         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67808         negative infinity argument.
67809         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67810         negative infinity argument.
67811         * math/libm-test.inc (tgamma_test): Expect errno to be set for
67812         domain errors.
67814 2013-05-10  Florian Weimer  <fweimer@redhat.com>
67816         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67817         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67818         * iconv/iconv_prog.c (main): Likewise.
67819         * locale/programs/charmap-dir.c (charmap_readdir)
67820         (fopen_uncompressed): Likewise.
67821         * locale/programs/locfile.c (siblings_uncached)
67822         (write_locale_data): Use lstat64 instead of lstat.
67823         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67824         stat.
67826 2013-05-10  Andreas Jaeger  <aj@suse.de>
67828         [BZ #15395]
67829         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67830         localization.
67831         Include <locale.h>.
67833 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
67835         * elf/dl-close.c (_dl_close_worker): Add comments.
67837 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
67839         [BZ #15359]
67840         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67841         high part of pi/2.
67842         (__ieee754_rem_pio2l): Update comments.
67844         [BZ #15429]
67845         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67846         high part of pi/2.
67847         (__ieee754_rem_pio2l): Update comments.
67849         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67850         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67852         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67853         M_PI_4l.
67855         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67856         (M_PI_34_LOG10El): Likewise.
67857         (M_PI2_LOG10El): Likewise.
67858         (M_PI4_LOG10El): Likewise.
67859         (M_PI_LOG10El): Likewise.
67861 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67865 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
67867         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67868         (MINUS_ZERO_INIT): Likewise.
67869         (PLUS_INFTY_INIT): Likewise.
67870         (MINUS_INFTY_INIT): Likewise.
67871         (QNAN_VALUE_INIT): Likewise.
67872         (MAX_VALUE_INIT): Likewise.
67873         (MIN_VALUE_INIT): Likewise.
67874         (MIN_SUBNORM_VALUE_INIT): Likewise.
67875         (plus_zero): Initialize with PLUS_ZERO_INIT.
67876         (minus_zero): Initialize with MINUS_ZERO_INIT.
67877         (plus_infty): Initialize with PLUS_INFTY_INIT.
67878         (minus_infty): Initialize with MINUS_INFTY_INIT.
67879         (qnan_value): Initialize with QNAN_VALUE_INIT.
67880         (max_value): Initialize with MAX_VALUE_INIT.
67881         (min_value): Initialize with MIN_VALUE_INIT.
67882         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67884         * math/libm-test.inc (RUN_TEST_if_f): New macro.
67885         (jn_test): Use TEST_if_f instead of TEST_ff_f.
67886         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67887         (yn_test): Use TEST_if_f instead of TEST_ff_f.
67889         * math/libm-test.inc (RUN_TEST_f_f): New macro.
67890         (RUN_TEST_2_f): Likewise.
67891         (RUN_TEST_ff_f): Likewise.
67892         (RUN_TEST_fi_f): Likewise.
67893         (RUN_TEST_fl_f): Likewise.
67894         (RUN_TEST_fff_f): Likewise.
67895         (RUN_TEST_c_f): Likewise.
67896         (RUN_TEST_f_f1): Likewise.
67897         (RUN_TEST_fF_f1): Likewise.
67898         (RUN_TEST_fI_f1): Likewise.
67899         (RUN_TEST_ffI_f1): Likewise.
67900         (RUN_TEST_c_c): Likewise.
67901         (RUN_TEST_cc_c): Likewise.
67902         (RUN_TEST_f_i): Likewise.
67903         (RUN_TEST_f_i_tg): Likewise.
67904         (RUN_TEST_ff_i_tg): Likewise.
67905         (RUN_TEST_f_b): Likewise.
67906         (RUN_TEST_f_b_tg): Likewise.
67907         (RUN_TEST_f_l): Likewise.
67908         (RUN_TEST_f_L): Likewise.
67909         (RUN_TEST_sincos): Likewise.
67910         * math/gen-libm-test.pl (new_test): Take new argument to indicate
67911         whether to show exceptions.  Do not include ");\n" in return
67912         value.
67913         (special_functions): Output call to RUN_TEST_sincos instead of
67914         check_float calls.  Update calls to new_test.
67915         (parse_args): Output call to single RUN_TEST_* macro instead of
67916         check_* calls and other assignments.  Update calls to new_test.
67918         [BZ #2546]
67919         [BZ #2560]
67920         [BZ #5159]
67921         [BZ #15426]
67922         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67923         input to result for tgamma overflow.
67924         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67925         (gamma_coeff): New variable.
67926         (NCOEFF): New macro.
67927         (gamma_positive): New function.
67928         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67929         underflow here.  Use gamma_positive instead of exp (lgamma) for
67930         other arguments.
67931         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67932         (gamma_coeff): New variable.
67933         (NCOEFF): New macro.
67934         (gammaf_positive): New function.
67935         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67936         underflow here.  Use gamma_positive instead of exp (lgamma) for
67937         other arguments.
67938         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67939         (gamma_coeff): New variable.
67940         (NCOEFF): New macro.
67941         (gammal_positive): New function.
67942         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67943         underflow here.  Use gamma_positive instead of exp (lgamma) for
67944         other arguments.
67945         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67946         (gamma_coeff): New variable.
67947         (NCOEFF): New macro.
67948         (gammal_positive): New function.
67949         (__ieee754_gammal_r): Handle positive infinity, overflow and
67950         underflow here.  Handle NaN the same as positive infinity.  Remove
67951         check x < 0xffffffff for negative integers.  Use gamma_positive
67952         instead of exp (lgamma) for other arguments.
67953         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67954         (gamma_coeff): New variable.
67955         (NCOEFF): New macro.
67956         (gammal_positive): New function.
67957         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
67958         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
67959         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
67960         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
67961         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
67962         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
67963         * sysdeps/generic/math_private.h (__gamma_productf): New
67964         prototype.
67965         (__gamma_product): Likewise.
67966         (__gamma_productl): Likewise.
67967         * math/Makefile (libm-calls): Add gamma_product.
67968         * math/libm-test.inc (tgamma_test): Add more tests.
67969         * sysdeps/i386/fpu/libm-test-ulps: Update.
67970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67972 2013-05-08  Ondƙej BĂ­lka  <neleai@seznam.cz>
67974         * benchtests/bench-skeleton.c (main): Preheat CPU.
67976 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
67978         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
67980 2013-05-07  Roland McGrath  <roland@hack.frob.com>
67982         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
67983         and _dl_skip_args_internal.
67985 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
67987         * manual/message.texi (Message Translation): Talk about users.
67988         Message to key mapping impacts design.
67990 2013-05-06  Roland McGrath  <roland@hack.frob.com>
67992         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
67994         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
67996         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
67997         * sysdeps/wordsize-64/glob64.c: ... here.
67999         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
68000         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
68001         New macros.
68003         * debug/getlogin_r_chk.c: Moved to ...
68004         * login/getlogin_r_chk.c: ... here.
68005         * debug/Makefile (routines): Move getlogin_r_chk to ...
68006         * login/Makefile (routines): ... here.
68007         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
68008         * login/Versions (libc: GLIBC_2.4): ... here.
68010         * io/poll.c (__poll): Renamed from poll.
68011         Add libc_hidden_def.
68012         (poll): Define as weak alias.
68014         * debug/ptsname_r_chk.c: Moved to ...
68015         * login/ptsname_r_chk.c: ... here.
68016         * debug/Makefile (routines): Move ptsname_r_chk to ...
68017         * login/Makefile (routines): ... here.
68018         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
68019         * login/Versions (libc: GLIBC_2.4): ... here.
68021         * posix/getlogin.c: Moved to ...
68022         * login/getlogin.c: ... here.
68023         * posix/getlogin_r.c: Moved to ...
68024         * login/getlogin_r.c: ... here.
68025         * posix/getlogin_r.c: Moved to ...
68026         * login/getlogin_r.c: ... here.
68027         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
68028         * login/Makefile (routines): ... here.
68029         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
68030         * login/Versions (libc: GLIBC_2.0): ... here.
68032         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
68033         (setrlimit): Define as weak alias.
68035         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
68036         Call __ names for open, ftruncate, and close.
68037         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
68038         (truncate): Define as weak alias.
68040 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
68042         * math/gen-libm-test.pl (parse_args): Initialize x before each
68043         test of frexp, modf and remquo.
68045         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
68046         test signgam value.
68048 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68050         [BZ #15418]
68051         [BZ #15419]
68052         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
68053         internal tests.
68054         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68056 2013-05-06  Roland McGrath  <roland@hack.frob.com>
68058         * elf/dl-writev.h: New file.
68059         * elf/dl-misc.c: Include it.
68060         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
68061         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
68063 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
68065         * math/libm-test.inc (noXFails): Remove variable.
68066         (noXPasses): Likewise.
68067         (BUILD_COMPLEX_INT): Remove macro.
68068         (print_screen): Remove xfail argument.
68069         (print_screen_max_error): Likewise.
68070         (update_stats): Likewise.
68071         (print_max_error): Likewise.  Update calls to other affected
68072         functions.
68073         (print_complex_max_error): Likewise.
68074         (test_single_exception): Update calls to print_screen.
68075         (test_single_errno): Likewise.
68076         (check_float_internal): Remove xfail argument.  Update calls to
68077         other affected functions.
68078         (check_float): Likewise.
68079         (check_complex): Likewise.
68080         (check_int): Likewise.
68081         (check_long): Likewise.
68082         (check_bool): Likewise.
68083         (check_longlong): Likewise.
68084         (main): Don't print noXFails and noXPasses.
68085         * math/gen-libm-test.pl (top level): Don't mention expected
68086         failure handling in comment.
68087         (new_test): Don't handle expected failures.
68088         (parse_args): Don't mention expected failure handling in comment.
68089         (generate_testfile): Don't handle expected failures.
68090         (parse_ulps): Likewise.
68091         (print_ulps_file): Likewise.
68092         (get_failure): Remove function.
68093         (output_test): Don't handle expected failures.
68094         * make/README.libm-test: Don't mention expected failure handling.
68096         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
68097         (minus_zero): Likewise.
68098         (plus_infty): Likewise.
68099         (minus_infty): Likewise.
68100         (qnan_value): Likewise.
68101         (max_value): Likewise.
68102         (min_value): Likewise.
68103         (min_subnorm_value): Likewise.
68104         (initialize): Do not initialize those variables dynamically.
68106 2013-05-03  Roland McGrath  <roland@hack.frob.com>
68108         * io/open.c (__open_2): Moved to ...
68109         * io/open_2.c: ... this new file.
68110         * io/open64.c (__open64_2): Moved to ...
68111         * io/open64_2.c: ... this new file.
68112         * io/openat.c (__openat_2): Moved to ...
68113         * io/openat_2.c: ... this new file.
68114         * io/openat64.c (__openat64_2): Moved to ...
68115         * io/openat64_2.c: ... this new file.
68116         * io/Makefile (routines): Add them.
68117         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68118         * sysdeps/unix/sysv/linux/open_2.c: File removed.
68119         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68120         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68121         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68122         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68123         (__openat64): Add hidden_ver.
68124         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68125         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68127         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68128         Separately conditionalize setting of GLRO(dl_sysinfo) so
68129         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68130         as well, but the actual setting is only under [NEED_DL_SYSINFO].
68132 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68134         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68135         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68136         definition.
68137         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68138         * sysdeps/unix/sysv/linux/powerpc/init-first.c
68139         (_libc_vdso_platform_setup): Add __vdso_time initialization.
68140         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68141         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
68143 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
68145         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68146         test signgam value.
68148         * math/libm-test.inc (hypot_test): Do not use
68149         IGNORE_ZERO_INF_SIGN.
68151 2013-05-03  Andreas Jaeger  <aj@suse.de>
68153         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68154         Linux 3.9.
68155         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68156         (PF_MAX): Adjust for VSOCK change.
68158 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68162 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
68164         [BZ #15264]
68165         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68166         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68167         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68169 2013-05-02  David S. Miller  <davem@davemloft.net>
68171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68173 2013-05-01  Ondƙej BĂ­lka  <neleai@seznam.cz>
68175         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68177 2013-05-01  Roland McGrath  <roland@hack.frob.com>
68179         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68181 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
68183         [BZ #14952]
68184         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68185         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68186         Use __attribute__ ((__gnu_inline__)).
68187         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68188         Don't use __attribute__ ((__gnu_inline__)).
68190 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
68192         [BZ #15423]
68193         * math/s_catan.c (__catan): Handle small real or imaginary part of
68194         input specially to avoid spurious underflow.
68195         * math/s_catanf.c (__catanf): Likewise.
68196         * math/s_catanh.c (__catanh): Likewise.
68197         * math/s_catanhf.c (__catanhf): Likewise.
68198         * math/s_catanhl.c (__catanhl): Likewise.
68199         * math/s_catanl.c (__catanl): Likewise.
68200         * math/libm-test.inc (catan_test): Add more tests.
68201         (catanh_test): Likewise.
68202         * sysdeps/i386/fpu/libm-test-ulps: Update.
68203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68205 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68209 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
68211         [BZ #15416]
68212         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68213         accurately for denominator in atan2.
68214         * math/s_catanf.c (__catanf): Likewise.
68215         * math/s_catanh.c (__catanh): Likewise.
68216         * math/s_catanhf.c (__catanhf): Likewise.
68217         * math/s_catanhl.c (__catanhl): Likewise.
68218         * math/s_catanl.c (__catanl): Likewise.
68219         * math/libm-test.inc (catan_test): Add more tests.
68220         (catanh_test): Likewise.
68221         * sysdeps/i386/fpu/libm-test-ulps: Update.
68222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68224 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68226         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68228         * benchtests/Makefile (bench): Remove slow benchmarks.
68229         * benchtests/atan-inputs: Add slow benchmark inputs.
68230         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68231         (BENCH_FUNC): Accept variant offset.
68232         (VARIANT): Define.
68233         * benchtests/bench-skeleton.c (main): Run benchmark for each
68234         variant.
68235         * benchtests/cos-inputs: Add slow benchmark inputs.
68236         * benchtests/exp-inputs: Likewise.
68237         * benchtests/pow-inputs: Likewise.
68238         * benchtests/sin-inputs: Likewise.
68239         * benchtests/slowatan-inputs: Remove.
68240         * benchtests/slowatan.c: Remove.
68241         * benchtests/slowcos-inputs: Remove.
68242         * benchtests/slowcos.c: Remove.
68243         * benchtests/slowexp-inputs: Remove.
68244         * benchtests/slowexp.c: Remove.
68245         * benchtests/slowpow-inputs: Remove.
68246         * benchtests/slowpow.c: Remove.
68247         * benchtests/slowsin-inputs: Remove.
68248         * benchtests/slowsin.c: Remove.
68249         * benchtests/slowtan-inputs: Remove.
68250         * benchtests/slowtan.c: Remove.
68251         * benchtests/tan-inputs: Add slow benchmark inputs.
68252         * scripts/bench.pl: Parse comments and directives.
68254         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
68255         in CPPFLAGS.
68256         ($(objpfx)bench-%.c): Remove *-ITER.
68257         * benchtests/bench-modf.c: Remove definition of ITER.
68258         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68259         (main): Loop for DURATION seconds instead of fixed number of
68260         iterations.
68261         * scripts/bench.pl: Don't expect iterations in parameters.
68263 2013-04-29  Roland McGrath  <roland@hack.frob.com>
68265         * io/fchdir.c (__fchdir): Renamed from fchdir.
68266         (fchdir): Define as weak alias.
68268 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68270         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68271         (ERRNO_EDOM): Likewise.
68272         (ERRNO_ERANGE): Likewise.
68273         (noErrnoTests): New variable.
68274         (init_max_error): Set errno to 0.
68275         (test_single_errno): New function.
68276         (test_errno): Likewise.
68277         (check_float_internal): Call test_errno.  Set errno to 0.
68278         (check_complex): Refer to errno tests in comment.
68279         (check_int): Call test_errno.  Set errno to 0.
68280         (check_long): Likewise.
68281         (check_bool): Likewise.
68282         (check_longlong): Likewise.
68283         (cos_test): Use ERRNO_* flags for errno tests instead of
68284         check_int.
68285         (expm1_test): Likewise.
68286         (fmod_test): Likewise.
68287         (ilogb_test): Likewise.
68288         (lgamma_test): Likewise.
68289         (pow_test): Likewise.
68290         (remainder_test): Likewise.
68291         (sin_test): Likewise.
68292         (tan_test): Likewise.
68293         (yn_test): Likewise.
68294         (initialize): Set errno to 0.
68295         (main): Print number of errno tests.
68296         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68298 2013-04-29  Andreas Jaeger  <aj@suse.de>
68300         [BZ #15084]
68301         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68302         and RES_USEVC.
68304         [BZ #15085]
68305         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68306         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68307         unimplemented.
68309         [BZ #15380]
68310         * stdlib/random.c (__initstate): Return NULL if
68311         __initstate fails.
68313         [BZ #15086]
68314         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68315         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68316         RES_SNGLKUPREOP.
68318 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68322 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68324         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68325         of individual tests.
68326         (casin_test): Likewise.
68327         (casinh_test): Likewise.
68329 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
68331         [BZ #15409]
68332         * math/s_catan.c (__catan): Handle arguments with large real or
68333         imaginary part separately without squaring.
68334         * math/s_catanf.c (__catanf): Likewise.
68335         * math/s_catanh.c (__catanh): Likewise.
68336         * math/s_catanhf.c (__catanhf): Likewise.
68337         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68338         and redefine.
68339         (__catanhl): Handle arguments with large real or imaginary part
68340         separately without squaring.
68341         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68342         and redefine.
68343         (__catanl): Handle arguments with large real or imaginary part
68344         separately without squaring.
68345         * math/libm-test.inc (catan_test): Add more tests.
68346         (catanh_test): Likewise.
68347         * sysdeps/i386/fpu/libm-test-ulps: Update.
68348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68350 2013-04-27  Andreas Jaeger  <aj@suse.de>
68352         [BZ #15007]
68353         * stdlib/stdlib.h: Update guards for qecvt.
68354         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68355         <stdlib.h>.
68357 2013-04-27  Allan McRae  <allan@archlinux.org>
68359         * sysdeps/i386/fpu/libm-test-ulps: Update.
68361 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
68363         [BZ #15406]
68364         * math/s_catan.c: Include <float.h>.
68365         (__catan): Ensure underflow exception occurs for underflowed
68366         result.
68367         * math/s_catanf.c: Include <float.h>.
68368         (__catanf): Ensure underflow exception occurs for underflowed
68369         result.
68370         * math/s_catanh.c: Include <float.h>.
68371         (__catanh): Ensure underflow exception occurs for underflowed
68372         result.
68373         * math/s_catanhf.c: Include <float.h>.
68374         (__catanhf): Ensure underflow exception occurs for underflowed
68375         result.
68376         * math/s_catanhl.c: Include <float.h>.
68377         (__catanhl): Ensure underflow exception occurs for underflowed
68378         result.
68379         * math/s_catanl.c: Include <float.h>.
68380         (__catanl): Ensure underflow exception occurs for underflowed
68381         result.
68382         * math/libm-test.inc (catan_test): Add more tests.
68383         (catanh_test): Likewise.
68385         [BZ #15405]
68386         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68387         underflowed result.
68388         * math/s_ccoshf.c (__ccoshf): Likewise.
68389         * math/s_ccoshl.c (__ccoshl): Likewise.
68390         * math/s_csin.c (__csin): Likewise.
68391         * math/s_csinf.c (__csinf): Likewise.
68392         * math/s_csinh.c (__csinh): Likewise.
68393         * math/s_csinhf.c (__csinhf): Likewise.
68394         * math/s_csinhl.c (__csinhl): Likewise.
68395         * math/s_csinl.c (__csinl): Likewise.
68396         * math/libm-test.inc (ccos_test): Add more tests.
68397         (ccosh_test): Likewise.
68398         (csin_test): Likewise.
68399         (csinh_test): Likewise.
68401 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68403         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68404         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68405         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68406         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68407         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68408         powerpc/power5+/fpu folders.
68409         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68412 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68414         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68416 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
68418         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68419         additions to variable.
68420         [$(config-machine) = x86_64] (modules-names): Likewise.
68421         ($(objpfx)tst-audit3): Remove dependency.
68422         ($(objpfx)tst-audit3.out): Likewise.
68423         ($(objpfx)tst-audit4): Likewise.
68424         ($(objpfx)tst-audit4.out): Likewise.
68425         ($(objpfx)tst-audit5): Likewise.
68426         ($(objpfx)tst-audit5.out): Likewise.
68427         ($(objpfx)tst-audit6): Likewise.
68428         ($(objpfx)tst-audit6.out): Likewise.
68429         ($(objpfx)tst-audit7): Likewise.
68430         ($(objpfx)tst-audit7.out): Likewise.
68431         (tst-audit3-ENV): Remove variable.
68432         (tst-audit4-ENV): Likewise.
68433         (tst-audit5-ENV): Likewise.
68434         (tst-audit6-ENV): Likewise.
68435         (tst-audit7-ENV): Likewise.
68436         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68437         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68438         addition to variable.
68439         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68440         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68441         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68442         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68443         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68444         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68445         tst-audit3, tst-audit4 and tst-audit5.
68446         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68447         tst-audit6 and tst-audit7.
68448         [$(subdir) = elf] (modules-names): Add audit modules for those
68449         tests.
68450         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68451         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68452         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68453         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68454         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68455         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68456         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68457         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68458         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68459         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68460         [$(subdir) = elf] (tst-audit3-ENV): New variable.
68461         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68462         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68463         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68464         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68465         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68466         Likewise.
68467         [$(subdir) = elf && $(config-cflags-avx) = yes]
68468         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68469         [$(subdir) = elf && $(config-cflags-avx) = yes]
68470         (CFLAGS-tst-auditmod4a.c): Likewise.
68471         [$(subdir) = elf && $(config-cflags-avx) = yes]
68472         (CFLAGS-tst-auditmod4b.c): Likewise.
68473         [$(subdir) = elf && $(config-cflags-avx) = yes]
68474         (CFLAGS-tst-auditmod6b.c): Likewise.
68475         [$(subdir) = elf && $(config-cflags-avx) = yes]
68476         (CFLAGS-tst-auditmod6c.c): Likewise.
68477         [$(subdir) = elf && $(config-cflags-avx) = yes]
68478         (CFLAGS-tst-auditmod7b.c): Likewise.
68479         * elf/tst-audit3.c: Move to ...
68480         * sysdeps/x86_64/tst-audit3.c: ... here.
68481         * elf/tst-audit4.c: Move to ...
68482         * sysdeps/x86_64/tst-audit4.c: ... here.
68483         * elf/tst-audit5.c: Move to ...
68484         * sysdeps/x86_64/tst-audit5.c: ... here.
68485         * elf/tst-audit6.c: Move to ...
68486         * sysdeps/x86_64/tst-audit6.c: ... here.
68487         * elf/tst-audit7.c: Move to ...
68488         * sysdeps/x86_64/tst-audit7.c: ... here.
68489         * elf/tst-auditmod3a.c: Move to ...
68490         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68491         * elf/tst-auditmod3b.c: Move to ...
68492         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68493         * elf/tst-auditmod4a.c: Move to ...
68494         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68495         * elf/tst-auditmod4b.c: Move to ...
68496         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68497         * elf/tst-auditmod5a.c: Move to ...
68498         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68499         * elf/tst-auditmod5b.c: Move to ...
68500         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68501         * elf/tst-auditmod6a.c: Move to ...
68502         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68503         * elf/tst-auditmod6b.c: Move to ...
68504         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68505         * elf/tst-auditmod6c.c: Move to ...
68506         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68507         * elf/tst-auditmod7a.c: Move to ...
68508         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68509         * elf/tst-auditmod7b.c: Move to ...
68510         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68512 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
68514         [BZ #15366]
68515         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68516         define unconditionally.
68517         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68518         define unconditionally.
68519         (INT8_C, INT16_C, etc.): Likewise.
68521 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
68523         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68524         __ehdr_start with hidden visibility.
68526         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68528 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
68530         * math/libm-test.inc (cos_test): Use accurate hex constants.
68531         (sincost_test): Likewise.
68533 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
68535         * math/libm-test.inc (catan_test): Add more tests.
68536         (catanh_test): Likewise.
68538         * math/s_catanf.c (__catanf): Use suffixed floating-point
68539         constants.
68540         * math/s_catanhf.c (__catanhf): Likewise.
68541         * math/s_catanhl.c (__catanhl): Likewise.
68542         * math/s_catanl.c (__catanl): Likewise.
68544         [BZ #15394]
68545         * math/s_catan.c (__catan): Calculate imaginary part of result
68546         with log1p not log unless computing log of number close to 0.
68547         * math/s_catanf.c (__catanf): Likewise.
68548         * math/s_catanl.c (__catanl): Likewise.
68549         * math/s_catanh.c (__catanh): Calculate real part of result with
68550         log1p not log unless computing log of number close to 0.
68551         * math/s_catanhf.c (__catanhf): Likewise.
68552         * math/s_catanhl.c (__catanhl): Likewise.
68553         * math/libm-test.inc (catan_test): Add more tests.
68554         (catanh_test): Likewise.
68555         * sysdeps/i386/fpu/libm-test-ulps: Update.
68556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68558 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
68560         * benchtests/Makefile: Mention files in which fast and slow
68561         paths of math functions are implemented.
68563 2013-04-23  Roland McGrath  <roland@hack.frob.com>
68565         * sysdeps/posix/timespec_get.c: New file.
68567 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68569         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68570         POWER.
68571         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68572         for POWER.
68573         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68574         powerpc/power5/fpu folders.
68575         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68576         * benchtests/Makefile: Add modf testcase.
68577         * benchtests/bench-modf.c: New file: Benchmark test for mo
68579 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
68581         [BZ #14888]
68582         * time/Makefile (tests): Add tst-strptime-whitespace.
68583         * time/strptime_l.c (get_number): Use ISSPACE.
68584         (__strptime_internal): Likewise.
68585         * time/tst-strptime-whitespace.c: New test case.
68587 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
68589         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68590         member.
68591         (_nss_files_init): Set it here.
68593 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
68595         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68596         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68597         unsigned.
68599 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
68601         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68603 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68605         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68606         size just once.
68608 2013-04-21  David S. Miller  <davem@davemloft.net>
68610         * po/ru.po: Update Russion translation from translation project.
68612 2013-04-17  Adam Conrad  <adconrad@0c3.net>
68614         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68615         and setfsgid.
68617 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
68619         * configure.in: Remove i386 configure warning. Remove i386 case.
68620         * configure: Regenerate.
68621         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68622         Add example to error message.
68623         * sysdeps/i386/configure: Regenerate.
68625 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68627         * benchtests/Makefile (bench): Add cos, tan, slowcos and
68628         slowtan.
68629         * benchtests/cos-inputs: New file.
68630         * benchtests/slowcos-inputs: New file.
68631         * benchtests/slowcos.c: New file.
68632         * benchtests/slowtan-inputs: New file.
68633         * benchtests/slowtan.c: New file.
68634         * benchtests/tan-inputs: New file.
68636 2013-04-16  Roland McGrath  <roland@hack.frob.com>
68638         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68639         considered kosher.
68641 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68643         * benchtests/Makefile: Include cppflags-iterator.mk to add
68644         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68646         * Makefile.in (bench-clean): New target.
68647         * benchtests/Makefile (bench-clean): Likewise.
68649 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
68651         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68653 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
68655         * stdio-common/tstdiomisc.c: Fix coding-style violation.
68657 2013-04-15  Andreas Schwab  <schwab@suse.de>
68659         * nscd/grpcache.c (cache_addgr): Properly check for short write.
68660         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68661         * nscd/pwdcache.c (cache_addpw): Likewise.
68662         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
68663         more than recsize.
68665 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68667         * benchtests/Makefile (bench): Write all output to
68668         bench-out.tmp together.
68670 2013-04-15  Andreas Schwab  <schwab@suse.de>
68672         * nscd/nscd.c (main): Don't fork again after closing files.
68674 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68676         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68678         * benchtests/Rules (bench-deps): Collect dependencies into a
68679         single variable.  Add Makefile to dependencies.
68680         ($(objpfx)bench-%.c): Depend on bench-deps.
68682 2013-04-12  Roland McGrath  <roland@hack.frob.com>
68683             Xavier Roche  <roche+kml2@exalead.com>
68685         [BZ #15361]
68686         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68687         just that it's a file descriptor.
68688         * manual/llio.texi (Synchronizing AIO Operations): Update description
68689         for EBADF error from aio_fsync.
68691 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
68693         * Rules (bench): Move target definition...
68694         * benchtests/Makefile: ... here.
68696 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
68698         * math/libm-test.inc (cos_test): Fix PI/2 test.
68699         (sincos_test): Likewise.
68700         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68701         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68703 2013-04-11  Andreas Schwab  <schwab@suse.de>
68705         [BZ #13988]
68706         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68707         accept exponent character only when digits were seen.
68708         * stdio-common/Makefile (tests): Add bug26.
68709         * stdio-common/bug26.c: New file.
68711         [BZ #14293]
68712         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68713         non-freeable.
68715 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68717         * Makeconfig (rtld-prefix): Define built linker prefix.
68718         * Rules (run-bench): Use it.
68719         * math/Makefile (run-regen-ulps): Likewise.
68721         * Rules (bench): Remove eval.
68723 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68724             Roland McGrath  <roland@hack.frob.com>
68725             Ondrej Bilka  <neleai@seznam.cz>
68727         [BZ #15346]
68728         * time/getdate.c: Include ctype.h and alloca.h.
68729         (__getdate_r): Trim leading and trailing spaces of input.
68730         * time/tst-getdate.c (tests): Add tests with leading and
68731         trailing spaces.
68733 2013-04-08  Roland McGrath  <roland@hack.frob.com>
68735         [BZ #14280]
68736         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68737         when computing value.
68739 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68741         * math/README.libm-test (How can I generate "libm-test-ulps"?):
68742         Use testrun.sh to run libm tests.
68744         [BZ #15309]
68745         * elf/dl-open.c (dl_open_worker): memset all of seen array.
68747 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
68749         [BZ #15264]
68750         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68752 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68754         * Makefile.in (regen-ulps): New target.
68755         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68756         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68757         [ifneq (no,$(PERL)] (regen-ulps): New target.
68758         [ifeq (no,$(PERL)] (regen-ulps): New target.
68759         * math/libm-test.inc (ulps_file_name): Define.
68760         (output_dir): New variable.
68761         (options): Add "output-dir" option.
68762         (parse_opt): Handle 'o' case.
68763         (main): If output_dir is non-NULL use it as a prefix
68764         otherwise use "".
68765         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68767 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68769         [BZ #10060, #10062]
68770         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68771         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68772         fail configure if __sync_val_compare_and_swap is not inlined.
68773         * sysdeps/i386/configure: Regenerate.
68774         * configure.in: Build for i686 when configured for i386.
68775         * configure: Regenerate.
68776         * README: Remove i386 reference.
68778 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68780         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68781         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68783 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68785         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68786         (lmsnanval): New variables.
68787         (F): Add conversion tests.
68788         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68789         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68791         * stdio-common/tstdiomisc.c (F): Properly collect individual
68792         tests' results.
68794         [BZ #14686, #15336]
68795         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68796         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68797         Instead, use input NaN values or generate a qNaN by arithmetic
68798         operation.  Also fix bugs to comply with the standard.
68799         * math/libm-test.inc (remainder_test): Add more tests.
68801         [BZ #15335, #15342]
68802         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68803         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68804         input NaN values or generate a qNaN by arithmetic operation.
68806         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68807         unreachable code.
68809         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68810         definitions.
68812 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
68814         [BZ #14478]
68815         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68816         underflowed result.
68817         * math/s_cexpf.c (__cexpf): Likewise.
68818         * math/s_cexpl.c (__cexpl): Likewise.
68819         * math/libm-test.inc (cexp_test): Add more tests.
68821 2013-04-03  Andreas Schwab  <schwab@suse.de>
68823         [BZ #15330]
68824         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68825         order arrays from heap if bigger than alloca cutoff.
68827 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
68829         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68830         (SNAN_TESTS_double): Refer to GCC PR56831.
68831         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68832         GCC PR56828.
68834 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
68836         * Rules (bench): Move bench.out after the run is complete.
68838         * Rules (bench): Echo currently running benchmark.
68840         * benchtests/Makefile (bench): Add atan and slowatan.
68841         * benchtests/atan-inputs: New file.
68842         * benchtests/slowatan-inputs: New file.
68843         * benchtests/slowatan.c: New file.
68845         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68846         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68847         its value.
68849         [BZ #15305]
68850         * sysdeps/unix/sysv/linux/kernel-features.h
68851         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68852         __ASSUME_XFS_RESTRICTED_CHOWN.
68853         * sysdeps/unix/sysv/linux/pathconf.c
68854         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68855         Save and restore errno.
68857 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
68859         [BZ #15327]
68860         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68861         arguments using __kernel_casinh.
68862         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68863         arguments using __kernel_casinhf.
68864         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68865         arguments using __kernel_casinhl.
68866         * math/libm-test.inc (cacosh_test): Add more tests.
68867         * sysdeps/i386/fpu/libm-test-ulps: Update.
68868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68870 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
68872         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68873         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68875         * bench/Makefile (bench): Add sin and slowsin.
68876         * benchtests/sin-inputs: New file.
68877         * benchtests/slowsin-inputs: New file.
68878         * benchtests/slowsin.c: New file.
68880         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68881         (bench): Add slowexp and slowpow.
68882         (exp-ITER): Increase iterations.
68883         (pow-ITER): Likewise.
68884         * benchtests/exp-inputs: Change input.
68885         * benchtests/pow-inputs: Likewise.
68886         * benchtests/slowexp-inputs: New file.
68887         * benchtests/slowexp.c: New file.
68888         * benchtests/slowpow-inputs: New file.
68889         * benchtests/slowpow.c: New file.
68891 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68893         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68894         instructions.
68895         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68896         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68897         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68898         * benchtests/Makefile: Add rint benchtest.
68899         * benchtests/rint-inputs: Input for rint benchtest.
68901 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68903         * Versions.def (libm): Add GLIBC_2.18.
68904         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68905         hidden libm prototypes.
68906         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68907         * math/Makefile (libm-calls): Add s_issignaling.
68908         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68909         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
68910         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68911         declaration.
68912         * math/math.h [__USE_GNU] (issignaling): New macro.
68913         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68914         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68915         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68916         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68917         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68918         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68919         * manual/arith.texi (issignaling): New section.
68920         * manual/libm-err-tab.pl (@all_functions): Update comment.
68921         * math/gen-libm-test.pl (parse_args): Apply special handling for
68922         issignaling.
68923         * math/libm-test.inc (print_float, issignaling_test): New
68924         functions.
68925         (check_float_internal): Add issignaling checks.
68926         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68927         default definition.
68928         * sysdeps/powerpc/math-tests.h: New file.
68929         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68930         tests.
68931         * math/test-snan.c (TEST_FUNC): Likewise.
68933 2013-03-30  David S. Miller  <davem@davemloft.net>
68935         * po/de.po: Update from translation team.
68937 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
68939         [BZ #10357]
68940         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68941         imaginary part less than 1.0 and real part less than 0.5
68942         specially.
68943         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68944         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68945         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68946         (cacos_test): Add more tests.
68947         (casin_test): Likewise.
68948         (casinh_test): Likewise.
68949         * sysdeps/i386/fpu/libm-test-ulps: Update.
68950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68952 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68954         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68955         ONE with its value.
68957         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
68958         (__pow_mp): Replace ONE and MONE with their values.
68959         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68960         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
68961         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68962         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
68963         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68964         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68966         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
68968         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
68969         (__pow_mp): Replace ZERO and MZERO with their values.
68970         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68971         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68972         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68973         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68974         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68975         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
68976         (__sqr): Likewise.
68978         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
68980         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
68982 2013-03-28  Roland McGrath  <roland@hack.frob.com>
68984         * include/stdlib.h [!SHARED] (__call_tls_dtors):
68985         Declare with __attribute__ ((weak)).
68986         * stdlib/exit.c (__libc_atexit) [!SHARED]:
68987         Call __call_tls_dtors only if it's not NULL.
68989 2013-03-28  Roland McGrath  <roland@hack.frob.com>
68991         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
68992         didn't do it already, then set _dl_phdr and _dl_phnum based on the
68993         magic __ehdr_start linker symbol if it's defined.
68994         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
68995         them up here if it was already done.
68997         * elf/dl-support.c (_dl_phdr): Make pointer to const.
68998         (_dl_aux_init): Use const in cast when setting it.
68999         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
69000         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
69001         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
69003         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
69004         Declare them here.
69005         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
69006         * csu/libc-tls.c: Nor here.
69007         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
69009         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
69010         (__libc_message): Never call vsyslog.
69012 2013-03-28  Alan Modra  <amodra@gmail.com>
69014         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
69015         Define as empty.
69016         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
69017         Likewise.
69019 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69021         [BZ #15214]
69022         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
69023         underflow.
69024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69026 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69028         [BZ #15304]
69029         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
69030         Don't add gid passed as argument.
69032         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
69034 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
69036         [BZ #15307]
69037         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69038         imaginary part between 1.0 and 1.5 and real part less than 0.5
69039         specially.
69040         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69041         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69042         * math/libm-test.inc (cacos_test): Add more tests.
69043         (casin_test): Likewise.
69044         (casinh_test): Likewise.
69045         * sysdeps/i386/fpu/libm-test-ulps: Update.
69046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69048 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69050         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
69051         constants.
69052         (norm): Likewise.
69053         (denorm): Likewise.
69054         (__dbl_mp): Likewise.
69055         (add_magnitudes): Likewise.
69056         (sub_magnitudes): Likewise.
69057         (__add): Likewise.
69058         (__sub): Likewise.
69059         (__mul): Likewise.
69060         (__sqr): Likewise.
69061         (__inv): Likewise.
69062         (__dvd): Likewise.
69064         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
69065         commented code.
69066         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
69067         (__dubcos): Likewise.
69068         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
69069         (__ieee754_acos): Likewise.
69070         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69071         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
69072         (__exp1): Likewise.
69073         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69074         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69075         (log1): Likewise.
69076         (my_log2): Likewise.
69077         (checkint): Likewise.
69078         * sysdeps/ieee754/dbl-64/e_remainder.c
69079         (__ieee754_remainder): Likewise.
69080         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69081         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
69082         (bsloww): Likewise.
69083         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69085         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69086         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
69087         MANTISSA_STORE_T to store computations on mantissa.  Use
69088         macros for rounding and division.
69089         (denorm): Likewise.
69090         (__dbl_mp): Likewise.
69091         (add_magnitudes): Likewise.
69092         (sub_magnitudes): Likewise.
69093         (__mul): Likewise.
69094         (__sqr): Likewise.
69095         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69096         powers of two in terms of TWOPOW macro.
69097         (mp_no): Make type of mantissa as MANTISSA_T.
69098         [!RADIXI]: Define RADIXI.
69099         [!TWO52]: Define TWO52.
69100         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69102 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69104         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
69105         llroundl symbol when building for PPC32.
69107 2013-03-24  Mark H Weaver  <mhw@netris.org>
69109         * manual/arith.texi (Normalization Functions): Fix prototypes for
69110         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
69112 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69114         [BZ #13889]
69115         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
69116         high value to check if expl overflow.
69117         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69118         to check for underflow and overflow.
69119         * math/libm-test.inc: Add exp test.
69121 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
69123         [BZ #11120]
69124         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69125         with NOT_IN_libc.
69127 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69129         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69130         symbol.
69132 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69134         * math/gen-libm-test.pl (parse_args, special_functions): Properly
69135         wrap blocks consisting of several statements.
69137         * sysdeps/generic/math-tests.h: New file.
69138         * sysdeps/i386/fpu/math-tests.h: Likewise.
69139         * math/test-snan.c: Include it.
69140         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
69142 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69144         [BZ #15285]
69145         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69146         (__ieee754_j0l): Do not improve calculations using cos of twice
69147         input for inputs above LDBL_MAX / 2.0L.
69148         (__ieee754_y0l): Likewise.
69149         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69150         (__ieee754_j1l): Do not improve calculations using cos of twice
69151         input for inputs above LDBL_MAX / 2.0L.
69152         (__ieee754_y1l): Likewise.
69153         * math/libm-test.inc (j0_test): Add another test.
69154         (j1_test): Likewise.
69155         (y0_test): Likewise.
69156         (y1_test): Likewise.
69157         * sysdeps/i386/fpu/libm-test-ulps: Update.
69159 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69161         * Rules ($(objpfx)bench-%.c): Include code from a C source
69162         file.
69164 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69166         [BZ #15287]
69167         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69168         imaginary part 1.0 and real part less than 0.5 specially.
69169         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69170         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69171         * math/libm-test.inc (cacos_test): Add more tests.
69172         (casin_test): Likewise.
69173         (casinh_test): Likewise.
69174         * sysdeps/i386/fpu/libm-test-ulps: Update.
69175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69177 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69179         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69180         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69182 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
69184         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69185         * config.make.in (config-cflags-sse4): Remove variable.
69186         (config-cflags-avx): Likewise.
69187         (config-cflags-sse2avx): Likewise.
69188         (config-cflags-novzeroupper): Likewise.
69189         (config-asflags-i686): Likewise.
69190         (have-mfma4): Likewise.
69191         (have-as-vis3): Likewise.
69192         (MIG): Likewise.
69193         * configure.in (MIG): Do not AC_SUBST.
69194         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69195         (libc_cv_cc_sse4): Do not AC_SUBST.
69196         (libc_cv_cc_avx): Likewise.
69197         (libc_cv_cc_sse2avx): Likewise.
69198         (libc_cv_cc_novzeroupper): Likewise.
69199         (libc_cv_cc_fma4): Likewise.
69200         (libc_cv_as_i686): Likewise.
69201         (libc_cv_sparc_as_vis3): Likewise.
69202         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69203         LIBC_CONFIG_VAR.
69204         (config-asflags-i686): Likewise.
69205         (config-cflags-avx): Likewise.
69206         (config-cflags-sse2avx): Likewise.
69207         (have-mfma4): Likewise.
69208         (config-cflags-novzeroupper): Likewise.
69209         * sysdeps/mach/configure.in (MIG): Likewise.
69210         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69211         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69212         LIBC_CONFIG_VAR.
69213         (config-cflags-avx): Likewise.
69214         (config-cflags-sse2avx): Likewise.
69215         (have-mfma4): Likewise.
69216         (config-cflags-novzeroupper): Likewise.
69217         * configure: Regenerated.
69218         * sysdeps/i386/configure: Likewise.
69219         * sysdeps/mach/configure: Likewise.
69220         * sysdeps/sparc/configure: Likewise.
69221         * sysdeps/x86_64/configure: Likewise.
69223 2013-03-20  Roland McGrath  <roland@hack.frob.com>
69225         [BZ #14812]
69226         * locale/programs/localedef.c (options): Put N_ translation marker
69227         on argument names, not just descriptions.
69229 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69231         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69233 2013-03-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
69235         [BZ #14176]
69236         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69238 2013-03-19  Roland McGrath  <roland@hack.frob.com>
69240         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69241         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69242         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69243         [!BEFORE_ABORT] (before_abort): New function.
69244         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69245         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69246         (writev_for_fatal): New function.
69247         (WRITEV_FOR_FATAL): New macro; call that.
69248         (backtrace_and_maps): New function.
69249         (BEFORE_ABORT): New macro; call that.
69250         (struct str_list): Type removed.
69251         (__libc_message, __libc_fatal): Functions removed.
69252         Include <sysdeps/posix/libc_fatal.c> instead.
69254 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
69256         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69257         constants.
69258         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69259         double constants.
69261 2013-03-19  Andreas Schwab  <schwab@suse.de>
69263         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69264         * sysdeps/gnu/configure: Regenerate.
69266         * configure.in: Substitute libc_cv_rtlddir.
69267         * configure: Regenerate.
69268         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69269         * Makeconfig (rtlddir, inst_rtlddir): New variables.
69270         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69271         * elf/Makefile (install-others, CFLAGS-interp.c)
69272         (ldso_install, common-ldd-rewrite): Likewise.
69273         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69274         $(inst_slibdir)/$(rtld-installed-name).
69275         * scripts/rellns-sh: Add -p option.
69276         * Makerules (make-shlib-link): Use rellns-sh to get relative name
69277         for source.
69279 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69281         * manual/nptl.texi: Renamed to ...
69282         * manual/threads.texi: ... this.
69283         * manual/Makefile (chapters): Update.
69285 2013-03-18  Roland McGrath  <roland@hack.frob.com>
69287         [BZ #14812]
69288         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69289         on argument names, not just descriptions.
69290         * malloc/memusagestat.c (options): Likewise.
69291         * nss/getent.c (options): Likewise.
69293 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
69295         [BZ #14812]
69296         * iconv/iconv_prog.c (options): Put N_ translation marker
69297         on argument names, not just descriptions.
69298         * iconv/iconvconfig.c (options): Likewise.
69300 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
69302         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69303         implementation which is faster on all x86_64 architectures.
69304         Tested on AMD, Intel Nehalem, SNB, IVB.
69305         * sysdeps/x86_64/strnlen.S: Likewise.
69307         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69308         Remove all multiarch strlen and strnlen versions.
69309         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69310         Remove strlen and strnlen related parts.
69312         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69313         Inline strlen part.
69314         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69316         * sysdeps/x86_64/multiarch/strlen.S: Remove.
69317         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69318         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69319         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69320         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69321         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69323 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
69325         * manual/memory.texi (Malloc Tunable Parameters):
69326         Sort parameters alphabetically. Add comments for missing entries.
69328 2013-03-17  David S. Miller  <davem@davemloft.net>
69330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69332 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
69334         [BZ #15283]
69335         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69336         for arguments at most half maximum finite value.
69337         * math/libm-test.inc (j0_test): Add more tests.
69338         (j1_test): Likewise.
69339         (y0_test): Likewise.
69340         (y1_test): Likewise.
69341         * sysdeps/i386/fpu/libm-test-ulps: Update.
69342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69344         [BZ #14155]
69345         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69346         1 / x and functions P and Q for arguments above 0x1p256L.
69347         (__ieee754_y0l): Likewise.
69348         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69349         (__ieee754_y1l): Likewise.
69350         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69351         (j1_test): Likewise.
69352         (y0_test): Likewise.
69353         (y1_test): Likewise.
69355 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
69357         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69358         variable.
69360 2013-03-15  Roland McGrath  <roland@hack.frob.com>
69362         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69363         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69364         zero since it's initialized to EXEC_PAGESIZE.
69366         * sysdeps/unix/sysv/linux/ldsodefs.h
69367         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69368         * sysdeps/generic/ldsodefs.h: ... here.
69370 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
69372         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69374         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69375         math/test-snan.c.
69376         * math/test-snan.c: Renamed from
69377         sysdeps/powerpc/fpu/test-powerpc-snan.c.
69378         * math/Makefile (tests): Add test-snan.
69379         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69380         test-powerpc-snan.
69382         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69383         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
69384         functions.
69385         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
69386         __builtin_nan family of functions.
69387         * math/libm-test.inc (initialize): Initialize qnan_value with
69388         __builtin_nan family of functions.
69389         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69390         Remove variables.
69391         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69392         Remove functions.
69393         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
69394         storage class.  Initialize qNaN_var and sNaN_var with
69395         __builtin_nan and __builtin_nans families of functions,
69396         respectively.
69398         * math/libm-test.inc (acosh_test): Also test with qNaN input.
69399         (sqrt_test): Remove duplicate test with qNaN input.
69400         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69401         (round_test, signbit_test, significand_test): Note missing +/-Inf
69402         as well as qNaN tests.
69404         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69405         qNaN_var.  Fix a few strings, too.
69406         * math/libm-test.inc (nan_value): Rename to qnan_value.
69407         * math/gen-libm-test.pl (%beautify): Adjust to that.
69408         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69409         * math/test-misc.c (main): Likewise.
69410         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69411         to __qnan_bytes, and __qnan_union, respectively.
69412         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69413         Likewise.
69414         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69415         and lqnanval, respectively.
69416         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69417         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69418         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69419         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69421         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69422         * math/test-misc.c (main) [__x86_64__]: Enable test for long
69423         doubles.
69425         * math/test-misc.c (main): Fix copy'n'pastos.
69426         * misc/tst-efgcvt.c (special): Likewise.
69428         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69429         Remove declarations.
69431 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69433         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69434         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69435         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69436         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69438 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69440         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69441         macro to return vdso values correctly in IFUNC implementations.
69442         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69443         Optimization by using IFUNC.
69445 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69446             Richard Henderson  <rth@redhat.com>
69447             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69449         * Makefile.in (bench): New target.
69450         * NEWS: Mention the benchmark framework.
69451         * Rules (bench): Likewise.
69452         (binaries-bench): Generate binaries for functions to
69453         benchmark.
69454         * benchtests/Makefile: New makefile for benchmark tests.
69455         * benchtests/bench-skeleton.c: New skeleton file for benchmark
69456         programs.
69457         * benchtests/exp-inputs: New input file for EXP function.
69458         * benchtests/pow-inputs: New input file for POW function.
69459         * scripts/bench.pl: New script to generate source files for
69460         benchmark programs.
69462 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69464         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69465         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69466         computations on mantissa.  Use macros for rounding and
69467         division.
69468         (denorm): Likewise.
69469         (__dbl_mp): Likewise.
69470         (add_magnitudes): Likewise.
69471         (sub_magnitudes): Likewise.
69472         (__mul): Likewise.
69473         (__sqr): Likewise.
69474         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69475         powers of two in terms of TWOPOW macro.
69476         (mp_no): Make type of mantissa as MANTISSA_T.
69477         [!RADIXI]: Define RADIXI.
69478         [!TWO52]: Define TWO52.
69479         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69481         * manual/nptl.texi (cindex): Modify threads to pthreads.
69483 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
69485         * sysdeps/x86_64/preconfigure: Regenerated.
69487 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
69489         [BZ #14155]
69490         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69491         0x1p28 and above.
69492         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69493         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69494         0x1p28 and above.
69495         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69496         * math/libm-test.inc (j0_test): Do not allow one spurious
69497         underflow exception.
69498         (y1_test): Likewise.
69500 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69502         * manual/Makefile (chapters): Add nptl.
69503         * manual/debug.texi (Debugging Support): Add link to Threads
69504         chapter.
69505         * manual/nptl.texi: New file.
69507         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69509 2013-03-14  Petr Baudis  <pasky@ucw.cz>
69511         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69512         for non-NULL pointer before the memory validity test. Pointed
69513         out by Holger Brunck <holger.brunck@keymile.com>.
69515 2013-03-13  Andreas Schwab  <schwab@suse.de>
69517         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69518         instead of .os.
69520 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
69522         * timezone/zic.c: Update from tzcode 2013b.
69524 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
69526         * manual/install.texi (Configuring and compiling):
69527         Mention i686 and i586.
69528         * INSTALL: Regenerate.
69530 2013-03-12  Roland McGrath  <roland@hack.frob.com>
69532         * sysdeps/init_array/elf-init.c: New file.
69533         * csu/elf-init.c
69534         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69535         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69537         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69538         __gmon_start__ as global, but as static with a .preinit_array pointer.
69539         * sysdeps/init_array/gmon-start.c: New file.  Use that.
69540         * sysdeps/init_array/crti.S: New file, empty except for comments.
69541         * sysdeps/init_array/crtn.S: Likewise.
69543 2013-03-11  Ondƙej BĂ­lka  <neleai@seznam.cz>
69545         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69546         definining bcopy.
69547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69548         Remove Prefer_SSE_for_memop.
69549         * sysdeps/x86_64/multiarch/init-arch.h: Remove
69550         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69551         HAS_PREFER_SSE_FOR_MEMOP.
69552         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69553         memset-x86-64.
69554         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69555         Remove bzero, memset ifunc support.
69556         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69557         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69558         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69559         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69561 2013-03-11  Andreas Schwab  <schwab@suse.de>
69563         [BZ #15234]
69564         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69565         by SHLIB_COMPAT.
69566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69567         (GLIBC_2.16): Remove pthread_atfork.
69569 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
69571         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69572         (ptestcases.h): Likewise.
69574 2013-03-08  Roland McGrath  <roland@hack.frob.com>
69576         * Makeconfig ($(common-objpfx)config.status): Depend on
69577         sysdeps/*/preconfigure{,.in} too.
69579 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
69581         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69582         (__free_hook): Use void * instead of __malloc_ptr_t.
69583         (__malloc_hook): Likewise.
69584         (__realloc_hook): Likewise.
69585         (__memalign_hook): Likewise.
69586         (__after_morecore_hook): Likewise.
69587         * malloc/arena.c (save_malloc_hook): Likewise.
69588         (save_free_hook): Likewise.
69589         * malloc/hooks.c (malloc_hook_ini): Likewise.
69590         (realloc_hook_ini): Likewise.
69591         (memalign_hook_ini): Likewise.
69592         * malloc/malloc.c (malloc_hook_ini): Likewise.
69593         (realloc_hook_ini): Likewise.
69594         (memalign_hook_ini): Likewise.
69595         (__free_hook): Likewise.
69596         (__malloc_hook): Likewise.
69597         (__realloc_hook): Likewise.
69598         (__memalign_hook): Likewise.
69599         (__libc_malloc): Likewise.
69600         (__libc_free): Likewise.
69601         (__libc_realloc): Likewise.
69602         (__libc_memalign): Likewise.
69603         (__libc_valloc): Likewise.
69604         (__libc_pvalloc): Likewise.
69605         (__libc_calloc): Likewise.
69606         (__posix_memalign): Likewise.
69607         * malloc/morecore.c (__sbrk): Likewise.
69608         (__default_morecore): Likewise.
69610         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69612         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69613         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69614         __malloc_ptrdiff_t.
69616         * malloc/malloc.h (__malloc_size_t): Remove macro.
69617         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69618         __malloc_size_t.
69619         (old_memalign_hook): Likewise.
69620         (old_realloc_hook): Likewise.
69621         (struct hdr): Likewise.
69622         (flood): Likewise.
69623         (mallochook): Likewise.
69624         (memalignhook): Likewise.
69625         (reallochook): Likewise.
69626         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69627         (tr_old_realloc_hook): Likewise.
69628         (tr_old_memalign_hook): Likewise.
69629         (tr_mallochook): Likewise.
69630         (tr_reallochook): Likewise.
69631         (tr_memalignhook): Likewise.
69633 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69635         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69636         default_ldbl_pack and using as default implementation.
69637         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69638         implementation.
69639         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69640         redundant definition.
69641         (ldbl_insert_mantissa): Likewise.
69642         (ldbl_canonicalize): Likewise.
69643         (ldbl_nearbyint): Likewise.
69644         (ldbl_pack): Rename to ldbl_pack_ppc.
69645         (ldbl_unpack): Rename to ldbl_unpack_ppc.
69646         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69647         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69649 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69652         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69653         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69654         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69656         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69657         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69658         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69660 2013-03-07  Andreas Jaeger  <aj@suse.de>
69662         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69663         bits/mman-linux.h.
69665 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69667         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69668         Include mpa.h and declare __MPEXP.
69669         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69670         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69671         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69672         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69673         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69674         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69675         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69677         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69678         (__slowpow): Use long double EXPL and LOGL functions to
69679         compute POW.
69680         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69681         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69682         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69683         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69684         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69685         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69688         intermediate variable to calculate exponent.
69689         (__sqr): Likewise.
69690         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69691         Likewise.
69692         (__sqr): Likewise.
69694         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69695         [!NO__SQR]: Define __sqr.
69696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69697         and NO__SQR.  Remove all code except __mul and __sqr.  Include
69698         sysdeps/ieee754/dbl-64/mpa.c.
69699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69701         [BZ #12723]
69702         * posix/Makefile (tests): Add tst-pathconf.
69703         * posix/tst-pathconf.c: New test case.
69704         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69705         _PC_PIPE_BUF.
69706         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69708 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
69710         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69712 2013-03-06  Andreas Jaeger  <aj@suse.de>
69714         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69715         definition via __MAP_ANONYMOUS.
69717         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69718         it's not part of Linux headers.
69720         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69721         (MAP_HUGE_MASK): Define.
69723         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69724         Define.
69725         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69726         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69727         Define.
69728         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69729         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69730         Define.
69731         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69732         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69733         Define.
69734         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69736         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69737         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69738         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69739         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69740         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69741         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69743         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69744         Handle f2fs.
69746         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69747         Handle f2fs and efivarfs.
69749         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69750         f2fs.
69752         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69753         (EFIVARFS_MAGIC): Add.
69754         (F2FS_LINK_MAX): Add.
69756 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69758         * stdio-common/vfprintf.c: Replace __builtin_expect with
69759         __glibc_unlikely.
69761 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
69763         [BZ #13550]
69764         * sysdeps/generic/bp-sym.h: Remove file.
69765         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69766         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69767         <bp-sym.h> and <bp-asm.h>.
69768         (__longjmp): Don't use BP_SYM.
69769         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69770         and <bp-asm.h>.
69771         (memcpy): Don't use BP_SYM.
69772         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69773         <bp-sym.h> and <bp-asm.h>.
69774         (memcpy): Don't use BP_SYM.
69775         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69776         <bp-asm.h>.
69777         (memcpy): Don't use BP_SYM.
69778         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69779         <bp-asm.h>.
69780         (memset): Don't use BP_SYM.
69781         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69782         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69783         (__bzero): Don't use BP_SYM.
69784         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69785         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69786         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69787         <bp-sym.h> and <bp-asm.h>.
69788         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69789         pointers.
69790         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69791         <bp-sym.h> and <bp-asm.h>.
69792         (memcpy): Don't use BP_SYM.
69793         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69794         <bp-sym.h> and <bp-asm.h>.
69795         (memset): Don't use BP_SYM.
69796         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69797         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69798         (__bzero): Don't use BP_SYM.
69799         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69800         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69801         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69802         <bp-sym.h> and <bp-asm.h>.
69803         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69804         pointers.
69805         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69806         <bp-sym.h> and <bp-asm.h>.
69807         (memcpy): Don't use BP_SYM.
69808         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69809         <bp-sym.h> and <bp-asm.h>.
69810         (memset): Don't use BP_SYM.
69811         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69812         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69813         (__bzero): Don't use BP_SYM.
69814         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69815         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69816         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69817         <bp-sym.h> and <bp-asm.h>.
69818         (__memchr): Don't use BP_SYM.
69819         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69820         <bp-sym.h> and <bp-asm.h>.
69821         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69822         pointers.
69823         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69824         <bp-sym.h> and <bp-asm.h>.
69825         (memcpy): Don't use BP_SYM.
69826         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69827         <bp-sym.h> and <bp-asm.h>.
69828         (__mempcpy): Don't use BP_SYM.
69829         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69830         <bp-sym.h> and <bp-asm.h>.
69831         (__memrchr): Don't use BP_SYM.
69832         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69833         <bp-sym.h> and <bp-asm.h>.
69834         (memset): Don't use BP_SYM.
69835         (__bzero): Likewise.
69836         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69837         <bp-sym.h> and <bp-asm.h>.
69838         (__rawmemchr): Don't use BP_SYM.
69839         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69840         <bp-sym.h> and <bp-asm.h>.
69841         (__STRCMP): Don't use BP_SYM.
69842         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69843         <bp-sym.h> and <bp-asm.h>.
69844         (strchr): Don't use BP_SYM.
69845         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69846         <bp-sym.h> and <bp-asm.h>.
69847         (__strchrnul): Don't use BP_SYM.
69848         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69849         <bp-sym.h> and <bp-asm.h>.
69850         (strlen): Don't use BP_SYM.
69851         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69852         <bp-sym.h> and <bp-asm.h>.
69853         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69854         pointers.
69855         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69856         <bp-sym.h> and <bp-asm.h>.
69857         (__strnlen): Don't use BP_SYM.
69858         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69859         <bp-sym.h> and <bp-asm.h>.
69860         (__GI__setjmp): Don't use BP_SYM.
69861         (_setjmp): Likewise.
69862         (__sigsetjmp): Likewise.
69863         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69864         (L(start_addresses)): Don't use BP_SYM.
69865         (_start): Likewise.
69866         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69867         <bp-asm.h>.
69868         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69869         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69870         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69871         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69872         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69873         <bp-asm.h>.
69874         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69875         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
69876         about bounded pointers.
69877         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69878         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69879         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69880         <bp-asm.h>.
69881         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69882         about bounded pointers.  Remove GKM FIXME comments.
69883         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69884         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69885         <bp-asm.h>.
69886         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69887         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
69888         Remove GKM FIXME comments.
69889         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69890         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69891         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69892         <bp-asm.h>.
69893         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69894         about bounded pointers.  Remove GKM FIXME comment.
69895         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69896         and <bp-asm.h>.
69897         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69898         pointers.
69899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69900         <bp-sym.h> and <bp-asm.h>.
69901         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69903         <bp-sym.h> and <bp-asm.h>.
69904         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
69905         comment.
69907 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69909         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69910         call free(NULL).
69912 2013-03-05  David S. Miller  <davem@davemloft.net>
69914         * po/es.po: Update from translation team.
69916 2013-03-05  Andreas Jaeger  <aj@suse.de>
69918         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69919         <bits/mman-linux.h>.
69920         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69921         is fine.
69922         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69923         <bits/mman-linux.h> to end of file.
69924         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69925         is fine.
69926         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69927         <bits/mman-linux.h> to end of file.
69928         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69929         is fine.
69930         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69931         <bits/mman-linux.h> to end of file.
69933         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69934         (MCL_CURRENT, MCL_FUTURE): Define here.
69936 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69938         [BZ #15232]
69939         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69940         attribute_hidden.
69941         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69943 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69945         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69946         fourth parameter needed for rt_sigprocmask syscall.
69947         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69948         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69949         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69950         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69951         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69952         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69954 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
69956         [BZ #13550]
69957         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
69958         comment about bounded pointers.
69959         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
69960         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
69962 2013-03-04  Andreas Jaeger  <aj@suse.de>
69964         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
69965         common definitions.
69967         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
69968         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
69969         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
69970         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69971         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69972         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69974 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69976         [BZ #15055]
69977         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
69978         __ieee754_sqrl instead of __sqrl.
69980 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
69982         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
69983         * sysdeps/powerpc/fpu_control.h: ... here.
69984         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
69985         * sysdeps/powerpc/bits/fenvinline.h: ... here.
69986         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
69987         * sysdeps/powerpc/bits/mathinline.h: ... here.
69989 2013-03-01  Roland McGrath  <roland@hack.frob.com>
69991         * elf/dl-hwcaps.c (_dl_important_hwcaps):
69992         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
69993         to just [NEED_DL_SYSINFO_DSO].
69994         * elf/dl-support.c: Likewise.
69995         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
69996         * elf/rtld.c (dl_main): Likewise.
69997         * elf/setup-vdso.h (setup_vdso): Likewise.
69998         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
69999         * sysdeps/unix/sysv/linux/dl-sysdep.c
70000         (_dl_discover_osversion): Likewise.
70002 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
70004         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
70005         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70007 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
70009         * NEWS: Mention libm performance improvements and non-x86 PI
70010         futex support.
70012         * csu/libc-start.c (__pthread_initialize_minimal): Change
70013         function arguments.
70014         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70016 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
70018         [BZ #13550]
70019         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
70020         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
70021         <bp-sym.h> and <bp-asm.h>.
70022         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70023         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
70024         and <bp-asm.h>.
70025         (memcpy): Don't use BP_SYM.
70026         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
70027         <bp-asm.h>.
70028         (__mpn_add_n): Don't use BP_SYM.
70029         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
70030         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
70031         and <bp-asm.h>.
70032         (__mpn_addmul_1): Don't use BP_SYM.
70033         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70034         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
70035         <bp-sym.h>.
70036         (_setjmp): Don't use BP_SYM.
70037         (__novmx_setjmp): Likewise.
70038         (__GI__setjmp): Likewise.
70039         (__vmx_setjmp): Likewise.
70040         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
70041         <bp-sym.h>.
70042         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
70043         (__bzero): Don't use BP_SYM.
70044         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70045         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70046         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
70047         <bp-sym.h> and <bp-asm.h>.
70048         (memcpy): Don't use BP_SYM.
70049         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
70050         <bp-sym.h> and <bp-asm.h>.
70051         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70052         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
70053         <bp-sym.h> and <bp-asm.h>.
70054         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70055         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
70056         <bp-asm.h>.
70057         (__mpn_lshift): Don't use BP_SYM.
70058         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70059         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
70060         <bp-asm.h>.
70061         (memset): Don't use BP_SYM.
70062         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70063         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70064         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
70065         <bp-asm.h>.
70066         (__mpn_mul_1): Don't use BP_SYM.
70067         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70068         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
70069         <bp-sym.h> and <bp-asm.h>.
70070         (memcmp): Don't use BP_SYM.
70071         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
70072         <bp-sym.h> and <bp-asm.h>.
70073         (memcpy): Don't use BP_SYM.
70074         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
70075         <bp-sym.h> and <bp-asm.h>.
70076         (memset): Don't use BP_SYM.
70077         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
70078         <bp-sym.h> and <bp-asm.h>.
70079         (strncmp): Don't use BP_SYM.
70080         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
70081         <bp-sym.h> and <bp-asm.h>.
70082         (memcpy): Don't use BP_SYM.
70083         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
70084         <bp-sym.h> and <bp-asm.h>.
70085         (memset): Don't use BP_SYM.
70086         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
70087         <bp-sym.h> and <bp-asm.h>.
70088         (__memchr): Don't use BP_SYM.
70089         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
70090         <bp-sym.h> and <bp-asm.h>.
70091         (memcmp): Don't use BP_SYM.
70092         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
70093         <bp-sym.h> and <bp-asm.h>.
70094         (memcpy): Don't use BP_SYM.
70095         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
70096         <bp-sym.h> and <bp-asm.h>.
70097         (__mempcpy): Don't use BP_SYM.
70098         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
70099         <bp-sym.h> and <bp-asm.h>.
70100         (__memrchr): Don't use BP_SYM.
70101         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
70102         <bp-sym.h> and <bp-asm.h>.
70103         (memset): Don't use BP_SYM.
70104         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
70105         <bp-sym.h> and <bp-asm.h>.
70106         (__rawmemchr): Don't use BP_SYM.
70107         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
70108         <bp-sym.h> and <bp-asm.h>.
70109         (__STRCMP): Don't use BP_SYM.
70110         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
70111         <bp-sym.h> and <bp-asm.h>.
70112         (strchr): Don't use BP_SYM.
70113         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
70114         <bp-sym.h> and <bp-asm.h>.
70115         (__strchrnul): Don't use BP_SYM.
70116         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70117         <bp-sym.h> and <bp-asm.h>.
70118         (strlen): Don't use BP_SYM.
70119         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70120         <bp-sym.h> and <bp-asm.h>.
70121         (strncmp): Don't use BP_SYM.
70122         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70123         <bp-sym.h> and <bp-asm.h>.
70124         (__strnlen): Don't use BP_SYM.
70125         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70126         <bp-asm.h>.
70127         (__mpn_rshift): Don't use BP_SYM.
70128         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70129         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70130         <bp-sym.h> and <bp-asm.h>.
70131         (__sigsetjmp): Don't use BP_SYM.
70132         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70133         (L(start_addresses)): Don't use BP_SYM.
70134         (_start): Likewise.
70135         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70136         <bp-asm.h>.
70137         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70138         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70139         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70140         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70141         <bp-asm.h>.
70142         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70143         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70144         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70145         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70146         <bp-asm.h>.
70147         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70148         comments.
70149         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70150         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70151         <bp-asm.h>.
70152         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
70153         FIXME comments.
70154         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70155         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70156         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70157         <bp-asm.h>.
70158         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70159         comment.
70160         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70161         and <bp-asm.h>.
70162         (strncmp): Don't use BP_SYM,
70163         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70164         <bp-asm.h>.
70165         (__mpn_sub_n): Don't use BP_SYM.
70166         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70167         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70168         and <bp-asm.h>.
70169         (__mpn_submul_1): Don't use BP_SYM.
70170         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70172         <bp-sym.h> and <bp-asm.h>.
70173         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70175         <bp-sym.h> and <bp-asm.h>.
70176         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
70177         comment.
70179 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70182         Use ZK to minimize writes to Z.
70183         (sub_magnitudes): Simplify code a bit.
70184         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70185         Use ZK to minimize writes to Z.
70186         (sub_magnitudes): Simplify code a bit.
70188 2013-02-27  Roland McGrath  <roland@hack.frob.com>
70190         * csu/gmon-start.c: Add special exception to license text.
70192 2013-02-27  Richard Henderson  <rth@redhat.com>
70194         * scripts/config.guess: Update from config.git.
70195         * scripts/config.sub: Likewise.
70197 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70199         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70201         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70203         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70205         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70207         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70209 2013-02-26  Roland McGrath  <roland@hack.frob.com>
70211         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70212         [$(build-shared = yes].
70214 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70216         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70217         (__mul): Reduce iterations for calculating mantissa.
70219         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70220         MPTWO.
70221         (__mpranred): Likewise.
70223         [BZ #15160]
70224         * malloc/memusagestat.c (main): Draw graphs for heap and stack
70225         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70227 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
70229         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70230         Define __attribute__.
70232 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70234         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70235         unused.
70236         * posix/regex_internal.h (__attribute): Remove.
70237         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70238         (re_string_context_at): Likewise.
70239         (bitset_not): Use __attribute__ and mark function as possibly
70240         unused.
70241         (bitset_merge): Likewise.
70242         (bitset_mask): Likewise.
70243         (re_string_char_size_at): Likewise.
70244         (re_string_wchar_at): Likewise.
70245         (re_string_elem_size_at): Likewise.
70247 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70249         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70250         code.
70251         (cc32): Likewise.
70253         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70254         (__acr): Likewise.
70255         (__cpy): Likewise.
70256         (norm): Likewise.
70257         (denorm): Likewise.
70258         (__dbl_mp): Likewise.
70259         (add_magnitudes): Likewise.
70260         (sub_magnitudes): Likewise.
70261         (__mul): Likewise.
70262         (__inv): Likewise.
70264         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70265         style.
70267         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70268         style.
70270         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70271         code.
70273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70274         up changes with default code.
70275         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70276         Likewise.
70278 2013-02-24  Allan McRae  <allan@archlinux.org>
70280         * manual/socket.texi (The Internet Namespace): Order menu items
70281         to match that in the file.
70283         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70284         node listing of the info page menu.
70286 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
70288         [BZ #13550]
70289         * sysdeps/i386/bp-asm.h: Remove file.
70290         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70291         (PARMS): Do not use macros from bp-asm.h.
70292         (S1): Likewise.
70293         (S2): Likewise.
70294         (SIZE): Likewise.
70295         (__mpn_add_n): Do not use BP_SYM
70296         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70297         "bp-asm.h".
70298         (PARMS): Do not use macros from bp-asm.h.
70299         (S1): Likewise.
70300         (SIZE): Likewise.
70301         (__mpn_addmul_1): Do not use BP_SYM
70302         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70303         "bp-asm.h".
70304         (PARMS): Do not use macros from bp-asm.h.
70305         (SIGMSK): Likewise.
70306         (_setjmp): Likewise.  Do not use BP_SYM.
70307         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70308         "bp-asm.h".
70309         (PARMS): Do not use macros from bp-asm.h.
70310         (SIGMSK): Likewise.
70311         (setjmp): Likewise.  Do not use BP_SYM.
70312         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70313         "bp-asm.h".
70314         (PARMS): Do not use macros from bp-asm.h.
70315         (__frexp): Do not use BP_SYM.
70316         (frexp): Likewise.
70317         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70318         "bp-asm.h".
70319         (PARMS): Do not use macros from bp-asm.h.
70320         (__frexpf): Do not use BP_SYM.
70321         (frexpf): Likewise.
70322         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70323         "bp-asm.h".
70324         (PARMS): Do not use macros from bp-asm.h.
70325         (__frexpl): Do not use BP_SYM.
70326         (frexpl): Likewise.
70327         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70328         "bp-asm.h".
70329         (PARMS): Do not use macros from bp-asm.h.
70330         (__remquo): Do not use BP_SYM.
70331         (remquo): Likewise.
70332         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70333         "bp-asm.h".
70334         (PARMS): Do not use macros from bp-asm.h.
70335         (__remquof): Do not use BP_SYM.
70336         (remquof): Likewise.
70337         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70338         "bp-asm.h".
70339         (PARMS): Do not use macros from bp-asm.h.
70340         (__remquol): Do not use BP_SYM.
70341         (remquol): Likewise.
70342         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70343         "bp-asm.h".
70344         (PARMS): Do not use macros from bp-asm.h.
70345         (DEST): Likewise.
70346         (SRC): Likewise.
70347         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
70348         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70349         "bp-asm.h".
70350         (PARMS): Do not use macros from bp-asm.h.
70351         (strlen): Do not use BP_SYM.
70352         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70353         "bp-asm.h".
70354         (PARMS): Do not use macros from bp-asm.h.
70355         (S1): Likewise.
70356         (S2): Likewise.
70357         (SIZE): Likewise.
70358         (__mpn_add_n): Do not use BP_SYM.
70359         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70360         "bp-asm.h".
70361         (PARMS): Do not use macros from bp-asm.h.
70362         (S1): Likewise.
70363         (SIZE): Likewise.
70364         (__mpn_addmul_1): Do not use BP_SYM.
70365         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70366         weak_alias.
70367         (bzero): Likewise.
70368         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70369         "bp-asm.h".
70370         (PARMS): Do not use macros from bp-asm.h.
70371         (S): Likewise.
70372         (SIZE): Likewise.
70373         (__mpn_lshift): Do not use BP_SYM.
70374         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70375         "bp-asm.h".
70376         (PARMS): Do not use macros from bp-asm.h.
70377         (DEST): Likewise.
70378         (SRC): Likewise.
70379         (LEN): Likewise.
70380         (memcpy): Likewise.  Do not use BP_SYM.
70381         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70382         libc_hidden_def and weak_alias.
70383         (mempcpy): Do not use BP_SYM in weak_alias.
70384         * sysdeps/i386/i586/memset.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         (LEN): Likewise.
70389         [!BZERO_P] (CHR): Likewise.
70390         (memset): Likewise.  Do not use BP_SYM.
70391         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70392         "bp-asm.h".
70393         (PARMS): Do not use macros from bp-asm.h.
70394         (S1): Likewise.
70395         (SIZE): Likewise.
70396         (__mpn_mul_1): Do not use BP_SYM.
70397         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70398         "bp-asm.h".
70399         (PARMS): Do not use macros from bp-asm.h.
70400         (S): Likewise.
70401         (SIZE): Likewise.
70402         (__mpn_rshift): Do not use BP_SYM.
70403         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70404         "bp-asm.h".
70405         (PARMS): Do not use macros from bp-asm.h.
70406         (STR): Likewise.
70407         (CHR): Likewise.
70408         (strchr): Likewise.  Do not use BP_SYM.
70409         (index): Do not use BP_SYM in weak_alias.
70410         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70411         "bp-asm.h".
70412         (PARMS): Do not use macros from bp-asm.h.
70413         (DEST): Likewise.
70414         (SRC): Likewise.
70415         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
70416         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70417         "bp-asm.h".
70418         (PARMS): Do not use macros from bp-asm.h.
70419         (strlen): Do not use BP_SYM.
70420         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70421         "bp-asm.h".
70422         (PARMS): Do not use macros from bp-asm.h.
70423         (S1): Likewise.
70424         (S2): Likewise.
70425         (SIZE): Likewise.
70426         (__mpn_sub_n): Do not use BP_SYM.
70427         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70428         "bp-asm.h".
70429         (PARMS): Do not use macros from bp-asm.h.
70430         (S1): Likewise.
70431         (SIZE): Likewise.
70432         (__mpn_submul_1): Do not use BP_SYM.
70433         * sysdeps/i386/i686/add_n.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         (S2): Likewise.
70438         (SIZE): Likewise.
70439         (__mpn_add_n): Do not use BP_SYM.
70440         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70441         weak_alias.
70442         (bzero): Likewise.
70443         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70444         "bp-asm.h".
70445         (PARMS): Do not use macros from bp-asm.h.
70446         (BLK2): Likewise.
70447         (LEN): Likewise.
70448         (memcmp): Do not use BP_SYM.
70449         (bcmp): Do not use BP_SYM in weak_alias.
70450         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70451         "bp-asm.h".
70452         (PARMS): Do not use macros from bp-asm.h.
70453         (DEST): Likewise.
70454         (SRC): Likewise.
70455         (LEN): Likewise.
70456         (memcpy): Likewise.  Do not use BP_SYM.
70457         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70458         "bp-asm.h".
70459         (PARMS): Do not use macros from bp-asm.h.
70460         (DEST): Likewise.
70461         (SRC): Likewise.
70462         (LEN): Likewise.
70463         (memmove): Likewise.  Do not use BP_SYM.
70464         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70465         "bp-asm.h".
70466         (PARMS): Do not use macros from bp-asm.h.
70467         (DEST): Likewise.
70468         (SRC): Likewise.
70469         (LEN): Likewise.
70470         (__mempcpy): Likewise.  Do not use BP_SYM.
70471         (mempcpy): Do not use BP_SYM in weak_alias.
70472         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70473         "bp-asm.h".
70474         (PARMS): Do not use macros from bp-asm.h.
70475         (DEST): Likewise.
70476         (LEN): Likewise.
70477         [!BZERO_P] (CHR): Likewise.
70478         (memset): Likewise.  Do not use BP_SYM.
70479         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70480         "bp-asm.h".
70481         (PARMS): Do not use macros from bp-asm.h.
70482         (STR2): Likewise.
70483         (strcmp): Do not use BP_SYM.
70484         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70485         "bp-asm.h".
70486         (PARMS): Do not use macros from bp-asm.h.
70487         (STR): Likewise.
70488         (DELIM): Likewise.
70489         [USE_AS_STRTOK_R] (SAVE): Likewise.
70490         (FUNCTION): Likewise.  Do not use BP_SYM.
70491         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70492         aliases.
70493         (strtok_r): Likewise.
70494         (__GI___strtok_r): Likewise.
70495         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70496         (PARMS): Do not use macros from bp-asm.h.
70497         (S): Likewise.
70498         (SIZE): Likewise.
70499         (__mpn_lshift): Do not use BP_SYM.
70500         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70501         (PARMS): Do not use macros from bp-asm.h.
70502         (STR): Likewise.
70503         (CHR): Likewise.
70504         (__memchr): Do not use BP_SYM.
70505         (memchr): Do not use BP_SYM in weak_alias.
70506         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70507         (PARMS): Do not use macros from bp-asm.h.
70508         (BLK2): Likewise.
70509         (LEN): Likewise.
70510         (memcmp): Do not use BP_SYM.
70511         (bcmp): Do not use BP_SYM in weak_alias.
70512         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70513         (PARMS): Do not use macros from bp-asm.h.
70514         (S1): Likewise.
70515         (SIZE): Likewise.
70516         (__mpn_mul_1): Do not use BP_SYM.
70517         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70518         "bp-asm.h".
70519         (PARMS): Do not use macros from bp-asm.h.
70520         (STR): Likewise.
70521         (CHR): Likewise.
70522         (__rawmemchr): Do not use BP_SYM.
70523         (rawmemchr): Do not use BP_SYM in weak_alias.
70524         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70525         (PARMS): Do not use macros from bp-asm.h.
70526         (S): Likewise.
70527         (SIZE): Likewise.
70528         (__mpn_rshift): Do not use BP_SYM.
70529         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70530         (PARMS): Do not use macros from bp-asm.h.
70531         (SIGMSK): Likewise.
70532         (__sigsetjmp): Likewise.  Do not use BP_SYM.
70533         * sysdeps/i386/start.S: Do not include "bp-sym.h".
70534         (_start): Do not use BP_SYM.
70535         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70536         (PARMS): Do not use macros from bp-asm.h.
70537         (DEST): Likewise.
70538         (SRC): Likewise.
70539         (__stpcpy): Likewise.  Do not use BP_SYM.
70540         (stpcpy): Do not use BP_SYM in weak_alias.
70541         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70542         "bp-asm.h".
70543         (PARMS): Do not use macros from bp-asm.h.
70544         (DEST): Likewise.
70545         (SRC): Likewise.
70546         (LEN): Likewise.
70547         (__stpncpy): Likewise.  Do not use BP_SYM.
70548         (stpncpy): Do not use BP_SYM in weak_alias.
70549         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70550         (PARMS): Do not use macros from bp-asm.h.
70551         (STR): Likewise.
70552         (CHR): Likewise.
70553         (strchr): Likewise.  Do not use BP_SYM.
70554         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70555         "bp-asm.h".
70556         (PARMS): Do not use macros from bp-asm.h.
70557         (STR): Likewise.
70558         (CHR): Likewise.
70559         (__strchrnul): Likewise.  Do not use BP_SYM.
70560         (strchrnul): Do not use BP_SYM in weak_alias.
70561         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70562         "bp-asm.h".
70563         (PARMS): Do not use macros from bp-asm.h.
70564         (STOP): Likewise.
70565         (strcspn): Do not use BP_SYM.
70566         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70567         "bp-asm.h".
70568         (PARMS): Do not use macros from bp-asm.h.
70569         (STR): Likewise.
70570         (STOP): Likewise.
70571         (strpbrk): Likewise.  Do not use BP_SYM.
70572         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70573         "bp-asm.h".
70574         (PARMS): Do not use macros from bp-asm.h.
70575         (STR): Likewise.
70576         (CHR): Likewise.
70577         (strrchr): Likewise.  Do not use BP_SYM.
70578         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70579         (PARMS): Do not use macros from bp-asm.h.
70580         (SKIP): Likewise.
70581         (strspn): Do not use BP_SYM.
70582         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70583         (PARMS): Do not use macros from bp-asm.h.
70584         (STR): Likewise.
70585         (DELIM): Likewise.
70586         (SAVE): Likewise.
70587         (FUNCTION): Likewise.  Do not use BP_SYM.
70588         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70589         aliases.
70590         (strtok_r): Likewise.
70591         (__GI___strtok_r): Likewise.
70592         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70593         (PARMS): Do not use macros from bp-asm.h.
70594         (S1): Likewise.
70595         (S2): Likewise.
70596         (SIZE): Likewise.
70597         (__mpn_sub_n): Do not use BP_SYM.
70598         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70599         "bp-asm.h".
70600         (PARMS): Do not use macros from bp-asm.h.
70601         (S1): Likewise.
70602         (SIZE): Likewise.
70603         (__mpn_submul_1): Do not use BP_SYM.
70604         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70605         <bp-sym.h>.
70606         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70607         and <bp-asm.h>.
70608         (PARMS): Do not use macros from bp-asm.h.
70609         (FLAGS): Likewise.
70610         (PTID): Likewise.
70611         (TLS): Likewise.
70612         (CTID): Likewise.
70613         (__clone): Do not use BP_SYM.
70614         (clone): Do not use BP_SYM in weak_alias.
70615         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70616         and <bp-asm.h>.
70617         (PARMS): Do not use macros from bp-asm.h.
70618         (LEN): Likewise.
70619         (__mmap64): Do not use BP_SYM.
70620         (mmap64): Do not use BP_SYM in weak_alias.
70621         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70622         <bp-sym.h> and <bp-asm.h>.
70623         (PARMS): Do not use macros from bp-asm.h.
70624         (__posix_fadvise64_l64): Do not use BP_SYM.
70625         * sysdeps/unix/sysv/linux/i386/semtimedop.S
70626         (PARMS): Do not use macros from bp-asm.h.
70627         (NSOPS): Likewise.
70628         (semtimedop): Do not use BP_SYM.
70629         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70630         and <bp-asm.h>.
70632 2013-02-21  Allan McRae  <allan@archlinux.org>
70634         * manual/message.texi (Charset conversion in gettext):
70635         Move @end statement to beginning of line.
70637 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70640         static.
70641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70642         Likewise.
70644         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70645         (denorm): Likewise.
70646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70647         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70649 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70651         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70652         tail-call to the resolved function if pltexit isn't needed.
70654 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70657         or Y being zero as being unlikely.
70658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70659         Likewise.
70661 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
70663         * manual/nss.texi (System Databases and Name Service Switch):
70664         Remove frobnicate @pxref.
70666 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70668         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70669         __attribute__ ((unused)) to __attribute__ ((__unused__)).
70671 2013-02-20  Petr Machata  <pmachata@redhat.com>
70673         * elf/elf.h (R_ARM_TARGET1): New macro.
70674         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70675         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70676         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70677         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70678         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70679         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70680         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70681         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70682         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70683         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70684         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70685         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70686         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70687         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70688         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70689         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70690         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70691         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70692         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70693         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70694         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70695         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70696         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70697         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70698         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70699         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70700         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70701         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70702         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70703         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70704         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70705         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70706         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70707         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70708         (R_ARM_THM_GOT_BREL12): Likewise.
70709         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70710         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70711         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70712         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70713         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70714         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70715         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70716         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70717         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70719 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70721         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70722         __attribute_used__ to __attribute__ ((unused)).
70724 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70726         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70727         powerpc mpa.c.
70728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70729         comment formatting.
70730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70732 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
70734         [BZ #13550]
70735         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70736         Remove macro.
70737         (ENTER): Remove both macro definitions.
70738         (LEAVE): Likewise.
70739         (CHECK_BOUNDS_LOW): Likewise.
70740         (CHECK_BOUNDS_HIGH): Likewise.
70741         (CHECK_BOUNDS_BOTH): Likewise.
70742         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70743         (RETURN_BOUNDED_POINTER): Likewise.
70744         (RETURN_NULL_BOUNDED_POINTER): Likewise.
70745         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70746         (POP_ERRNO_LOCATION_RETURN): Likewise.
70747         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70748         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70749         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70750         macros.
70751         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70752         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70753         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70754         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70755         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70756         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70757         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70758         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70759         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70760         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70761         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70762         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70763         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70764         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70765         removed macros.
70766         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70767         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70768         macros.
70769         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70770         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70771         * sysdeps/i386/i586/memset.S (memset): Likewise.
70772         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70773         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70774         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70775         macros.
70776         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70777         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70778         Change uses of L(2) to L(out).
70779         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70780         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70781         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70782         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70783         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70784         removed macros.
70785         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70786         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70787         macros.
70788         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70789         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70790         (RETURN): Do not use macro LEAVE.
70791         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70792         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70793         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70794         * sysdeps/i386/i686/memset.S (memset): Likewise.
70795         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70796         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70797         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70798         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70799         Likewise.
70800         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70801         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
70802         L(1_2) and L(1_3) into L(1).
70803         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70804         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70805         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70806         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70807         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70808         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70809         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70810         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70811         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70812         macros.
70813         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70814         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70815         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70816         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70817         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70818         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70819         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70820         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70821         * sysdeps/i386/strcspn.S (strcspn): Likewise.
70822         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70823         * sysdeps/i386/strrchr.S (strrchr): Likewise.
70824         * sysdeps/i386/strspn.S (strspn): Likewise.
70825         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70826         conditional code.
70827         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70828         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70829         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70830         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
70831         L(1_3) into L(1_1).
70832         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70833         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70834         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70835         macros.
70836         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70838 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
70840         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70841         macro.
70843 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70845         * math/atest-exp.c (exp_mpn): Remove ROUND.
70846         * math/atest-exp2.c (exp_mpn): Likewise.
70847         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70849         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70850         * stdlib/tst-tls-atexit-lib.c: Likewise.
70851         * stdlib/tst-tls-atexit.c: Likewise.
70853 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70855         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70856         and __attribute_alloc_size__.
70858 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70860         * include/programs/xmalloc.h: Change __attribute_alloc_size to
70861         __attribute_alloc_size__.
70862         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70863         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70865 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70867         * include/programs/xmalloc.h: New file.
70868         * catgets/gencat.c: Include it.
70869         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70870         * elf/pldd.c: Likewise.
70871         * iconv/iconv_charmap.c: Likewise.
70872         * iconv/iconvconfig.c: Likewise.
70873         * iconv/strtab.c: Likewise.
70874         * locale/programs/locale.c: Likewise.
70875         * locale/programs/localedef.h: Likewise.
70876         * locale/programs/simple-hash.c: Likewise.
70877         * nscd/nscd.h: Likewise.
70878         * nss/makedb.c: Likewise.
70879         * sysdeps/generic/ldconfig.h: Likewise.
70881 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70883         * Versions.def: Add GLIBC_2.18.
70884         * include/link.h (struct link_map): New member l_tls_dtor_count.
70885         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70886         (__call_tls_dtors): Likewise.
70887         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70888         __cxa_thread_atexit_impl.
70889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70890         Likewise.
70891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70892         Likewise.
70893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70894         Likewise.
70895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70896         Likewise.
70897         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70899         Likewise.
70900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70901         Likewise.
70902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70904         Likewise.
70905         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70906         (tests): Add test case tst-tls-atexit.
70907         (modules-names): Add shared library for tst-tls-atexit.
70908         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70909         (GLIBC_PRIVATE): Add __call_tls_dtors.
70910         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70911         for libstdc++.
70912         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70913         * stdlib/tst-tls-atexit.c: New test case.
70914         * stdlib/tst-tls-atexit-lib.c: New test case.
70916         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70918         * elf/Versions (ld): Add _dl_find_dso_for_object.
70919         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70920         * elf/dl-open.c (_dl_find_dso_for_object): New function.
70921         (dl_open_worker): Use _dl_find_dso_for_object.
70922         * elf/dl-sym.c (do_sym): Likewise.
70923         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70925 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70927         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70928         Syntactic changes only.
70929         (_dl_runtime_profile): Do a tail-call to the resolved function.
70931 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
70933         [BZ #13550]
70934         * sysdeps/x86_64/bp-asm.h: Remove file.
70935         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70936         <bp-sym.h> and <bp-asm.h>.
70937         (__clone): Do not use BP_SYM.
70938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70939         <bp-sym.h> and <bp-asm.h>.
70940         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70941         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70942         "bp-asm.h".
70943         (_setjmp): Do not use BP_SYM.
70944         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70945         "bp-asm.h".
70946         (setjmp): Do not use BP_SYM.
70947         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70948         libc_hidden_def.
70949         (mempcpy): Do not use BP_SYM in weak_alias.
70950         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70951         "bp-asm.h".
70952         (strchr): Do not use BP_SYM.
70953         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70954         "bp-asm.h".
70955         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70956         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70957         (_start): Do not use BP_SYM.
70958         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
70959         "bp-asm.h".
70960         (strcat): Do not use BP_SYM.
70961         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
70962         "bp-asm.h".
70963         (STRCMP): Do not use BP_SYM.
70964         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
70965         "bp-asm.h".
70966         (STRCPY): Do not use BP_SYM.
70967         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
70968         "bp-asm.h".
70969         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
70970         "bp-asm.h".
70971         (FUNCTION): Do not use BP_SYM.
70972         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
70973         weak_alias.
70974         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
70976 2013-02-17  Andreas Jaeger  <aj@suse.de>
70978         * time/Versions: Sort entries.
70979         * string/Versions: Likewise.
70980         * resolv/Versions: Likewise.
70981         * posix/Versions: Likewise.
70982         * iconv/Versions: Likewise.
70983         * elf/Versions: Likewise.
70984         * wcsmbs/Versions: Likewise.
70986 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
70988         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
70989         loop termination condition.
70991         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
70992         variable to calculate EZ.
70993         (__sqr): Likewise.
70995         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
70996         the lower precision input.
70998 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
71000         [BZ #13550]
71001         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
71002         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
71003         (run-via-rtld-prefix): Do not handle %-bp tests.
71004         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
71005         (all-object-suffixes): Remove .ob.
71006         (bppfx): Remove variable.
71007         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
71008         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
71009         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
71010         [$(build-bounded) = yes] (libtype.ob): Likewise.
71011         * Makerules (elide-routines.ob): Remove variable.
71012         (do-tests-clean): Do not handle *-bp.out.
71013         (common-mostlyclean): Do not handle *-bp and *-bp.out.
71014         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
71015         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
71016         (tests): Do not include $(tests-bp.out).
71017         (xtests): Do not include $(xtests-bp.out).
71018         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
71019         [$(build-bounded) = yes] ($(addprefix
71020         $(objpfx),$(binaries-bounded))): Remove rule.
71021         ($(objpfx)%-bp.out): Remove rule.
71022         * config.make.in (build-bounded): Remove variable.
71023         * crypt/Makefile [$(build-bounded) = yes]
71024         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
71025         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
71026         append to variable.
71027         [$(build-bounded) = yes] (install-lib): Likewise.
71028         [$(build-bounded) = yes] (generated): Likewise.
71029         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
71030         Remove rule.
71031         * intl/Makefile [$(build-bounded) = yes]
71032         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
71033         * math/Makefile [$(build-bounded) = yes]
71034         ($(tests:%=$(objpfx)%-bp): Likewise.
71035         * misc/Makefile [$(build-bounded) = yes]
71036         ($(objpfx)tst-tsearch-bp): Likewise.
71037         * nptl/Makeconfig (bounded-thread-library): Remove variable.
71038         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
71039         Remove dependency.
71040         * string/Makefile (o-objects.ob): Remove variable.
71041         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
71042         (CFLAGS-.ob): Remove variable.
71043         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
71044         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
71045         both definitions of variable.
71046         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
71047         (ASFLAGS-.ob): Remove variable.
71049 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
71051         [BZ #13550]
71052         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
71053         Remove __BOUNDED_POINTERS__ from condition.
71054         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
71055         * string/bits/string2.h [!__NO_STRING_INLINES &&
71056         !__BOUNDED_POINTERS__]: Likewise.
71057         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
71058         Likewise.
71059         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
71060         Remove conditional code.
71061         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
71062         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
71063         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
71064         condition.
71066         [BZ #13550]
71067         * csu/libc-start.c: Do not include <bp-sym.h>.
71068         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
71069         * elf/dl-open.c: Do not include <bp-sym.h>.
71070         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
71071         * math/fegetenv.c: Do not include <bp-sym.h>.
71072         (fegetenv): Do not use BP_SYM in versioned symbols.
71073         * nptl/sysdeps/pthread/bits/libc-lockP.h
71074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
71075         <bp-sym.h>.
71076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71077         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
71078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71079         (__pthread_mutex_destroy): Likewise.
71080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71081         (__pthread_mutex_lock): Likewise.
71082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71083         (__pthread_mutex_trylock): Likewise.
71084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71085         (__pthread_mutex_unlock): Likewise.
71086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71087         (__pthread_mutexattr_init): Likewise.
71088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71089         (__pthread_mutexattr_destroy): Likewise.
71090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71091         (__pthread_mutexattr_settype): Likewise.
71092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71093         (__pthread_rwlock_init): Likewise.
71094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71095         (__pthread_rwlock_destroy): Likewise.
71096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71097         (__pthread_rwlock_rdlock): Likewise.
71098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71099         (__pthread_rwlock_tryrdlock): Likewise.
71100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71101         (__pthread_rwlock_wrlock): Likewise.
71102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71103         (__pthread_rwlock_trywrlock): Likewise.
71104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71105         (__pthread_rwlock_unlock): Likewise.
71106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71107         (__pthread_key_create): Likewise.
71108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71109         (__pthread_setspecific): Likewise.
71110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71111         (__pthread_getspecific): Likewise.
71112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
71113         Likewise.
71114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71115         (_pthread_cleanup_push_defer): Likewise.
71116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71117         (_pthread_cleanup_pop_restore): Likewise.
71118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71119         (pthread_setcancelstate): Likewise.
71120         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71121         <bp-sym.h>.
71122         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71123         (memchr): Do not use BP_SYM in weak_alias.
71124         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71125         (fegetenv): Do not use BP_SYM in versioned symbols.
71126         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71127         (fesetenv): Do not use BP_SYM in versioned symbols.
71128         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71129         (feupdateenv): Do not use BP_SYM in versioned symbols.
71130         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71131         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71132         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71133         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71134         (open64): Do not use BP_SYM in weak_alias.
71135         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71136         (fegetenv): Do not use BP_SYM in versioned symbols.
71137         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71138         (fesetenv): Do not use BP_SYM in versioned symbols.
71139         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71140         (feupdateenv): Do not use BP_SYM in versioned symbols.
71141         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71142         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71143         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71144         (feraiseexcept): Do not use BP_SYM in versioned symbols.
71145         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71146         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71147         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71148         <bp-sym.h>.
71149         (__libc_start_main): Do not use BP_SYM.
71151 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
71153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71154         redundant return line.
71155         (norm): Likewise.
71156         (denorm): Likewise.
71157         (dbl_mp): Likewise.
71158         (sub_magnitudes): Likewise.
71159         (__add): Likewise.
71160         (__sub): Likewise.
71161         (__mul): Likewise.
71162         (__inv): Likewise.
71163         (__dvd): Likewise.
71164         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71165         (norm): Likewise.
71166         (denorm): Likewise.
71167         (dbl_mp): Likewise.
71168         (sub_magnitudes): Likewise.
71169         (__add): Likewise.
71170         (__sub): Likewise.
71171         (__mul): Likewise.
71172         (__inv): Likewise.
71173         (__dvd): Likewise.
71175         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71176         instead of __mul.
71177         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71178         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71179         (cc32): Likewise.
71181         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71182         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71183         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71184         of __mul for squares.
71185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71186         function
71187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71188         Likewise.
71189         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71190         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71192 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
71194         [BZ #13550]
71195         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71196         code.
71197         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71198         prototype or function definition.  Rename ubp_* variables and
71199         parameters.  Remove argv definitions conditional on
71200         [__BOUNDED_POINTERS__].
71201         * debug/backtrace.c (__backtrace): Do not use __unbounded.
71202         * elf/dl-runtime.c (_dl_fixup): Likewise.
71203         * include/set-hooks.h (RUN_HOOK): Likewise.
71204         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71205         definition.
71206         * string/strcpy.c (strcpy): Do not use __unbounded.
71207         * sysdeps/generic/frame.h (struct layout): Likewise.
71208         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71209         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71210         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71211         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71212         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71213         (__backtrace): Likewise.
71214         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71215         use __ptrvalue.
71216         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71217         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71218         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71219         Likewise.
71220         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71221         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71222         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71223         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71224         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71225         Do not use __unbounded.
71226         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71227         Rename __unboundedrlimits parameter to rlimits in prototype.
71228         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71229         Do not use __unbounded.
71230         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71231         not use __ptrvalue.
71232         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71233         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71234         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71235         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71236         __ptrvalue or __unbounded.
71237         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71238         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71239         use __unbounded.
71240         (__new_msgctl): Do not use __ptrvalue.
71241         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71242         __unbounded.
71243         (__libc_msgrcv): Do not use __ptrvalue.
71244         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71245         startup_info): Do not use __unbounded.
71246         (__libc_start_main): Likewise.  Rename ubp_* variables and
71247         parameters.  Remove argv definitions conditional on
71248         [__BOUNDED_POINTERS__].
71249         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71250         __ptrvalue.
71251         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71252         use __unbounded.
71253         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71254         or __ptrvalue.
71255         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71256         use __unbounded.
71257         (__new_shmctl): Do not use __ptrvalue.
71258         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71259         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71260         Likewise.
71261         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71262         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71263         (__libc_sigaction): Likewise.
71264         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71265         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71266         Likewise.
71267         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71269 2013-02-13   Ondƙej BĂ­lka  <neleai@seznam.cz>
71271         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71273         * string/mempcpy.c: Implement by calling memcpy.
71275 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
71277         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71279         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71280         evaluation.
71282         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71283         values in the mantissa.
71285         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71286         minimize writes to Z.
71287         (sub_magnitudes): Simplify code a bit.
71289 2013-02-12  Roland McGrath  <roland@hack.frob.com>
71291         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71292         from the message.  The linker prefixes all warnings with that already.
71294 2013-02-12  Andreas Schwab  <schwab@suse.de>
71296         [BZ #15078]
71297         * posix/regexec.c (extend_buffers): Add parameter min_len.
71298         (check_matching): Pass minimum needed length.
71299         (clean_state_log_if_needed): Likewise.
71300         (get_subexp): Likewise.
71301         * posix/Makefile (tests): Add bug-regex34.
71302         (bug-regex34-ENV): Define.
71303         * posix/bug-regex34.c: New file.
71305         [BZ #11561]
71306         * posix/regcomp.c (parse_bracket_exp): When looking up collating
71307         elements compare against the byte sequence of it, not its name.
71308         * posix/Makefile (tests): Add bug-regex35.
71309         (bug-regex35-ENV): Define.
71310         * posix/bug-regex35.c: New file.
71312 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71314         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
71315         comment.
71316         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71317         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71318         (CHECK_EOL): Add undef.
71320 2013-02-11   Ondƙej BĂ­lka  <neleai@seznam.cz>
71322         * bits/stdlib-bsearch.h: New file.
71323         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71324         * stdlib/stdlib.h: Likewise.
71326 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71328         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71329         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71330         declaration.
71331         * manual/search.texi (Array Search Function): Add missing const in
71332         lfind prototype.
71333         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71334         declaration to use rlim_t.
71335         (Basic Scheduling Functions): Remove erroneous const from
71336         sched_getparam prototype.  Remove erroneous * from
71337         sched_get_priority_max and sched_get_priority_min prototypes.
71338         (Resource Usage): Fix summary @comment on vtimes to refer to
71339         sys/vtimes.h rather than vtimes.h.
71340         Add missing *s in vtimes prototype.
71341         (Limits on Resources): Fix ulimit prototype to return long int.
71342         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71343         prototypes to use long int rather than double.
71344         (BSD Random): Fix initstate and setstate to use char *, not void *.
71345         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71346         prototype to make second argument 'struct aiocb64 *const[]'.
71347         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71348         (Status of AIO Operations): Remove erroneous const in aio_return and
71349         aio_return64 prototypes.
71350         (Synchronizing I/O): Fix sync prototype to return void.
71351         * manual/startup.texi (Suboptions): Remove an erroneous const in
71352         getsubopt prototype.
71353         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71354         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71355         use size_t rather than int.
71356         (Scanning All Users): Likewise for getpwent_r.
71357         (Setting Groups): Add missing const to setgroups prototype.
71358         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71359         * manual/socket.texi (Host Names): Fix gethostbyaddr and
71360         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71361         'const void *' rather than 'const char *'.
71362         (Host Address Functions): Likewise for inet_ntop.
71363         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71364         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71365         ssize_t for return value.
71366         (Sending Data): Likewise for send, sendto, sendmsg.
71367         (Socket Option Functions): Add a missing const in setsockopt prototype.
71368         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71369         use wchar_t for the argument.
71370         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71371         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71372         take no arguments.
71373         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71374         double/float/long double for second argument.
71375         Fix return types of significand, significandf, significandl.
71376         * manual/filesys.texi (Setting Permissions): Use mode_t for second
71377         argument in fchmod prototype.
71378         (File Owner): Use uid_t and gid_t in fchown prototype.
71379         (File Times): Add const to utimes, futimes, and lutimes prototypes.
71380         (Making Special Files): Use mode_t and dev_t in mknod prototype.
71381         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71382         use 'const struct dirent **' as argument types to CMP function pointer
71383         argument.
71384         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71385         (File Times): Fix summary magic @comment for struct utimbuf and utime
71386         to refer to utime.h, not time.h.
71387         * manual/string.texi (Argz Functions): Add missing const in
71388         argz_extract and argz_next prototypes.
71389         (Finding Tokens in a String): Likewise for basename.
71390         (String/Array Comparison): Fix typo in wcscasecmp prototype.
71391         (Copying and Concatenation): Fix typo in wmemmove prototype.
71392         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71393         (Signal Stack): Remove erroneous const in sigstack prototype.
71394         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71395         prototype.
71396         (Simple Calendar Time): Likewise for stime.
71397         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71398         prototype.
71399         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71400         say sys/sysctl.h instead.
71401         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71402         and vsyslog prototypes.
71404 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71406         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71407         Remove.
71409 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71411         * misc/sys/mman.h: Fix typo in mremap comment.
71413 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71415         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71416         the '\0' terminator.
71418 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71420         [BZ #13550]
71421         * debug/segfault.c: Don't include <bp-checks.h>.
71422         * sysdeps/generic/bp-checks.h: Remove file.
71423         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71424         (__GETDENTS): Don't use CHECK_N.
71425         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71426         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71427         (__getgroups): Don't use CHECK_N.
71428         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71429         (setgroups): Don't use CHECK_N.
71430         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71431         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71432         (__libc_msgrcv): Don't use CHECK_N.
71433         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71434         (__libc_msgsnd): Don't use CHECK_N.
71435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71436         <bp-checks.h>.
71437         (__libc_pread): Don't use CHECK_N.
71438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71439         include <bp-checks.h>.
71440         (__libc_pread64): Don't use CHECK_N.
71441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71442         include <bp-checks.h>.
71443         (__libc_pwrite): Don't use CHECK_N.
71444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71445         include <bp-checks.h>.
71446         (__libc_pwrite64): Don't use CHECK_N.
71447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71448         <bp-checks.h>.
71449         (__libc_pread): Don't use CHECK_N.
71450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71451         include <bp-checks.h>.
71452         (__libc_pread64): Don't use CHECK_N.
71453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71454         include <bp-checks.h>.
71455         (__libc_pwrite): Don't use CHECK_N.
71456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71457         include <bp-checks.h>.
71458         (__libc_pwrite64): Don't use CHECK_N.
71459         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71460         (do_pread): Don't use CHECK_N.
71461         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71462         (do_pread64): Don't use CHECK_N.
71463         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71464         (do_pwrite): Don't use CHECK_N.
71465         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71466         (do_pwrite64): Don't use CHECK_N.
71467         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71468         (__libc_readv): Don't use CHECK_N.
71469         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71470         (semop): Don't use CHECK_N.
71471         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71472         <bp-checks.h>.
71473         (semtimedop): Don't use CHECK_N.
71474         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71475         (__libc_pread): Don't use CHECK_N.
71476         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71477         <bp-checks.h>.
71478         (__libc_pread64): Don't use CHECK_N.
71479         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71480         <bp-checks.h>.
71481         (__libc_pwrite): Don't use CHECK_N.
71482         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71483         <bp-checks.h>.
71484         (__libc_pwrite64): Don't use CHECK_N.
71485         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71486         <bp-checks.h>.
71487         (__libc_msgrcv): Don't use CHECK_N.
71488         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71489         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
71490         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71491         (__libc_writev): Don't use CHECK_N.
71493 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71495         * string/strcpy.c: Removed unused variable.
71497         * Makeconfig (+sysdep-includes): Define with := rather than =.
71498         Use an existing include/ subdir of each sysdeps dir before it.
71500 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71502         * nscd/connection.c (register_traced_file): Comment function.
71503         [HAVE_INOTIFY] (union __inev): Define.
71504         [HAVE_INOTIFY] (inotify_check_files): New function.
71505         [HAVE_INOTIFY] (clear_db_cache): Likewise.
71506         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71507         clear_db_cache.
71508         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71510 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71512         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71513         loaded if not already and that a failure is permanent.
71515 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71517         [BZ #15006]
71518         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71519         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71521 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71523         [BZ #13550]
71524         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71525         (CHECK_1_NULL_OK): Likewise.
71526         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71527         (__fxstat): Do not use CHECK_1.
71528         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71529         <bp-checks.h>.
71530         (___fxstat64): Do not use CHECK_1.
71531         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71532         <bp-checks.h>.
71533         (__fxstatat): Do not use CHECK_1.
71534         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71535         <bp-checks.h>.
71536         (__fxstatat64): Do not use CHECK_1.
71537         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71538         <bp-checks.h>.
71539         (__fxstat): Do not use CHECK_1.
71540         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71541         <bp-checks.h>.
71542         (__fxstatat): Do not use CHECK_1.
71543         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71544         <bp-checks.h>.
71545         (__getresgid): Do not use CHECK_1.
71546         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71547         <bp-checks.h>.
71548         (__getresuid): Do not use CHECK_1.
71549         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71550         <bp-checks.h>.
71551         (__lxstat): Do not use CHECK_1.
71552         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71553         <bp-checks.h>.
71554         (__old_msgctl): Do not use CHECK_1.
71555         (__new_msgctl): Likewise.
71556         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71557         <bp-checks.h>.
71558         (__new_setrlimit): Do not use CHECK_1.
71559         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71560         <bp-checks.h>.
71561         (__old_shmctl): Do not use CHECK_1.
71562         (__new_shmctl): Likewise.
71563         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71564         <bp-checks.h>.
71565         (__xstat): Do not use CHECK_1.
71566         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71567         (__lxstat): Do not use CHECK_1.
71568         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71569         <bp-checks.h>.
71570         (___lxstat64): Do not use CHECK_1.
71571         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71572         (__old_msgctl): Do not use CHECK_1.
71573         (__new_msgctl): Likewise.
71574         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71575         <bp-checks.h>.
71576         (__gettimeofday): Do not use CHECK_1.
71577         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71578         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71579         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71580         <bp-checks.h>.
71581         (__gettimeofday): Do not use CHECK_1.
71582         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71583         (__old_shmctl): Do not use CHECK_1_NULL_OK.
71584         (__new_shmctl): Do not use CHECK_1.
71585         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71586         <bp-checks.h>.
71587         (do_sigtimedwait): Do not use CHECK_1.
71588         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71589         <bp-checks.h>.
71590         (do_sigwaitinfo): Do not use CHECK_1.
71591         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71592         <bp-checks.h>.
71593         (msgctl): Do not use CHECK_1.
71594         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71595         <bp-checks.h>.
71596         (shmctl): Do not use CHECK_1.
71597         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71598         (ustat): Do not use CHECK_1.
71599         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71600         <bp-checks.h>.
71601         (__fxstat): Do not use CHECK_1.
71602         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71603         <bp-checks.h>.
71604         (__fxstatat): Do not use CHECK_1.
71605         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71606         <bp-checks.h>.
71607         (__lxstat): Do not use CHECK_1.
71608         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71609         <bp-checks.h>.
71610         (__xstat): Do not use CHECK_1.
71611         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71612         (__xstat): Do not use CHECK_1.
71613         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71614         (___xstat64): Do not use CHECK_1.
71616         [BZ #13550]
71617         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71618         definitions.
71619         (CHECK_BOUNDS_HIGH): Likewise.
71620         * string/strcpy.c: Do not include <bp-checks.h>.
71621         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71623 2013-02-07  Roland McGrath  <roland@hack.frob.com>
71625         * nscd/nscd-client.h (__nscd_drop_map_ref):
71626         Add __attribute__ ((unused)).
71627         * nis/nss-nisplus.h (niserr2nss): Likewise.
71629         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71630         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71632         * csu/libc-tls.c (init_static_tls, init_slotinfo):
71633         Remove inline keyword.
71634         * include/rounding-mode.h (round_away): Likewise.
71635         * libio/wfileops.c (adjust_wide_data): Likewise.
71636         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71637         (__m128i_strloadu_tolower): Likewise.
71638         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71639         (__m128i_strloadu_tolower): Likewise.
71640         * time/mktime.c (ydhms_diff): Likewise.
71641         * locale/elem-hash.h (elem_hash): Likewise.
71642         * locale/setlocale.c (setdata): Likewise.
71643         * posix/regex_internal.h (re_string_char_size_at): Likewise.
71644         (re_string_wchar_at): Likewise.
71645         (bitset_not, bitset_merge, bitset_mask): Likewise.
71646         [!(__GNUC__ > 3)] (inline): Remove macro.
71647         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71648         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71649         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71650         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71651         * string/memcmp.c (memcmp_bytes): Likewise.
71652         * locale/programs/locarchive.c (compute_hashval): Likewise.
71653         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71654         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71655         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71656         * nss/getent.c (print_rpc, print_protocols): Likewise.
71657         (print_passwd, print_group, print_aliases): Likewise.
71658         * nis/nss-nisplus.h (niserr2nss): Likewise.
71659         * nscd/connections.c (restart_p): Likewise.
71660         Change return type to bool.
71662 2013-02-05  Roland McGrath  <roland@hack.frob.com>
71664         * Makeconfig (all-Depend-files): Add existing
71665         $(sorted-subdirs:=/Depend) files.
71666         (all-subdirs): Remove nss.
71667         * sysdeps/unix/inet/Subdirs: Add it here instead.
71668         * hesiod/Depend: New file.
71670         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71671         instead of calling alloca.
71673         * io/lseek.c (__lseek): Rename to __libc_lseek.
71674         Define __lseek as an alias.
71676         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71678 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
71680         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71681         else clause and remove check for non-standard endianness.
71683 2013-02-04  David S. Miller  <davem@davemloft.net>
71685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71687 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
71689         [BZ #13550]
71690         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71691         (__ubp_memchr): Remove prototype.
71692         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71693         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71694         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71695         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71696         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71697         Remove alias.
71698         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71699         (__ubp_memchr): Likewise.
71700         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71701         (__ubp_memchr): Likewise.
71702         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71703         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71704         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71705         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71706         CHECK_STRING.
71707         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71708         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71709         (__getcwd): Do not use CHECK_STRING.
71710         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71711         <bp-checks.h>.
71712         (__real_chown): Do not use CHECK_STRING.
71713         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71714         <bp-checks.h>.
71715         (fchownat): Do not use CHECK_STRING.
71716         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71717         CHECK_STRING.
71718         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71719         <bp-checks.h>.
71720         (__lchown): Do not use CHECK_STRING.
71721         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71722         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71723         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71724         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71726         include <bp-checks.h>.
71727         (truncate64): Do not use CHECK_STRING.
71728         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71729         <bp-checks.h>.
71730         (__real_chown): Do not use CHECK_STRING.
71731         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71732         <bp-checks.h>.
71733         (__lchown): Do not use CHECK_STRING.
71734         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71735         <bp-checks.h>.
71736         (__chown): Do not use CHECK_STRING.
71737         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71738         <bp-checks.h>.
71739         (truncate64): Do not use CHECK_STRING.
71740         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71741         Likewise.
71742         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71743         (__xmknod): Do not use CHECK_STRING.
71744         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71745         <bp-checks.h>.
71746         (__xmknodat): Do not use CHECK_STRING.
71747         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71748         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71750 2013-02-04  Andreas Schwab  <schwab@suse.de>
71752         [BZ #14142]
71753         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71754         * include/netdb.h: Likewise for h_errno.
71755         * elf/tst-stackguard1.c: Include <tls.h>.
71757 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
71759         * elf/link.h (struct link_map): Extend the l_addr comment.
71760         * include/link.h (struct link_map): Likewise.
71762 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
71764         [BZ #13550]
71765         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71766         (BOUNDED_1): Remove macro.
71767         * debug/backtrace.c: Don't include <bp-checks.h>.
71768         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71769         (__backtrace): Likewise.
71770         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71771         <bp-checks.h>.
71772         (__backtrace): Don't use BOUNDED_1.
71773         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71774         <bp-checks.h>.
71775         (__backtrace): Don't use BOUNDED_1.
71776         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71777         (__backtrace): Don't use BOUNDED_1.
71778         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71779         (shmat): Don't use BOUNDED_N.
71781 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
71783         [BZ #13550]
71784         * sysdeps/generic/bp-start.h: Remove file.
71785         * csu/libc-start.c: Don't include <bp-start.h>.
71786         (LIBC_START_MAIN): Set up __environ directly instead of using
71787         INIT_ARGV_and_ENVIRON.
71788         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71789         <bp-start.h>.
71791         [BZ #13550]
71792         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71793         definitions.
71794         (CHECK_FCNTL): Likewise.
71795         (CHECK_N_PAGES): Likewise.
71797         [BZ #13550]
71798         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71799         definitions.
71800         (CHECK_SIGSET_NULL_OK): Likewise.
71801         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71802         <bp-checks.h>.
71803         (sigpending): Don't use CHECK_SIGSET.
71804         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71805         <bp-checks.h>.
71806         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71807         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71808         <bp-checks.h>.
71809         (do_sigsuspend): Don't use CHECK_SIGSET.
71810         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71811         use CHECK_SIGSET.
71812         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71813         (do_sigwait): Don't use CHECK_SIGSET.
71814         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71815         use CHECK_SIGSET.
71816         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71817         include <bp-checks.h>.
71818         (sigpending): Don't use CHECK_SIGSET.
71819         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71820         include <bp-checks.h>.
71821         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71822         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71823         <bp-checks.h>.
71824         (sigpending): Don't use CHECK_SIGSET.
71825         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71826         <bp-checks.h>.
71827         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71829         [BZ #13550]
71830         * sysdeps/generic/bp-semctl.h: Remove file.
71831         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71832         <bp-checks.h> and <bp-semctl.h>.
71833         (__old_semctl): Don't use CHECK_SEMCTL.
71834         (__new_semctl): Likewise.
71835         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71836         and <bp-semctl.h>.
71837         (__old_semctl): Don't use CHECK_SEMCTL.
71838         (__new_semctl): Likewise.
71839         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71840         <bp-checks.h> and <bp-semctl.h>.
71841         (__old_semctl): Don't use CHECK_SEMCTL.
71842         (__new_semctl): Likewise.
71843         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71844         <bp-checks.h> and <bp-semctl.h>.
71845         (semctl): Don't use CHECK_SEMCTL.
71847         [BZ #13550]
71848         * Makerules (elide-bp-thunks): Remove variable.
71849         (elide-routines.oS): Don't use $(elide-bp-thunks).
71850         (elide-routines.os): Likewise.
71851         (elide-routines.o): Likewise.
71852         (elide-routines.op): Likewise.
71853         (elide-routines.og): Likewise.
71854         (objects): Don't use $(bp-thunks).
71855         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71856         include.
71857         (common-generated): Do not add s-proto-bp.d.
71858         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71859         (int): Likewise.
71860         (typ): Likewise.
71861         Do not generate makefile rules for bounded-pointer thunks.
71862         * sysdeps/generic/bp-thunks.h: Remove file.
71863         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71864         * sysdeps/unix/s-proto-bp.S: Likewise.
71866         [BZ #15062]
71867         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71868         parts of result separately when argument is not close to line from
71869         -i to i and one part of argument is small.
71870         * math/k_casinhf.c (__kernel_casinhf): Likewise.
71871         * math/k_casinhl.c (__kernel_casinhl): Likewise.
71872         * math/libm-test.inc (cacos_test): Add more tests.
71873         (casin_test): Likewise.
71874         (casinh_test): Likewise.
71875         * sysdeps/i386/fpu/libm-test-ulps: Update.
71876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71878 2013-01-31  David S. Miller  <davem@davemloft.net>
71880         * po/de.po: Update from translation team.
71882 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
71884         * time/tzfile.c: Include stdint.h for SIZE_MAX.
71886 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
71888         * configure.in (_AC_PROG_CC_C89): New definition.
71889         * configure: Regenerate.
71891         * configure.in (AC_PROG_CPP): New definition.
71892         * configure: Regenerate.
71894 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71896         * debug/tst-backtrace.h: New file.
71897         * debug/tst-backtrace2.c: Include tst-backtrace.h.
71898         (ret): Remove variable.
71899         (x): Likewise.
71900         (FAIL): Remove macro.
71901         (NO_INLINE): Likewise.
71902         (fn1): Use match function instead of strstr.
71903         * debug/tst-backtrace3.c: Include tst-backtrace.h.
71904         (ret): Remove variable.
71905         (x): Likewise.
71906         (FAIL): Remove macro.
71907         (NO_INLINE): Likewise.
71908         (fn): Use match function instead of strstr.
71909         * debug/tst-backtrace4.c: Include tst-backtrace.h.
71910         (ret): Remove variable.
71911         (x): Likewise.
71912         (FAIL): Remove macro.
71913         (NO_INLINE): Likewise.
71914         (handle_signal): Use match function instead of strstr.
71915         * debug/tst-backtrace5.c: Include tst-backtrace.h.
71916         (ret): Remove variable.
71917         (x): Likewise.
71918         (FAIL): Remove macro.
71919         (NO_INLINE): Likewise.
71920         (handle_signal): Use match function instead of strstr.
71922 2013-01-23  Roland McGrath  <roland@hack.frob.com>
71924         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71926 2013-01-23  David S. Miller  <davem@davemloft.net>
71928         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71929         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71930         argument of CAS if possible.
71931         * sysdeps/sparc/sparc64/bits/atomic.h
71932         (__arch_compare_and_exchange_val_32_acq): Likewise.
71933         (__arch_compare_and_exchange_val_64_acq): Likewise.
71935 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
71937         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71938         * sysdeps/posix/ulimit.c: ... this.
71939         Include <limits.h>.
71940         * sysdeps/unix/bsd/ulimit.c: Remove file.
71942 2013-01-23  Adam Conrad  <adconrad@0c3.net>
71944         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71945         (LDFLAGS-tst-array5): Likewise.
71947 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71949         [BZ #15036]
71950         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71951         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71952         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71953         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71955 2013-01-21  David S. Miller  <davem@davemloft.net>
71957         * sysdeps/sparc/backtrace.c: New file.
71958         * sysdeps/sparc/sparc32/backtrace.h: New file.
71959         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
71960         * sysdeps/sparc/sparc64/backtrace.h: New file.
71961         * sysdeps/sparc/sparc64/backtrace.c: Delete.
71962         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
71963         -funwind-tables.
71965 2013-01-21  Andreas Schwab  <schwab@suse.de>
71967         [BZ #15020]
71968         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
71969         closed its stdout.
71971 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
71973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
71974         "mpa2.h".
71975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71977 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
71978             Mark Mitchell  <mark@codesourcery.com>
71979             Tom de Vries  <tom@codesourcery.com>
71980             Paul Pluzhnikov  <ppluzhnikov@google.com>
71982         * debug/tst-backtrace2.c: New file.
71983         * debug/tst-backtrace3.c: Likewise.
71984         * debug/tst-backtrace4.c: Likewise.
71985         * debug/tst-backtrace5.c: Likewise.
71986         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
71987         (CFLAGS-tst-backtrace3.c): Likewise.
71988         (CFLAGS-tst-backtrace4.c): Likewise.
71989         (CFLAGS-tst-backtrace5.c): Likewise.
71990         (LDFLAGS-tst-backtrace2): Likewise.
71991         (LDFLAGS-tst-backtrace3): Likewise.
71992         (LDFLAGS-tst-backtrace4): Likewise.
71993         (LDFLAGS-tst-backtrace5): Likewise.
71994         (tests): Add new tests tst-backtrace2, tst-backtrace3,
71995         tst-backtrace4 and tst-backtrace5.
71997 2013-01-18  Anton Blanchard  <anton@samba.org>
71998             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
72000         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
72001         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
72002         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
72003         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
72004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72005         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
72006         "+r" and remove output regs list as redundant.  Add explicit inline
72007         asm to specify register of return val to work around compiler codegen
72008         bug.  Remove (int) cast on return value.  Add return type parameter to
72009         use in macro so that this macro does not truncate return value for
72010         64-bit values.
72011         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
72012         pass to INTERNAL_VSYSCALL_NCS.
72013         (INLINE_VSYSCALL): Add 'long int' as return type to
72014         INTERNAL_VSYSCALL_NCS macro invocation.
72015         (INTERNAL_VSYSCALL): Add 'long int' as return type to
72016         INTERNAL_VSYSCALL_NCS macro invocation.
72017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72019 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
72021         [BZ #14496]
72022         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
72023         Fix application of SIMD FP exception mask.
72025         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
72026         mp_no from a power of two.
72027         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
72028         __mpexp_twomm1.  Use __pow_mp.
72030         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
72031         multiplication.
72033 2013-01-17  David S. Miller  <davem@davemloft.net>
72035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72037 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
72039         [BZ #15023]
72040         * include/complex.h: Condition contents on [!_COMPLEX_H].
72041         (__kernel_casinhf): New prototype.
72042         (__kernel_casinh): Likewise.
72043         (__kernel_casinhl): Likewise.
72044         * math/Makefile (libm_calls): Add k_casinh.
72045         * math/k_casinh.c: New file.
72046         * math/k_casinhf.c: Likewise.
72047         * math/k_casinhl.c: Likewise.
72048         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
72049         finite nonzero arguments.
72050         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
72051         finite nonzero arguments.
72052         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
72053         finite nonzero arguments.
72054         * math/s_casinh.c: Do not include <float.h>.
72055         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
72056         * math/s_casinhf.c: Do not include <float.h>.
72057         (__casinhf): Move code for finite nonzero arguments to
72058         k_casinhf.c.
72059         * math/s_casinhl.c: Do not include <float.h>.
72060         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
72061         redefine.
72062         (__casinhl): Move code for finite nonzero arguments to
72063         k_casinhl.c.
72064         * math/libm-test.inc (cacos_test): Add more tests.
72065         * sysdeps/i386/fpu/libm-test-ulps: Update.
72066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72068 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
72070         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
72071         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
72072         [!HAVE_MREMAP]: Remove [defined linux] case.
72073         * malloc/arena.c: Do not include <malloc-sysdep.h>.
72075 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
72077         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
72079 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
72081         * elf/elf.h (R_386_SIZE32): New relocation.
72082         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
72083         R_386_SIZE32.
72084         (elf_machine_rela): Likewise.
72085         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72086         R_X86_64_SIZE64 and R_X86_64_SIZE32.
72088 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
72090         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
72091         (FP_FAST_FMA): Do not define.
72092         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
72093         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
72094         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
72095         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
72096         !_SOFT_FLOAT]: Likewise.
72097         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
72098         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
72099         value.
72100         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
72101         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
72102         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
72103         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
72104         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
72105         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
72106         file.
72108 2013-01-16  Andreas Schwab  <schwab@suse.de>
72110         [BZ #14327]
72111         * include/stdlib.h (__mktemp): Add declaration.
72112         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
72113         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
72115 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72117         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72118         definitions.
72119         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72120         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72121         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72122         definitions here.
72123         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72124         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72125         definitions.
72126         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72127         and ONE.
72128         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72129         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72130         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72131         definitions.
72132         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72133         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72134         definitions.
72135         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72137         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72139 2013-01-15  David S. Miller  <davem@davemloft.net>
72141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72142         trunc{,f} to libm-sysdep_routes.
72143         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72145         file.
72146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72148         file.
72149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72150         file.
72151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72153         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72154         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72155         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72156         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72157         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72158         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72161         nearbyint{,f} to libm-sysdep_routes.
72162         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72164         New file.
72165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72166         file.
72167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72168         New file.
72169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72170         file.
72171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72173         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72174         file.
72175         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72176         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72177         file.
72178         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72179         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72180         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72182         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72183         libc_feholdexcept and libc_fesetenv.
72185 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
72187         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72189 2013-01-14  David S. Miller  <davem@davemloft.net>
72191         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72192         (SPARC_ASM_VIS2_IFUNC): Likewise.
72193         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72195         use of 'siam' instruction.
72196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72197         Likewise.
72198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72199         Likewise.
72200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72201         Likewise.
72202         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72203         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72204         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72205         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72207         file.
72208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72209         file.
72210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72211         file.
72212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72213         file.
72214         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72215         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72216         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72217         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72219         new VIS2 routines.
72220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72223         Likewise.
72224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72226         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72227         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72229         routines to libm-sysdep_routines.
72230         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72233         fdim/fdimf to libm-sysdep_routines.
72234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72235         file.
72236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72238         file.
72239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72242         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72243         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72244         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72245         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72247 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
72249         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72250         to optimize copies.
72252         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72257         local variable MPTWO.
72258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72259         Likewise.
72261 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72263         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72264         GLOB_NOESCAPE.
72266 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72268         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72270 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72272         * manual/pattern.texi (glob_t): Document gl_flags.
72273         (glob64_t): Likewise.
72275 2013-01-11  David S. Miller  <davem@davemloft.net>
72277         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72278         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72279         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
72280         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72281         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72282         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72283         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72284         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72285         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72286         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72287         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72288         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72289         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72291         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72292         sparc V9 rather than using V8 code.
72293         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72294         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72296         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72297         Move to...
72298         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72299         Here.
72301 2013-01-11  Roland McGrath  <roland@hack.frob.com>
72303         [BZ #14941]
72304         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72305         not in the main loop.
72306         * configure: Regenerated.
72308 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
72310         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72311         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72312         to just #else.
72313         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
72314         [!__GLIBC_HAVE_LONG_LONG] case.
72315         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72316         condition to just #else.
72317         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72318         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72319         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72320         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72321         unconditional.
72322         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72323         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72324         #elif condition to just #else.
72325         * sysdeps/unix/sysv/linux/sys/sysmacros.h
72326         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72327         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72328         #elif condition to just #else.
72330 2013-01-11  Steve Ellcey  <sellcey@mips.com>
72332         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72333         (EF_MIPS_ARCH_64): Fix value.
72334         (EF_MIPS_ARCH_32R2): New.
72335         (EF_MIPS_ARCH_64R2): New.
72337 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
72339         * Makeconfig (+link-pie-before-libc): New.
72340         (+link-pie-after-libc): Likewise.
72341         (+link-pie-tests): Likewise.
72342         (+link-pie): Rewritten.
72343         (link-before-libc): Remove $(config-LDFLAGS).
72344         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72345         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72346         (config-LDFLAGS): Renamed to ...
72347         (rtld-LDFLAGS): This.
72348         (rtld-tests-LDFLAGS): New macro.
72349         (link-libc-rpath-link): Likewise.
72350         (link-libc-tests-rpath-link): Likewise.
72351         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72352         (link-libc): Prepand $(link-libc-rpath-link).
72353         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72354         (test-program-prefix): New macro.
72355         (test-via-rtld-prefix): Likewise.
72356         (test-program-cmd): Likewise.
72357         (host-test-program-cmd): Likewise.
72358         * Makefile ($(common-objpfx)testrun.sh): Replace
72359         $(run-program-prefix) with $(test-program-prefix).
72360         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72361         $(rtld-LDFLAGS).
72362         ($(common-objpfx)shlib.lds): Likewise.
72363         (build-module-helper): Likewise.
72364         ($(common-objpfx)format.lds): Likewise.
72365         * Rules (binaries-pie-tests): New.
72366         (binaries-pie-notests): Likewise.
72367         (binaries-pie): Rewritten.
72368         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72369         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72370         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72371         (make-test-out): Replace $(host-built-program-cmd) with
72372         $(host-test-program-cmd).
72373         * config.make.in (build-hardcoded-path-in-tests): New variable.
72374         * configure.in (--enable-hardcoded-path-in-tests): New configure
72375         option.
72376         (hardcoded_path_in_tests): New AC_SUBST.
72377         * configure: Regenerated.
72378         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72379         $(built-program-cmd) with $(test-program-cmd).
72380         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72381         (test_program_cmd): This.
72382         * elf/Makefile ($(objpfx)order.out): Run test with
72383         $(test-program-prefix).
72384         ($(objpfx)order2.out): Likewise.
72385         ($(objpfx)tst-initorder.out): Likewise.
72386         ($(objpfx)tst-initorder2.out): Likewise.
72387         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72388         $(test-program-cmd).
72389         ($(objpfx)tst-array1-static.out): Likewise.
72390         ($(objpfx)tst-array2.out): Likewise.
72391         ($(objpfx)tst-array3.out): Likewise.
72392         ($(objpfx)tst-array4.out): Likewise.
72393         ($(objpfx)tst-array5.out): Likewise.
72394         ($(objpfx)tst-array5-static.out): Likewise.
72395         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72396         $(test-program-cmd).
72397         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72398         $(run-program-prefix) with $(test-program-prefix).
72399         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72400         (test_program_prefix): This.
72401         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72402         $(run-program-prefix) with $(test-program-prefix).
72403         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72404         (test_program_prefix): This.
72405         * iconvdata/tst-tables.sh: Likewise.
72406         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72407         $(run-program-prefix) with $(test-program-prefix).
72408         ($(objpfx)tst-translit.out): Likewise.
72409         ($(objpfx)tst-gettext2.out): Likewise.
72410         ($(objpfx)tst-gettext4.out): Likewise.
72411         ($(objpfx)tst-gettext6.out): Likewise.
72412         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72413         (test_program_prefix): This.
72414         * intl/tst-gettext2.sh: Likewise.
72415         * intl/tst-gettext4.sh  Likewise.
72416         * intl/tst-gettext6.sh: Likewise.
72417         * intl/tst-translit.sh: Likewise.
72418         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72419         with $(test-program-cmd).
72420         * libio/Makefile ($(objpfx)test-freopen.out): Replace
72421         $(run-program-prefix) with $(test-program-prefix).
72422         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72423         (test_program_prefix): This.
72424         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72425         $(run-program-prefix) with $(test-program-prefix).
72426         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72427         (test_program_prefix): This.
72428         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72429         * posix/Makefile ($(objpfx)globtest.out): Replace
72430         $(run-via-rtld-prefix) and $(test-wrapper) with
72431         $(test-program-prefix) and $(test-via-rtld-prefix).
72432         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72433         $(test-program-prefix).
72434         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72435         $(host-test-program-cmd).
72436         (tst-spawn-ARGS): Likewise.
72437         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72438         $(test-program-prefix).
72439         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72440         (test_via_rtld_prefix): This.
72441         (test_wrapper): Renamed to ...
72442         (test_program_prefix): This.
72443         (run_program_prefix): Replaced by test_program_prefix.
72444         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72445         (test_program_prefix): This.
72446         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72447         with $(host-test-program-cmd).
72448         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72449         $(run-program-prefix) with $(test-program-prefix).
72450         ($(objpfx)tst-printf.out): Likewise.
72451         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72452         $(test-program-cmd).
72453         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72454         (test_program_prefix): This.
72455         * stdio-common/tst-unbputc.sh: Likewise.
72456         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72457         $(run-program-prefix) with $(test-program-prefix).
72458         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72459         (test_program_prefix): This.
72460         * string/Makefile ($(objpfx)tst-svc.out):  Replace
72461         $(built-program-cmd) with $(test-program-cmd).
72463 2013-01-11  Andreas Jaeger  <aj@suse.de>
72465         [BZ #15003]
72466         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72467         value. Sync with Linux 3.7.
72469 2013-01-10  David S. Miller  <davem@davemloft.net>
72471         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72472         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72473         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72475 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72477         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72478         never set.
72479         * configure: Regenerated.
72481 2013-01-10  David S. Miller  <davem@davemloft.net>
72483         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72484         sparc V9 rather than using V8 code.
72485         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72486         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72488 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72490         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72491         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72492         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72493         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72494         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72495         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72496         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72497         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72498         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72499         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72500         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72501         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72502         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72503         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72504         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72505         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72506         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72507         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72508         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72509         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72510         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72511         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72512         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72513         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72514         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72515         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72516         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72518 2013-01-10  David S. Miller  <davem@davemloft.net>
72520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72522 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72524         * posix/Makefile (tests-static): New variable.
72525         (tests): Add $(tests-static).
72526         (tst-exec-static-ARGS): New variable.
72527         (tst-spawn-static-ARGS): Likewise.
72528         * posix/tst-exec-static.c: New file.
72529         * posix/tst-spawn-static.c: Likewise.
72530         * posix/tst-exec.c: Support run directly.
72531         * posix/tst-spawn.c: Likewise.
72533 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
72535         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72536         long.
72537         * math/bits/mathcalls.h (llrint): Likewise.
72538         (llround): Likewise.
72539         * stdlib/stdlib.h (struct drand48_data): Likewise.
72540         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72541         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72542         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72543         Likewise.
72544         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72545         Likewise.
72546         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72547         (elf_greg_t): Likewise.
72548         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72549         (__jmp_buf): Likewise.
72550         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72551         definitions.
72552         (llrint): Likewise, for all definitions.
72553         (llrintl): Likewise.
72555         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72556         Remove [__GNUC__] condition.
72557         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72558         condition to just [__USE_ISOC99].
72559         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72561 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72563         [BZ #14200]
72564         * sysdeps/unix/sysv/linux/x86/bits/environments.h
72565         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72566         defined.
72567         (_POSIX_V6_ILP32_OFF32): Likewise.
72568         (_XBS5_ILP32_OFF32): Likewise.
72569         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72570         (__ILP32_OFFBIG_LDFLAGS): Likewise.
72572 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72574         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72576         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72577         doubles __mpexp_twomm1.  Adjust usage.
72578         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72579         Remove.
72581 2013-01-10  Andreas Schwab  <schwab@suse.de>
72583         [BZ #14964]
72584         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72585         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72587 2013-01-09  David S. Miller  <davem@davemloft.net>
72589         [BZ #15003]
72590         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72591         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72592         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72593         (TCP_FASTOPEN): Define.
72594         (tcp_repair_opt): New structure.
72595         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72596         enum values.
72597         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72598         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72599         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72600         (tcp_cookie_transactions): New structure.
72602 2013-01-09  Anton Blanchard  <anton@samba.org>
72604         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72605         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72606         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72607         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72609 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
72611         * include/features.h (__USE_ANSI): Remove.
72613 2013-01-09  Roland McGrath  <roland@hack.frob.com>
72615         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72617         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72619 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
72621         * sysdeps/s390/fpu/libm-test-ulps: Update.
72623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72625         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72626         (__acr): Likewise.
72627         (__cpy): Likewise.
72628         (norm): Likewise.
72629         (denorm): Likewise.
72630         (__mp_dbl): Likewise.
72631         (__dbl_mp): Likewise.
72632         (add_magnitudes): Likewise.
72633         (sub_magnitudes): Likewise.
72634         (__add): Likewise.
72635         (__sub): Likewise.
72636         (__mul): Likewise.
72637         (__inv): Likewise.
72638         (__dvd): Likewise.
72639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72640         (__acr): Likewise.
72641         (__cpy): Likewise.
72642         (norm): Likewise.
72643         (denorm): Likewise.
72644         (__mp_dbl): Likewise.
72645         (__dbl_mp): Likewise.
72646         (add_magnitudes): Likewise.
72647         (sub_magnitudes): Likewise.
72648         (__add): Likewise.
72649         (__sub): Likewise.
72650         (__mul): Likewise.
72651         (__inv): Likewise.
72652         (__dvd): Likewise.
72653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72654         (__acr): Likewise.
72655         (__cpy): Likewise.
72656         (norm): Likewise.
72657         (denorm): Likewise.
72658         (__mp_dbl): Likewise.
72659         (__dbl_mp): Likewise.
72660         (add_magnitudes): Likewise.
72661         (sub_magnitudes): Likewise.
72662         (__add): Likewise.
72663         (__sub): Likewise.
72664         (__mul): Likewise.
72665         (__inv): Likewise.
72666         (__dvd): Likewise.
72668 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
72670         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72671         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72672         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72673         2 && __USE_EXTERN_INLINES]: Likewise.
72675 2013-01-08  Andreas Jaeger  <aj@suse.de>
72677         [BZ #14985]
72678         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72679         Remove.
72680         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72681         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72683 2013-01-07  Anton Blanchard  <anton@samba.org>
72685         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72686         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72687         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72688         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72689         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72690         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72691         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72692         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72694         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72695         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72696         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72697         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72698         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72699         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72700         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72701         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72702         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72703         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72704         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72705         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72706         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72707         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72708         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72709         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72710         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72711         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72712         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72713         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72714         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72715         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72717         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72718         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72719         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72720         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72721         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72722         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72723         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72724         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72725         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72726         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72727         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72729 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
72731         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72732         (__MALLOC_PMT): Likewise.
72733         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72734         [__GNUC__], only on [_LIBC].
72735         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72736         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72737         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72738         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72739         forward declaration.
72740         (realloc_hook_ini): Likewise.
72741         (memalign_hook_ini): Likewise.
72742         (__libc_memalign): Do not use __MALLOC_PMT in variable
72743         declaration.
72744         (__libc_valloc): Likewise.
72745         (__libc_pvalloc): Likewise.
72746         (__libc_calloc): Likewise.
72747         (__posix_memalign): Likewise.
72749         [BZ #14996]
72750         * math/s_casinh.c: Include <float.h>.
72751         (__casinh): Do not do computation with squaring and square root
72752         for large arguments.
72753         * math/s_casinhf.c: Include <float.h>.
72754         (__casinhf): Do not do computation with squaring and square root
72755         for large arguments.
72756         * math/s_casinhl.c: Include <float.h>.
72757         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72758         (__casinhl): Do not do computation with squaring and square root
72759         for large arguments.
72760         * math/libm-test.inc (casin_test): Add more tests.
72761         (casinh_test): Likewise.
72762         * sysdeps/i386/fpu/libm-test-ulps: Update.
72763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72765 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
72767         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72768         (__x86_64_raw_data_cache_size): Likewise.
72769         (__x86_64_data_cache_size_half): Likewise.
72770         (__x86_64_raw_data_cache_size_half): Likewise.
72771         (__x86_64_shared_cache_size): Likewise.
72772         (__x86_64_raw_shared_cache_size): Likewise.
72773         (__x86_64_shared_cache_size_half): Likewise.
72774         (__x86_64_raw_shared_cache_size_half): Likewise.
72775         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72776         to ...
72777         (__x86_data_cache_size): This.
72778         (__x86_64_raw_data_cache_size): Renamed to ...
72779         (__x86_raw_data_cache_size): This.
72780         (__x86_64_data_cache_size_half): Renamed to ...
72781         (__x86_data_cache_size_half): This.
72782         (__x86_64_raw_data_cache_size_half): Renamed to ...
72783         (__x86_raw_data_cache_size_half): This.
72784         (__x86_64_shared_cache_size): Renamed to ...
72785         (__x86_shared_cache_size): This.
72786         (__x86_64_raw_shared_cache_size): Renamed to ...
72787         (__x86_raw_shared_cache_size): This.
72788         (__x86_64_shared_cache_size_half): Renamed to ...
72789         (__x86_shared_cache_size_half): This.
72790         (__x86_64_raw_shared_cache_size_half): Renamed to ...
72791         (__x86_raw_shared_cache_size_half): This.
72792         * sysdeps/x86_64/memcpy.S: Updated.
72793         * sysdeps/x86_64/memset.S: Likewise.
72794         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72795         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72796         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72798 2013-01-04  David S. Miller  <davem@davemloft.net>
72800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72802 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
72804         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72805         1 to avoid redefinition warning.
72806         (__USE_GNU): Don't define.
72807         (init_signaling_nan): Protoize.
72809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72811 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72813         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72814         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72815         (__cpymn): Likewise.
72816         (norm): Remove commented code.
72817         (denorm): Likewise.
72818         (__mp_dbl): Likewise.
72819         (__inv): Likewise.
72820         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72821         (__cpymn): Likewise.
72822         (norm): Remove commented code.
72823         (denorm): Likewise.
72824         (__mp_dbl): Likewise.
72825         (__inv): Likewise.
72827         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72828         mp_no value for 1.0 and 2.0.
72829         (norm): Use RADIXI instead of radixi.d.
72830         (denorm): Likewise.
72831         (__mul): Use 0.0 instead of zero.d.
72832         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72833         mp_no value for 1.0 and 2.0.
72834         (norm): Use RADIXI instead of radixi.d.
72835         (denorm): Likewise.
72836         (__mul): Use 0.0 instead of zero.d.
72838 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
72840         [BZ #14994]
72841         * math/s_casinh.c (__casinh): Reduce finite argument to first
72842         quadrant then set signs of results at the end.
72843         * math/s_casinhf.c (__casinhf): Likewise.
72844         * math/s_casinhl.c (__casinhl): Likewise.
72845         * math/libm-test.inc (casin_test): Add more tests.
72846         (casinh_test): Likewise.
72847         * sysdeps/i386/fpu/libm-test-ulps: Update.
72848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72850 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72852         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72854         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72856         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72857         declarations.
72858         (denorm): Likewise.
72859         (__mp_dbl): Likewise.
72860         (__inv): Likewise.
72862         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72863         and adjust the header comment.
72865         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72866         variable name from declaration.
72868 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
72870         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72871         Initialize COMMON_CPUID_INDEX_7 element.
72872         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72873         (CPUID_RTM): Likewise.
72874         (HAS_RTM): Likewise.
72875         (COMMON_CPUID_INDEX_7): New enum.
72877 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
72879         [BZ #14981]
72880         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72881         size is zero, record memory as freed.
72883 2013-01-03  Andreas Jaeger  <aj@suse.de>
72885         * po/ia.po: Add new Interlingua translation.
72887 2012-01-03  Allan McRae  <allan@archlinux.org>
72889         * locale/programs/localedef.c: Fix description of '--posix' flag.
72891 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
72893         * NEWS: Update dates in second copyright notice.
72894         * README: Update copyright dates in example.
72895         * manual/libc.texinfo: Update copyright dates.
72896         * scripts/test-installation.pl: Update copyright date in --version
72897         output.
72899         * hurd/ctty-input.c: Fix copyright notice formatting.
72900         * hurd/ctty-output.c: Likewise.
72901         * hurd/dtable.c: Likewise.
72902         * hurd/hurd-raise.c: Likewise.
72903         * hurd/hurdprio.c: Likewise.
72904         * hurd/msgportdemux.c: Likewise.
72905         * misc/sys/file.h: Likewise.
72906         * misc/sys/ioctl.h: Likewise.
72907         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72908         * sysdeps/mach/hurd/chdir.c: Likewise.
72909         * sysdeps/mach/hurd/fchdir.c: Likewise.
72910         * sysdeps/mach/hurd/rename.c: Likewise.
72911         * sysdeps/mach/hurd/rmdir.c: Likewise.
72912         * sysdeps/mach/hurd/seekdir.c: Likewise.
72913         * sysdeps/mach/hurd/setsid.c: Likewise.
72914         * sysdeps/posix/wait3.c: Likewise.
72916         * All files with FSF copyright notices: Update copyright dates
72917         using scripts/update-copyrights.
72918         * intl/plural.c: Regenerated.
72919         * locale/programs/charmap-kw.h: Likewise.
72920         * locale/programs/locfile-kw.h: Likewise.
72922 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
72924         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72925         four values.
72927         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72928         calculation loop and add branch prediction.
72930         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72931         check access beyond bounds of m1np.
72933         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72934         MPTWO.
72935         (__inv): Remove local variable MPTWO to use the global
72936         constant.
72937         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72938         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72939         variable MPTWO.
72940         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72941         MP3HALFS static const.
72943 2013-01-01  David S. Miller  <davem@davemloft.net>
72945         * po/ca.po: Update from translation team.
72947 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
72949         * scripts/update-copyrights: New file.
72950         * Makeconfig: Reformat copyright notice.
72951         * ctype/ctype.h: Likewise.
72952         * debug/swprintf_chk.c: Likewise.
72953         * elf/dl-cache.c: Likewise.
72954         * elf/dl-debug.c: Likewise.
72955         * elf/dl-object.c: Likewise.
72956         * grp/initgroups.c: Likewise.
72957         * hurd/Makefile: Likewise.
72958         * hurd/hurd/signal.h: Likewise.
72959         * hurd/hurdfault.c: Likewise.
72960         * hurd/hurdioctl.c: Likewise.
72961         * hurd/hurdlookup.c: Likewise.
72962         * hurd/intr-msg.c: Likewise.
72963         * iconv/gconv_open.c: Likewise.
72964         * libio/swprintf.c: Likewise.
72965         * locale/lc-ctype.c: Likewise.
72966         * locale/nl_langinfo.c: Likewise.
72967         * mach/Machrules: Likewise.
72968         * mach/Makefile: Likewise.
72969         * malloc/obstack.h: Likewise.
72970         * manual/Makefile: Likewise.
72971         * manual/tsort.awk: Likewise.
72972         * misc/bits/stab.def: Likewise.
72973         * nis/nis_print_group_entry.c: Likewise.
72974         * nis/nis_table.c: Likewise.
72975         * nis/nss_compat/compat-pwd.c: Likewise.
72976         * nis/nss_compat/compat-spwd.c: Likewise.
72977         * po/Makefile: Likewise.
72978         * posix/fnmatch.c: Likewise.
72979         * posix/regex.h: Likewise.
72980         * resolv/Makefile: Likewise.
72981         * resolv/nss_dns/dns-network.c: Likewise.
72982         * resolv/res_hconf.c: Likewise.
72983         * scripts/gen-sorted.awk: Likewise.
72984         * soft-fp/soft-fp.h: Likewise.
72985         * stdio-common/printf.h: Likewise.
72986         * stdlib/monetary.h: Likewise.
72987         * stdlib/random.c: Likewise.
72988         * stdlib/random_r.c: Likewise.
72989         * sysdeps/generic/Makefile: Likewise.
72990         * sysdeps/gnu/Makefile: Likewise.
72991         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72992         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72993         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72994         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72995         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72996         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72997         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72998         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72999         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73000         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73001         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73002         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73003         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73004         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73005         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
73006         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73007         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73008         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73009         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73010         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73011         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73012         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73013         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73014         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
73015         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
73016         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73017         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
73018         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
73019         * sysdeps/mach/hurd/errnos.awk: Likewise.
73020         * sysdeps/mach/hurd/fork.c: Likewise.
73021         * sysdeps/mach/hurd/getcwd.c: Likewise.
73022         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
73023         * sysdeps/mach/hurd/mmap.c: Likewise.
73024         * sysdeps/mach/hurd/utimes.c: Likewise.
73025         * sysdeps/mach/hurd/xmknod.c: Likewise.
73026         * sysdeps/posix/profil.c: Likewise.
73027         * sysdeps/posix/readdir_r.c: Likewise.
73028         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73029         * sysdeps/powerpc/bits/setjmp.h: Likewise.
73030         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
73031         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
73032         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
73033         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73034         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73035         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73036         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
73037         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73038         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73039         * sysdeps/pthread/lio_listio.c: Likewise.
73040         * sysdeps/sparc/dl-procinfo.h: Likewise.
73041         * sysdeps/unix/i386/sysdep.S: Likewise.
73042         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
73043         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
73044         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
73045         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
73046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73047         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
73048         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
73049         * sysdeps/unix/sysv/linux/speed.c: Likewise.
73050         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
73051         * sysdeps/wordsize-32/divdi3.c: Likewise.
73052         * time/sys/time.h: Likewise.
73053         * wcsmbs/Makefile: Likewise.
73055 2013-01-01  David S. Miller  <davem@davemloft.net>
73057         * po/fr.po: Update from translation team.
73059         * catgets/gencat.c: Update copyright year.
73060         * csu/version.c: Likewise.
73061         * debug/catchsegv.sh: Likewise.
73062         * debug/pcprofiledump.c: Likewise.
73063         * debug/xtrace.sh: Likewise.
73064         * elf/ldconfig.c: Likewise.
73065         * elf/ldd.bash.in: Likewise.
73066         * elf/pldd.c: Likewise.
73067         * elf/sotruss.ksh: Likewise.
73068         * elf/sprof.c: Likewise.
73069         * iconv/iconv_prog.c: Likewise.
73070         * iconv/iconvconfig.c: Likewise.
73071         * locale/programs/locale.c: Likewise.
73072         * locale/programs/localedef.c: Likewise.
73073         * login/programs/pt_chown.c: Likewise.
73074         * malloc/memusage.sh: Likewise.
73075         * malloc/memusagestat.c: Likewise.
73076         * malloc/mtrace.pl: Likewise.
73077         * nscd/nscd.c: Likewise.
73078         * nss/getent.c: Likewise.
73079         * nss/makedb.c: Likewise.
73080         * posix/getconf.c: Likewise.
73082 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
73084         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
73085         numbers.
73087 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
73089         * math/bits/mathcalls.h (modf): Use __nonnull.
73091 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
73093         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
73094         (split): Use macro CN instead of the bare value.
73095         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
73096         could be used.
73097         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
73098         instead of the bare value.
73099         (power1): Likewise.
73101 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73103         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
73104         __ATAN_TWOM.
73105         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73107         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
73108         their values.
73109         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
73110         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73111         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
73112         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
73114 2012-12-28  Andreas Jaeger  <aj@suse.de>
73116         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
73117         values are from Linux 3.7.
73119         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73120         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
73122 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73124         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73125         TRUE case.
73127         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73128         (norm): Likewise.
73129         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73130         variables with preprocessor constants.
73131         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73132         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73133         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73135 2012-12-27  Bruno Haible  <bruno@clisp.org>
73137         [BZ #14317]
73138         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73139         only if needed.
73141 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73143         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73144         and use variable directly.
73145         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
73147         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73148         MPONE.
73149         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73150         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73151         variable MPONE.
73152         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73153         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73154         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73155         include directive.  Remove local variable MPONE.
73156         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73157         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73158         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73160 2012-12-25  David S. Miller  <davem@davemloft.net>
73162         * version.h (RELEASE): Set to "development".
73163         (VERSION): Set to "2.17.90".
73164         * NEWS: Add 2.18 section.
73166 2012-12-21  David S. Miller  <davem@davemloft.net>
73168         * po/hr.po: Update from translation team.
73170 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73172         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73174 2012-12-19  Steve Ellcey  <sellcey@mips.com>
73176         * NEWS:  Mention new memcpy for MIPS.
73178 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73180         * manual/contrib.texi (Contributors): Spelling correction.
73182 2012-12-15  David S. Miller  <davem@davemloft.net>
73184         * po/ru.po: Update from translation team.
73186 2012-12-13  David S. Miller  <davem@davemloft.net>
73188         * NEWS: Mention IFUNC testsuite enhancements.
73190         * po/pl.po: Update from translation team.
73191         * po/bg.po: Likewise.
73193         * manual/contrib.texi (Contributors): Update entries for Hongjiu
73194         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
73196 2012-12-11  David S. Miller  <davem@davemloft.net>
73198         * po/sv.po: Update from translation team.
73200         * po/vi.po: Update from translation team.
73202         * po/cs.po: Update from translation team.
73204         * po/de.po: Update from translation team.
73205         * po/eo.po: Likewise.
73206         * po/nl.po: Likewise.
73208 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
73210         [BZ #14246]
73211         * manual/argp.texi (Argp Helper Functions): Move node to follow
73212         Argp Parsing State.
73214         [BZ #14872]
73215         * manual/conf.texi (Limits on File System Capacity): Mention if
73216         terminating null is included in the max size.
73218 2012-12-10  Andreas Jaeger  <aj@suse.de>
73220         * po/cs.po: Update from translation team.
73222 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
73224         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73225         void pointer and cast to uintptr_t.
73226         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73227         path.
73228         * sysdeps/s390/s390-64/memcpy.S: Likewise.
73229         * sysdeps/s390/s390-64/memset.S: Likewise.
73231 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
73233         [BZ #14833]
73234         * menual/message.texi (Message Translation): Fix typos.
73235         (Helper programs for gettext): Likewise.
73237 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
73239         [BZ #14898]
73240         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73241         Change to -1.
73243 2012-12-07  David S. Miller  <davem@davemloft.net>
73245         * po/libc.pot: Update.
73247 2012-12-07  Richard Henderson  <rth@redhat.com>
73249         [BZ #10114]
73250         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73251         normal/normal case to before the switch.
73252         (_FP_DIV): Likewise.
73254 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
73255             Mike Frysinger  <vapier@gentoo.org>
73257         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73258         check for __NR_fadvise64_64.
73260 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
73262         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73263         0, not just to plain "0" as a statement.
73264         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73265         with cw.
73267 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
73269         * NEWS: Use sourceware.org in Bugzilla URL.
73271 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73274         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73276         * stdio-common/tst-put-error.c (do_test): Add newline to the
73277         padded test to ensure flush.
73279 2012-12-05  Jeff Law  <law@redhat.com>
73281         * sunrpc/etc.rpc (fedfs_admin): Add entry.
73283 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
73285         * README: Don't refer to ports add-on as distributed separately.
73286         Mention AArch64 in list of systems supported in the ports add-on.
73288         * LICENSES: Add more non-FSF copyright and license notices.
73290         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73291         ((unused)).
73293         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73295         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73296         10000 as width of padded output.
73298 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73300         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73302         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73303         variable LX with __attribute__ ((unused)).
73304         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73305         Likewise.
73306         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73307         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73308         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73309         with __attribute__ ((unused)).
73311 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
73313         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73315 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73317         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73318         (CFLAGS-nldbl-acos.c): New variable.
73319         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73320         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73321         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73322         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73323         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73324         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73325         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73326         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73327         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73328         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73329         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73330         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73331         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73332         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73333         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73334         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73335         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73336         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73337         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73338         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73339         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73340         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73341         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73342         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73343         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73344         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73345         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73346         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73347         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73348         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73349         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73350         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73351         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73352         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73353         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73354         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73355         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73356         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73357         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73358         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73359         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73360         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73361         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73362         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73363         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73364         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73365         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73366         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73367         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73368         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73369         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73370         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73371         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73372         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73373         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73374         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73375         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73376         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73377         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73378         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73379         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73380         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73381         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73382         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73383         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73384         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73385         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73386         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73387         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73388         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73389         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73390         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73391         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73392         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73393         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73394         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73395         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73396         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73397         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73398         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73399         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73400         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73401         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73402         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73403         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73404         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73405         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73406         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73407         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73408         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73409         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73410         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73411         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73412         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73413         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73414         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73415         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73418         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73420         [BZ #14914]
73421         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73422         whole low double instead of just low 47 bits when splitting values
73423         into two parts.
73425 2012-12-03  Allan McRae  <allan@archlinux.org>
73427         * manual/stdio.texi (Predefined Printf Handlers): Remove
73428         @hsep and @vsep usage.
73430 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
73432         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73433         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73435 2012-12-03  Jeff Law  <law@redhat.com>
73437         * time/sys/time.h (settimeofday): Do not mark TV argument
73438         as __nonnull.
73440 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
73442         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73443         when currently writing and seek to current position when not.
73444         * libio/Makefile (tests): Remove bug-fclose1.
73445         * libio/bug-fclose1.c: Delete.
73447 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
73449         * manual/arith.texi (feenableexcept): Fix typo.
73450         (fedisableexcept): Likewise.
73452 2012-11-30  Roland McGrath  <roland@hack.frob.com>
73454         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73455         second, differently-typed declaration, rather than a cast.
73457 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
73459         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73460         * include/rpc/svc.h: ... here.
73462 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
73464         [BZ #13013]
73465         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73466         depending n and resplen2 to catch cases where answer
73467         equals answerp2.
73469 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
73471         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73472         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73474 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
73476         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73478 2012-11-29  Roland McGrath  <roland@hack.frob.com>
73480         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73482 2012-11-28  Jeff Law  <law@redhat.com>
73484         [BZ #13761]
73485         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73486         dataset_temporary.  Track alloca usage into alloca_used.
73487         If dataset is large allocate and release it via malloc/free.
73489 2012-06-04  Florian Weimer  <fweimer@redhat.com>
73491         [BZ #14197]
73492         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73494 2012-11-28  David S. Miller  <davem@davemloft.net>
73496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73498 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73500         [BZ #14803]
73501         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73502         of pi/2 rounded to nearest to 64 bits.
73503         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73504         nearest to 64 bits.
73505         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73506         bits.
73508 2012-11-28  Jeff Law <law@redhat.com>
73509             Martin Osvald <mosvald@redhat.com>
73511         [BZ #14889]
73512         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73513         * sunrpc/svc.c: Include time.h.
73514         (__svc_accept_failed): New function.
73515         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73516         any reason other than EINTR, call __svc_accept_failed.
73517         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73518         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73520 2012-11-28  Andreas Schwab  <schwab@suse.de>
73522         * scripts/abilist.awk: Also handle indirect functions in .opd
73523         section.
73525 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73527         [BZ #13881]
73528         * sysdeps/x86/fpu/powl_helper.c: New file.
73529         * sysdeps/x86/fpu/Makefile: Likewise.
73530         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73531         (p3): New object.
73532         (__ieee754_powl): Use __powl_helper for finite arguments except
73533         integer exponents below 8.
73534         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73535         (p3): New object.
73536         (__ieee754_powl): Use __powl_helper for finite arguments except
73537         integer exponents below 8.
73538         * math/libm-test.inc (pow_test): Add more tests and enable some
73539         previously disabled tests.
73540         * sysdeps/i386/fpu/libm-test-ulps: Update.
73541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73543 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73544             Carlos O'Donell  <carlos_odonell@mentor.com>
73546         * nss/makedb.c (is_prime): Assert that input is odd and greater
73547         than 4.  Note that fact in a comment too.
73548         (next_prime): Add 4 to input.
73550 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73552         [BZ #11741]
73553         * libio/Makefile (tests): Add test case tst-fwrite-error.
73554         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73555         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73556         * libio/tst-fwrite-error.c: New test case.
73558 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
73560         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73561         before casting to void *.
73562         * include/libc-internal.h (__pointer_type): New macro.
73563         (__integer_if_pointer_type_sub): Likewise.
73564         (__integer_if_pointer_type): Likewise.
73565         (cast_to_integer): Likewise.
73566         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73567         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73568         before casting to atomic64_t.
73569         (atomic_exchange_acq): Likewise.
73570         (__arch_exchange_and_add_body): Likewise.
73571         (__arch_add_body): Likewise.
73572         (atomic_add_negative): Likewise.
73573         (atomic_add_zero): Likewise.
73575 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
73577         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73578         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73579         (add_fdes): Likewise.
73580         (linear_search_fdes): Likewise.
73581         (binary_search_unencoded_fdes): Likewise.
73583 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
73585         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73587 2012-11-24  Adam Conrad  <adconrad@0c3.net>
73589         * configure.in: Autodetect C++ header directories.
73590         * configure: Regenerated.
73592 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
73594         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73596 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
73598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73600 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
73602         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73603         LDBL_MANT_DIG == 106]: Disable some tests.
73604         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73605         Likewise.
73606         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73607         Likewise.
73609         [BZ #14871]
73610         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73611         input for small inputs.  Return +/- pi/2 for large inputs.
73612         * math/libm-test.inc (atan_test): Add more tests.
73614         * sysdeps/generic/unwind-dw2-fde-glibc.c
73615         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73616         __attribute__ ((unused)).
73618         [BZ #14645]
73619         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73620         x * y if x and y are nonzero and z is zero.
73622         [BZ #14811]
73623         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73624         nonzero exponents with absolute value below 0x1p-117 to +/-
73625         0x1p-117.
73627         [BZ #14869]
73628         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73629         up arguments below 2**-450, not just those below 2**-500.
73630         * math/libm-test.inc (hypot_test): Add another test.
73632         [BZ #14868]
73633         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73634         Return a+b for ratio over 2**120, not 2**60.
73635         * math/libm-test.inc (hypot_test): Add another test.
73637         * math/libm-test.inc (clog_test): Use
73638         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73639         (clog10_test): Likewise.
73641         [BZ #6778]
73642         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73644 2012-11-22  Andreas Schwab  <schwab@suse.de>
73646         * sysdeps/i386/fpu/libm-test-ulps: Update.
73648 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
73650         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73651         printf output with newline.
73653 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
73655         [BZ #14865]
73656         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73657         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73658         -z nodlopen, -z initfirst and -z execstack support.
73659         * configure: Regenerated.
73661         * elf/elf.h (DF_1_NODIRECT): New macro.
73662         (DF_1_IGNMULDEF): Likewise.
73663         (DF_1_NOKSYMS): Likewise.
73664         (DF_1_NOHDR): Likewise.
73665         (DF_1_EDITED): Likewise.
73666         (DF_1_NORELOC): Likewise.
73667         (DF_1_SYMINTPOSE): Likewise.
73668         (DF_1_GLOBAUDIT): Likewise.
73669         (DF_1_SINGLETON): Likewise.
73670         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73671         DT_1_SUPPORTED_MASK bits.
73672         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73674 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
73676         * sysdeps/unix/make-syscalls.sh: Document prefixes.
73678 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
73680         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73681         macro.
73683         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73684         (sendmmsg): Move declarations...
73685         * socket/sys/socket.h: ... here.
73686         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73687         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73688         include it from...
73689         * socket/recvmmsg.c: ... this new file.
73690         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73691         (sendmmsg): Rename to __sendmmsg, create weak alias and make
73692         definition of __sendmmsg hidden.
73693         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73694         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73695         Move ENOSYS stub into and include it from...
73696         * socket/sendmmsg.c: ... this new file.
73697         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73698         (sysdep_routines): Move recvmmsg and sendmmsg...
73699         * socket/Makefile (routines): ... here.
73700         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73701         (GLIBC_PRIVATE): Add __sendmmsg.
73702         * include/sys/socket.h (__sendmmsg): Add declarations.
73703         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73704         sendmmsg.
73706 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
73708         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73709         variable I1 with __attribute__ ((unused)).
73710         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73712 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73714         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73715         DUMMY variables with __attribute__ ((unused)).
73717         * bits/byteswap.h: Include <bits/types.h>.
73718         (__bswap_64): Use __uint64_t instead of unsigned long long int.
73720 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73722         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73723         string_t.  Do not manually set errno.
73724         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73725         length with __strnlen.  Make sure to both set errno and return it on
73726         failure.
73728 2012-11-19  David S. Miller  <davem@davemloft.net>
73730         With help from Joseph Myers.
73731         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73732         very large arguments properly.
73733         * math/libm-test.inc (atan_test): New tests.
73734         (atan2_test): New tests.
73735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73738 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73740         [BZ #14856]
73741         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73742         Define to 3.
73744         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73745         [POSIX] (EADDRNOTAVAIL): Likewise.
73746         [POSIX] (EAFNOSUPPORT): Likewise.
73747         [POSIX] (EALREADY): Likewise.
73748         [POSIX] (ECONNABORTED): Likewise.
73749         [POSIX] (ECONNREFUSED): Likewise.
73750         [POSIX] (ECONNRESET): Likewise.
73751         [POSIX] (EDESTADDRREQ): Likewise.
73752         [POSIX] (EDQUOT): Likewise.
73753         [POSIX] (EHOSTUNREACH): Likewise.
73754         [POSIX] (EIDRM): Likewise.
73755         [POSIX] (EISCONN): Likewise.
73756         [POSIX] (ELOOP): Likewise.
73757         [POSIX] (EMULTIHOP): Likewise.
73758         [POSIX] (ENETDOWN): Likewise.
73759         [POSIX] (ENETUNREACH): Likewise.
73760         [POSIX] (ENOBUFS): Likewise.
73761         [POSIX] (ENODATA): Likewise.
73762         [POSIX] (ENOLINK): Likewise.
73763         [POSIX] (ENOMSG): Likewise.
73764         [POSIX] (ENOPROTOOPT): Likewise.
73765         [POSIX] (ENOSR): Likewise.
73766         [POSIX] (ENOSTR): Likewise.
73767         [POSIX] (ENOTCONN): Likewise.
73768         [POSIX] (ENOTSOCK): Likewise.
73769         [POSIX] (EOPNOTSUPP): Likewise.
73770         [POSIX] (EOVERFLOW): Likewise.
73771         [POSIX] (EPROTO): Likewise.
73772         [POSIX] (EPROTONOSUPPORT): Likewise.
73773         [POSIX] (EPROTOTYPE): Likewise.
73774         [POSIX] (ESTALE): Likewise.
73775         [POSIX] (ETIME): Likewise.
73776         [POSIX] (ETXTBSY): Likewise.
73777         [POSIX] (EWOULDBLOCK): Likewise.
73778         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73779         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73780         [POSIX] (SEEK_CUR): Likewise.
73781         [POSIX] (SEEK_END): Likewise.
73782         [POSIX || UNIX98] (mode_t): Do not require.
73783         [POSIX] (off_t): Likewise.
73784         [POSIX] (pid_t): Likewise.
73785         [POSIX] (sys/stat.h): Do not allow header.
73786         [POSIX] (unistd.h): Likewise.
73787         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73788         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73789         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73790         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73791         require.
73792         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73793         sigevent): Specify elements.
73794         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73795         entry.
73796         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73797         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73799         * conform/data/cpio.h-data [POSIX]: Disable whole file.
73800         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73801         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73802         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73803         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73804         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73805         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73806         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73807         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73808         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73809         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73810         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73811         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73812         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73813         Likewise.
73814         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73815         Likewise.
73816         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73817         Likewise.
73818         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73819         Likewise.
73820         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73821         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73822         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73823         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73824         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73825         Specify lower bound on value.
73826         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73827         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73828         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73829         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73830         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73831         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73832         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73833         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73834         value.
73835         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73836         as optional.
73837         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73838         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73839         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73840         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73841         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73842         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73843         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73844         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73845         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73846         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73847         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73848         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73849         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73850         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73851         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73852         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73853         entry.
73854         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73855         optional.
73856         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73857         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73858         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73859         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73860         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73861         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73862         Likewise.
73863         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73864         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73865         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73866         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73867         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
73868         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73869         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73870         as optional.
73871         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73872         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73873         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73874         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73875         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73876         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73877         specify as optional.
73878         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73879         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73880         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73881         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73882         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73883         [XPG3] (NL_LANGMAX): Likewise.
73884         [POSIX || XPG3] (NL_MSGMAX): Likewise.
73885         [POSIX || XPG3] (NL_NMAX): Likewise.
73886         [POSIX || XPG3] (NL_SETMAX): Likewise.
73887         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73888         [XPG3] (NZERO): Likewise.
73889         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73890         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73891         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73892         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73893         (REG_ERANGE): Expect.
73894         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73895         optional-constant.
73896         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73897         Use (void) in prototype.
73898         [POSIX] (*_t): Allow.
73899         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73900         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73901         (WRDE_BADVAL): Expect.
73903         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73904         expect.
73905         [XPG3 || XPG4] (O_RSYNC): Likewise.
73906         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73907         Likewise.
73908         [XPG3 || XPG4] (pthread_sigmask): Likewise.
73909         [XPG3 || XPG4] (sigqueue): Likewise.
73910         [XPG3 || XPG4] (sigtimedwait): Likewise.
73911         [XPG3 || XPG4] (sigwaitinfo): Likewise.
73912         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73913         [XPG3 || XPG4] (vsnprintf): Likewise.
73914         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73915         Likewise.
73916         [XPG3 || XPG4] (blksize_t): Likewise.
73917         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73918         Likewise.
73919         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73920         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73921         [XPG3 || XPG4] (struct itimerspec): Likewise.
73922         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73923         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73924         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73925         [XPG3 || XPG4] (clockid_t): Likewise.
73926         [XPG3 || XPG4] (timer_t): Likewise.
73927         [XPG3 || XPG4] (clock_getres): Likewise.
73928         [XPG3 || XPG4] (clock_gettime): Likewise.
73929         [XPG3 || XPG4] (clock_settime): Likewise.
73930         [XPG3 || XPG4] (nanosleep): Likewise.
73931         [XPG3 || XPG4] (timer_create): Likewise.
73932         [XPG3 || XPG4] (timer_delete): Likewise.
73933         [XPG3 || XPG4] (timer_gettime): Likewise.
73934         [XPG3 || XPG4] (timer_getoverrun): Likewise.
73935         [XPG3 || XPG4] (timer_settime): Likewise.
73936         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73937         [XPG3 || XPG4] (getlogin_r): Likewise.
73938         [XPG3 || XPG4] (pread): Likewise.
73939         [XPG3 || XPG4] (pthread_atfork): Likewise.
73940         [XPG3 || XPG4] (pwrite): Likewise.
73942         [BZ #14835]
73943         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73944         <bits/siginfo.h>.
73946 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73948         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73949         finalizing MALLSTREAM.
73951         * sysdeps/mach/hurd/syncfs.c: New file.
73953 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
73955         [BZ #14719]
73956         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73957         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
73958         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
73959         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
73960         (_nss_dns_gethostbyname4_r): Likewise.
73961         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
73962         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
73964 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
73966         [BZ #13763]
73967         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
73969 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
73971         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
73972         * elf/cache.c (print_entry): Print ",AArch64" for
73973         FLAG_AARCH64_LIB64
73975         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
73976         * elf/cache.c (print_entry): Print ",hard-float" for
73977         FLAG_ARM_LIBHF.
73979 2012-11-18  David S. Miller  <davem@davemloft.net>
73981         With help from Joseph Myers.
73982         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
73983         cutoff to 2**-13.
73984         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
73985         cutoff to 2**-25.
73986         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
73987         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
73988         small.
73989         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
73990         * math/libm-test.inc (y0_test): New tests.
73991         (y1_test): New tests.
73992         * sysdeps/i386/fpu/libm-test-ulps: Update.
73993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73996 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
73998         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
73999         64-bit targets.
74000         * configure: Regenerated.
74002 2012-11-17  David S. Miller  <davem@davemloft.net>
74004         [BZ #14811]
74005         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
74006         nonzero exponents with absolute value below 0x1p-128 to +/-
74007         0x1p-128.
74009 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
74011         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
74013         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
74015         * posix/getconf-speclist.c: New file.
74016         * posix/posix-envs.def: Likewise.
74017         * posix/confstr.c (START_ENV_GROUP): New macro.
74018         (END_ENV_GROUP): Likewise.
74019         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74020         (KNOWN_PRESENT_ENV_STRING): Likewise.
74021         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74022         (UNKNOWN_ENVIRONMENT): Likewise.
74023         (confstr): Include posix-envs.def instead of handling
74024         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
74025         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
74026         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
74027         (END_ENV_GROUP): Likewise.
74028         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74029         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74030         (UNKNOWN_ENVIRONMENT): Likewise.
74031         (__sysconf): Include posix-envs.def instead of handling associated
74032         cases directly here.
74033         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
74034         preprocessing getconf-speclist.c rather than running getconf or
74035         generating empty file.
74037 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
74039         * scripts/check-local-headers.sh: Ignore 'mach' headers.
74041 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
74043         [BZ #14672]
74044         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
74046 2012-11-16  David S. Miller  <davem@davemloft.net>
74048         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
74049         smaller than LDBL_EPSILON/2.0L, just return xm1.
74051 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
74053         * elf/tst-array1.c (init): Set constructor priority to 1000.
74054         (fini): Set destructor priority to 1000.
74055         * elf/tst-array2dep.c: Likewise.
74057 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
74059         [BZ #11741]
74060         * libio/fileops.c (_IO_new_file_write): Correctly return error.
74061         (_IO_new_file_xsputn): Also return EOF if none of the input
74062         data was written when overflow failed.
74063         * libio/iopadn.c (_IO_padn): Likewise.
74064         * libio/iowpadn.c (_IO_wpadn): Likewise.
74065         * stdio-common/tst-put-error.c: Add copyright notice.
74066         (do_test): Add case for printing padded string.
74067         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
74068         _IO_padn returned error.
74069         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
74070         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
74071         return EOF.
74073 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
74075         * libio/libioP.h: Add comment note that the references to C++
74076         bits are now obsolete.
74078 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74080         * math/libm-test.inc (check_complex): Use asprintf.
74082 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
74084         * debug/pcprofiledump.c (print_version): Update copyright year.
74085         * malloc/memusagestat.c (print_version): Likewise.
74087 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
74089         [BZ #14831]
74090         * elf/Makefile (tests): Add tst-audit8.
74091         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
74092         ($(objpfx)tst-audit8.out): New target.
74093         (tst-audit8-ENV): New variable.
74094         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
74095         audit if l_reloc_result is NULL.
74096         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
74097         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
74098         * elf/tst-audit8.c: New file.
74100 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74102         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
74103         * misc/Makefile (CFLAGS-select.c): Define.
74104         * posix/Makefile (CFLAGS-pause.c): Define.
74106 2012-11-13  David S. Miller  <davem@davemloft.net>
74108         * crypt/Makefile: Move test targets after toplevel Rules
74109         inclusion.  Grab any necessary sysdep routines when linking.
74110         * crypt/md5.c (md5_process_block): Remove define, we will always
74111         name it __md5_process_block.
74112         (md5_finish_ctx): Update md5_process_block call.
74113         (md5_stream): Likewise.
74114         (md5_process_bytes): Likewise.
74115         (md5_process_block): Rename to __md5_process_block and move to ...
74116         * crypt/md5-block.c: ... here.
74117         * crypt/sha256.c (sha256_process_block): Move to ...
74118         * crypt/sha256-block.c: ... here.
74119         * crypt/sha512.c (sha512_process_block): Move to ...
74120         * crypt/sha512-block.c: ... here.
74121         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74122         path.
74123         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74124         * sysdeps/sparc/sparc64/multiarch/Makefile
74125         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74126         crypt subdir.
74127         (localedef-aux): Add md5 crypto assembler when in locale subdir.
74128         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74129         multiarch changes.
74130         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74131         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74132         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74133         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74134         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74135         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74136         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74137         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74138         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74139         file.
74140         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74141         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74142         file.
74143         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
74145 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
74147         * timezone/tzselect.ksh: Update from tzcode git revision
74148         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74149         * timezone/zdump.c: Likewise.
74150         * timezone/zic.c: Likewise.
74151         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74152         in TZVERSION setting, not $(PKGVERSION).
74153         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
74154         REPORT_BUGS_TO settings.
74156         [BZ #14838]
74157         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74158         macro.
74160 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74162         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74163         detection to immediately after _FP_ROUND().
74164         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74165         bits are 0.
74167 2012-11-11  David S. Miller  <davem@davemloft.net>
74169         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74170         inttypes.h
74171         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74172         __close rather than their public counterparts.
74174 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
74176         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74177         file.
74178         [UNIX98] (sem_timedwait): Do not expect.
74179         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74180         [XPG4 || UNIX98] (sockatmark): Do not expect.
74181         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74182         (clock_getcpuclockid): Do not expect.
74183         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74184         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74185         Do not expect.
74186         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74187         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74188         [UNIX98] (vwscanf): Likewise.
74189         [UNIX98] (vswscanf): Likewise.
74191 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
74193         * timezone/version.h: Remove file.
74194         * timezone/README: Do not refer to version.h.
74195         * timezone/Makefile ($(objpfx)zic.o): New dependency on
74196         $(objpfx)version.h.
74197         ($(objpfx)zdump.o): Likewise.
74198         ($(objpfx)version.h): New target.
74200         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74201         2012i.
74202         * timezone/README: Don't mention modification to tzselect.ksh.
74203         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74204         work on unmodified tzselect.ksh.  Substitute version numbers in
74205         tzselect.ksh.
74207         * Makefile (format-me): Remove.
74208         (INSTALL): Adjust indentation.  Use commands directly instead of
74209         using $(format-me).
74211         * aclocal.m4 (ACX_PKGVERSION): New macro.
74212         (ACX_BUGURL): Likewise.
74213         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74214         (PKGVERSION): New AC_DEFINE_UNQUOTED.
74215         (REPORT_BUGS_TO): Likewise.
74216         * configure: Regenerated.
74217         * config.h.in (PKGVERSION): New macro.
74218         (REPORT_BUGS_TO): Likewise.
74219         * config.make.in (PKGVERSION): New variable.
74220         (PKGVERSION_TEXI): Likewise.
74221         (REPORT_BUGS_TO): Likewise.
74222         (REPORT_BUGS_TEXI): Likewise.
74223         * Makefile (format-me): Use -I$(common-objpfx)manual.
74224         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74225         ($(common-objpfx)manual/%): New target.
74226         (manual/%): Remove target.
74227         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74228         (print_version): Use PKGVERSION.
74229         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74230         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74231         and REPORT_BUGS_TO.
74232         ($(objpfx)xtrace): Likewise.
74233         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74234         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74235         (print_version): Use PKGVERSION.
74236         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74237         (do_version): Use PKGVERSION.
74238         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74239         REPORT_BUGS_TO.
74240         (common-ldd-rewrite): Likewise.
74241         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74242         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74243         (print_version): Use PKGVERSION.
74244         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74245         * elf/pldd.c (argp_program_bug_address): Remove variable.
74246         (more_help): New function.
74247         (argp): Use more_help.
74248         (print_version): Use PKGVERSION.
74249         * elf/sln.c (main): Use PKGVERSION.
74250         (usage): Use REPORT_BUGS_TO.
74251         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74252         (top level): Use PKGVERSION.
74253         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74254         (print_version): Use PKGVERSION.
74255         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74256         (print_version): Use PKGVERSION.
74257         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74258         (print_version): Use PKGVERSION.
74259         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74260         (print_version): Use PKGVERSION.
74261         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74262         (print_version): Use PKGVERSION.
74263         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74264         (print_version): Use PKGVERSION.
74265         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74266         and BUGURL.
74267         ($(objpfx)memusage): Likewise.
74268         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74269         (do_version): Use PKGVERSION.
74270         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74271         (print_version): Use PKGVERSION.
74272         * malloc/mtrace.pl ($PACKAGE): Remove variable.
74273         ($PKGVERSION): New variable.
74274         ($REPORT_BUGS_TO): Likewise.
74275         (usage): Use $REPORT_BUGS_TO.
74276         (top level): Use $PKGVERSION.
74277         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74278         ($(objpfx)pkgvers.texi): New rule.
74279         ($(objpfx)stamp-pkgvers): Likewise.
74280         * manual/install.texi: Include pkgvers.texi.
74281         (--with-pkgversion): Document new configure option.
74282         (--with-bugurl): Likewise.
74283         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74284         than necessarily for this particular distribution.  Use
74285         REPORT_BUGS_TO for where to report bugs.
74286         * INSTALL: Regenerated.
74287         * manual/libc.texinfo: Include pkgvers.texi.
74288         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74289         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74290         (print_version): Use PKGVERSION.
74291         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74292         (print_version): Use PKGVERSION.
74293         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74294         (print_version): Use PKGVERSION.
74295         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74296         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74297         macro.
74298         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74299         (print_version): Use PKGVERSION.
74300         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74301         (print_version): Use PKGVERSION.
74302         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74303         and PKGVERSION.
74305         * timezone/checktab.awk: Update from tzcode 2012i.
74306         * timezone/ialloc.c: Likewise.
74307         * timezone/private.h: Likewise.
74308         * timezone/scheck.c: Likewise.
74309         * timezone/tzfile.h: Likewise.
74310         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74311         (TZVERSION): Hardcode tzcode version number.
74312         * timezone/zdump.c: Update from tzcode 2012i.
74313         * timezone/zic.c: Likewise.
74314         * timezone/version.h: New file.
74315         * timezone/README: Describe version.h.  Update upstream location.
74317         [BZ #14824]
74318         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74319         (mktemp): Enable declaration.
74320         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74321         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74322         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74323         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74324         Likewise.
74325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74326         Likewise.
74327         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74328         Likewise.
74329         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74330         Likewise.
74331         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74332         Likewise.
74333         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74334         Likewise.
74336         [BZ #14821]
74337         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74338         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
74339         for copies of such integer values.
74340         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74341         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74343 2012-11-09  Andreas Jaeger  <aj@suse.de>
74345         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74346         definitions and declarations that are provided by
74347         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74349 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74351         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74352         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74353         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74354         definition.
74356 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74358         * elf/elf.h: Update comment before AArch64 relocations.
74360 2012-11-07  David S. Miller  <davem@davemloft.net>
74362         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74363         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74364         (__start_context): Declare.
74365         (__makecontext_ret): Delete.
74366         (__makecontext): Hook up __start_context instead of
74367         __makecontext_ret.
74368         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74369         (sysdep_routines): Add __start_context when in stdlib.
74371 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74373         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74374         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74375         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
74376         hardcoded "nm".
74377         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
74378         (READELF): New variable.  Use it instead of hardcoded "readelf".
74380 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74382         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74383         * sysdeps/x86/Makefile: Here.
74384         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74385         * sysdeps/x86/tst-xmmymm.sh: This.
74387 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74389         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74390         expectations.
74391         [UNIX98] (pthread_barrier_t): Do not expect.
74392         [UNIX98] (pthread_barrierattr_t): Likewise.
74393         [UNIX98] (pthread_spinlock_t): Likewise.
74394         [UNIX98] (pthread_barrier_destroy): Likewise.
74395         [UNIX98] (pthread_barrier_init): Likewise.
74396         [UNIX98] (pthread_barrier_wait): Likewise.
74397         [UNIX98] (pthread_barrierattr_destroy): Likewise.
74398         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74399         [UNIX98] (pthread_barrierattr_init): Likewise.
74400         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74401         [UNIX98] (pthread_getcpuclockid): Likewise.
74402         [UNIX98] (pthread_mutex_timedlock): Likewise.
74403         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74404         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74405         [UNIX98] (pthread_sigmask): Likewise.
74406         [UNIX98] (pthread_spin_destroy): Likewise.
74407         [UNIX98] (pthread_spin_init): Likewise.
74408         [UNIX98] (pthread_spin_lock): Likewise.
74409         [UNIX98] (pthread_spin_trylock): Likewise.
74410         [UNIX98] (pthread_spin_unlock): Likewise.
74411         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74412         Do not expect.
74413         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74414         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74415         [XPG3 || XPG4] (pthread_cond_t): Likewise.
74416         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74417         [XPG3 || XPG4] (pthread_key_t): Likewise.
74418         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74419         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74420         [XPG3 || XPG4] (pthread_once_t): Likewise.
74421         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74422         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74423         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74424         [XPG3 || XPG4] (pthread_t): Likewise.
74426         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74427         not expect.
74428         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74430         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74431         Change function return type to int.
74433         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74434         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74435         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74436         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74437         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74438         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74439         [!POSIX] (posix_madvise): Likewise.
74440         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74441         && !UNIX98].
74442         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74443         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74444         (mode_t): Likewise.
74445         (posix_mem_offset): Likewise.
74446         (posix_typed_mem_get_info): Likewise.
74447         (posix_typed_mem_open): Likewise.
74449         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74450         Change condition to [XOPEN2K8].
74452         * conform/conformtest.pl: Preprocess allow-header data with -x c
74453         instead of from stdin.
74454         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74455         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74456         [C99-based standards] (cerfc): Likewise.
74457         [C99-based standards] (cexp2): Likewise.
74458         [C99-based standards] (cexpm1): Likewise.
74459         [C99-based standards] (clog10): Likewise.
74460         [C99-based standards] (clog1p): Likewise.
74461         [C99-based standards] (clog2): Likewise.
74462         [C99-based standards] (clgamma): Likewise.
74463         [C99-based standards] (ctgamma): Likewise.
74464         [C99-based standards] (cerff): Likewise.
74465         [C99-based standards] (cerfcf): Likewise.
74466         [C99-based standards] (cexp2f): Likewise.
74467         [C99-based standards] (cexpm1f): Likewise.
74468         [C99-based standards] (clog10f): Likewise.
74469         [C99-based standards] (clog1pf): Likewise.
74470         [C99-based standards] (clog2f): Likewise.
74471         [C99-based standards] (clgammaf): Likewise.
74472         [C99-based standards] (ctgammaf): Likewise.
74473         [C99-based standards] (cerfl): Likewise.
74474         [C99-based standards] (cerfcl): Likewise.
74475         [C99-based standards] (cexp2l): Likewise.
74476         [C99-based standards] (cexpm1l): Likewise.
74477         [C99-based standards] (clog10l): Likewise.
74478         [C99-based standards] (clog1pl): Likewise.
74479         [C99-based standards] (clog2l): Likewise.
74480         [C99-based standards] (clgammal): Likewise.
74481         [C99-based standards] (ctgammal): Likewise.
74482         * conform/data/inttypes.h-data [C99-based standards]: Include
74483         stdint.h-data.  Remove all expectations for stdint.h contents.
74484         [C99-based standards] (PRI*): Do not allow.
74485         [C99-based standards] (SCN*): Likewise.
74486         [C99-based standards] (*_t): Likewise.
74487         [C99-based-standards] (PRId8): Expect macro.
74488         [C99-based-standards] (PRIi8): Likewise.
74489         [C99-based-standards] (PRIo8): Likewise.
74490         [C99-based-standards] (PRIu8): Likewise.
74491         [C99-based-standards] (PRIx8): Likewise.
74492         [C99-based-standards] (PRIX8): Likewise.
74493         [C99-based-standards] (SCNd8): Likewise.
74494         [C99-based-standards] (SCNi8): Likewise.
74495         [C99-based-standards] (SCNo8): Likewise.
74496         [C99-based-standards] (SCNu8): Likewise.
74497         [C99-based-standards] (SCNx8): Likewise.
74498         [C99-based-standards] (PRIdLEAST8): Likewise.
74499         [C99-based-standards] (PRIiLEAST8): Likewise.
74500         [C99-based-standards] (PRIoLEAST8): Likewise.
74501         [C99-based-standards] (PRIuLEAST8): Likewise.
74502         [C99-based-standards] (PRIxLEAST8): Likewise.
74503         [C99-based-standards] (PRIXLEAST8): Likewise.
74504         [C99-based-standards] (SCNdLEAST8): Likewise.
74505         [C99-based-standards] (SCNiLEAST8): Likewise.
74506         [C99-based-standards] (SCNoLEAST8): Likewise.
74507         [C99-based-standards] (SCNuLEAST8): Likewise.
74508         [C99-based-standards] (SCNxLEAST8): Likewise.
74509         [C99-based-standards] (PRIdFAST8): Likewise.
74510         [C99-based-standards] (PRIiFAST8): Likewise.
74511         [C99-based-standards] (PRIoFAST8): Likewise.
74512         [C99-based-standards] (PRIuFAST8): Likewise.
74513         [C99-based-standards] (PRIxFAST8): Likewise.
74514         [C99-based-standards] (PRIXFAST8): Likewise.
74515         [C99-based-standards] (SCNdFAST8): Likewise.
74516         [C99-based-standards] (SCNiFAST8): Likewise.
74517         [C99-based-standards] (SCNoFAST8): Likewise.
74518         [C99-based-standards] (SCNuFAST8): Likewise.
74519         [C99-based-standards] (SCNxFAST8): Likewise.
74520         [C99-based-standards] (PRId16): Likewise.
74521         [C99-based-standards] (PRIi16): Likewise.
74522         [C99-based-standards] (PRIo16): Likewise.
74523         [C99-based-standards] (PRIu16): Likewise.
74524         [C99-based-standards] (PRIx16): Likewise.
74525         [C99-based-standards] (PRIX16): Likewise.
74526         [C99-based-standards] (SCNd16): Likewise.
74527         [C99-based-standards] (SCNi16): Likewise.
74528         [C99-based-standards] (SCNo16): Likewise.
74529         [C99-based-standards] (SCNu16): Likewise.
74530         [C99-based-standards] (SCNx16): Likewise.
74531         [C99-based-standards] (PRIdLEAST16): Likewise.
74532         [C99-based-standards] (PRIiLEAST16): Likewise.
74533         [C99-based-standards] (PRIoLEAST16): Likewise.
74534         [C99-based-standards] (PRIuLEAST16): Likewise.
74535         [C99-based-standards] (PRIxLEAST16): Likewise.
74536         [C99-based-standards] (PRIXLEAST16): Likewise.
74537         [C99-based-standards] (SCNdLEAST16): Likewise.
74538         [C99-based-standards] (SCNiLEAST16): Likewise.
74539         [C99-based-standards] (SCNoLEAST16): Likewise.
74540         [C99-based-standards] (SCNuLEAST16): Likewise.
74541         [C99-based-standards] (SCNxLEAST16): Likewise.
74542         [C99-based-standards] (PRIdFAST16): Likewise.
74543         [C99-based-standards] (PRIiFAST16): Likewise.
74544         [C99-based-standards] (PRIoFAST16): Likewise.
74545         [C99-based-standards] (PRIuFAST16): Likewise.
74546         [C99-based-standards] (PRIxFAST16): Likewise.
74547         [C99-based-standards] (PRIXFAST16): Likewise.
74548         [C99-based-standards] (SCNdFAST16): Likewise.
74549         [C99-based-standards] (SCNiFAST16): Likewise.
74550         [C99-based-standards] (SCNoFAST16): Likewise.
74551         [C99-based-standards] (SCNuFAST16): Likewise.
74552         [C99-based-standards] (SCNxFAST16): Likewise.
74553         [C99-based-standards] (PRId32): Likewise.
74554         [C99-based-standards] (PRIi32): Likewise.
74555         [C99-based-standards] (PRIo32): Likewise.
74556         [C99-based-standards] (PRIu32): Likewise.
74557         [C99-based-standards] (PRIx32): Likewise.
74558         [C99-based-standards] (PRIX32): Likewise.
74559         [C99-based-standards] (SCNd32): Likewise.
74560         [C99-based-standards] (SCNi32): Likewise.
74561         [C99-based-standards] (SCNo32): Likewise.
74562         [C99-based-standards] (SCNu32): Likewise.
74563         [C99-based-standards] (SCNx32): Likewise.
74564         [C99-based-standards] (PRIdLEAST32): Likewise.
74565         [C99-based-standards] (PRIiLEAST32): Likewise.
74566         [C99-based-standards] (PRIoLEAST32): Likewise.
74567         [C99-based-standards] (PRIuLEAST32): Likewise.
74568         [C99-based-standards] (PRIxLEAST32): Likewise.
74569         [C99-based-standards] (PRIXLEAST32): Likewise.
74570         [C99-based-standards] (SCNdLEAST32): Likewise.
74571         [C99-based-standards] (SCNiLEAST32): Likewise.
74572         [C99-based-standards] (SCNoLEAST32): Likewise.
74573         [C99-based-standards] (SCNuLEAST32): Likewise.
74574         [C99-based-standards] (SCNxLEAST32): Likewise.
74575         [C99-based-standards] (PRIdFAST32): Likewise.
74576         [C99-based-standards] (PRIiFAST32): Likewise.
74577         [C99-based-standards] (PRIoFAST32): Likewise.
74578         [C99-based-standards] (PRIuFAST32): Likewise.
74579         [C99-based-standards] (PRIxFAST32): Likewise.
74580         [C99-based-standards] (PRIXFAST32): Likewise.
74581         [C99-based-standards] (SCNdFAST32): Likewise.
74582         [C99-based-standards] (SCNiFAST32): Likewise.
74583         [C99-based-standards] (SCNoFAST32): Likewise.
74584         [C99-based-standards] (SCNuFAST32): Likewise.
74585         [C99-based-standards] (SCNxFAST32): Likewise.
74586         [C99-based-standards] (PRId64): Likewise.
74587         [C99-based-standards] (PRIi64): Likewise.
74588         [C99-based-standards] (PRIo64): Likewise.
74589         [C99-based-standards] (PRIu64): Likewise.
74590         [C99-based-standards] (PRIx64): Likewise.
74591         [C99-based-standards] (PRIX64): Likewise.
74592         [C99-based-standards] (SCNd64): Likewise.
74593         [C99-based-standards] (SCNi64): Likewise.
74594         [C99-based-standards] (SCNo64): Likewise.
74595         [C99-based-standards] (SCNu64): Likewise.
74596         [C99-based-standards] (SCNx64): Likewise.
74597         [C99-based-standards] (PRIdLEAST64): Likewise.
74598         [C99-based-standards] (PRIiLEAST64): Likewise.
74599         [C99-based-standards] (PRIoLEAST64): Likewise.
74600         [C99-based-standards] (PRIuLEAST64): Likewise.
74601         [C99-based-standards] (PRIxLEAST64): Likewise.
74602         [C99-based-standards] (PRIXLEAST64): Likewise.
74603         [C99-based-standards] (SCNdLEAST64): Likewise.
74604         [C99-based-standards] (SCNiLEAST64): Likewise.
74605         [C99-based-standards] (SCNoLEAST64): Likewise.
74606         [C99-based-standards] (SCNuLEAST64): Likewise.
74607         [C99-based-standards] (SCNxLEAST64): Likewise.
74608         [C99-based-standards] (PRIdFAST64): Likewise.
74609         [C99-based-standards] (PRIiFAST64): Likewise.
74610         [C99-based-standards] (PRIoFAST64): Likewise.
74611         [C99-based-standards] (PRIuFAST64): Likewise.
74612         [C99-based-standards] (PRIxFAST64): Likewise.
74613         [C99-based-standards] (PRIXFAST64): Likewise.
74614         [C99-based-standards] (SCNdFAST64): Likewise.
74615         [C99-based-standards] (SCNiFAST64): Likewise.
74616         [C99-based-standards] (SCNoFAST64): Likewise.
74617         [C99-based-standards] (SCNuFAST64): Likewise.
74618         [C99-based-standards] (SCNxFAST64): Likewise.
74619         [C99-based-standards] (PRIdMAX): Likewise.
74620         [C99-based-standards] (PRIiMAX): Likewise.
74621         [C99-based-standards] (PRIoMAX): Likewise.
74622         [C99-based-standards] (PRIuMAX): Likewise.
74623         [C99-based-standards] (PRIxMAX): Likewise.
74624         [C99-based-standards] (PRIXMAX): Likewise.
74625         [C99-based-standards] (SCNdMAX): Likewise.
74626         [C99-based-standards] (SCNiMAX): Likewise.
74627         [C99-based-standards] (SCNoMAX): Likewise.
74628         [C99-based-standards] (SCNuMAX): Likewise.
74629         [C99-based-standards] (SCNxMAX): Likewise.
74630         [C99-based-standards] (PRIdPTR): Likewise.
74631         [C99-based-standards] (PRIiPTR): Likewise.
74632         [C99-based-standards] (PRIoPTR): Likewise.
74633         [C99-based-standards] (PRIuPTR): Likewise.
74634         [C99-based-standards] (PRIxPTR): Likewise.
74635         [C99-based-standards] (PRIXPTR): Likewise.
74636         [C99-based-standards] (SCNdPTR): Likewise.
74637         [C99-based-standards] (SCNiPTR): Likewise.
74638         [C99-based-standards] (SCNoPTR): Likewise.
74639         [C99-based-standards] (SCNuPTR): Likewise.
74640         [C99-based-standards] (SCNxPTR): Likewise.
74641         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74642         allow.
74643         * conform/data/stdint.h-data: Update comments to clarify
74644         requirements.
74645         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
74646         type.
74647         [C99-based standards] (INT8_MAX): Likewise.
74648         [C99-based standards] (INT16_MIN): Likewise.
74649         [C99-based standards] (INT16_MAX): Likewise.
74650         [C99-based standards] (INT32_MIN): Likewise.
74651         [C99-based standards] (INT32_MAX): Likewise.
74652         [C99-based standards] (INT64_MIN): Likewise.
74653         [C99-based standards] (INT64_MAX): Likewise.
74654         [C99-based standards] (UINT8_MAX): Likewise.
74655         [C99-based standards] (UINT16_MAX): Likewise.
74656         [C99-based standards] (UINT32_MAX): Likewise.
74657         [C99-based standards] (UINT64_MAX): Likewise.
74658         [C99-based standards] (INT_LEAST8_MIN): Likewise.
74659         [C99-based standards] (INT_LEAST8_MAX): Likewise.
74660         [C99-based standards] (INT_LEAST16_MIN): Likewise.
74661         [C99-based standards] (INT_LEAST16_MAX): Likewise.
74662         [C99-based standards] (INT_LEAST32_MIN): Likewise.
74663         [C99-based standards] (INT_LEAST32_MAX): Likewise.
74664         [C99-based standards] (INT_LEAST64_MIN): Likewise.
74665         [C99-based standards] (INT_LEAST64_MAX): Likewise.
74666         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74667         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74668         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74669         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74670         [C99-based standards] (INT_FAST8_MIN): Likewise.
74671         [C99-based standards] (INT_FAST8_MAX): Likewise.
74672         [C99-based standards] (INT_FAST16_MIN): Likewise.
74673         [C99-based standards] (INT_FAST16_MAX): Likewise.
74674         [C99-based standards] (INT_FAST32_MIN): Likewise.
74675         [C99-based standards] (INT_FAST32_MAX): Likewise.
74676         [C99-based standards] (INT_FAST64_MIN): Likewise.
74677         [C99-based standards] (INT_FAST64_MAX): Likewise.
74678         [C99-based standards] (UINT_FAST8_MAX): Likewise.
74679         [C99-based standards] (UINT_FAST16_MAX): Likewise.
74680         [C99-based standards] (UINT_FAST32_MAX): Likewise.
74681         [C99-based standards] (UINT_FAST64_MAX): Likewise.
74682         [C99-based standards] (INTPTR_MIN): Likewise.
74683         [C99-based standards] (INTPTR_MAX): Likewise.
74684         [C99-based standards] (UINTPTR_MAX): Likewise.
74685         [C99-based standards] (INTMAX_MIN): Likewise.
74686         [C99-based standards] (INTMAX_MAX): Likewise.
74687         [C99-based standards] (UINTMAX_MAX): Likewise.
74688         [C99-based standards] (PTRDIFF_MIN): Likewise.
74689         [C99-based standards] (PTRDIFF_MAX): Likewise.
74690         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74691         [C99-based standards] (SIZE_MAX): Likewise.
74692         [C99-based standards] (WCHAR_MAX): Likewise.
74693         [C99-based standards] (WINT_MAX): Likewise.
74694         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
74695         constraint on value.
74696         [C99-based standards] (WCHAR_MIN): Likewise.
74697         [C99-based standards] (WINT_MIN): Likewise.
74698         [C99-based standards] (*_t): Allow.
74699         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74700         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74701         Include math.h-data and complex.h-data.  Remove all expectations
74702         of math.h and complex.h contents.
74703         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74704         at end of line.
74705         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74706         (struct tm): Expect tag.
74707         [C99-based-standards] (wcstof): Expect function.
74708         [C99-based-standards] (wcstold): Likewise.
74709         [C99-based-standards] (wcstoll): Likewise.
74710         [C99-based-standards] (wcstoull): Likewise.
74711         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74712         macro-int-constant.  Specify type.
74713         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
74714         constraint on value.
74715         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74716         Specify type.
74717         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74718         Specify value.
74719         [ISO C standards]: Do not allow headers.
74720         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74721         wcs[abcdefghijklmnopqrstuvwxyz]*.
74722         [ISO C standards] (*_t): Do not allow.
74723         * conform/data/wctype.h-data [C99-based standards] (iswblank):
74724         Expect function.
74725         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74726         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74727         Specify type.
74728         [ISO C standards]: Do not allow headers.
74729         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74730         is[abcdefghijklmnopqrstuvwxyz]*.
74731         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74732         to[abcdefghijklmnopqrstuvwxyz]*.
74733         [ISO C standards] (*_t): Do not allow.
74734         * conform/data/stdalign.h-data: New file.
74735         * conform/data/stdbool.h-data: Likewise.
74736         * conform/data/stdnoreturn.h-data: Likewise.
74738 2012-11-07  Roland McGrath  <roland@hack.frob.com>
74740         [BZ #14815]
74741         * manual/filesys.texi (Directory Entries): Typo fix.
74742         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74744 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74746         * elf/elf.h (EM_AARCH64): New macro.
74747         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74748         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74749         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74750         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74751         (R_AARCH64_TLSDESC): Likewise.
74752         (NT_ARM_TLS): Likewise.
74753         (NT_ARM_HW_BREAK): Likewise.
74754         (NT_ARM_HW_WATCH): Likewise.
74756 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74758         [BZ #14811]
74759         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74760         (__ieee754_powl): Saturate nonzero exponents with absolute value
74761         below 0x1p-79 to +/- 0x1p-79.
74762         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74763         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74764         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74765         nonzero exponents with absolute value below 0x1p-32 to +/-
74766         0x1p-32.
74767         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74768         (__ieee754_powl): Saturate nonzero exponents with absolute value
74769         below 0x1p-79 to +/- 0x1p-79.
74770         * math/libm-test.inc (pow_test): Add more tests.
74772 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74774         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74775         _dl_s390_cap_flags with kernel. Increase string length.
74776         (_dl_s390_platforms): Add z196 and zEC12.
74778 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74780         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74781         Change XOPEN21K to XOPEN2K.
74783 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
74785         * string/memmove.c: Use memcpy when possible.
74787 2012-11-06  Andreas Jaeger  <aj@suse.de>
74789         * po/eo.po: Update from translation team.
74791 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
74793         [BZ #14793]
74794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74795         exponent and small x and y exponents, scale x or y up.  Increase
74796         by 2 the exponent used in scaling up.
74797         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74798         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74799         * math/libm-test.inc (fma_test): Add more tests.
74800         (fma_test_towardzero): Likewise.
74801         (fma_test_downward): Likewise.
74802         (fma_test_upward): Likewise.
74804 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
74806         [BZ #14805]
74807         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74808         fenv_t *.
74810         [BZ #14801]
74811         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74812         namespace for names of struct fields.
74813         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74814         fenv_t fields.
74815         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74816         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74818 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74820         [BZ #3665]
74821         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74823 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74825         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74826         PTR_DEMANGLE.
74828         [BZ #5246]
74829         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74830         PTR_DEMANGLE.
74832 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
74834         [BZ #14797]
74835         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74836         definitely overflow as x * y not x * y + z.
74837         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74838         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74839         * math/libm-test.inc (fma_test): Add more tests.
74840         (fma_test_towardzero): Likewise.
74841         (fma_test_downward): Likewise.
74842         (fma_test_upward): Likewise.
74844 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74846         [BZ #157]
74848         * include/stub-tag.h: Remove file.
74849         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74850         '#include' of it.
74851         * manual/maint.texi (Porting): Don't reference it.
74852         * Makerules ($(objpfx)stubs): Likewise.
74853         * dirent/closedir.c: Don't include <stub-tag.h>.
74854         * dirent/dirfd.c: Likewise.
74855         * dirent/fdopendir.c: Likewise.
74856         * dirent/getdents.c: Likewise.
74857         * dirent/getdents64.c: Likewise.
74858         * dirent/opendir.c: Likewise.
74859         * dirent/readdir.c: Likewise.
74860         * dirent/readdir64.c: Likewise.
74861         * dirent/readdir64_r.c: Likewise.
74862         * dirent/readdir_r.c: Likewise.
74863         * dirent/rewinddir.c: Likewise.
74864         * dirent/seekdir.c: Likewise.
74865         * dirent/telldir.c: Likewise.
74866         * gmon/profil.c: Likewise.
74867         * grp/setgroups.c: Likewise.
74868         * inet/if_index.c: Likewise.
74869         * io/access.c: Likewise.
74870         * io/chdir.c: Likewise.
74871         * io/chmod.c: Likewise.
74872         * io/chown.c: Likewise.
74873         * io/close.c: Likewise.
74874         * io/dup.c: Likewise.
74875         * io/dup2.c: Likewise.
74876         * io/dup3.c: Likewise.
74877         * io/euidaccess.c: Likewise.
74878         * io/faccessat.c: Likewise.
74879         * io/fchdir.c: Likewise.
74880         * io/fchmod.c: Likewise.
74881         * io/fchmodat.c: Likewise.
74882         * io/fchown.c: Likewise.
74883         * io/fchownat.c: Likewise.
74884         * io/fcntl.c: Likewise.
74885         * io/flock.c: Likewise.
74886         * io/fstatfs.c: Likewise.
74887         * io/fstatfs64.c: Likewise.
74888         * io/fstatvfs.c: Likewise.
74889         * io/fstatvfs64.c: Likewise.
74890         * io/futimens.c: Likewise.
74891         * io/fxstat.c: Likewise.
74892         * io/fxstat64.c: Likewise.
74893         * io/fxstatat.c: Likewise.
74894         * io/fxstatat64.c: Likewise.
74895         * io/getcwd.c: Likewise.
74896         * io/isatty.c: Likewise.
74897         * io/lchmod.c: Likewise.
74898         * io/lchown.c: Likewise.
74899         * io/link.c: Likewise.
74900         * io/linkat.c: Likewise.
74901         * io/lseek.c: Likewise.
74902         * io/lseek64.c: Likewise.
74903         * io/lxstat64.c: Likewise.
74904         * io/mkdir.c: Likewise.
74905         * io/mkdirat.c: Likewise.
74906         * io/mkfifo.c: Likewise.
74907         * io/mkfifoat.c: Likewise.
74908         * io/open.c: Likewise.
74909         * io/open64.c: Likewise.
74910         * io/openat.c: Likewise.
74911         * io/openat64.c: Likewise.
74912         * io/pipe.c: Likewise.
74913         * io/pipe2.c: Likewise.
74914         * io/poll.c: Likewise.
74915         * io/posix_fadvise.c: Likewise.
74916         * io/posix_fadvise64.c: Likewise.
74917         * io/posix_fallocate.c: Likewise.
74918         * io/posix_fallocate64.c: Likewise.
74919         * io/read.c: Likewise.
74920         * io/readlink.c: Likewise.
74921         * io/readlinkat.c: Likewise.
74922         * io/rmdir.c: Likewise.
74923         * io/sendfile.c: Likewise.
74924         * io/sendfile64.c: Likewise.
74925         * io/statfs.c: Likewise.
74926         * io/statfs64.c: Likewise.
74927         * io/statvfs.c: Likewise.
74928         * io/statvfs64.c: Likewise.
74929         * io/symlink.c: Likewise.
74930         * io/symlinkat.c: Likewise.
74931         * io/ttyname.c: Likewise.
74932         * io/ttyname_r.c: Likewise.
74933         * io/umask.c: Likewise.
74934         * io/unlink.c: Likewise.
74935         * io/unlinkat.c: Likewise.
74936         * io/utime.c: Likewise.
74937         * io/utimensat.c: Likewise.
74938         * io/write.c: Likewise.
74939         * io/xmknod.c: Likewise.
74940         * io/xmknodat.c: Likewise.
74941         * io/xstat.c: Likewise.
74942         * io/xstat64.c: Likewise.
74943         * login/getpt.c: Likewise.
74944         * login/grantpt.c: Likewise.
74945         * login/unlockpt.c: Likewise.
74946         * math/e_acoshl.c: Likewise.
74947         * math/e_acosl.c: Likewise.
74948         * math/e_asinl.c: Likewise.
74949         * math/e_atan2l.c: Likewise.
74950         * math/e_atanhl.c: Likewise.
74951         * math/e_coshl.c: Likewise.
74952         * math/e_expl.c: Likewise.
74953         * math/e_fmodl.c: Likewise.
74954         * math/e_gammal_r.c: Likewise.
74955         * math/e_hypotl.c: Likewise.
74956         * math/e_j0l.c: Likewise.
74957         * math/e_j1l.c: Likewise.
74958         * math/e_jnl.c: Likewise.
74959         * math/e_lgammal_r.c: Likewise.
74960         * math/e_log10l.c: Likewise.
74961         * math/e_log2l.c: Likewise.
74962         * math/e_logl.c: Likewise.
74963         * math/e_powl.c: Likewise.
74964         * math/e_rem_pio2l.c: Likewise.
74965         * math/e_sinhl.c: Likewise.
74966         * math/e_sqrtl.c: Likewise.
74967         * math/fclrexcpt.c: Likewise.
74968         * math/fedisblxcpt.c: Likewise.
74969         * math/feenablxcpt.c: Likewise.
74970         * math/fegetenv.c: Likewise.
74971         * math/fegetexcept.c: Likewise.
74972         * math/fegetround.c: Likewise.
74973         * math/feholdexcpt.c: Likewise.
74974         * math/fesetenv.c: Likewise.
74975         * math/fesetround.c: Likewise.
74976         * math/feupdateenv.c: Likewise.
74977         * math/fgetexcptflg.c: Likewise.
74978         * math/fraiseexcpt.c: Likewise.
74979         * math/fsetexcptflg.c: Likewise.
74980         * math/ftestexcept.c: Likewise.
74981         * math/k_cosl.c: Likewise.
74982         * math/k_rem_pio2l.c: Likewise.
74983         * math/k_sinl.c: Likewise.
74984         * math/k_tanl.c: Likewise.
74985         * math/s_asinhl.c: Likewise.
74986         * math/s_atanl.c: Likewise.
74987         * math/s_cbrtl.c: Likewise.
74988         * math/s_erfl.c: Likewise.
74989         * math/s_expm1l.c: Likewise.
74990         * math/s_log1pl.c: Likewise.
74991         * math/s_tanhl.c: Likewise.
74992         * misc/acct.c: Likewise.
74993         * misc/brk.c: Likewise.
74994         * misc/chflags.c: Likewise.
74995         * misc/chroot.c: Likewise.
74996         * misc/fchflags.c: Likewise.
74997         * misc/fgetxattr.c: Likewise.
74998         * misc/flistxattr.c: Likewise.
74999         * misc/fremovexattr.c: Likewise.
75000         * misc/fsetxattr.c: Likewise.
75001         * misc/fsync.c: Likewise.
75002         * misc/ftruncate.c: Likewise.
75003         * misc/futimes.c: Likewise.
75004         * misc/futimesat.c: Likewise.
75005         * misc/getdomain.c: Likewise.
75006         * misc/getdtsz.c: Likewise.
75007         * misc/gethostid.c: Likewise.
75008         * misc/gethostname.c: Likewise.
75009         * misc/getloadavg.c: Likewise.
75010         * misc/getpagesize.c: Likewise.
75011         * misc/getsysstats.c: Likewise.
75012         * misc/getxattr.c: Likewise.
75013         * misc/gtty.c: Likewise.
75014         * misc/ioctl.c: Likewise.
75015         * misc/lgetxattr.c: Likewise.
75016         * misc/listxattr.c: Likewise.
75017         * misc/llistxattr.c: Likewise.
75018         * misc/lremovexattr.c: Likewise.
75019         * misc/lsetxattr.c: Likewise.
75020         * misc/lutimes.c: Likewise.
75021         * misc/madvise.c: Likewise.
75022         * misc/mincore.c: Likewise.
75023         * misc/mlock.c: Likewise.
75024         * misc/mlockall.c: Likewise.
75025         * misc/mmap.c: Likewise.
75026         * misc/mprotect.c: Likewise.
75027         * misc/msync.c: Likewise.
75028         * misc/munlock.c: Likewise.
75029         * misc/munlockall.c: Likewise.
75030         * misc/munmap.c: Likewise.
75031         * misc/preadv.c: Likewise.
75032         * misc/preadv64.c: Likewise.
75033         * misc/ptrace.c: Likewise.
75034         * misc/pwritev.c: Likewise.
75035         * misc/pwritev64.c: Likewise.
75036         * misc/readv.c: Likewise.
75037         * misc/reboot.c: Likewise.
75038         * misc/remap_file_pages.c: Likewise.
75039         * misc/removexattr.c: Likewise.
75040         * misc/revoke.c: Likewise.
75041         * misc/select.c: Likewise.
75042         * misc/setdomain.c: Likewise.
75043         * misc/setegid.c: Likewise.
75044         * misc/seteuid.c: Likewise.
75045         * misc/sethostid.c: Likewise.
75046         * misc/sethostname.c: Likewise.
75047         * misc/setregid.c: Likewise.
75048         * misc/setreuid.c: Likewise.
75049         * misc/setxattr.c: Likewise.
75050         * misc/sstk.c: Likewise.
75051         * misc/stty.c: Likewise.
75052         * misc/swapoff.c: Likewise.
75053         * misc/swapon.c: Likewise.
75054         * misc/sync.c: Likewise.
75055         * misc/syncfs.c: Likewise.
75056         * misc/syscall.c: Likewise.
75057         * misc/truncate.c: Likewise.
75058         * misc/ualarm.c: Likewise.
75059         * misc/usleep.c: Likewise.
75060         * misc/ustat.c: Likewise.
75061         * misc/utimes.c: Likewise.
75062         * misc/vhangup.c: Likewise.
75063         * misc/writev.c: Likewise.
75064         * posix/_exit.c: Likewise.
75065         * posix/alarm.c: Likewise.
75066         * posix/execve.c: Likewise.
75067         * posix/fexecve.c: Likewise.
75068         * posix/fork.c: Likewise.
75069         * posix/fpathconf.c: Likewise.
75070         * posix/getaddrinfo.c: Likewise.
75071         * posix/getegid.c: Likewise.
75072         * posix/geteuid.c: Likewise.
75073         * posix/getgid.c: Likewise.
75074         * posix/getgroups.c: Likewise.
75075         * posix/getlogin.c: Likewise.
75076         * posix/getlogin_r.c: Likewise.
75077         * posix/getpgid.c: Likewise.
75078         * posix/getpid.c: Likewise.
75079         * posix/getppid.c: Likewise.
75080         * posix/getresgid.c: Likewise.
75081         * posix/getresuid.c: Likewise.
75082         * posix/getsid.c: Likewise.
75083         * posix/getuid.c: Likewise.
75084         * posix/glob64.c: Likewise.
75085         * posix/nanosleep.c: Likewise.
75086         * posix/pathconf.c: Likewise.
75087         * posix/pause.c: Likewise.
75088         * posix/posix_madvise.c: Likewise.
75089         * posix/pread.c: Likewise.
75090         * posix/pread64.c: Likewise.
75091         * posix/pwrite.c: Likewise.
75092         * posix/pwrite64.c: Likewise.
75093         * posix/sched_getaffinity.c: Likewise.
75094         * posix/sched_getp.c: Likewise.
75095         * posix/sched_gets.c: Likewise.
75096         * posix/sched_primax.c: Likewise.
75097         * posix/sched_primin.c: Likewise.
75098         * posix/sched_rr_gi.c: Likewise.
75099         * posix/sched_setaffinity.c: Likewise.
75100         * posix/sched_setp.c: Likewise.
75101         * posix/sched_sets.c: Likewise.
75102         * posix/sched_yield.c: Likewise.
75103         * posix/setgid.c: Likewise.
75104         * posix/setlogin.c: Likewise.
75105         * posix/setpgid.c: Likewise.
75106         * posix/setresgid.c: Likewise.
75107         * posix/setresuid.c: Likewise.
75108         * posix/setsid.c: Likewise.
75109         * posix/setuid.c: Likewise.
75110         * posix/sleep.c: Likewise.
75111         * posix/spawni.c: Likewise.
75112         * posix/sysconf.c: Likewise.
75113         * posix/times.c: Likewise.
75114         * posix/wait.c: Likewise.
75115         * posix/wait3.c: Likewise.
75116         * posix/wait4.c: Likewise.
75117         * posix/waitpid.c: Likewise.
75118         * resolv/gai_sigqueue.c: Likewise.
75119         * resource/getpriority.c: Likewise.
75120         * resource/getrlimit.c: Likewise.
75121         * resource/getrusage.c: Likewise.
75122         * resource/nice.c: Likewise.
75123         * resource/setpriority.c: Likewise.
75124         * resource/setrlimit.c: Likewise.
75125         * resource/ulimit.c: Likewise.
75126         * rt/aio_cancel.c: Likewise.
75127         * rt/aio_fsync.c: Likewise.
75128         * rt/aio_read.c: Likewise.
75129         * rt/aio_sigqueue.c: Likewise.
75130         * rt/aio_suspend.c: Likewise.
75131         * rt/aio_write.c: Likewise.
75132         * rt/clock_getres.c: Likewise.
75133         * rt/clock_gettime.c: Likewise.
75134         * rt/clock_nanosleep.c: Likewise.
75135         * rt/clock_settime.c: Likewise.
75136         * rt/lio_listio.c: Likewise.
75137         * rt/mq_close.c: Likewise.
75138         * rt/mq_getattr.c: Likewise.
75139         * rt/mq_notify.c: Likewise.
75140         * rt/mq_open.c: Likewise.
75141         * rt/mq_receive.c: Likewise.
75142         * rt/mq_send.c: Likewise.
75143         * rt/mq_setattr.c: Likewise.
75144         * rt/mq_timedreceive.c: Likewise.
75145         * rt/mq_timedsend.c: Likewise.
75146         * rt/mq_unlink.c: Likewise.
75147         * rt/shm_open.c: Likewise.
75148         * rt/shm_unlink.c: Likewise.
75149         * rt/timer_create.c: Likewise.
75150         * rt/timer_delete.c: Likewise.
75151         * rt/timer_getoverr.c: Likewise.
75152         * rt/timer_gettime.c: Likewise.
75153         * rt/timer_settime.c: Likewise.
75154         * setjmp/__longjmp.c: Likewise.
75155         * setjmp/setjmp.c: Likewise.
75156         * signal/kill.c: Likewise.
75157         * signal/killpg.c: Likewise.
75158         * signal/raise.c: Likewise.
75159         * signal/sigaction.c: Likewise.
75160         * signal/sigaltstack.c: Likewise.
75161         * signal/sigblock.c: Likewise.
75162         * signal/sigignore.c: Likewise.
75163         * signal/sigintr.c: Likewise.
75164         * signal/signal.c: Likewise.
75165         * signal/sigpause.c: Likewise.
75166         * signal/sigpending.c: Likewise.
75167         * signal/sigqueue.c: Likewise.
75168         * signal/sigreturn.c: Likewise.
75169         * signal/sigset.c: Likewise.
75170         * signal/sigsetmask.c: Likewise.
75171         * signal/sigstack.c: Likewise.
75172         * signal/sigsuspend.c: Likewise.
75173         * signal/sigtimedwait.c: Likewise.
75174         * signal/sigvec.c: Likewise.
75175         * signal/sigwait.c: Likewise.
75176         * signal/sigwaitinfo.c: Likewise.
75177         * signal/sysv_signal.c: Likewise.
75178         * socket/accept.c: Likewise.
75179         * socket/accept4.c: Likewise.
75180         * socket/bind.c: Likewise.
75181         * socket/connect.c: Likewise.
75182         * socket/getpeername.c: Likewise.
75183         * socket/getsockname.c: Likewise.
75184         * socket/getsockopt.c: Likewise.
75185         * socket/isfdtype.c: Likewise.
75186         * socket/listen.c: Likewise.
75187         * socket/recv.c: Likewise.
75188         * socket/recvfrom.c: Likewise.
75189         * socket/recvmsg.c: Likewise.
75190         * socket/send.c: Likewise.
75191         * socket/sendmsg.c: Likewise.
75192         * socket/sendto.c: Likewise.
75193         * socket/setsockopt.c: Likewise.
75194         * socket/shutdown.c: Likewise.
75195         * socket/sockatmark.c: Likewise.
75196         * socket/socket.c: Likewise.
75197         * socket/socketpair.c: Likewise.
75198         * stdio-common/ctermid.c: Likewise.
75199         * stdio-common/cuserid.c: Likewise.
75200         * stdio-common/remove.c: Likewise.
75201         * stdio-common/rename.c: Likewise.
75202         * stdio-common/renameat.c: Likewise.
75203         * stdio-common/tempname.c: Likewise.
75204         * stdlib/getcontext.c: Likewise.
75205         * stdlib/makecontext.c: Likewise.
75206         * stdlib/setcontext.c: Likewise.
75207         * stdlib/swapcontext.c: Likewise.
75208         * stdlib/system.c: Likewise.
75209         * streams/fattach.c: Likewise.
75210         * streams/fdetach.c: Likewise.
75211         * streams/getmsg.c: Likewise.
75212         * streams/getpmsg.c: Likewise.
75213         * streams/putmsg.c: Likewise.
75214         * streams/putpmsg.c: Likewise.
75215         * sysdeps/unix/bsd/getpt.c: Likewise.
75216         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75217         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75218         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75220         Likewise.
75221         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75222         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75223         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75224         * sysvipc/msgctl.c: Likewise.
75225         * sysvipc/msgget.c: Likewise.
75226         * sysvipc/msgrcv.c: Likewise.
75227         * sysvipc/msgsnd.c: Likewise.
75228         * sysvipc/semctl.c: Likewise.
75229         * sysvipc/semget.c: Likewise.
75230         * sysvipc/semop.c: Likewise.
75231         * sysvipc/semtimedop.c: Likewise.
75232         * sysvipc/shmat.c: Likewise.
75233         * sysvipc/shmctl.c: Likewise.
75234         * sysvipc/shmdt.c: Likewise.
75235         * sysvipc/shmget.c: Likewise.
75236         * termios/tcdrain.c: Likewise.
75237         * termios/tcflow.c: Likewise.
75238         * termios/tcflush.c: Likewise.
75239         * termios/tcgetattr.c: Likewise.
75240         * termios/tcgetpgrp.c: Likewise.
75241         * termios/tcsendbrk.c: Likewise.
75242         * termios/tcsetattr.c: Likewise.
75243         * termios/tcsetpgrp.c: Likewise.
75244         * time/adjtime.c: Likewise.
75245         * time/clock.c: Likewise.
75246         * time/getitimer.c: Likewise.
75247         * time/gettimeofday.c: Likewise.
75248         * time/setitimer.c: Likewise.
75249         * time/settimeofday.c: Likewise.
75250         * time/stime.c: Likewise.
75251         * time/time.c: Likewise.
75253 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
75255         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75256         /usr/old/bin.
75258         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75259         instead of spaces.
75260         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75262 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
75264         [BZ #14796]
75265         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75266         FE_TONEAREST before applying Dekker multiplication and Knuth
75267         addition.  Clear inexact exceptions and check for exact zero
75268         results afterwards.
75269         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75270         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75271         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75272         * math/libm-test.inc (fma_test): Add more tests.
75273         (fma_test_towardzero): Likewise.
75274         (fma_test_downward): Likewise.
75275         (fma_test_upward): Likewise.
75276         * sysdeps/generic/math_private.h (default_libc_fesetround): New
75277         function.
75278         (libc_fesetround): New macro.
75279         (libc_fesetroundf): Likewise.
75280         (libc_fesetroundl): Likewise.
75281         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75282         function.
75283         (libc_fesetround_387): Likewise.
75284         (libc_fesetroundf): New macro.
75285         (libc_fesetround): Likewise.
75286         (libc_fesetroundl): Likewise.
75287         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75288         function.
75289         (libc_fesetroundf): New macro.
75290         (libc_fesetround): Likewise.
75291         (libc_fesetroundl): Likewise.
75292         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75293         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75294         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75295         libm_hidden_ver.
75296         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75297         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75298         libm_hidden_def.
75299         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75300         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75301         libm_hidden_ver.
75302         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75303         libm_hidden_def.
75305         [BZ #3439]
75306         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75307         integer constant usable in #if and use that to give value to enum
75308         constant.
75309         (FE_DIVBYZERO): Likewise.
75310         (FE_UNDERFLOW): Likewise.
75311         (FE_OVERFLOW): Likewise.
75312         (FE_INVALID): Likewise.
75313         (FE_INVALID_SNAN): Likewise.
75314         (FE_INVALID_ISI): Likewise.
75315         (FE_INVALID_IDI): Likewise.
75316         (FE_INVALID_ZDZ): Likewise.
75317         (FE_INVALID_IMZ): Likewise.
75318         (FE_INVALID_COMPARE): Likewise.
75319         (FE_INVALID_SOFTWARE): Likewise.
75320         (FE_INVALID_SQRT): Likewise.
75321         (FE_INVALID_INTEGER_CONVERSION): Likewise.
75322         (FE_TONEAREST): Likewise.
75323         (FE_TOWARDZERO): Likewise.
75324         (FE_UPWARD): Likewise.
75325         (FE_DOWNWARD): Likewise.
75326         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75327         (FE_DIVBYZERO): Likewise.
75328         (FE_OVERFLOW): Likewise.
75329         (FE_UNDERFLOW): Likewise.
75330         (FE_INEXACT): Likewise.
75331         (FE_TONEAREST): Likewise.
75332         (FE_DOWNWARD): Likewise.
75333         (FE_UPWARD): Likewise.
75334         (FE_TOWARDZERO): Likewise.
75335         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75336         (FE_UNDERFLOW): Likewise.
75337         (FE_OVERFLOW): Likewise.
75338         (FE_DIVBYZERO): Likewise.
75339         (FE_INVALID): Likewise.
75340         (FE_TONEAREST): Likewise.
75341         (FE_TOWARDZERO): Likewise.
75342         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75343         (FE_OVERFLOW): Likewise.
75344         (FE_UNDERFLOW): Likewise.
75345         (FE_DIVBYZERO): Likewise.
75346         (FE_INEXACT): Likewise.
75347         (FE_TONEAREST): Likewise.
75348         (FE_TOWARDZERO): Likewise.
75349         (FE_UPWARD): Likewise.
75350         (FE_DOWNWARD): Likewise.
75351         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75352         (FE_DIVBYZERO): Likewise.
75353         (FE_OVERFLOW): Likewise.
75354         (FE_UNDERFLOW): Likewise.
75355         (FE_INEXACT): Likewise.
75356         (FE_TONEAREST): Likewise.
75357         (FE_DOWNWARD): Likewise.
75358         (FE_UPWARD): Likewise.
75359         (FE_TOWARDZERO): Likewise.
75361 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
75363         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75365 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
75367         * scripts/cross-test-ssh.sh (command): Use newlines to separate
75368         commands.  Quote $PWD.
75369         (blacklist_exports): Don't use remove_newlines.  Replace "declare
75370         -x" by "export".
75371         (remove_newlines): Remove.
75373 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
75375         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75376         * stdlib/stdlib.h (atof): Moved to ...
75377         * include/bits/stdlib-float.h: Here.  New file.
75378         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75379         * stdlib/bits/stdlib-float.h: New file.
75380         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75381         -mno-sse -mno-mmx.
75382         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75383         <xmmintrin.h>.
75385 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75387         * conform/conformtest.pl (@headers): Add fenv.h.
75388         * conform/data/fenv.h-data: New file.
75389         * include/fenv.h [_ISOMAC]: Disable all contents of file except
75390         include of <math/fenv.h>.
75392         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75393         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75394         && !UNIX98].  Enables tests for XOPEN2K8.
75395         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75396         POSIX2008]: Likewise.
75398         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75399         (struct rusage): Do not expect type or its members.
75401         [BZ #3439]
75402         * math/math.h (FP_NAN): Define macro to integer constant usable in
75403         #if and use that to give value to enum constant.
75404         (FP_INFINITE): Likewise.
75405         (FP_ZERO): Likewise.
75406         (FP_SUBNORMAL): Likewise.
75407         (FP_NORMAL): Likewise.
75409 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
75411         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75412         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75413         arguments.
75415 2012-11-02  Roland McGrath  <roland@hack.frob.com>
75417         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75418         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75419         autoconf-time if not.
75420         * configure.in: Remove AC_PREREQ.
75422 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75424         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75425         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75426         of the internal implementation.
75428 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75430         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75431         except include of <misc/sys/syslog.h>.
75433 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75436         function returns with a NULL context exit with zero.
75438 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75440         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75442 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
75444         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75445         (run_program_cmd): This.
75446         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75447         (tst_langinfo): New variable.  Use it.
75449 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
75451         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75452         floating point opcodes.
75454 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75456         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75457         variable.
75459         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75461         * sysdeps/mach/hurd/powerpc: Remove directory.
75462         * sysdeps/mach/powerpc: Likewise.
75464 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75466         * scripts/check-local-headers.sh: Ignore c++ headers.
75468 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75470         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75471         __libc_cleanup_region_start argument.
75473 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
75475         [BZ #14784]
75476         [BZ #14785]
75477         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75478         x * y using scaling, not as x * y + z.
75479         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75480         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75481         * math/libm-test.inc (fma_test): Add more tests.
75482         (fma_test_towardzero): Likewise.
75483         (fma_test_downward): Likewise.
75484         (fma_test_upward): Likewise.
75486 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75488         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75490 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75492         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75493         New variable.
75495 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
75497         * rt/tst-shm.c (worker): Correct checking for mmap failure.
75499 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75502         Fix sort order.
75503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75504         Likewise.
75506 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75509         Fix the order of the list for glibc 2.17.
75510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75511         Likewise.
75513 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75517 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75519         [BZ #14610]
75520         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75521         for low part of x being zero before using __atanl (y).
75522         * math/libm-test.inc (atan2_test): Add another test.
75524         * manual/install.texi (Configuring and compiling): Document
75525         general use of test-wrapper and test-wrapper-env.
75526         * INSTALL: Regenerated.
75528         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75529         (__fma): Do not extract and scale down low bits on after-rounding
75530         systems when result rounded to normal precision would have normal
75531         exponent.
75532         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75533         (__fmal): Do not extract and scale down low bits on after-rounding
75534         systems when result rounded to normal precision would have normal
75535         exponent.
75536         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75537         (__fmal): Do not extract and scale down low bits on after-rounding
75538         systems when result rounded to normal precision would have normal
75539         exponent.
75540         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75541         macro.
75542         (fma_test): Add more tests.
75543         (fma_test_towardzero): Likewise.
75544         (fma_test_downward): Likewise.
75545         (fma_test_upward): Likewise.
75547 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
75549         * sysdeps/i386/tininess.h: Renamed to ...
75550         * sysdeps/x86/tininess.h: This.
75551         * sysdeps/x86_64/tininess.h: Removed.
75553 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75555         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75556         input.  Use $(build-program-cmd).
75557         ($(objpfx)tst-array1-static.out): Likewise.
75558         ($(objpfx)tst-array2.out): Likewise.
75559         ($(objpfx)tst-array3.out): Likewise.
75560         ($(objpfx)tst-array4.out): Likewise.
75561         ($(objpfx)tst-array5.out): Likewise.
75562         ($(objpfx)tst-array5-static.out): Likewise.
75564 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
75566         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75567         if defined.
75569         * nss/nsswitch.h (nss_interface_function): Provide new
75570         macro for use with NSS functions.
75571         * grp/initgroups.c: Use new macro.
75572         * nss/getXXbyYY.c: Likewise.
75573         * nss/getXXbyYY_r.c: Likewise.
75574         * nss/getXXent.c: Likewise.
75575         * nss/getXXent_r.c: Likewise.
75576         * sysdeps/posix/getaddrinfo.c: Likewise.
75578 2012-10-30  Andreas Jaeger  <aj@suse.de>
75580         * po/ru.po: Update Russion translation from translation project.
75582 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75584         [BZ #14152]
75585         [BZ #14783]
75586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75587         result and shift together with sticky bit instead of replicating
75588         round-to-nearest rounding.
75589         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75590         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75591         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
75592         missing underflow exceptions.
75593         (fma_test_towardzero): Add more tests.
75594         (fma_test_downward): Likewise.
75595         (fma_test_upward): Likewise.
75597         [BZ #14047]
75598         * sysdeps/generic/tininess.h: New file.
75599         * sysdeps/i386/tininess.h: Likewise.
75600         * sysdeps/sh/tininess.h: Likewise.
75601         * sysdeps/x86_64/tininess.h: Likewise.
75602         * stdlib/tst-strtod-underflow.c: Likewise.
75603         * stdlib/tst-tininess.c: Likewise.
75604         * stdlib/strtod_l.c: Include <tininess.h>.
75605         (round_and_return): Do not set errno for exact underflow cases.
75606         Force an underflow exception when setting errno for underflow.
75607         Determine underflow based on rounding to normal precision if
75608         TININESS_AFTER_ROUNDING.
75609         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75610         ERANGE for exact underflow cases.
75611         * stdlib/Makefile (tests): Add tst-tininess and
75612         tst-strtod-underflow.
75613         ($(objpfx)tst-tininess): Use $(link-libm).
75614         ($(objpfx)tst-strtod-underflow): Likewise.
75616 2012-10-30  Andreas Jaeger  <aj@suse.de>
75618         [BZ #14767]
75619         * elf/Makefile (tests): Remove conditional for have-initfini-array
75620         since this is now always required and the variable does not exist
75621         anymore.
75622         (tests-static): Likewise.
75623         (modules-names): Likewise.
75625         * po/eo.po: Add Esperanto translation from translation project.
75627         * elf/tst-array1.c (fini_array): Make writeable so that it can be
75628         merged with constructor/destructor.
75629         (init_array): Likewise.
75630         * elf/tst-array2dep.c (fini_array): Likewise.
75631         (init_array): Likewise.
75633 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
75635         * manual/message.texi: Delete @cartouche tags.
75637 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
75639         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75640         EOPNOTSUPP.
75641         * sysdeps/mach/hurd/fsync.c: Likewise.
75643         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75644         [_POSIX_REALTIME_SIGNALS]: Change condition to
75645         [_POSIX_REALTIME_SIGNALS > 0].
75647 2012-10-27  Andreas Jaeger  <aj@suse.de>
75649         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75650         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75651         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75652         [__WORDSIZE != 64]: Likewise.
75654 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
75656         *  iconvdata/tst-table.sh: Remove ${SHELL}.
75657         *  iconvdata/tst-tables.sh: Likewise.
75659 2012-10-25  David S. Miller  <davem@davemloft.net>
75661         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75662         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75663         of strtoull.
75665         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75666         ifunc-impl-list.c
75667         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75668         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75669         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75670         file.
75672 2012-10-25  Roland McGrath  <roland@hack.frob.com>
75674         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75675         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75676         __getdirentries.
75678 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75679             Jim Blandy  <jimb@codesourcery.com>
75681         * scripts/cross-test-ssh.sh: New file.
75682         * manual/install.texi (Configuring and compiling): Document use of
75683         cross-test-ssh.sh.
75684         * INSTALL: Regenerated.
75686 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
75688         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75689         EOPNOTSUPP.
75691 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75693         * Makeconfig (run-program-prefix): Fix comment.
75695 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75696             Jim Blandy  <jimb@codesourcery.com>
75698         * Makeconfig (test-wrapper): New variable,
75699         (test-wrapper-env): Likewise.
75700         [$(cross-compiling) = yes && $(test-wrapper) != ""]
75701         (run-built-tests): Define to yes.
75702         (run-program-prefix): Use $(test-wrapper).
75703         (built-program-cmd): Likewise.
75704         * Rules (make-test-out): Use $(test-wrapper-env) and
75705         $(host-built-program-cmd).
75706         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75707         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75708         tst-pathopt.sh.
75709         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75710         $(test-wrapper-env) to tst-rtld-load-self.sh.
75711         ($(objpfx)order2.out): Use $(test-wrapper).
75712         ($(objpfx)tst-initorder.out): Likewise.
75713         ($(objpfx)tst-initorder2.out): Likewise.
75714         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75715         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75716         (test_wrapper_env): New variable.  Use it to run ld.so.
75717         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75718         Use it to run ld.so.
75719         (test_wrapper_env): Likewise.
75720         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75721         $(test-wrapper) to run-iconv-test.sh.
75722         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75723         (ICONV): Use $test_wrapper.
75724         * posix/Makefile ($(objpfx)globtest.out): Pass
75725         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75726         globtest.sh, not $(run-program-prefix).
75727         * posix/globtest.sh (run_via_rtld_prefix): New variable.
75728         (test_wrapper): Likewise.
75729         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
75730         set together with run_via_rtld_prefix.
75731         (run_program_prefix): Define in terms of test_wrapper and
75732         run_via_rtld_prefix.
75734 2012-10-24  Roland McGrath  <roland@hack.frob.com>
75736         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75737         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75738         Targets removed.
75740         [BZ #14743]
75741         * include/time.h: Remove librt_hidden_proto (clock_gettime).
75742         Declare __clock_getres, __clock_gettime, __clock_settime,
75743         __clock_nanosleep, and __clock_getcpuclockid.
75744         * rt/clock_gettime.c: Define __clock_gettime as an alias.
75745         Remove librt_hidden_def (clock_gettime).
75746         * sysdeps/unix/clock_gettime.c: Likewise.
75747         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75748         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75749         * rt/clock_getres.c: Define __clock_getres as an alias.
75750         * sysdeps/posix/clock_getres.c: Likewise.
75751         * rt/clock_settime.c: Define __clock_settime as an alias.
75752         * sysdeps/unix/clock_settime.c: Likewise.
75753         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75754         * sysdeps/unix/clock_nanosleep.c: Likewise.
75755         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75756         * rt/clock-compat.c: New file.
75757         * rt/Makefile (librt-routines): Add clock-compat and move
75758         $(clock-routines) to ...
75759         (routines): ... here, new variable.
75760         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75761         Don't add get_clockfreq here.
75762         * rt/Versions (libc: GLIBC_2.17): New version set.
75763         Add clock_* symbols here.
75764         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
75765         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75766         (GLIBC_2.17): Add clock_* symbols.
75767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75769         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75771         Likewise.
75772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75773         Likewise.
75774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75778         * NEWS: Mention the move.
75780         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75781         Use __open, __read, __close rather than their public counterparts.
75782         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75783         (__get_clockfreq_via_cpuinfo): Likewise.
75784         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75785         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75787         * config.h.in (HAVE_IFUNC): New #undef.
75788         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75789         was successful.
75790         * configure: Regenerated.
75792 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75794         * configure.in: Move READELF check to start of file.
75795         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75796         libc_cv_asm_gnu_indirect_function in the process.
75797         * configure: Regenerated.
75799 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75801         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75802         send the output to /dev/null.
75803         (libc_cv_cc_with_libunwind): Likewise.
75804         (libc_cv_as_noexecstack): Likewise.
75805         * configure: Regenerate.
75807 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75809         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75811         * posix/globtest.sh (TMPDIR): Do not set.
75812         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75813         (testout): Likewise.
75815 2012-10-24  Andreas Jaeger  <aj@suse.de>
75817         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75818         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75819         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75820         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75821         posix_fadvise64, posix_fallocate64.
75823         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75824         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75825         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75826         Likewise.
75827         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75828         Likewise.
75829         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75831         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75832         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75833         <bits/fcntl-linux.h>.
75834         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75836         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75837         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75838         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75839         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75840         [__WORDSIZE != 64]: Likewise.
75842 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75844         * Makeconfig (run-built-tests): New variable.
75845         * Rules [$(cross-compiling) = yes]: Change condition to
75846         [$(run-built-tests) = no].
75847         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75848         to [$(run-built-tests) = yes].
75849         * elf/Makefile [$(cross-compiling) = no]: Likewise.
75850         * grp/Makefile [$(cross-compiling) = no]: Likewise.
75851         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75852         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75853         * intl/Makefile [$(cross-compiling) = no]: Likewise.
75854         * io/Makefile [$(cross-compiling) = no]: Likewise.
75855         * libio/Makefile [$(cross-compiling) = no]: Likewise.
75856         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75857         * misc/Makefile [$(cross-compiling) = no]: Likewise.
75858         * posix/Makefile [$(cross-compiling) = no]: Likewise.
75859         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75860         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75861         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75862         * string/Makefile [$(cross-compiling) = no]: Likewise.
75864         * posix/Makefile ($(objpfx)globtest.out): Pass
75865         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75866         $(rtld-installed-name).
75867         * posix/globtest.sh (elf_objpfx): Remove variable.
75868         (rtld_installed_name): Likewise.
75869         (library_path): Likewise.
75870         (run_program_prefix): New variable.  Use for running globtest
75871         binary.
75873 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
75874             Joseph Myers  <joseph@codesourcery.com>
75876         * Makeconfig (host-built-program-cmd): New variable.
75877         * elf/Makefile (tst-stackguard1-ARGS): Use
75878         $(host-built-program-cmd).
75879         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75880         (tst-spawn-ARGS): Likewise.
75881         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75883 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75884             Jim Blandy  <jimb@codesourcery.com>
75886         * Makeconfig (run-via-rtld-prefix): New variable.
75887         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75888         (built-program-cmd): Likewise.
75890 2012-10-22  Andreas Jaeger  <aj@suse.de>
75892         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75893         __O_RSYNC if it exists, otherwise to O_SYNC.
75895 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
75896             Joseph Myers  <joseph@codesourcery.com>
75898         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75899         /dev/null.
75900         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75901         from /dev/null
75902         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75903         /dev/null.
75905 2012-10-22  Andreas Jaeger  <aj@suse.de>
75907         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75908         Define always.
75909         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75911         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75912         bits/fcntl-linux.h.
75914         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75915         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75917         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75918         to __O_LARGEFILE.
75919         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75920         to __O_LARGEFILE.
75922 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
75923             Joseph Myers  <joseph@codesourcery.com>
75925         * config.make.in (NM): New variable.
75927 2012-10-21  Andreas Jaeger  <aj@suse.de>
75929         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75930         definitions and declarations that are provided by
75931         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75933 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
75935         [BZ #14683]
75936         * elf/Makefile (tests-static): Add tst-leaks1-static.
75937         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75938         ($(objpfx)tst-leaks1-static): New rule.
75939         ($(objpfx)tst-leaks1-static-mem): Likewise.
75940         (tst-leaks1-static-ENV): New macro.
75941         * elf/dl-open.c (dl_open_worker): Check the main application
75942         only if SHARED is defined.
75943         * elf/tst-leaks1-static.c: New file.
75945 2012-10-20  Andreas Jaeger  <aj@suse.de>
75947         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75948         generic values for Linux.
75949         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75950         and declarations that are provided by <bits/fcntl-linux.h> and
75951         include <bits/fcntl-linux.h>.
75952         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75953         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75955 2012-10-20  Roland McGrath  <roland@hack.frob.com>
75957         * io/fcntl.h: Move include of <bits/types.h> to the top and
75958         include it unconditionally.
75960 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
75962         * wcsmbs/Makefile (tests-ifunc): New variable.
75963         (tests): Add $(tests-ifunc).
75964         * wcsmbs/test-wcschr-ifunc.c: New file.
75965         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
75966         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
75967         * wcsmbs/test-wcslen-ifunc.c: Likewise.
75968         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75969         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
75971         * string/Makefile (tests-ifunc): New variable.
75972         (tests): Add $(tests-ifunc).
75973         * string/test-memccpy.c (TEST_NAME): New macro.
75974         * string/test-memchr.c (TEST_NAME): Likewise.
75975         * string/test-memcmp.c (TEST_NAME): Likewise.
75976         * string/test-memcpy.c (TEST_NAME): Likewise.
75977         * string/test-memmem.c (TEST_NAME): Likewise.
75978         * string/test-memmove.c (TEST_NAME): Likewise.
75979         * string/test-memset.c (TEST_NAME): Likewise.
75980         * string/test-rawmemchr.c (TEST_NAME): Likewise.
75981         * string/test-stpcpy.c (TEST_NAME): Likewise.
75982         * string/test-stpncpy.c (TEST_NAME): Likewise.
75983         * string/test-strcasecmp.c (TEST_NAME): Likewise.
75984         * string/test-strcasestr.c (TEST_NAME): Likewise.
75985         * string/test-strcat.c (TEST_NAME): Likewise.
75986         * string/test-strchr.c (TEST_NAME): Likewise.
75987         * string/test-strcmp.c(TEST_NAME): Likewise.
75988         * string/test-strcpy.c (TEST_NAME): Likewise.
75989         * string/test-strcspn.c (TEST_NAME): Likewise.
75990         * string/test-strlen.c (TEST_NAME): Likewise.
75991         * string/test-strncasecmp.c (TEST_NAME): Likewise.
75992         * string/test-strncmp.c (TEST_NAME): Likewise.
75993         * string/test-strncpy.c (TEST_NAME): Likewise.
75994         * string/test-strnlen.c (TEST_NAME): Likewise.
75995         * string/test-strpbrk.c (TEST_NAME): Likewise.
75996         * string/test-strrchr.c (TEST_NAME): Likewise.
75997         * string/test-strspn.c (TEST_NAME): Likewise.
75998         * string/test-strstr.c (TEST_NAME): Likewise.
75999         * string/test-bcopy-ifunc.c: New file.
76000         * string/test-bzero-ifunc.c: Likewise.
76001         * string/test-memccpy-ifunc.c: Likewise.
76002         * string/test-memchr-ifunc.c: Likewise.
76003         * string/test-memcmp-ifunc.c: Likewise.
76004         * string/test-memcpy-ifunc.c: Likewise.
76005         * string/test-memmem-ifunc.c: Likewise.
76006         * string/test-memmove-ifunc.c: Likewise.
76007         * string/test-mempcpy-ifunc.c: Likewise.
76008         * string/test-memset-ifunc.c: Likewise.
76009         * string/test-rawmemchr-ifunc.c: Likewise.
76010         * string/test-stpcpy-ifunc.c: Likewise.
76011         * string/test-stpncpy-ifunc.c: Likewise.
76012         * string/test-strcasecmp-ifunc.c: Likewise.
76013         * string/test-strcasestr-ifunc.c: Likewise.
76014         * string/test-strcat-ifunc.c: Likewise.
76015         * string/test-strchr-ifunc.c: Likewise.
76016         * string/test-strchrnul-ifunc.c: Likewise.
76017         * string/test-strcmp-ifunc.c: Likewise.
76018         * string/test-strcpy-ifunc.c: Likewise.
76019         * string/test-strcspn-ifunc.c: Likewise.
76020         * string/test-strlen-ifunc.c: Likewise.
76021         * string/test-strncasecmp-ifunc.c: Likewise.
76022         * string/test-strncat-ifunc.c: Likewise.
76023         * string/test-strncmp-ifunc.c: Likewise.
76024         * string/test-strncpy-ifunc.c: Likewise.
76025         * string/test-strnlen-ifunc.c: Likewise.
76026         * string/test-strpbrk-ifunc.c: Likewise.
76027         * string/test-strrchr-ifunc.c: Likewise.
76028         * string/test-strspn-ifunc.c: Likewise.
76029         * string/test-strstr-ifunc.c: Likewise.
76031         * debug/Makefile (tests-ifunc): New variable.
76032         (tests): Add $(tests-ifunc).
76033         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
76034         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
76035         * debug/test-stpcpy_chk-ifunc.c: New file.
76036         * debug/test-strcpy_chk-ifunc.c: Likewise.
76038 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
76040         [BZ #13601]
76041         * elf/dl-load.c (open_verify): Retry read if the entire ELF
76042         header is not read in.
76044 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
76046         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
76047         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
76048         directly.  Pass built executable to script as
76049         $(built-program-cmd).
76050         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
76051         $testprogram without using LD_LIBRARY_PATH and $ldso.
76053         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
76054         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
76055         $(rtld-installed-name).
76056         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
76057         (rtld_installed_name): Likewise.
76058         (library_path): Likewise.
76059         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
76060         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
76061         $(run-program-prefix) to tst-tables.sh.
76062         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
76063         it to run tst-table-from and tst-table-to.
76064         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
76065         Pass it to tst-table.sh.
76066         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
76067         $(run-program-prefix) to tst-gettext.sh.
76068         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
76069         tst-translit.sh.
76070         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
76071         tst-gettext2.sh.
76072         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
76073         to run tst-gettext.
76074         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
76075         to run tst-gettext2.
76076         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
76077         to run tst-translit.
76078         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
76079         $(run-program-prefix) to tst-mtrace.sh.
76080         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
76081         to run tst-mtrace.
76082         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
76083         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
76084         $(rtld-installed-name).
76085         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
76086         (rtld_installed_name): Likewise.
76087         (run_program_prefix): New variable.  Use it to run wordexp-test.
76089         * Makeconfig (ARCH): Remove all definitions.
76090         (machine): Likewise.
76091         [ARCH]: Remove conditional code.
76092         [!objdir]: Give error.
76093         [!objdir] (objpfx): Remove.
76094         [!objdir] (common-objpfx): Likewise.
76095         [!objdir] (common-objdir): Likewise.
76096         * configure.in (config_makefile): Remove.  Hardcode Makefile in
76097         AC_CONFIG_FILES call.
76098         * configure: Regenerated.
76100         [BZ #13888]
76101         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
76102         or TMPDIR.
76103         (testout): Likewise.
76105         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
76106         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
76107         $(rtld-installed-name).
76108         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
76109         (rtld_installed_name): Likewise.
76110         (runit): Remove function.
76111         (run_getconf): New variable,  Use it for running getconf binary.
76113 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
76115         [BZ #14716]
76116         * string/test-memmem.c (check_result): New function.
76117         (do_one_test): Use it.
76118         (check1): New function.
76119         (test_main): Use it.
76121 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
76123         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76125 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
76127         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76128         (_G_LSEEK64): Likewise.
76129         (_G_MMAP64): Likewise.
76130         (_G_FSTAT64): Likewise.
76131         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76132         (_G_LSEEK64): Likewise.
76133         (_G_MMAP64): Likewise.
76134         (_G_FSTAT64): Likewise.
76135         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76136         unconditional.  Call __mmap64 directly.
76137         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76138         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
76139         __lseek64 directly.
76140         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76141         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
76142         __mmap64 directly.
76143         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76144         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76145         __lseek64 directly.
76146         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76147         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76148         __lseek64 directly.
76149         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76150         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
76151         __lseek64 directly.
76152         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76153         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
76154         __fxstat64 directly.
76155         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76156         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76157         unconditional.
76158         (freopen64) [!_G_OPEN64]: Remove conditional code.
76159         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76160         unconditional.
76161         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76162         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76163         unconditional.
76164         (ftello64) [!_G_LSEEK64]: Remove conditional code.
76165         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76166         unconditional.
76167         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76168         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76169         unconditional.
76170         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76171         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76172         unconditional.
76173         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76174         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76175         unconditional.
76176         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76177         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76178         unconditional.
76179         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76181 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
76183         [BZ #12140]
76184         * manual/memory.texi (Malloc Tunable Parameters): Add note
76185         about free list pointers overwriting some perturb bytes.
76186         Wording suggested by Roland McGrath.
76188 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
76190         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76191         (lgamma_test): Likewise.
76192         (tgamma_test): Likewise.
76194 2012-10-16  Florian Weimer  <fweimer@redhat.com>
76196         [BZ #14700]
76197         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76198         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76200 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
76202         * NEWS: Mention BZ #14716.
76203         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76204         when removing AVAILABLE1_USES_J macro.
76206 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
76208         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76209         (__bswap_64): __uint64_t for unsigned 64-bit int.
76211 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
76213         * include/string.h (memmem): Declare libc hidden alias.
76214         * string/memmem.c (memmem): Define libc hidden alias.
76215         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76216         __read, __close instead of open, read, close.
76218 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
76220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76221         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76222         global and hidden.
76223         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76224         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76225         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76226         Likewise.
76227         (__rawmemchr_sse2): Likewise.
76228         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76229         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76230         (__strchr_sse2): Likewise.
76231         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76232         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76233         (__strcasecmp_sse2): Likewise.
76234         (__strncasecmp_sse2): Likewise.
76235         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76236         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76237         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76238         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76239         (__strrchr_sse2): Likewise.
76240         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76241         ifunc-impl-list.c.
76242         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76243         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76244         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76245         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76246         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76247         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76248         * sysdeps/x86_64/multiarch/memset.S: Likewise.
76249         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76250         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76251         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76252         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76253         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76254         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76255         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76256         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76257         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76258         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76259         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76260         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76261         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76262         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76263         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76264         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76265         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76266         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76267         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76268         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76269         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76270         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76271         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76273         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76274         global and hidden.
76275         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76276         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76277         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76278         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76279         Likewise.
76280         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76281         Likewise.
76282         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76283         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76284         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76285         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76286         ifunc-impl-list.c.
76287         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76288         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76289         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76290         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76291         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76292         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76293         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76294         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76295         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76296         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76297         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76298         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76299         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76300         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76301         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76302         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76303         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76304         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76305         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76306         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76307         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76308         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76309         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76310         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76311         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76312         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76313         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76314         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76315         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76316         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76317         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76318         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76319         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76320         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76321         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76322         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76323         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76324         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76325         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76326         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76327         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76329         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76330         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76331         * include/ifunc-impl-list.h: New file.
76332         * misc/ifunc-impl-list.c: Likewise.
76333         * misc/Makefile (routines): Add ifunc-impl-list.
76334         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76335         * string/test-string.h: Include <ifunc-impl-list.h>.
76336         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76337         TEST_NAME]: New variables.
76338         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76339         are defined.
76340         (test_init): Call __libc_ifunc_impl_list to initialize
76341         func_list if TEST_IFUNC and TEST_NAME are defined.
76343         * string/Makefile (strop-tests): Add bcopy and bzero.
76344         * string/test-bcopy.c: New file.
76345         * string/test-bzero.c: Likewise.
76346         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76347         defined.
76348         * string/test-memset.c: Support bzero test if TEST_BZERO is
76349         defined.
76350         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76351         __libc_memmove.
76352         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76353         __libc_memset.
76354         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76355         of memset.
76357 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
76359         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76360         * configure: Regenerated.
76362         * Makeconfig (+link-static-before-libc): Don't include
76363         $(link-static-libc).
76365         * libio/libio.h (_IO_pos_t): Remove.
76367 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76369         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
76370         McGrath.
76372 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76374         * crypt/crypt-entry.c: Include fips-private.h.
76375         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76376         * crypt/md5c-test.c (main): Tolerate disabled MD5.
76377         * sysdeps/unix/sysv/linux/fips-private.h: New file.
76378         * sysdeps/generic/fips-private.h: New file, dummy fallback.
76380 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76382         * crypt/crypt-private.h: Include stdbool.h.
76383         (_ufc_setup_salt_r): Return bool.
76384         * crypt/crypt-entry.c: Include errno.h.
76385         (__crypt_r): Return NULL with EINVAL for bad salt.
76386         * crypt/crypt_util.c (bad_for_salt): New.
76387         (_ufc_setup_salt_r): Check that salt is long enough and within
76388         the specified alphabet.
76389         * crypt/badsalttest.c: New file.
76390         * crypt/Makefile (tests): Add it.
76391         ($(objpfx)badsalttest): New.
76393 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
76395         * NEWS: Add entry for BZ #14602.
76397 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76399         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76400         type-generic.
76401         * math/libm-test.inc: Update comment listing what functions and
76402         macros are tested.
76403         (isgreater_test): New function.
76404         (isgreaterequal_test): Likewise.
76405         (isless_test): Likewise.
76406         (islessequal_test): Likewise.
76407         (islessgreater_test): Likewise.
76408         (isunordered_test): Likewise.
76409         (main): Call the new functions.
76411 2012-10-09  Roland McGrath  <roland@hack.frob.com>
76413         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76414         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76415         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76416         * sysdeps/i386/configure: Regenerated.
76417         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76418         * sysdeps/mach/configure: Regenerated.
76419         * sysdeps/mach/hurd/configure: Regenerated.
76420         * sysdeps/powerpc/configure: Regenerated.
76421         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76422         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76423         * sysdeps/s390/s390-32/configure: Regenerated.
76424         * sysdeps/s390/s390-64/configure: Regenerated.
76425         * sysdeps/sh/configure: Regenerated.
76426         * sysdeps/sparc/configure: Regenerated.
76427         * sysdeps/unix/sysv/linux/configure: Regenerated.
76428         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76429         * sysdeps/x86_64/configure: Regenerated.
76431         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76432         defined.  Don't check if MAP is NULL.
76434 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76436         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76437         (_G_stat64): Likewise.
76438         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76439         (_G_stat64): Likewise.
76440         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76441         instead of struct _G_stat64.
76442         * libio/fileops.c (mmap_remap_check): Likewise.
76443         (decide_maybe_mmap): Likewise.
76444         (_IO_new_file_seekoff): Likewise.
76445         (_IO_file_stat): Likewise.
76446         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76447         _G_off64_t.
76448         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76449         instead of struct _G_stat64.
76450         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76452 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
76454         [BZ #14602]
76455         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76456         Replace with ...
76457         (CHECK_EOL): New macro.
76458         (two_way_short_needle): Check beginning of haystack for EOL.  Use
76459         CHECK_EOL.
76460         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76461         Replace with CHECK_EOL.
76462         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76463         Replace with CHECK_EOL.
76465 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
76467         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76468         type-generic.
76469         * math/libm-test.inc: Update comment listing what functions and
76470         macros are tested.
76471         (finite_test): New function.
76472         (isinf_test): Likewise.
76473         (isnan_test): Likewise.
76474         (fpclassify_test): Test subnormal input.
76475         (isfinite_test): Likewise.
76476         (isnormal_test): Likewise.
76477         (main): Call the new functions.
76479 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
76481         [BZ #14660]
76482         * Makerules (%.dynsym): Force C locale when running
76483         $(OBJDUMP) --dynamic-syms.
76485 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
76487         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76488         <stdint.h>.
76490 2012-10-06  David S. Miller  <davem@davemloft.net>
76492         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76493         upper 32-bits of the length value in %o2 since we use branch-on-register
76494         tests which consider the entire 64-bit register.
76496 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
76498         * string/test-strstr.c (check2): Add a test for page boundary.
76500 2012-10-05  David S. Miller  <davem@davemloft.net>
76502         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76503         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76504         file.
76505         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76506         sysdep_routines.
76507         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76508         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76509         and bzero when HWCAP_SPARC_CRYPTO is present.
76511 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
76513         [BZ #14602]
76514         * string/test-strstr.c (check2): New function.
76515         (test_main): Call check2.
76517         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76518         and bug-strchr1.
76519         * string/bug-strcasestr1.c (do_test): Moved to ...
76520         * string/test-strcasestr.c (check1): Here.  New function.
76521         (do_one_test): Break out result checking code into ...
76522         (check_result): This.  New function.
76523         (do_one_test): Call check_result.
76524         (test_main): Call check1.
76525         * string/bug-strchr1.c (do_test): Moved to ...
76526         * string/test-strchr.c (check1): Here.  New function.
76527         (do_one_test): Break out result checking code into ...
76528         (check_result): This.  New function.
76529         (do_one_test): Call check_result.
76530         (test_main): Call check1.
76531         * string/bug-strstr1.c (main): Moved to ...
76532         * string/test-strstr.c (check1): Here.  New function.
76533         (do_one_test): Break out result checking code into ...
76534         (check_result): This.  New function.
76535         (do_one_test): Call check_result.
76536         (test_main): Call check1.
76537         * string/bug-strcasestr1.c: Removed.
76538         * string/bug-strchr1.c: Likewise.
76539         * string/bug-strstr1.c: Likewise.
76541         * elf/Makefile (dl-routines): Add hwcaps.
76542         * elf/dl-support.c (_dl_important_hwcaps): Removed.
76543         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76544         (_dl_important_hwcaps): Moved to ...
76545         * elf/dl-hwcaps.c: Here.  New file.
76546         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76548         [BZ #14557]
76549         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76550         if IS_IN_rtld isn't defined.
76552         * elf/dl-support.c (_dl_sysinfo_map): New.
76553         Include "get-dynamic-info.h" and "setup-vdso.h".
76554         (_dl_non_dynamic_init): Call setup_vdso.
76555         * elf/dynamic-link.h: Don't include <assert.h>.
76556         (elf_get_dynamic_info): Moved to ...
76557         * elf/get-dynamic-info.h: Here.  New file.
76558         * elf/dynamic-link.h: Include "get-dynamic-info.h".
76559         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76560         * elf/setup-vdso.h: Here.  New file.
76561         * elf/rtld.c: Include "setup-vdso.h".
76562         (dl_main): Call setup_vdso.
76564 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
76566         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76567         creal in comment listing functions tested.  List finite, isinf,
76568         isnan, isless, islessequal, isgreater, isgreaterequal,
76569         islessgreater, isunordered, lgamma_r and pow10 as functions and
76570         macros not tested.  Mention which functions not tested are aliases
76571         for other functions.  Fix typo.  Note that signs of NaNs are not
76572         tested.
76574         * scripts/config.guess: Update from config.git.
76575         * scripts/config.sub: Likewise.
76577 2012-10-04  Roland McGrath  <roland@hack.frob.com>
76579         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76580         * misc/madvise.c (madvise): Renamed to __madvise.
76581         Make madvise a weak alias.
76582         * include/sys/mman.h: Declare __madvise.
76583         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76584         * sysdeps/unix/syscalls.list
76585         (madvise): Make __madvise the strong name, and madvise a weak alias.
76586         * sysdeps/unix/sysv/linux/syscalls.list
76587         (madvise, mmap): Remove redundant entries.
76588         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76589         * malloc/malloc.c (mtrim): Likewise.
76590         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76592 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76594         * sysdeps/mach/hurd/dl-cache.c: File removed.
76595         * config.h.in (USE_LDCONFIG): New #undef.
76596         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76597         * configure: Regenerated.
76598         * elf/Makefile (dl-routines): Add dl-cache only under
76599         [$(use-ldconfig) = yes].
76600         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76601         cache on [USE_LDCONFIG].
76602         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76603         [USE_LDCONFIG].
76604         * elf/rtld.c (dl_main): Likewise.
76606 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
76608         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76609         _SC_LEVEL4_CACHE_LINESIZE.
76611 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76613         * sysdeps/unix/bsd/confstr.h: File removed.
76615 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
76617         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76618         sys/sdt-config.h.
76620 2012-10-02  Roland McGrath  <roland@hack.frob.com>
76622         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76623         Make 'mapoff' field ElfW(Off) rather than off_t.
76625 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
76627         * nscd/Makefile: Remove nscd-cflags and all its users.
76628         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76629         (CFLAGS-nonlib): Add compiler flags for nscd modules.
76631         [BZ #10631]
76632         * malloc.c (malloc_printerr): Clarify error message.
76634 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
76636         [BZ #14648]
76637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76638         Set bit_FMA_Usable if FMA is supported.
76639         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76640         macro.
76641         (bit_FMA4_Usable): Updated.
76642         (index_FMA_Usable): New macro.
76643         (CPUID_FMA): Likewise.
76644         (HAS_FMA): Defined with bit_FMA_Usable.
76646 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76648         * bits/types.h (__swblk_t): Type removed.
76649         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76650         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76651         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76652         (__SWBLK_T_TYPE): Likewise.
76653         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76654         (__SWBLK_T_TYPE): Likewise.
76655         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76656         (__SWBLK_T_TYPE): Likewise.
76657         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76658         (__SWBLK_T_TYPE): Likewise.
76660 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
76661             Honza Horak <hhorak@redhat.com>
76663         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76664         (xdr_mapname): Use YPMAXMAP as maxsize.
76665         (xdr_peername): Use YPMAXPEER as maxsize.
76666         (xdr_keydat): Use YPAXRECORD as maxsize.
76667         (xdr_valdat): Use YPMAXRECORD as maxsize.
76669 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76671         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76673         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76674         * csu/init-first.c: ... here.
76675         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76676         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76677         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76678         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76679         * sysdeps/i386/init-first.c: File removed.
76680         * sysdeps/sh/init-first.c: File removed.
76682 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
76684         [BZ #14645]
76685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76686         if x * y might underflow to zero and z is zero.
76687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76688         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76689         * math/libm-test.inc (min_subnorm_value): New variable.
76690         (fma_test): Add more tests.
76691         (fma_test_towardzero): Likewise.
76692         (fma_test_downward): Likewise.
76693         (fma_test_upward): Likewise.
76694         (initialize): Set min_subnorm_value.
76696 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
76698         [BZ #14638]
76699         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76700         0 + 0.
76701         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76702         mode for addition resulting in exact zero.
76703         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76704         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76705         exact 0 + 0.
76706         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76707         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76708         * math/libm-test.inc (fma_test): Add more tests.
76709         (fma_test_towardzero): New function.
76710         (fma_test_downward): Likewise.
76711         (fma_test_upward): Likewise.
76712         (main): Call the new functions.
76714 2012-09-28  David S. Miller  <davem@davemloft.net>
76716         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76718 2012-09-28  Roland McGrath  <roland@hack.frob.com>
76720         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76721         instead of SIGALRM.
76723         * sysdeps/gnu/_G_config.h: Moved to ...
76724         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76725         * sysdeps/mach/hurd/_G_config.h: Moved to ...
76726         * sysdeps/generic/_G_config.h: ... here.
76728         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
76730         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76732         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76733         Conditionalize target on [libnss_test1.so-version].
76735         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76737         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76738         (elfobjdir): Move out of conditionals.
76740         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76741         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76742         (__nss_lookup_function): Conditionalize label remove_from_tree on
76743         [!DO_STATIC_NSS || SHARED], matching its only use.
76745 2012-09-28  David S. Miller  <davem@davemloft.net>
76747         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76748         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76749         file.
76750         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76751         sysdep_routines.
76752         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76753         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76754         when HWCAP_SPARC_CRYPTO is present.
76756 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76758         * io/tst-mknodat.c: Create a FIFO instead of a socket.
76760 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
76762         [BZ #6530]
76763         * stdio-common/vfprintf.c (process_string_arg): Revert
76764         2000-07-22 change.
76766 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
76768         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76769         for testcase.
76770         * stdio-common/tst-sprintf.c: Include <locale.h>
76771         (main): Test sprintf's handling of incomplete multibyte
76772         characters.
76774 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
76776         * elf/dl-runtime.c (VERSYMIDX): Removed.
76777         * elf/dl-version.c (VERSYMIDX): Likewise.
76778         * elf/do-rel.h (VERSYMIDX): Likewise.
76779         (VALIDX): Likewise.
76780         * elf/dynamic-link.h (VERSYMIDX): Likewise.
76781         * elf/rtld.c (VALIDX): Likewise.
76782         (ADDRIDX): Likewise.
76783         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76784         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76785         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76786         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76787         (VALIDX): Likewise.
76788         (ADDRIDX): Likewise.
76790 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76792         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76794 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
76796         [BZ #11438]
76797         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76798         to global scope.
76799         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76800         addresses are in the same scope as 192.0.2/24.
76801         * posix/gai.conf: Document new scope table defaults.
76803 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76805         [BZ #5298]
76806         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76807         for ftell.  Compute offsets from write pointers instead.
76808         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76810 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76812         [BZ #14543]
76813         * libio/Makefile (tests): New test case tst-fseek.
76814         * libio/tst-fseek.c: New test case to verify that fseek/ftell
76815         combination works in wide mode.
76816         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76817         state when the external buffer state changes.
76819 2012-09-27  David S. Miller  <davem@davemloft.net>
76821         [BZ #14376]
76822         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76823         pass reloc->r_addend in as the 'high' argument to
76824         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76828 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76830         * rt/tst-aio2.c: Include <pthread.h>.
76831         * rt/tst-aio3.c: Likewise.
76833 2012-09-27  Steve Ellcey  <sellcey@mips.com>
76835         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76837 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
76839         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76840         contents on [SHARED].
76842 2012-09-26  Marek Polacek  <polacek@redhat.com>
76844         [BZ #14530]
76845         [BZ #13741]
76846         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76847         for C++ and GCC <4.3 as well as for non GCC compilers.
76849 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
76851         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76853 2012-09-25  Roland McGrath  <roland@hack.frob.com>
76855         * Makefile.in (all, install): Declare with .PHONY.
76856         Reported by Michael Hope <michael.hope@linaro.org>.
76858 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76860         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76861         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76862         system header.
76863         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76864         Likewise.
76865         (sydep_routines): Add the new and the internal functions.
76866         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76867         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76869         (GLIBC_2.17): Add the new function.
76870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76871         (GLIBC_2.17): Likewise.
76872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76873         (GLIBC_2.17): Likewise.
76874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76875         (GLIBC_2.17): Likewise.
76876         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76878 2012-09-25  Alan Modra  <amodra@gmail.com>
76880         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76881         Add release barrier before setting once_control to say
76882         initialisation is done.  Add hints on lwarx.  Use macro in
76883         place of isync.
76884         (clear_once_control): Add release barrier.
76886 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
76888         [BZ #13629]
76889         * math/s_clog.c (__clog): Handle more values close to |z| = 1
76890         specially.
76891         * math/s_clog10.c (__clog10): Likewise.
76892         * math/s_clog10f.c (__clog10f): Likewise.
76893         * math/s_clog10l.c (__clog10l): Likewise.
76894         * math/s_clogf.c (__clogf): Likewise.
76895         * math/s_clogl.c (__clogl): Likewise.
76896         * math/Makefile (libm-calls): Add x2y2m1.
76897         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76898         (__x2y2m1): Likewise.
76899         (__x2y2m1l): Likewise.
76900         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76901         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76902         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76903         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76904         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76905         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76906         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76907         * sysdeps/i386/fpu/libm-test-ulps: Update.
76908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76910         [BZ #14621]
76911         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76912         int as type of variable DEPTH.
76913         (glob): Use size_t instead of int as type of variables NEWCOUNT
76914         and OLD_PATHC.
76916 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76918         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76919         Add s_sincosf-sse2.
76920         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76921         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76922         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76923         macros for using routine as __sincosf_ia32.
76924         Use macro for function declaration and weak_alias.
76925         * sysdeps/i386/fpu/libm-test-ulps: Update.
76927         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76930         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76931         subnormal argument.
76932         * math/s_cexpf.c (__cexpf): Likewise.
76933         * math/s_csinf.c (__csinf): Likewise.
76934         * math/s_csinhf.c (__csinhf): Likewise.
76935         * math/s_ctanf.c (__ctanf): Likewise.
76936         * math/s_ctanhf.c (__ctanhf): Likewise.
76937         * math/s_ccosh.c (__ccoshf): Likewise.
76938         * math/s_cexp.c (__cexpl): Likewise.
76939         * math/s_csin.c (__csin): Likewise.
76940         * math/s_csinh.c (__csinh): Likewise.
76941         * math/s_ctan.c (__ctan): Likewise.
76942         * math/s_ctanh.c (ctanh): Likewise.
76943         * math/s_ccoshl.c (__ccoshl): Likewise.
76944         * math/s_cexpl.c (__cexpl): Likewise.
76945         * math/s_csinl.c (__csinl): Likewise.
76946         * math/s_csinhl.c (__csinhl): Likewise.
76947         * math/s_ctanl.c (__ctanl): Likewise.
76948         * math/s_ctanhl.c (__ctanhl): Likewise.
76950 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
76952         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76953         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76954         (_IO_off_t): Define to __off_t, not _G_off_t.
76955         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76956         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76957         (_IO_wint_t): Define to wint_t, not _G_wint_t.
76958         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
76959         type of __dummy and __dummy2 fields.
76960         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76961         (_G_ssize_t): Likewise.
76962         (_G_off_t): Likewise.
76963         (_G_pid_t): Likewise.
76964         (_G_uid_t): Likewise.
76965         (_G_wchar_t): Likewise.
76966         (_G_wint_t): Likewise.
76967         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
76968         (_G_ssize_t): Likewise.
76969         (_G_off_t): Likewise.
76970         (_G_pid_t): Likewise.
76971         (_G_uid_t): Likewise.
76972         (_G_wchar_t): Likewise.
76973         (_G_wint_t): Likewise.
76974         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
76975         (_G_ssize_t): Likewise.
76976         (_G_off_t): Likewise.
76977         (_G_pid_t): Likewise.
76978         (_G_uid_t): Likewise.
76979         (_G_wchar_t): Likewise.
76980         (_G_wint_t): Likewise.
76982 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76984         * malloc/arena.c: Include malloc-sysdep.h.
76985         (shrink_heap): Use check_may_shrink_heap to decide if madvise
76986         is sufficient to shrink the heap or an unmap is needed.
76987         * sysdeps/generic/malloc-sysdep.h: New file.  Define
76988         new function check_may_shrink_heap.
76989         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
76990         new function check_may_shrink_heap.
76992 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76994         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
76995         comments.
76997 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
76999         * catgets/test-gencat.sh: Add "set -e".
77000         * elf/tst-pathopt.sh: Likewise.
77001         * grp/tst_fgetgrent.sh: Likewise.
77002         * iconvdata/run-iconv-test.sh: Likewise.
77003         * intl/tst-gettext.sh: Likewise.
77004         * intl/tst-gettext2.sh: Likewise.
77005         * intl/tst-gettext4.sh: Likewise.
77006         * intl/tst-gettext6.sh: Likewise.
77007         * intl/tst-translit.sh: Likewise.
77008         * io/ftwtest-sh: Likewise.
77009         * libio/test-freopen.sh: Likewise.
77010         * malloc/tst-mtrace.sh: Likewise.
77011         * posix/globtest.sh: Likewise.
77012         * posix/tst-getconf.sh: Likewise.
77013         * posix/wordexp-tst.sh: Likewise.
77014         * stdio-common/tst-printf.sh: Likewise.
77015         * stdio-common/tst-unbputc.sh: Likewise.
77016         * stdlib/tst-fmtmsg.sh: Likewise.
77017         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77018         * catgets/Makefile: Do not specify -e option when running
77019         testsuite shell scripts.
77020         * elf/Makefile: Likewise.
77021         * grp/Makefile: Likewise.
77022         * iconvdata/Makefile: Likewise.
77023         * intl/Makefile: Likewise.
77024         * io/Makefile: Likewise.
77025         * libio/Makefile: Likewise.
77026         * malloc/Makefile: Likewise.
77027         * posix/Makefile: Likewise.
77028         * stdio-common/Makefile: Likewise.
77029         * stdlib/Makefile: Likewise.
77030         * sysdeps/x86_64/Makefile: Likewise.
77032         * io/ftwtest-sh: Add copyright header.
77033         * posix/globtest.sh: Likewise.
77034         * posix/tst-getconf.sh: Likewise.
77035         * posix/wordexp-tst.sh: Likewise.
77036         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77038 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
77040         [BZ #13679]
77041         * Makeconfig (+link): Defined as $(+link-static) if
77042         $(build-shared) isn't yes.
77043         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
77044         isn't yes.
77045         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
77047         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
77049         [BZ #14562]
77050         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
77051         new chunk size with MALLOC_ALIGN_MASK.
77053 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
77055         [BZ #5044]
77056         * stdio-common/printf_fphex.c: Include <stdbool.h> and
77057         <rounding-mode.h>.
77058         (__printf_fphex): Determine rounding using get_rounding_mode and
77059         round_away.
77060         * stdio-common/tst-printf-round.c (struct hex_test): New
77061         structure.
77062         (hex_tests): New variable.
77063         (test_hex_in_one_mode): New function.
77064         (do_test): Also run tests for hex float output.
77066 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
77068         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77069         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77070         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
77071         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77072         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77073         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
77074         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77075         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77077 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
77079         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
77080         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
77081         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
77082         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
77084 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
77086         [BZ #14579]
77087         * elf/rtld.c (dl_main): Limit the check for self loading to normal
77088         mode only.
77089         * elf/tst-rtld-load-self.sh: New test.
77090         * elf/Makefile: Run it.
77092 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
77094         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
77095         (tst-writev-ENV): Remove.
77096         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
77098 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
77100         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
77102 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
77104         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
77105         unconditional.
77106         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
77107         Likewise.
77108         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
77109         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
77110         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
77111         Likewise.
77113 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
77115         [BZ #14587]
77116         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77117         * config.make.in (have-cpp-asm-debuginfo): Removed.
77118         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77119         * configure: Regenerated.
77121 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
77123         [BZ #5044]
77124         * stdio-common/printf_fp.c: Include <stdbool.h> and
77125         <rounding-mode.h>.
77126         (___printf_fp): Determine rounding using get_rounding_mode and
77127         round_away.
77128         * stdio-common/tst-printf-round.c: New file.
77129         * stdio-common/Makefile (tests): Add tst-printf-round.
77130         (link-libm): New variable.
77131         ($(objpfx)tst-printf-round): Depend in $(link-libm).
77133 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
77135         [BZ #14576]
77136         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77137         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77138         Likewise.
77139         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77140         Likewise.
77142 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
77144         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77145         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77146         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77147         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77149 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
77151         [BZ #14518]
77152         * include/rounding-mode.h: New file.
77153         * sysdeps/generic/get-rounding-mode.h: Likewise.
77154         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77155         * stdlib/strtod_l.c: Include <rounding-mode.h>.
77156         (MAX_VALUE): New macro.
77157         (MIN_VALUE): Likewise.
77158         (overflow_value): New function.
77159         (underflow_value): Likewise.
77160         (round_and_return): Use overflow_value and underflow_value to
77161         determine return values in overflow and underflow cases.  Use
77162         round_away to determine rounding depending on rounding mode.
77163         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77164         determine return values in overflow and underflow cases.
77165         * stdlib/tst-strtod-round.c: Include <fenv.h>.
77166         (struct test_results): New structure.
77167         (struct test): Use struct test_results to store expected results
77168         for all rounding modes.
77169         (TEST): Include expected results for all rounding modes.
77170         (test_in_one_mode): New function.
77171         (do_test): Use test_in_one_mode to compute and check results.
77172         Check results for all rounding modes.
77173         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77174         $(link-libm).
77176 2012-12-09  Allan McRae  <allan@archlinux.org>
77178         * sysdeps/i386/fpu/libm-test-ulps: Update
77180 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
77182         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77183         (_G_int32_t): Likewise.
77184         (_G_uint16_t): Likewise.
77185         (_G_uint32_t): Likewise.
77186         (_G_HAVE_BOOL): Likewise.
77187         (_G_HAVE_ATEXIT): Likewise.
77188         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77189         (_G_HAVE_IO_FILE_OPEN): Likewise.
77190         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77191         (_G_int32_t): Likewise.
77192         (_G_uint16_t): Likewise.
77193         (_G_uint32_t): Likewise.
77194         (_G_HAVE_BOOL): Likewise.
77195         (_G_HAVE_ATEXIT): Likewise.
77196         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77197         (_G_HAVE_IO_FILE_OPEN): Likewise.
77198         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77199         (_G_int32_t): Likewise.
77200         (_G_uint16_t): Likewise.
77201         (_G_uint32_t): Likewise.
77202         (_G_HAVE_BOOL): Likewise.
77203         (_G_HAVE_ATEXIT): Likewise.
77204         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77205         (_G_HAVE_IO_FILE_OPEN): Likewise.
77207 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
77209         * csu/libc-tls.c: Update copyright years.
77211 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
77213         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77214         [!_G_USING_THUNKS]: Remove conditional code.
77215         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77216         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77218         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77219         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77220         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77221         (_G_VTABLE_LABEL_PREFIX): Likewise.
77222         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77223         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77224         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77225         (_G_VTABLE_LABEL_PREFIX): Likewise.
77226         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77227         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77228         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77229         (_G_VTABLE_LABEL_PREFIX): Likewise.
77230         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77232 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
77234         * libio/Makefile: Include ../Makeconfig before tests.
77235         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77236         only if $(build-shared) is yes.
77238         * iconv/gconv_db.c: Update copyright years.
77240 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77242         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77243         unwind info if defined PIC. Fix special cases description.
77244         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77246         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77247         DP_HI_MASK entry.
77248         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77250 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
77252         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77254         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77255         is NULL.
77257         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77258         (LDLIBS-tst-chk4): This.
77259         (LDFLAGS-tst-chk5): Renamed to ...
77260         (LDLIBS-tst-chk5): This.
77261         (LDFLAGS-tst-chk6): Renamed to ...
77262         (LDLIBS-tst-chk6): This.
77263         (LDFLAGS-tst-lfschk4): Renamed to ...
77264         (LDLIBS-tst-lfschk4): This.
77265         (LDFLAGS-tst-lfschk5): Renamed to ...
77266         (LDLIBS-tst-lfschk5): This.
77267         (LDFLAGS-tst-lfschk6): Renamed to ...
77268         (LDLIBS-tst-lfschk6): This.
77270         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77271         on $(common-objpfx)soversions.mk.
77273 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
77275         [BZ #10014]
77276         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77277         example host name.
77279 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
77281         * malloc/arena.c (arena_get_retry): New function that gets
77282         another arena for the caller to try its request on.
77283         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77284         current arena cannot fulfill the request.
77285         (__libc_memalign): Likewise.
77286         (__libc_memalign): Likewise.
77287         (__libc_pvalloc): Likewise.
77288         (__libc_calloc): Likewise.
77290 2012-09-05  John Tobey  <john.tobey@gmail.com>
77292         [BZ #13542]
77293         * manual/arith.texi (Operations on Complex): Fix description
77294         of carg branch cut.
77296 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77298         [BZ #10014]
77299         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77300         host name.
77302         [BZ #10038]
77303         * manual/memory.texi (Memory): Make order of menu items match
77304         order of sections.
77306 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77308         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77309         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
77310         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77312 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77314         * csu/libc-tls.c (static_dtv): Renamed to ...
77315         (_dl_static_dtv): This.  Make it global.
77316         (_dl_initial_dtv): Removed.
77317         (__libc_setup_tls): Updated.
77318         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77319         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77320         DL_INITIAL_DTV.
77322 2012-09-06  Petr Machata  <pmachata@redhat.com>
77324         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77325         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77326         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77327         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77329 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77331         [BZ #14545]
77332         * csu/libc-tls.c (_dl_initial_dtv): New variable.
77333         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77334         freeing dtv[-1].
77336 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77338         [BZ #14544]
77339         * Makeconfig (link-static-before-libc): Replace $(+prector)
77340         with $(+prectorT).
77341         (link-static-after-libc): Replace $(+postctor) with
77342         $(+postctorT).
77343         (link-bounded): Replace $(+prector)/$(+postctor) with
77344         $(+prectorT)/$(+postctorT).
77345         (+prectorT): New macro.
77346         (+postctorT): Likewise.
77348 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77350         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77351         (round_str): Handle values above the maximum for IBM long double
77352         as inexact.
77353         * stdlib/tst-strtod-round.c (tests): Regenerated.
77355 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77357         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77358         assembler flag.
77359         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77360         zarch_nohighgprs around the zarch optimized routines.
77361         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77362         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77363         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77364         for zarch.
77366 2012-09-05  David S. Miller  <davem@davemloft.net>
77368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77370         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77371         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77372         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77373         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77374         entries.
77376 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77378         * malloc/arena.c: Fold copyright years.
77379         * malloc/mcheck.c, malloc/memusage.c: Likewise.
77381 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77383         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77385 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77387         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
77389 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77391         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77392         change internal state upon failure.
77394 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77396         * malloc/mcheck.c (mcheck_check_all): Fix typo.
77397         * malloc/memusage.c (mmap): Likewise.
77398         (mmap64, mremap): Likewise.  Adjust name in comment.
77400 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77402         * libio/fileops.c: Fix typos in comments.
77403         * libio/oldfileops.c: Likewise.
77404         * libio/wfileops.c: Likewise.
77406 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77408         [BZ #1349]
77409         * malloc/Makefile (tests): Add tst-malloc-usable test case.
77410         (tst-malloc-usable-ENV): Set environment for test case.
77411         * malloc/hooks.c (malloc_check_get_size): New function to get
77412         requested size.
77413         * malloc/malloc.c (musable): Use malloc_check_get_size.
77414         * malloc/tst-malloc-usable.c: New test case.
77416 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77418         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77420 2012-09-05  Allan McRae  <allan@archlinux.org>
77422         [BZ #13966]
77423         * configure.in (CXX_SYSINCLUDES): Use compiler output to
77424         determine header location.
77425         * configure: Regenerated.
77427 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77429         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77430         float format.
77431         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77432         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77433         format.
77434         (test): Regenerate.
77436 2012-09-04  David S. Miller  <davem@davemloft.net>
77438         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77439         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77440         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77442 2012-09-04  Florian Weimer  <fweimer@redhat.com>
77444         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77445         failures.
77447         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77449 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
77451         [BZ #9914]
77452         * libio/iogetdelim.c: Include <limits.h>.
77453         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77454         + len + 1 would overflow.
77456 2012-09-03  Andreas Jaeger  <aj@suse.de>
77458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77459         * sysdeps/i386/fpu/libm-test-ulps: Update.
77461 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77463         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77464         Add s_sinf-sse2, s_conf-sse2.
77466         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77467         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77468         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77469         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77471         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77472         for using routine as __sinf_ia32.
77473         Use macro for function declaration and weak_alias.
77474         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77475         for using routine as __cosf_ia32.
77476         Use macro for function declaration and weak_alias.
77478         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77479         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77481         * sysdeps/x86_64/fpu/s_sinf.S: New file.
77482         * sysdeps/x86_64/fpu/s_cosf.S: New file.
77483         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77485         * math/libm-test.inc (cos_test): Add more test cases.
77486         (sin_test): Likewise.
77487         (sincos_test): Likewise.
77489 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77491         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77492         (IFUNC_RESOLVE): Make pointers to the specialized implementations
77493         hidden.
77494         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77496 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
77498         [BZ #14538]
77499         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77500         first element of the GOT.
77501         (elf_machine_load_address): Return the difference between
77502         the runtime address of _DYNAMIC and elf_machine_dynamic ().
77504 2012-09-01  Allan McRae  <allan@archlinux.org>
77506         [BZ #13412]
77507         * configure.in (AWK): Require gawk version 3.0 or later.
77508         * configure: Regenerated.
77510 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
77512         * sysdeps/unix/sysv/linux/kernel-features.h
77513         (__ASSUME_POSIX_CPU_TIMERS): Remove.
77514         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77515         [__NR_clock_getres]: Make code unconditional.
77516         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77517         (clock_getcpuclockid): Remove code left unreachable by removal of
77518         conditionals.
77519         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77520         code unconditional.
77521         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77522         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77523         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77524         Make code unconditional.
77525         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77526         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77527         * sysdeps/unix/sysv/linux/clock_settime.c
77528         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77529         conditional code.
77530         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77531         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77533 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
77535         [BZ #14476]
77536         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77537         scripts/test-installation.pl.
77539         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77540         and $ld_so_version if it is set.
77542 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
77544         [BZ #14516]
77545         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77546         failure if reading from procfs failed.
77547         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77549 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77551         * sysdeps/unix/sysv/linux/kernel-features.h
77552         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77553         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77554         Remove conditional code.
77555         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77556         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77557         Remove conditional code.
77558         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77559         * sysdeps/unix/sysv/linux/i386/fxstat.c
77560         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77561         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77562         * sysdeps/unix/sysv/linux/i386/fxstatat.c
77563         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77564         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77565         * sysdeps/unix/sysv/linux/i386/lxstat.c
77566         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77567         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77568         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77569         Remove conditional code.
77570         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77571         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77572         Remove conditional code.
77573         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77574         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77575         <kernel-features.h>.
77576         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77577         Remove.
77578         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77579         Remove conditional code.
77580         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77581         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77582         Remove conditional.
77584 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
77586         [BZ #5400]
77587         * NEWS: Add fixed bug number.
77589 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77591         [BZ #14519]
77592         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77593         underflowing exponent in case of negative sign.
77594         * stdlib/tst-strtod-round-data: Add more tests.
77595         * stdlib/tst-strtod-round.c (tests): Regenerated.
77597         [BZ #3479]
77598         * stdlib/strtod_l.c (NDIG): Remove.
77599         (HEXNDIG): Likewise.
77600         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77601         smallest representable value.
77602         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77603         lie within an exact representation of 1/2 ulp of the result.
77604         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77605         unconditionally.
77606         (TENS_P9_IDX): Define unconditionally.
77607         (TENS_P9_SIZE): Likewise.
77608         (TENS_P10_IDX): Likewise.
77609         (TENS_P10_SIZE): Likewise.
77610         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77611         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77612         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77613         entries for 10^2^13 and 10^2^14.
77614         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77615         (TENS_P13_IDX): Define.
77616         (TENS_P13_SIZE): Likewise.
77617         (TENS_P14_IDX): Likewise.
77618         (TENS_P14_SIZE): Likewise.
77619         (_fpioconst_pow10): Change array size to
77620         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
77621         unconditional.
77622         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77623         1024]: Add entries for 10^2^13 and 10^2^14.
77624         [LAST_POW10 > _LAST_POW10]: Remove #error.
77625         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77626         (_fpioconst_pow10): Change array size to
77627         FPIOCONST_POW10_ARRAY_SIZE.
77628         * stdlib/gen-fpioconst.c: New file.
77629         * stdlib/gen-tst-strtod-round.c: Likewise.
77630         * stdlib/tst-strtod-round-data: Likewise.
77631         * stdlib/tst-strtod-round.c: Likewise.
77632         * stdlib/Makefile (tests): Add tst-strtod-round.
77634         [BZ #14459]
77635         * stdlib/strtod_l.c: Include <stdint.h>.
77636         (NDEBUG): Do not define.
77637         (round_and_return): Change EXPONENT parameter to type intmax_t.
77638         Rearrange calculations to avoid internal overflow possibilities.
77639         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77640         Rearrange calculations to avoid internal overflow possibilities.
77641         Assert that number fits inside MPNSIZE limbs.
77642         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77643         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
77644         calculations and add assertions to avoid internal overflow
77645         possibilities.  Add casts to avoid signed/unsigned operations.
77646         * stdlib/tst-strtod-overflow.c: New file.
77647         * stdlib/Makefile (tests): Add tst-strtod-overflow.
77649 2012-08-25  Marek Polacek  <polacek@redhat.com>
77651         * time/time.h: Fix some typos in comments.
77653 2012-08-23  Roland McGrath  <roland@hack.frob.com>
77655         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77656         * posix/tst-rfc3484-2.c: Likewise.
77657         * posix/tst-rfc3484-3.c: Likewise.
77659 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
77661         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77662         (EF_ARM_ABI_FLOAT_HARD): Likewise.
77664 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
77666         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77667         #include of fxstatat64.c.
77669 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77671         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77672         * shadow/getspent_r.c: Likewise.
77673         * shadow/getspnam.c: Likewise.
77674         * shadow/getspnam_r.c: Likewise.
77675         * gshadow/getsgent.c: Likewise.
77676         * gshadow/getsgent_r.c: Likewise.
77677         * gshadow/getsgnam.c: Likewise.
77678         * gshadow/getsgnam_r.c: Likewise.
77679         * inet/getnetbyad.c: Likewise.
77680         * inet/getnetbyad_r.c: Likewise.
77681         * inet/getnetbynm.c: Likewise.
77682         * inet/getnetbynm_r.c: Likewise.
77683         * inet/getnetent.c: Likewise.
77684         * inet/getnetent_r.c: Likewise.
77685         * inet/getproto.c: Likewise.
77686         * inet/getproto_r.c: Likewise.
77687         * inet/getprtent.c: Likewise.
77688         * inet/getprtent_r.c: Likewise.
77689         * inet/getprtname.c: Likewise.
77690         * inet/getprtname_r.c: Likewise.
77691         * inet/getrpcbyname.c: Likewise.
77692         * inet/getrpcbyname_r.c: Likewise.
77693         * inet/getrpcbynumber.c: Likewise.
77694         * inet/getrpcbynumber_r.c: Likewise.
77695         * inet/getrpcent.c: Likewise.
77696         * inet/getrpcent_r.c: Likewise.
77697         * inet/getaliasent.c: Likewise.
77698         * inet/getaliasent_r.c: Likewise.
77699         * inet/getaliasname.c: Likewise.
77700         * inet/getaliasname_r.c: Likewise.
77701         * nscd/getgrgid_r.c: Likewise.
77702         * nscd/getgrnam_r.c: Likewise.
77703         * nscd/gethstbyad_r.c: Likewise.
77704         * nscd/gethstbynm3_r.c: Likewise.
77705         * nscd/getpwnam_r.c: Likewise.
77706         * nscd/getpwuid_r.c: Likewise.
77707         * nscd/getsrvbynm_r.c: Likewise.
77708         * nscd/getsrvbypt_r.c: Likewise.
77709         * nscd/gai.c: Likewise.
77711         * configure.in (build_nscd): New substituted variable, set
77712         by --disable-build-nscd and defaults to $use_nscd.
77713         * configure: Regenerated.
77714         * config.make.in (build-nscd): New substituted variable.
77715         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77716         Change conditional to require [$(build-nscd) = yes] as well.
77717         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77719         [BZ #13696]
77720         * configure.in (use_nscd): New substituted variable, set by
77721         --disable-nscd.  If enabled, define USE_NSCD.
77722         * configure: Regenerated.
77723         * config.h.in: Add USE_NSCD.
77724         * config.make.in (use-nscd): New substituted variable.
77725         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77726         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77727         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77728         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77729         (CFLAGS-getgrnam_r.c): Likewise.
77730         (CFLAGS-initgroups.c): Likewise.
77731         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77732         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77733         Variables removed.
77734         * inet/getnetgrent_r.c
77735         (nscd_setnetgrent): New function, broken out of ...
77736         (setnetgrent): ... here.  Call it.
77737         (innetgr): Conditionalize nscd bits on [USE_NSCD].
77738         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77739         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77740         * nscd/Makefile (routines, aux): Move definitions after include of
77741         Makeconfig.  Conditionalize on [$(use-nscd) != no].
77742         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77743         Conditionalize on [USE_NSCD].
77744         (is_nscd, nscd_init_cb): Likewise.
77745         (nss_load_library): Conditionalize init callback on [USE_NSCD].
77746         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77747         * nss/nss_db/db-init.c: Likewise.
77748         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77749         [USE_NSCD].
77750         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77751         (make_request): Use it.
77752         (cache_valid_p): New function.
77753         (__check_pf): Use it.
77754         * NEWS: Add item for --disable-nscd.
77756 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
77758         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77759         to support sed >= 4.2.1-20-ga9bf076.
77760         * configure: Regenerated.
77762 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77764         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77765         Conditionalize whole body on [IREL].
77767 2012-08-22  Jeff Law <law@redhat.com>
77769         [BZ #14505]
77770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77771         if the family is PF_UNSPEC.
77773 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
77775         * Makerules (lib-version): Rename from V.
77776         (install-lib-nosubdir): Change V to lib-version.
77778 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
77780         [BZ #14252]
77781         * powerpc32/power6/wcschr.c: New file.
77782         * powerpc32/power6/wcscpy.c: New file.
77783         * powerpc32/power6/wcsrchr.c: New file.
77784         * powerpc64/power6/wcschr.c: New file.
77785         * powerpc64/power6/wcscpy.c: New file.
77786         * powerpc64/power6/wcsrchr.c: New file.
77788 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77790         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77791         (two_way_short_needle): Use it.
77792         * string/strstr.c (AVAILABLE1_USES_J): Define.
77793         * string/strcasestr.c: Likewise.
77795         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77796         array references.
77797         * string/strcasestr.c (TOLOWER): Make side-effect safe.
77799         [BZ #11607]
77800         * NEWS: Add an entry.
77801         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77802         define their defaults.
77803         (two_way_short_needle): Detect end-of-string on-the-fly.
77804         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77805         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77806         * string/bug-strcasestr1.c: New test.
77807         * string/Makefile: Run it.
77809 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77811         [BZ #11607]
77812         * string/str-two-way.h (two_way_short_needle): Optimize matching of
77813         the first character.
77815 2012-08-21  Roland McGrath  <roland@hack.frob.com>
77817         * csu/elf-init.c (__libc_csu_irel): Function removed.
77818         * csu/libc-start.c (apply_irel): New function.
77819         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77821 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
77823         * sysdeps/unix/sysv/linux/kernel-features.h
77824         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77825         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77826         <kernel-features.h>.
77827         [__NR_fadvise64_64]: Make code unconditional.
77828         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77829         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77830         !__NR_fadvise64_64)]: Likewise.
77831         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77832         !__NR_fadvise64_64))]: Likewise.
77833         [__NR_fadvise64]: Make code unconditional.
77834         [!__NR_fadvise64]: Remove conditional code.
77835         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77836         <kernel-features.h>.
77837         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77838         unconditional.
77839         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77840         conditional code.
77841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77842         not include <kernel-features.h>.
77843         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77844         unconditional.
77845         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77846         conditional code.
77847         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77848         include <kernel-features.h>.
77849         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77850         unconditional.
77851         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77852         conditional code.
77854 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
77856         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77857         slight instruction rearrangements per scrollpipe analysis.
77858         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77860 2012-08-20  Roland McGrath  <roland@hack.frob.com>
77862         * manual/syslog.texi (syslog; vsyslog, closelog):
77863         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77864         Reported by Ricardo Catalinas JimĂ©nez <jimenezrick@gmail.com>.
77866         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77867         DSOCAPS to match condition on defining it.
77869 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
77871         * sysdeps/unix/sysv/linux/kernel-features.h
77872         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77874         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77875         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77877         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77878         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77880         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77881         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77883         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77884         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77886         * sysdeps/unix/sysv/linux/kernel-features.h
77887         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77888         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77889         unconditional.
77890         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77891         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77892         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77893         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77894         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77895         Make code unconditional.
77896         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77897         (__mmap64) [!__NR_mmap2]: Likewise.
77898         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77899         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77900         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77901         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77902         [__NR_mmap2]: Make code unconditional.
77903         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77904         (__mmap64) [!__NR_mmap2]: Likewise.
77906 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77908         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77910 2012-08-18  Andreas Jaeger  <aj@suse.de>
77912         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77914 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77916         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77917         * include/unistd.h (__have_sock_cloexec): Likewise.
77918         (__have_pipe2): Likewise.
77919         (__have_dup3): Likewise.
77921 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77923         [BZ #9685]
77924         * include/unistd.h (__have_pipe2): Change define into an extern int.
77925         (__have_dup3): Likewise.
77926         * socket/have_sock_cloexec.c: Include fcntl.h.
77927         (__have_pipe2): New variable.
77928         (__have_dup3): Likewise.
77930 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
77932         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77934 2012-08-17  Marek Polacek  <polacek@redhat.com>
77936         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77937         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77939 2012-08-17  Roland McGrath  <roland@hack.frob.com>
77941         * configure.in: Add AC_SUBST for sysheaders.
77942         * configure: Regenerated.
77943         * config.make.in (sysheaders): New substituted variable.
77945         * sysdeps/unix/mkfifo.c: Moved ...
77946         * sysdeps/posix/mkfifo.c: ... here.
77947         * sysdeps/unix/mkfifoat.c: Moved ...
77948         * sysdeps/posix/mkfifoat.c: ... here.
77950         * sysdeps/unix/utime.c: Moved ...
77951         * sysdeps/posix/utime.c: ... here.
77953         * sysdeps/unix/time.c: Moved ...
77954         * sysdeps/posix/time.c: ... here.
77955         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77956         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
77958         * sysdeps/unix/nice.c: Moved ...
77959         * sysdeps/posix/nice.c: ... here.
77961         * sysdeps/unix/alarm.c: Moved ...
77962         * sysdeps/posix/alarm.c: ... here.
77964         * intl/Makefile ($(codeset_mo)): Depend on the input file.
77966 2012-08-17  Jeff Law <law@redhat.com>
77968         * intl/Makefile (codeset_mo): New variable.
77969         ($(codeset_mo)): New target.
77970         (tst-codeset.out): Depend on that.  Remove explicit rule.
77971         (tst-gettext3.out, tst-gettext5.out): Likewise.
77972         (LOCPATH-ENV, tst-codeset-ENV): New variables.
77973         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
77974         * intl/tst-codeset.sh: Remove.
77975         * intl/tst-gettext3.sh: Likewise.
77976         * intl/tst-gettext5.sh: Likewise.
77978 2012-08-17  Roland McGrath  <roland@hack.frob.com>
77980         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
77981         * sysdeps/unix/syscalls.list: ... here.
77983         * sysdeps/posix/getaddrinfo.c
77984         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
77985         (gaiconf_init, gaiconf_reload): Use them.
77986         [!_STATBUF_ST_NSEC]
77987         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
77988         Define using time_t rather than struct timespec.
77990         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
77991         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
77992         Macros removed.
77993         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
77994         [!NO_THREADS].
77995         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
77996         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
77997         Likewise.
77999         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
78000         __libc_cleanup_push argument.
78002         * bits/param.h: New file.
78003         * misc/sys/param.h: New file.
78004         * include/sys/param.h: New file.
78005         * misc/Makefile (headers): Add bits/param.h.
78006         * sysdeps/generic/sys/param.h: File removed.
78007         * sysdeps/unix/sysv/linux/bits/param.h: New file.
78008         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
78009         * sysdeps/mach/hurd/bits/param.h: New file.
78010         * sysdeps/mach/hurd/sys/param.h: File removed.
78012         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
78013         last change.
78015         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
78016         [_IO_MTSAFE_IO].
78017         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
78018         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
78019         New macros.
78021         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
78022         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
78023         rather than -D_IO_MTSAFE_IO conditionally.
78024         * stdio-common/Makefile (CPPFLAGS): Likewise.
78025         * wcsmbs/Makefile (CPPFLAGS): Likewise.
78026         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
78027         Use $(libio-mtsafe).
78028         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
78029         of -D_IO_MTSAFE_IO.
78030         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
78031         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
78032         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
78033         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
78034         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
78035         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
78036         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
78037         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
78038         (CFLAGS-fread_u_chk.c): Likewise.
78039         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
78040         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
78041         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
78042         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
78043         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
78044         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
78045         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
78046         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
78047         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
78049         * libio/Makefile: Test [$(libc-reentrant) = yes]
78050         instead of [$(filter %REENTRANT, $(defines)) nonempty].
78052         * Makeconfig
78053         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
78054         * sysdeps/pthread/configure: File removed.
78055         * sysdeps/pthread/Makeconfig: New file.
78056         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
78057         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
78059 2012-08-16  Gary Benson  <gbenson@redhat.com>
78061         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
78062         unmapping the first object in a namespace.
78064 2012-08-16  Roland McGrath  <roland@hack.frob.com>
78066         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
78067         (__internal_setnetgrent): ... this.  Add internal_function to
78068         definition.  Add libc_hidden_def.
78069         (setnetgrent): Update caller.
78070         (internal_endnetgrent): Renamed to ...
78071         (__internal_endnetgrent): ... this.  Add internal_function to
78072         definition.  Add libc_hidden_def.
78073         (endnetgrent): Update caller.
78074         (internal_getnetgrent_r): Renamed to ...
78075         (__internal_getnetgrent_r): ... this.  Add internal_function to
78076         definition.  Add libc_hidden_def.
78077         (__getnetgrent_r): Update caller.
78078         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
78080 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
78082         * stdlib/longlong.h: Update from GCC.
78084 2012-08-16  Roland McGrath  <roland@hack.frob.com>
78086         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
78087         on _QL, which is set by umul_ppmm but never used.
78088         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
78089         variables, which are set by GMP macros but never used.
78090         * stdio-common/_itowa.c (_itowa): Likewise.
78091         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
78092         * stdlib/mod_1.c (mpn_mod_1): Likewise.
78094 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
78096         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
78097         struct La_sh_regs is not constant.
78098         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
78099         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
78100         and struct La_sparc64_regs are not constant.
78102 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
78104         * sysdeps/unix/sysv/linux/kernel-features.h
78105         (__ASSUME_POSIX_TIMERS): Remove.
78106         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
78107         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78108         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
78109         Make code unconditional.
78110         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78111         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
78112         Make code unconditional.
78113         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78114         * sysdeps/unix/sysv/linux/clock_nanosleep.c
78115         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
78116         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78117         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78118         Make code unconditional.
78119         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78120         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78121         (__libc_missing_posix_timers): Remove.
78123 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78125         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78126         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78128         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78130         * elf/dl-sym.c: Include <stdlib.h>.
78132         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78133         constants, which avoids warnings in 32-bit builds.
78135         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78136         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78138         * misc/lseek.c: File moved to ...
78139         * io/lseek.c: ... here.
78141         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78143         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78144         shifting LEN more than 31 bits at once.
78146 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78148         [BZ #14195]
78149         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78150         segmentation fault for a case of two empty input strings.
78151         * string/test-strncasecmp.c (check1): Renamed to...
78152         (bz12205): ...this.
78153         (bz14195): Add new testcase for two empty input strings and N > 0.
78154         (test_main): Call new testcase, adapt for renamed function.
78156 2012-08-15  Andreas Jaeger  <aj@suse.de>
78158         [BZ #14090]
78159         * crypt/md5test2.c: New test, based on test supplied by Serge
78160         Belyshev <belyshev@depni.sinp.msu.ru>.
78161         * crypt/Makefile (xtests): Add md5test-giant..
78162         * crypt/Makefile ($(objpfx)md5test-giant): Add.
78164 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
78166         [BZ #14090]
78167         * crypt/md5.c (md5_process_block): Don't assume the buffer
78168         length is less than 2**32.
78169         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78170         length is less than 2**64.
78172 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78174         * string/str-two-way.h: Include <sys/param.h>.
78175         (MAX): Macro removed.
78177         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78178         Move #define and #undef of memmove to just before and after
78179         including <string.h>.
78181         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78182         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78183         and after including <string.h>.  Move declarations of
78184         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78185         to before #include "string/memmove.c".
78187         * include/dirent.h: Declare __getdirentries.
78189         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78190         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78192 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
78194         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78195         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78196         * sysdeps/i386/configure: Regenerated.
78197         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78198         STABS_CURRENT_FILE, and STABS_FUN.
78199         (END): Remove call to STABS_FUN_END.
78200         (STABS_CURRENT_FILE1): Delete.
78201         (STABS_CURRENT_FILE): Likewise.
78202         (STABS_FUN): Likewise.
78203         (STABS_FUN_END): Likewise.
78204         (STABS_FUN2): Likewise.
78205         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78206         * sysdeps/x86_64/configure: Regenerated.
78208 2012-08-14  Roland McGrath  <roland@hack.frob.com>
78210         * elf/dl-open.c: Include <atomic.h>.
78211         * elf/dl-lookup.c: Likewise.
78213 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
78215         * sysdeps/unix/sysv/linux/kernel-features.h
78216         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78217         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78218         unconditionally.
78219         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78220         unconditionally.
78221         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78222         condition on __ASSUME_CLONE_THREAD_FLAGS.
78224 2012-08-14  Andreas Jaeger  <aj@suse.de>
78226         * sysdeps/i386/fpu/libm-test-ulps: Update.
78228 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
78230         * include/atomic.h (atomic_exchange_and_add): Split into ...
78231         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78232         New atomic macros.
78234 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
78236         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78238 2012-08-13  Jeff Law <law@redhat.com>
78240         * manual/stdio.texi (snprintf): Clarify handling of the trailing
78241         null byte in the output string.
78243 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
78245         * sysdeps/unix/sysv/linux/kernel-features.h
78246         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78247         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78248         (__ASSUME_ARG_MAX_STACK_BASED): Define.
78249         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78250         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78251         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
78252         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78254 2012-08-09  Jeff Law <law@redhat.com>
78256         [BZ #13939]
78257         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78258         When avoid_arena is set, don't retry in the that arena.  Pick the
78259         next one, whatever it might be.
78260         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78261         (arena_lock): Pass in new parameter to arena_get2.
78262         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78263         arena_get2.
78264         (__libc_malloc): Unify retrying after main arena failure with
78265         __libc_memalign version.
78266         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78268 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
78270         [BZ #14166]
78271         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78272         to __redirect_strstr.
78273         (__strstr_sse42): Use typeof __redirect_strstr.
78274         (__strstr_ia32): Likewise.
78275         (__libc_strstr): New prototype.
78276         (strstr): Renamed to ...
78277         (__libc_strstr): This.
78278         (strstr): New strong alias of __libc_strstr.
78279         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78280         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78281         __redirect_time.
78282         Include <time.h>.
78283         (__libc_time): New prototype.
78284         (time_ifunc): Replace time with __libc_time.
78285         (time): New strong alias and hidden definition of __libc_time.
78286         (__GI_time): Remove strong alias.
78287         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78288         Include <stddef.h>.
78289         (memmove): Redefined to __redirect_memmove.
78290         (__memmove_sse2): Use typeof __redirect_memmove.
78291         (__memmove_ssse3): Likewise.
78292         (__memmove_ssse3_back): Likewise.
78293         (__libc_memmove): New prototype.
78294         (memmove): Renamed to ...
78295         (__libc_memmove): This.
78296         (memmove): New strong alias of __libc_memmove.
78298 2012-08-08  Mark Salter  <msalter@redhat.com>
78300         * elf/elf.h
78301         (R_MN10300_TLS_GD): Define.
78302         (R_MN10300_TLS_LD): Likewise.
78303         (R_MN10300_TLS_LDO): Likewise.
78304         (R_MN10300_TLS_GOTIE): Likewise.
78305         (R_MN10300_TLS_IE): Likewise.
78306         (R_MN10300_TLS_LE): Likewise.
78307         (R_MN10300_TLS_DTPMOD): Likewise.
78308         (R_MN10300_TLS_DTPOFF): Likewise.
78309         (R_MN10300_TLS_TPOFF): Likewise.
78310         (R_MN10300_SYM_DIFF): Likewise.
78311         (R_MN10300_ALIGN): Likewise.
78312         (R_MN10300_NUM): Update.
78314 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
78316         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78317         Remove.
78319 2012-08-08  Roland McGrath  <roland@hack.frob.com>
78321         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78323         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78324         sysdeps/unix -> sysdeps/posix move.
78325         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78327 2012-08-07      Allan McRae     <allan@archlinux.org>
78329         [BZ #14303]
78330         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78331         (SUNOS_CPP): Likewise.
78332         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78333         not found.
78334         (open_input): Call CPP using execvp.
78336 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78338         * sysdeps/unix/sysv/linux/kernel-features.h
78339         (__ASSUME_PROT_GROWSUPDOWN): Remove.
78340         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78341         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78342         (__ASSUME_WAITID_SYSCALL): Likewise.
78343         * sysdeps/unix/sysv/linux/dl-execstack.c
78344         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78345         code unconditional.
78346         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78347         conditional code.
78348         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78349         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78350         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78351         code.
78352         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78353         unconditional.
78354         [__ASSUME_WAITID_SYSCALL]: Likewise.
78355         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78357 2012-08-07  Roland McGrath  <roland@hack.frob.com>
78359         * sysdeps/unix/closedir.c: Renamed to ...
78360         * sysdeps/posix/closedir.c: ... here.
78361         * sysdeps/unix/dirfd.c: Renamed to ...
78362         * sysdeps/posix/dirfd.c: ... here.
78363         * sysdeps/unix/dirstream.h: Renamed to ...
78364         * sysdeps/posix/dirstream.h: ... here.
78365         * sysdeps/unix/fdopendir.c: Renamed to ...
78366         * sysdeps/posix/fdopendir.c: ... here.
78367         * sysdeps/unix/opendir.c: Renamed to ...
78368         * sysdeps/posix/opendir.c: ... here.
78369         * sysdeps/unix/readdir.c: Renamed to ...
78370         * sysdeps/posix/readdir.c: ... here.
78371         * sysdeps/unix/readdir_r.c: Renamed to ...
78372         * sysdeps/posix/readdir_r.c: ... here.
78373         * sysdeps/unix/rewinddir.c: Renamed to ...
78374         * sysdeps/posix/rewinddir.c: ... here.
78375         * sysdeps/unix/seekdir.c: Renamed to ...
78376         * sysdeps/posix/seekdir.c: ... here.
78377         * sysdeps/unix/telldir.c: Renamed to ...
78378         * sysdeps/posix/telldir.c: ... here.
78379         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78380         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78381         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78382         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78384         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78385         * bits/fcntl.h: ... here.
78387         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78388         not 0.
78389         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78390         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78391         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78392         (struct flock): Move l_start, l_len to the beginning.
78393         Use __pid_t for l_pid.
78394         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78395         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78396         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78397         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78398         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78399         [__USE_LARGEFILE64] (struct flock64): New type.
78400         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78402         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78403         * bits/dirent.h: ... here.
78405         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78406         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78408 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78410         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78411         Change from 2.6.0 to 2.6.16.
78412         * sysdeps/unix/sysv/linux/configure: Regenerated.
78413         * sysdeps/unix/sysv/linux/kernel-features.h
78414         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78415         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78416         version.
78417         (__ASSUME_UTIMES): Likewise.
78418         (__ASSUME_CLONE_STOPPED): Remove.
78419         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78420         architectures, not kernel version.
78421         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78422         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78423         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78424         (__ASSUME_WAITID_SYSCALL): Likewise.
78425         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78426         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78427         * README: State 2.6.16 as minimum Linux kernel version.  Do not
78428         refer to older versions.
78430 2012-08-06  Roland McGrath  <roland@hack.frob.com>
78432         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78433         Define alphasort64 as an alias.
78434         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78435         Define versionsort64 as an alias.
78436         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78437         Define scandir64 as an alias.
78438         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78439         Define scandirat64 as an alias.
78440         * dirent/alphasort64.c (alphasort64):
78441         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78442         * dirent/versionsort64.c: Likewise.
78443         * dirent/scandir64.c: Likewise.
78444         * dirent/scandirat64.c: Likewise.
78445         * sysdeps/wordsize-64/alphasort.c: File removed.
78446         * sysdeps/wordsize-64/alphasort64.c: File removed.
78447         * sysdeps/wordsize-64/scandir.c: File removed.
78448         * sysdeps/wordsize-64/scandir64.c: File removed.
78449         * sysdeps/wordsize-64/scandirat.c: File removed.
78450         * sysdeps/wordsize-64/scandirat64.c: File removed.
78451         * sysdeps/wordsize-64/versionsort.c: File removed.
78452         * sysdeps/wordsize-64/versionsort64.c: File removed.
78453         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78454         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78455         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78456         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78457         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78458         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78459         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78460         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78462         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78463         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78464         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78465         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78466         [defined __arch64__ || defined __sparcv9]
78467         (__INO_T_MATCHES_INO64_T): New macro.
78468         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78469         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78470         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78471         * sysdeps/unix/sysv/linux/bits/dirent.h
78472         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78473         (_DIRENT_MATCHES_DIRENT64): New macro.
78475         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78476         Define lockf64 as an alias.
78477         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78478         Define fseeko64 as an alias.
78479         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78480         Define ftello64 as an alias.
78481         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78482         Define _IO_fgetpos64 and fgetpos64 as aliases.
78483         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78484         Define _IO_fsetpos64 and fsetpos64 as aliases.
78485         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78486         Conditionalize body on this.
78487         * libio/fseeko64.c: Likewise.
78488         * libio/ftello64.c: Likewise.
78489         * libio/iofgetpos64.c: Likewise.
78490         * libio/iofsetpos64.c: Likewise.
78491         * sysdeps/wordsize-64/lockf.c: File removed.
78492         * sysdeps/wordsize-64/lockf64.c: File removed.
78493         * sysdeps/wordsize-64/fseeko.c: File removed.
78494         * sysdeps/wordsize-64/fseeko64.c: File removed.
78495         * sysdeps/wordsize-64/ftello.c: File removed.
78496         * sysdeps/wordsize-64/ftello64.c: File removed.
78497         * sysdeps/wordsize-64/iofgetpos.c: File removed.
78498         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78499         * sysdeps/wordsize-64/iofsetpos.c: File removed.
78500         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78501         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78502         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78503         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78504         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78505         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78506         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78507         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78508         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78509         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78510         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78512         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78513         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78514         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78515         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78516         [defined __arch64__ || defined __sparcv9]
78517         (__OFF_T_MATCHES_OFF64_T): New macro.
78518         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78519         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78520         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78521         (__OFF_T_MATCHES_OFF64_T): New macro.
78523 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78525         * stdlib/secure-getenv.c (__secure_getenv): Replace
78526         GLIBC_2_16 with GLIBC_2_17.
78528 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78530         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78531         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78533 2012-08-03  David S. Miller  <davem@davemloft.net>
78535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78537 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78539         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78540         Remove.
78541         (__ASSUME_CORRECT_SI_PID): Likewise.
78542         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78543         (__ASSUME_TMPFS_NAME): Likewise.
78544         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78545         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78546         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78547         (HAVE_AUX_SECURE): Make definition unconditional.
78548         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78549         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78551 2012-08-03  Roland McGrath  <roland@hack.frob.com>
78553         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78554         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78555         * sysdeps/mach/hurd/eloop-threshold.h: New file.
78556         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78557         __eloop_threshold instead of SYMLOOP_MAX.
78559         * sysdeps/generic/eloop-threshold.h: New file.
78560         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78561         of MAXSYMLINKS.
78562         * elf/chroot_canon.c (chroot_canon): Likewise.
78564 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78566         [BZ #13717]
78567         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78568         Change to 2.6.0 everywhere.
78569         * sysdeps/unix/sysv/linux/configure: Regenerated.
78570         * sysdeps/unix/sysv/linux/kernel-features.h
78571         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78572         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78573         kernel versions.
78574         (__ASSUME_POSIX_TIMERS): Define unconditionally.
78575         (__ASSUME_FUTEX_REQUEUE): Remove.
78576         (__ASSUME_STATFS64): Define unconditionally.
78577         (__ASSUME_AT_SECURE): Likewise.
78578         (__ASSUME_CORRECT_SI_PID): Likewise.
78579         (__ASSUME_TGKILL): Define without depending on kernel version for
78580         i386.
78581         (__ASSUME_UTIMES): Likewise.
78582         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78583         kernel version.
78584         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78585         (__ASSUME_TMPFS_NAME): Likewise.
78586         * README: Update reference to Linux kernel versions.
78588 2012-08-02  Marek Polacek  <polacek@redhat.com>
78590         [BZ #14150]
78591         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
78592         libc_cv_asm_type_prefix with %.
78593         * configure: Regenerated.
78594         * include/libc-symbols.h: Remove comment about
78595         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78596         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78597         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78598         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78599         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78600         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78601         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78602         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78603         * elf/tst-unique2mod1.c: Likewise.
78604         * elf/tst-unique1mod2.c: Likewise.
78605         * elf/tst-unique1mod1.c: Likewise.
78606         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78607         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78608         Replace ASM_TYPE_DIRECTIVE with .type.
78609         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78610         * sysdeps/i386/sysdep.h: Likewise.
78611         * sysdeps/x86_64/sysdep.h: Likewise.
78612         * sysdeps/sh/sysdep.h: Likewise.
78613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78614         Do not define ASM_TYPE_DIRECTIVE.
78615         * sysdeps/powerpc/sysdep.h: Likewise.
78616         * sysdeps/powerpc/powerpc32/sysdep.h:
78617         Replace ASM_TYPE_DIRECTIVE with .type.
78618         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78619         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78620         * sysdeps/i386/fpu/e_powf.S: Likewise.
78621         * sysdeps/i386/fpu/e_expl.S: Likewise.
78622         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78623         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78624         * sysdeps/i386/fpu/e_pow.S: Likewise.
78625         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78626         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78627         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78628         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78629         * sysdeps/i386/fpu/e_log2.S: Likewise.
78630         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78631         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78632         * sysdeps/i386/fpu/e_powl.S: Likewise.
78633         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78634         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78635         * sysdeps/i386/fpu/e_logl.S: Likewise.
78636         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78637         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78638         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78639         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78640         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78641         * sysdeps/i386/fpu/e_log.S: Likewise.
78642         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78643         * sysdeps/i386/fpu/e_logf.S: Likewise.
78644         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78645         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78646         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78647         * sysdeps/i386/fpu/e_log10.S: Likewise.
78648         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78649         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78650         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78651         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78652         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78653         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78654         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78655         * sysdeps/i386/i686/strtok.S: Likewise.
78656         * sysdeps/i386/i386-mcount.S: Likewise.
78657         * sysdeps/i386/strtok.S: Likewise.
78658         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78659         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78660         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78661         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78662         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78663         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78664         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78665         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78666         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78667         * sysdeps/x86_64/_mcount.S: Likewise.
78668         * sysdeps/x86_64/strtok.S: Likewise.
78669         * sysdeps/sh/_mcount.S: Likewise.
78671 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78673         * libio/iofopen.c: Include <fcntl.h>.
78674         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78675         (_IO_fopen64, fopen64): Define as aliases.
78676         * libio/iofopen64.c: Include <fcntl.h>.
78677         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78678         Conditionalize body on this.
78679         * sysdeps/wordsize-64/iofopen.c: File removed.
78680         * sysdeps/wordsize-64/iofopen64.c: File removed.
78682 2012-08-01  Marek Polacek  <polacek@redhat.com>
78684         * libc/Makeconfig: Use elf in place of binfmt-subdir.
78685         Use dlfcn directly instead of a variable.
78686         (binfmt-subdir): Do not define.
78687         (dlfcn): Likewise.
78689 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
78691         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78692         Remove all definitions.
78693         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78694         <kernel-features.h>.
78695         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78696         (miss_F_GETOWN_EX): Remove all definitions.
78697         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78698         macro definition.
78699         [!__ASSUME_FCNTL64]: Remove conditional code.
78700         [__ASSUME_FCNTL64]: Make code unconditional.
78701         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78702         <kernel-features.h>.
78703         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78704         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78705         (lockf64) [__NR_fcntl64]: Make code unconditional.
78706         (lockf64) [__ASSUME_FCNTL64]: Likewise.
78708         * sysdeps/unix/sysv/linux/kernel-features.h
78709         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78710         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78711         Make code unconditional.
78712         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78713         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78715         [__NR_vfork]: Make code unconditional.
78716         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78717         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78719         [__NR_vfork]: Make code unconditional.
78720         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78721         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78723 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78725         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78726         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78728         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78729         Define mkstemp64 as an alias.
78730         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78731         Define mkstemps64 as an alias.
78732         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78733         Define mkostemp64 as an alias.
78734         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78735         Define mkostemps64 as an alias.
78736         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78737         Conditionalize body on this.
78738         * misc/mkostemp64.c: Likewise.
78739         * misc/mkostemps64.c: Likewise.
78740         * misc/mkstemps64.c: Likewise.
78741         * sysdeps/wordsize-64/mkstemp64.c: File removed.
78742         * sysdeps/wordsize-64/mkostemp64.c: File removed.
78743         * sysdeps/wordsize-64/mkostemp.c: File removed.
78744         * sysdeps/wordsize-64/mkstemp.c: File removed.
78745         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78746         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78747         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78748         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78750         [BZ #14138]
78751         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78752         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78753         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78754         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78756         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78757         compat_symbol macros from <shlib-compat.h> rather than the underlying
78758         default_symbol_version and symbol_version macros, so that DEFAULT
78759         lines in shlib-versions are respected.
78760         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78762 2012-08-01  Florian Weimer  <fweimer@redhat.com>
78764         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78765         Declare with warn_unused_result.
78766         (setgid, setregid, setegid, setresgid): Likewise.
78767         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78768         Likewise.
78769         * WUR-REPORT: Remove set*id functions.
78771 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
78773         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78775 2012-07-31  Roland McGrath  <roland@hack.frob.com>
78777         [BZ #10191]
78778         * include/sys/socket.h (__libc_accept, __libc_accept4):
78779         Add attribute_hidden.
78780         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78782         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78783         use of PTR_MANGLE.
78784         * inet/getnetgrent_r.c (setup): Likewise.
78786         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78788 2012-07-31  David S. Miller  <davem@davemloft.net>
78790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78792 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
78794         [BZ #13629]
78795         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78796         value between 1.0 and 2.0 and smaller part has absolute value less
78797         than 1.0.
78798         * math/s_clog10.c (__clog10): Likewise.
78799         * math/s_clog10f.c (__clog10f): Likewise.
78800         * math/s_clog10l.c (__clog10l): Likewise.
78801         * math/s_clogf.c (__clogf): Likewise.
78802         * math/s_clogl.c (__clogl): Likewise.
78803         * math/libm-test.inc (clog_test): Add more tests.
78804         (clog10_test): Likewise.
78805         * sysdeps/i386/fpu/libm-test-ulps: Update.
78806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78808 2012-07-31  Florian Weimer  <fweimer@redhat.com>
78810         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78811         Exit with zero in case no suitable GID is found, and write a
78812         message to standard error.
78814 2012-07-30  Roland McGrath  <roland@hack.frob.com>
78816         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78817         rather than to 1.
78818         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78819         (MAXPATHLEN): Removed.
78820         (NOGROUP, NODEV): New macros.
78821         (setbit, clrbit, isset, isclr): New macros.
78822         (howmany, roundup, powerof2): New macros.
78823         (DEV_BSIZE): New macro.
78825         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78826         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78828         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78829         definition on [!__NO_LONG_DOUBLE_MATH].
78831         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78832         PTR_MANGLE and PTR_DEMANGLE.
78834         * socket/accept4.c (accept4): Rename to __libc_accept4.
78835         Define accept4 as a weak alias.
78837         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78838         on [_DIRENT_HAVE_D_TYPE].
78839         * io/ftw.c (ftw_dir): Likewise.
78841         * io/xmknod.c (__xmknod): Don't check PATH for being null.
78843         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78845         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78846         Use the BSD numbers rather than the arbitrary ones we had.
78847         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78848         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78849         (SIGXCPU, SIGXFSZ): New macros.
78850         (_NSIG): Now 32.
78852         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78853         initializer on [_LIBC_REENTRANT].
78855         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78856         definitions inside [_POSIX_MAPPED_FILES].
78858         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78860         * dirent/opendir.c: Include <fcntl.h>.
78862         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78863         (__libc_getspecific): Likewise.
78864         (__libc_key_create): Likewise.
78866         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78867         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78868         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78869         (tmpfile64): Define as alias.
78870         * sysdeps/wordsize-64/tmpfile.c: File removed.
78871         * sysdeps/wordsize-64/tmpfile64.c: File removed.
78872         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78873         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78875         * stdio-common/vfscanf.c: Include <stdbool.h>.
78876         * nss/makedb.c: Likewise.
78877         * stdio-common/_i18n_number.h: Likewise.
78878         * argp/argp-help.c: Likewise.
78879         * posix/wordexp.c: Likewise.
78880         * sysdeps/posix/spawni.c: Likewise.
78881         * nss/nss_files/files-initgroups.c: Likewise.
78882         * stdio-common/reg-modifier.c: Include <stdlib.h>.
78883         * nss/nss_files/files-initgroups.c: Likewise.
78884         * nss/nss_db/db-netgrp.c: Likewise.
78885         * nss/nss_db/db-initgroups.c: Likewise.
78886         * io/fchmodat.c: Include <sys/stat.h>.
78888         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78889         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78891         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78892         [HAVE_MMAP].
78894         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78895         Add multiple inclusion protection.
78897 2012-07-27  David S. Miller  <davem@davemloft.net>
78899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78901 2012-07-27  Gary Benson  <gbenson@redhat.com>
78903         [BZ #14298]
78904         * elf/rtld.c: Include <stap-probe.h>.
78905         (dl_main): Added static probes "init_start" and "init_complete".
78906         * elf/dl-load.c: Include <stap-probe.h>.
78907         (lose): Take new parameter "nsid".
78908         Added static probe "map_failed".
78909         (_dl_map_object_from_fd): Pass namespace id to lose.
78910         Added static probe "map_start".
78911         (open_verify): Pass namespace id to lose.
78912         * elf/dl-open.c: Include <stap-probe.h>.
78913         (dl_open_worker) Added static probes "map_complete", "reloc_start"
78914         and "reloc_complete".
78915         * elf/dl-close.c: Include <stap-probe.h>.
78916         (_dl_close_worker): Added static probes "unmap_start" and
78917         "unmap_complete".
78918         * elf/rtld-debugger-interface.txt: New file documenting the above.
78920 2012-07-26  Roland McGrath  <roland@hack.frob.com>
78922         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78923         rather than a string variable.
78924         * sunrpc/rpc_main.c (h_output): Likewise.
78925         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78927 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
78929         * inet/check_native.c: New file.
78931 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
78933         [BZ #13629]
78934         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78935         if larger part has absolute value 1.0.
78936         * math/s_clog10.c (__clog10): Likewise.
78937         * math/s_clog10f.c (__clog10f): Likewise.
78938         * math/s_clog10l.c (__clog10l): Likewise.
78939         * math/s_clogf.c (__clogf): Likewise.
78940         * math/s_clogl.c (__clogl): Likewise.
78941         * math/libm-test.inc (clog_test): Add more tests.
78942         (clog10_test): Likewise.
78943         * sysdeps/i386/fpu/libm-test-ulps: Update.
78944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78946         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78947         (pltexit): Likewise.
78948         (La_regs): Likewise.
78949         (La_retval): Likewise.
78950         (int_retval): Likewise.
78951         Update #error for removed macros to refer only to definitions in
78952         tst-audit.h.
78953         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
78954         macro.
78955         (pltexit): Likewise.
78956         (La_regs): Likewise.
78957         (La_retval): Likewise.
78958         (int_retval): Likewise.
78959         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
78960         macro.
78961         (pltexit): Likewise.
78962         (La_regs): Likewise.
78963         (La_retval): Likewise.
78964         (int_retval): Likewise.
78965         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
78966         macro.
78967         (pltexit): Likewise.
78968         (La_regs): Likewise.
78969         (La_retval): Likewise.
78970         (int_retval): Likewise.
78971         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
78972         macro.
78973         (pltexit): Likewise.
78974         (La_regs): Likewise.
78975         (La_retval): Likewise.
78976         (int_retval): Likewise.
78977         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
78978         macro.
78979         (pltexit): Likewise.
78980         (La_regs): Likewise.
78981         (La_retval): Likewise.
78982         (int_retval): Likewise.
78983         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
78984         macro.
78985         (pltexit): Likewise.
78986         (La_regs): Likewise.
78987         (La_retval): Likewise.
78988         (int_retval): Likewise.
78989         * sysdeps/generic/tst-audit.h: Update comment to refer only to
78990         macro definitions in tst-audit.h.
78991         * sysdeps/i386/tst-audit.h: New file.
78992         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
78993         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
78994         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
78995         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
78996         * sysdeps/sh/tst-audit.h: Likewise.
78997         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
78998         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
78999         * sysdeps/x86_64/tst-audit.h: Likewise.
79001 2012-07-26  Andreas Jaeger  <aj@suse.de>
79003         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
79004         ptrace.
79006         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
79007         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
79008         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
79009         PTRACE_O_MASK.
79010         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
79011         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
79012         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
79014         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
79015         value.
79017         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
79018         _sigsys.
79019         (si_call_addr, si_syscall, si_arch): Define new macro.
79020         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
79021         _sigsys.
79022         (si_call_addr, si_syscall, si_arch): Define new marcro.
79023         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
79024         _sigsys.
79025         (si_call_addr, si_syscall, si_arch): Define new macro.
79026         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
79027         _sigsys.
79028         (si_call_addr, si_syscall, si_arch): Define new macro.
79030 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
79032         [BZ #13717]
79033         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79034         Change to 2.4.21 where previously 2.4.1.
79035         * sysdeps/unix/sysv/linux/configure: Regenerated.
79036         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
79037         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
79038         Linux kernel version.
79039         (__ASSUME_STD_AUXV): Remove.
79040         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
79041         kernel version.
79042         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
79043         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
79044         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
79045         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
79046         (__ASSUME_NETLINK_SUPPORT): Likewise.
79047         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
79048         (__no_netlink_support): Remove conditional definition.
79049         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
79050         Remove.
79051         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79052         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
79053         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
79054         (if_nameindex_ioctl): Remove.
79055         (if_nameindex_netlink): Do not handle __no_netlink_support.
79056         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79057         code.
79058         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
79059         Remove conditional code.
79060         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79061         code.
79062         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
79063         unconditional.
79064         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79065         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
79066         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
79067         Remove.
79068         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
79069         [!__ASSUME_STD_AUXV]: Remove conditional code.
79070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
79071         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
79072         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
79073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
79074         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
79075         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79076         code.
79077         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
79079         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
79080         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79081         conditional code.
79082         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
79084         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79085         code.
79086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
79087         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79088         conditional code.
79089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
79090         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79091         code unconditional.
79092         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79093         conditional code.
79094         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79095         unconditional.
79096         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79097         conditional code.
79098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79099         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79100         unconditional.
79101         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79102         conditional code.
79103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
79104         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79105         code unconditional.
79106         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79107         conditional code.
79108         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79109         unconditional.
79110         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79111         conditional code.
79112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
79113         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79114         code unconditional.
79115         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79116         conditional code.
79117         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79118         unconditional.
79119         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79120         conditional code.
79122 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
79124         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79125         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79126         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79127         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79128         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79129         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79130         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79131         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79132         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79133         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79134         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79135         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79136         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79137         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79138         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79139         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79140         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79141         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79142         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79143         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79144         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79145         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79146         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79148 2012-07-25  Florian Weimer  <fweimer@redhat.com>
79150         * Versions.def: Add GLIBC_2.17.
79151         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79152         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79153         Introduce __libc_secure_getenv.
79154         * stdlib/Versions (2.17): Add secure_getenv
79155         (GLIBC_PRIVATE): Add __libc_secure_getenv.
79156         * stdlib/secure-getenv.c: Rename __secure_getenv to
79157         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
79158         symbol __secure_getenv for GLIBC_2.0.
79159         * stdlib/tst-secure-getenv.c: New.
79160         * stdlib/Makefile (tests): Add testcase.
79161         * manual/startup.texi (Environment Access): Document
79162         secure_getenv.
79163         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79164         __libc_secure_getenv.
79165         * inet/ruserpass.c (ruserpass): Likewise.
79166         * malloc/mtrace.c (mtrace): Likewise.
79167         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79168         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79169         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79170         * sysdeps/posix/tempname.c: Likewise.  Evaluate
79171         HAVE_SECURE_GETENV.
79172         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79173         __secure_getenv to __libc_secure_getenv.
79174         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79176         Likewise.
79177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79178         Likewise.
79179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79181         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79187 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
79189         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79190         (struct La_i86_retval): Likewise.
79191         (struct La_x86_64_regs): Likewise.
79192         (struct La_x86_64_retval): Likewise.
79193         (struct La_x32_regs): Likewise.
79194         (struct La_x32_retval): Likewise.
79195         (struct La_ppc32_regs): Likewise.
79196         (struct La_ppc32_retval): Likewise.
79197         (struct La_ppc64_regs): Likewise.
79198         (struct La_ppc64_retval): Likewise.
79199         (struct La_sh_regs): Likewise.
79200         (struct La_sh_retval): Likewise.
79201         (struct La_s390_32_regs): Likewise.
79202         (struct La_s390_32_retval): Likewise.
79203         (struct La_s390_64_regs): Likewise.
79204         (struct La_s390_64_retval): Likewise.
79205         (struct La_sparc32_regs): Likewise.
79206         (struct La_sparc32_retval): Likewise.
79207         (struct La_sparc64_regs): Likewise.
79208         (struct La_sparc64_retval): Likewise.
79209         (struct audit_ifaces): Remove architecture-specific pltenter and
79210         pltexit members.
79211         * sysdeps/i386/ldsodefs.h: New file.
79212         * sysdeps/powerpc/ldsodefs.h: Likewise.
79213         * sysdeps/s390/ldsodefs.h: Likewise.
79214         * sysdeps/sh/ldsodefs.h: Likewise.
79215         * sysdeps/sparc/ldsodefs.h: Likewise.
79216         * sysdeps/x86_64/ldsodefs.h: Likewise.
79218 2012-07-25  Marek Polacek  <polacek@redhat.com>
79220         [BZ #6808]
79221         * math/libm-test.inc (yn_test): Add another test.
79222         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79223         to ERANGE when the result is +-Inf.
79224         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79225         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79226         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79227         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79229 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
79231         * conform/data/time.h-data (NULL): Use macro-constant.  Require
79232         equal to 0.
79233         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
79234         clock_t.
79235         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
79237 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
79239         * configure.in <sysdeps resolving>: Correct printing
79240         Implies_before.
79241         * configure: Regenerate.
79243 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
79245         * math/w_ilogb.c: Include <limits.h>.
79246         * math/w_ilogbl.c: Likewise.
79248 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79250         * manual/lang.texi (__va_copy): Document primarily as ISO C99
79251         va_copy.  Document allowing for unavailable va_copy only as
79252         pre-C99 compatibility.
79253         * manual/string.texi (Copying and Concatenation): Use va_copy
79254         instead of __va_copy in concat example.
79256 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
79258         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79259         (__sendto): Use create_address_port.  Initialize APORT and deallocate
79260         it if not null.
79262         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79263         with O_NOLINK passed to __file_name_lookup.
79265         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79266         with O_NOLINK passed to __file_name_lookup.
79268         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79269         negative N or less than NGIDS.
79271         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79272         type to string_t.  Set ERANGE as errno and return it if NAME is not big
79273         enough.  Use memcpy instead of strncpy.
79275 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79277         * elf/Makefile (check-data): Remove.
79278         (localplt.data): New vpath directive.
79279         ($(objpfx)check-localplt.out): Use localplt.data from vpath
79280         instead of $(check-data).
79281         * scripts/data/localplt-generic.data: Move to ...
79282         * sysdeps/generic/localplt.data: ... here.
79283         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79284         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79285         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79287         ... here.
79288         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79290         ... here.
79291         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79293         ... here.
79294         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79296         ... here.
79297         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79299         ... here.
79300         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79302         ... here.
79304 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79306         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79307         PPC32 and PPC64 files.
79308         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79309         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79311 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79313         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79314         __makecontext_ret to ...
79315         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79316         ... here and call exit if uc_link is NULL.  New file.
79317         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79318         __makecontext_ret.S.
79319         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79320         __makecontext_ret to ...
79321         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79322         ... here and call exit if uc_link is NULL.  New file.
79323         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79324         __makecontext_ret.S.
79326 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79328         * elf/elf.h (R_390_IRELATIVE): New definition.
79329         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79330         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
79331         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79332         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79333         (elf_machine_lazy_rel): Likewise.
79334         * sysdeps/s390/dl-irel.h: New file.
79335         * sysdeps/s390/s390-64/memcpy.S: New asm code.
79336         * sysdeps/s390/s390-64/memset.S: New asm code.
79337         * sysdeps/s390/s390-64/memcmp.S: New asm code.
79338         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79339         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79340         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79341         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79342         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79343         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79344         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79345         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79346         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79347         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79348         * sysdeps/s390/s390-32/memcpy.S: New asm code.
79349         * sysdeps/s390/s390-32/memset.S: New asm code.
79350         * sysdeps/s390/s390-32/memcmp.S: New asm code.
79352 2012-07-17  Marek Polacek  <polacek@redhat.com>
79354         [BZ #14349]
79355         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79356         * sysdeps/s390/s390-64/configure.in: Likewise.
79357         * sysdeps/sparc/configure.in: Likewise.
79358         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79359         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79360         * sysdeps/i386/configure.in: Likewise.
79361         * sysdeps/x86_64/configure.in: Likewise.
79362         * sysdeps/sh/configure.in: Likewise.
79363         * sysdeps/s390/s390-32/configure: Regenerated.
79364         * sysdeps/s390/s390-64/configure: Likewise.
79365         * sysdeps/x86_64/configure: Likewise.
79366         * sysdeps/sh/configure: Likewise.
79367         * sysdeps/powerpc/powerpc64/configure: Likewise.
79368         * sysdeps/powerpc/powerpc32/configure: Likewise.
79369         * sysdeps/sparc/configure: Likewise.
79370         * sysdeps/i386/configure: Likewise.
79372         * elf/dl-open.c: Comment fixes.
79374 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
79376         * Makefile [CXX] (check-data): Remove.
79377         [CXX] (c++-types.data): New vpath directive.
79378         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79379         vpath.  Do not allow for C++ type data being missing.
79380         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79381         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79382         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79383         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79384         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79385         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79386         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79388         ... here.
79389         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79391         ... here.
79392         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79394         ... here.
79395         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79397         ... here.
79398         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79400         ... here.
79401         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79403         ... here.
79404         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79406         ... here.
79407         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79410         * elf/tls-macros.h (TLS_LE): Move architecture-specific
79411         definitions to architecture-specific files.
79412         (TLS_IE): Likewise.
79413         (TLS_LD): Likewise.
79414         (TLS_GD): Likewise.
79415         * sysdeps/i386/tls-macros.h: New file.
79416         * sysdeps/powerpc/tls-macros.h: Likewise.
79417         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79418         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79419         * sysdeps/sh/tls-macros.h: Likewise.
79420         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79421         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79422         * sysdeps/x86_64/tls-macros.h: Likewise.
79424 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79426         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79427         zero value for regular exit case.
79429         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79430         (__start_context): Preserve zero value for regular exit case.
79432 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79433             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79435         * manual/setjmp.texi (setcontext): Clarify normal process
79436         termination when uc_link is the null pointer.
79437         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79438         exit call.
79440 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
79442         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79443         preprocessor.  Test for each exception mask separately.
79445 2012-07-16  Andreas Jaeger  <aj@suse.de>
79447         * po/ru.po: Update from translation team.
79449 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
79451         * conform/data/string.h-data (NULL): Use macro-constant.  Require
79452         equal to 0.
79453         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79454         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79455         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79456         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79457         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79459 2012-07-13  Andreas Jaeger  <aj@suse.de>
79461         * po/fr.po: Update from translation team.
79463 2012-07-12  Marek Polacek  <polacek@redhat.com>
79465         [BZ #14173]
79466         * math/libm-test.inc (yn_test): Add test for BZ #14173.
79467         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79468         loop condition.
79470 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
79472         [BZ #13717]
79473         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79474         Change to 2.4.1 where previously 2.4.0.
79475         * sysdeps/unix/sysv/linux/configure: Regenerated.
79476         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79477         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79478         version.
79479         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79480         (__ASSUME_AT_CLKTCK): Remove.
79481         (__ASSUME_AT_PAGESIZE): Likewise.
79482         (__ASSUME_AT_XID): Likewise.
79483         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79484         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79485         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79486         unconditionally.
79487         (HAVE_AUX_PAGESIZE): Likewise.
79488         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79489         [__ASSUME_AT_CLKTCK]: Make code unconditional.
79490         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79492 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
79494         [BZ #14307]
79495         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79496         the temporary buffer used to invoke __gethostbyname2_r,
79497         __gethostbyaddr_r and gethostbyname4_r to make room for struct
79498         host_data / struct gaih_addrtuple.
79499         * resolv/nss_dns/dns-host.c (global scope): Move definition of
79500         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79501         header file nss/nsswitch.h.
79502         * nss/nsswitch.h (global scope): Add definition of implementation
79503         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79504         resolv/nss_dns/dns-host.c).
79506 2012-07-11  Andreas Jaeger  <aj@suse.de>
79508         * po/fr.po: Update from translation team.
79510         * po/sv.po: Update from translation team
79511         * po/fr.po: Another update from translation team.
79513 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79515         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79516         for subnormals or multiply small sinh result by itself.
79517         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79520 2012-07-11  David S. Miller  <davem@davemloft.net>
79522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79524 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
79526         [BZ #14347]
79527         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79528         (INTERNAL_MARK): Shift it here.
79530 2012-07-10  Marek Polacek  <polacek@redhat.com>
79532         [BZ #14151]
79533         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
79534         libc_cv_asm_global_directive with .globl.
79535         * configure: Regenerated.
79536         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79537         with .globl.
79538         * sysdeps/i386/configure: Regenerated.
79539         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79540         with .globl.
79541         * sysdeps/x86_64/configure: Regenerated.
79542         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79543         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79544         * elf/tst-unique2mod2.c: Likewise.
79545         * elf/tst-unique2mod1.c: Likewise.
79546         * elf/tst-unique1mod2.c: Likewise.
79547         * elf/tst-unique1mod1.c: Likewise.
79548         * sysdeps/s390/s390-32/sysdep.h: Likewise.
79549         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79550         * sysdeps/s390/s390-64/sysdep.h: Likewise.
79551         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79552         * sysdeps/mach/sysdep.h: Likewise.
79553         * sysdeps/i386/sysdep.h: Likewise.
79554         * sysdeps/i386/i386-mcount.S: Likewise.
79555         * sysdeps/x86_64/_mcount.S: Likewise.
79556         * sysdeps/x86_64/sysdep.h: Likewise.
79557         * sysdeps/sh/_mcount.S: Likewise.
79558         * sysdeps/sh/sysdep.h: Likewise.
79559         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79560         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79561         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79562         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79563         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79564         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79565         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79566         * locale/localeinfo.h: Likewise.
79567         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79568         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79570 2012-07-09  Roland McGrath  <roland@hack.frob.com>
79572         [BZ #14336]
79573         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79574         system".
79575         * manual/message.texi (The Uniforum approach): Likewise.
79576         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79577         (glibc iconv Implementation): Likewise.
79579 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
79581         [BZ #14337]
79582         * math/s_clog.c (__clog): Avoid scaling a value down where that
79583         could result in underflow.
79584         * math/s_clog10.c (__clog10): Likewise.
79585         * math/s_clog10f.c (__clog10f): Likewise.
79586         * math/s_clog10l.c (__clog10l): Likewise.
79587         * math/s_clogf.c (__clogf): Likewise.
79588         * math/s_clogl.c (__clogl): Likewise.
79589         * math/libm-test.inc (clog_test): Add more tests.
79590         (clog10_test): Likewise.
79591         * sysdeps/i386/fpu/libm-test-ulps: Update.
79592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79594 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
79596         [BZ #14283]
79597         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79598         by 7 not 8 to examine high bit of fractional part.
79600         [BZ #14042]
79601         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79602         for call to __mcount_internal.
79603         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79604         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79605         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79607 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
79609         [BZ #14154]
79610         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79611         approximation for values within 0x1p-13f of an odd multiple of
79612         pi/4.
79613         * math/libm-test.inc (tan_test): Do not allow spurious underflow
79614         exception.  Add more tests.
79615         * sysdeps/i386/fpu/libm-test-ulps: Update.
79617         [BZ #6778]
79618         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79619         inputs and return -1 for them.  Do not check for +Inf in case not
79620         reachable for +Inf.
79621         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79622         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79623         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79624         and return -1 for them.  Do not check for +Inf in case not
79625         reachable for +Inf.
79626         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79627         define.
79628         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79629         and return -1 for them.  Do not check for +Inf in case not
79630         reachable for +Inf.
79631         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
79632         spurious underflow.
79633         * sysdeps/i386/fpu/libm-test-ulps: Update.
79634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79636 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
79638         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79640 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
79642         [BZ #14157]
79643         [BZ #14331]
79644         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79645         could result in spurious underflow.  Scale down values above
79646         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79647         * math/s_csqrtf.c (__csqrtf): Likewise.
79648         * math/s_csqrtl.c (__csqrtl): Likewise.
79649         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
79650         spurious underflow.
79651         * sysdeps/i386/fpu/libm-test-ulps: Update.
79652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79654 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
79656         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79657         xopen-msg.sed.
79658         * catgets/xopen-msg.awk: New file.
79659         * catgets/xopen-msg.sed: Removed.
79661         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79662         po2text.sed.
79663         * intl/po2test.awk: New file.
79664         * intl/po2test.sed: Removed.
79666 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
79668         [BZ #14328]
79669         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79670         or multiply small sinh result by itself.
79671         * math/s_ctanf.c (__ctanf): Likewise.
79672         * math/s_ctanh.c (__ctanh): Likewise.
79673         * math/s_ctanhf.c (__ctanhf): Likewise.
79674         * math/s_ctanhl.c (__ctanhl): Likewise.
79675         * math/s_ctanl.c (__ctanl): Likewise.
79676         * math/libm-test.inc (ctan_test_tonearest): New function.
79677         (ctan_test_towardzero): Likewise.
79678         (ctan_test_downward): Likewise.
79679         (ctan_test_upward): Likewise.
79680         (ctanh_test_tonearest): Likewise.
79681         (ctanh_test_towardzero): Likewise.
79682         (ctanh_test_downward): Likewise.
79683         (ctanh_test_upward): Likewise.
79684         (main): Call these new functions.
79685         * sysdeps/i386/fpu/libm-test-ulps: Update.
79686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79688 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
79690         * .gitignore: Delete /ports entry.
79692 2012-07-03  Andreas Jaeger  <aj@suse.de>
79694         * po/bg.po: Update from translation team.
79695         * po/cs.po: Likewise.
79696         * po/de.po: Likewise.
79697         * po/hr.po: Likewise.
79698         * po/nl.pl: Likewise.
79699         * po/pl.po: Likewise.
79700         * po/vi.po: Likewise.
79702 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
79704         * Makeconfig [!+link] (+link-before-libc): New variable.
79705         [!+link] (+link-after-libc): Likewise.
79706         [!+link] (+link-tests): Likewise.
79707         [!+link] (+link): Define in terms of $(+link-before-libc) and
79708         $(+link-after-libc).
79709         [!+link-static] (+link-static-before-libc): New variable.
79710         [!+link-static] (+link-static-after-libc): Likewise.
79711         [!+link-static] (+link-static-tests): Likewise.
79712         [!+link-static] (+link-static): Define in terms of
79713         $(+link-static-before-libc) and $(+link-static-after-libc).
79714         [build-shared] (link-libc-before-gnulib): New variable.
79715         [build-shared] (link-libc-tests): Likewise.
79716         [build-shared] (link-libc): Define in terms of
79717         $(link-libc-before-gnulib).
79718         [!build-shared] (link-libc-tests): New variable.
79719         (link-libc-static-tests): New variable.
79720         [!gnulib] (gnulib-arch): New variable.
79721         [!gnulib] (gnulib-tests): Likewise.
79722         [!gnulib] (static-gnulib-arch): Likewise.
79723         [!gnulib] (static-gnulib-tests): Likewise.
79724         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
79725         Define with "=" instead of ":=".
79726         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
79727         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
79728         * Rules (binaries-all-notests): New variable.
79729         (binaries-all-tests): Likewise.
79730         (binaries-static-notests): Likewise.
79731         (binaries-static-tests): Likewise.
79732         (binaries-all): Define using $(binaries-all-notests) and
79733         $(binaries-all-tests).
79734         (binaries-static): Define using $(binaries-static-notests) and
79735         $(binaries-static-tests).
79736         (binaries-shared-tests): New variable.
79737         (binaries-shared-notests): Likewise.
79738         (binaries-shared): Remove variable.
79739         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79740         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79741         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79742         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79743         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79744         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79745         * elf/Makefile (sln-modules): New variable.
79746         (extra-objs): Add $(sln-modules:=.o).
79747         (ldconfig-modules): Add static-stubs.
79748         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79749         * elf/static-stubs.c: New file.
79751         [BZ #14283]
79752         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79753         by 7 not 8 to examine high bit of fractional part.  Use volatile
79754         variables when splitting into final array of floats if
79755         __FLT_EVAL_METHOD__ != 0.
79756         * math/libm-test.inc (cos_test): Add another test.
79757         (sin_test): Likewise.
79758         * sysdeps/i386/fpu/libm-test-ulps: Update.
79760         [BZ #14273]
79761         * math/libm-test.inc (cosh_test): Add more tests.
79763         * version.h (RELEASE): Set to "development".
79764         (VERSION): Set to "2.16.90".
79766 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
79768         * NEWS: Update copyright. Remove last-updated date.
79769         Mention math library bug fixes and timezone data changes.
79770         * README: Mention GNU/Hurd, x32, and HPPA support status.
79772 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
79774         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79776 2012-06-27  Andreas Jaeger  <aj@suse.de>
79778         * manual/contrib.texi (Contributors): Add Samuel Thibault.
79780 2012-06-25  Andreas Jaeger  <aj@suse.de>
79782         * sysdeps/s390/fpu/libm-test-ulps: Update.
79784 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
79785             Thomas Schwinge  <thomas@codesourcery.com>
79787         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79788         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79789         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79790         fanotify_mark.
79792 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
79794         * sysdeps/mach/start.c: Remove file.
79795         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79796         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79797         * sysdeps/sh/init-first.c: Likewise.
79799         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79800         registers for frame unwinding purposes, add CFI directives.
79801         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79802         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79803         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79804         Likewise.
79806         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79807         __fortify_fail returning.
79808         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79810         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79811         sysdeps/sh/____longjmp_chk.S.
79812         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79813         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79814         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79815         (gen-as-const-headers): Append sigaltstack-offsets.sym.
79817         * sysdeps/sh/abort-instr.h: New file.
79818         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79819         process in case exit returns.
79821         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79822         initialize the GOT register before use.
79824         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79825         calculation of ARGC > 4.
79827         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79828         meaningful names to some local labels.
79830 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79831             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79833         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79834         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79835         (__arch_compare_and_exchange_val_16_acq): Likewise.
79836         (__arch_compare_and_exchange_val_32_acq): Likewise.
79837         (atomic_exchange_and_add): Fix gUSA sequence.
79838         (atomic_add): Likewise.
79839         (atomic_add_negative): Likewise.
79840         (atomic_add_zero): Likewise.
79841         (atomic_bit_test_set): Likewise.
79843 2012-06-22  Andreas Schwab  <schwab@redhat.com>
79845         [BZ #13579]
79846         * include/link.h (struct link_map): Add l_free_initfini.
79847         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79848         l_initfini.
79849         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79850         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79851         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79852         set.
79854 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
79856         * configure.in: Use AC_LANG_SOURCE.
79857         * configure: Regenerate.
79859 2012-06-22  Roland McGrath  <roland@hack.frob.com>
79861         * configure.in (libc_cv_localstatedir): New substituted variable.
79862         * configure: Regenerated.
79863         * config.make.in (localstatedir): New variable, substituted from
79864         libc_cv_localstatedir.
79865         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79866         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79867         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79868         * sysdeps/gnu/configure: Regenerated.
79870 2012-06-21  Jeff Law  <law@redhat.com>
79872         [BZ #14277]
79873         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79874         free.  Simplify list management for _LIBC case.
79876 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
79878         [BZ #14273]
79879         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79880         Clear sign bit of 64-bit integer value before comparing against
79881         overflow value.
79883         * sysdeps/mach/configure: Regenerated.
79885 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
79887         [BZ #14278]
79888         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79890 2012-06-21  Jeff Law  <law@redhat.com>
79892         [BZ #13882]
79893         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
79894         uint16_t for elements in the "seen" array to avoid char overflows.
79895         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79896         * elf/dl-open.c (dl_open_worker): Likewise.
79898 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
79900         * scripts/list-sources.sh: Scan PORTS for translations.
79901         * po/libc.pot: Regenerated.
79903 2012-06-21  Andreas Jaeger  <aj@suse.de>
79905         [BZ #12194]
79906         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79907         warning.
79908         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79909         * bits/byteswap-16.h (__bswap_16): Likewise.
79910         * bits/byteswap.h (__bswap_constant_16): Likewise.
79912 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
79914         [BZ #14117]
79915         * sysdeps/i386/fpu_control.h: Removed.
79916         * sysdeps/x86_64/fpu_control.h: Moved to ...
79917         * sysdeps/x86/fpu_control.h: Here.
79919         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79920         (_FPU_SETCW): Likewise.
79922 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
79924         [BZ #14117]
79925         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79926         * sysdeps/x86/fpu/bits/mathinline.h: This.
79927         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79929         [BZ #14050]
79930         [BZ #14117]
79931         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79932         functions if __x86_64__ is defined.
79934 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
79936         * string/endian.h: Add !__ASSEMBLER__ condition for including
79937         conversion interfaces.
79939 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
79941         [BZ #14241]
79942         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79943         of ABS(x) in calculating zero to negative powers other than odd
79944         integers.
79945         * math/libm-test.inc (pow_test): Add more tests.
79947 2012-06-15  Andreas Jaeger  <aj@suse.de>
79949         * manual/contrib.texi (Contributors): Update entry of Liubov
79950         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79951         Machado Filho.
79953 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
79955         * string/string.h: Add __wur to GNU version of strerror_r.
79957 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
79959         [BZ #14229]
79960         * string/Makefile (tests): Add tst-strtok_r.
79961         * string/tst-strtok_r.c: New file.
79962         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
79963         RAX_LP/RDX_LP on SAVE_PTR.
79965 2012-06-14  Roland McGrath  <roland@hack.frob.com>
79967         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
79969 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
79971         * libm_test.inc (csqrt_test): Allow more spurious underflow
79972         exceptions.
79973         (j0_test): Likewise.
79974         (j1_test): Likewise.
79975         (y0_test): Likewise.
79976         (y1_test): Likewise.
79978 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
79980         * po/Makefile (libc.pot): Use UTF-8 charset.
79982 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
79984         [BZ #14210]
79985         Suppress sign-conversion warning from FD_SET.
79986         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
79987         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
79988         not unsigned long int.
79989         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
79991 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
79993         [BZ #14050]
79994         [BZ #14117]
79995         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
79996         __extern_always_inline instead of __extern_inline.
79997         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
79998         (__signbit): Likewise.
79999         (__signbitl): Support C++ namespace.
80000         (lrintf): New inline function.
80001         (lrint): Likewise.
80002         (llrintf): Likewise.
80003         (llrint): Likewise.
80004         (fmaxf): Likewise.
80005         (fmax): Likewise.
80006         (fminf): Likewise.
80007         (fmin): Likewise.
80008         (rint): Likewise.
80009         (rintf): Likewise.
80010         (ceil): Likewise.
80011         (ceilf): Likewise.
80012         (floor): Likewise.
80013         (floorf): Likewise.
80014         (nearbyint): Likewise.
80015         (nearbyintf): Likewise.
80017 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
80019         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
80020         non-default versions.
80022 2012-06-11  Roland McGrath  <roland@hack.frob.com>
80024         [BZ #14218]
80025         * manual/argp.texi (Argp): Reword argp_parse description slightly.
80027 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
80029         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
80030         (FE_UPWARD, FE_DOWNWARD): Don't define.
80031         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
80032         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80034         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
80035         reading it.
80036         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80037         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80039 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80041         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80042         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
80043         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
80044         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
80046 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
80048         [BZ #14117]
80049         * sysdeps/i386/fpu/bits/fenv.h: Removed.
80050         * sysdeps/i386/fpu/Implies: New file.
80051         * sysdeps/x86_64/fpu/Implies: Likewise.
80052         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
80053         * sysdeps/x86/fpu/bits/fenv.h: This.
80055         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
80056         __SSE_MATH__.
80058 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
80060         [BZ #14134]
80061         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
80062         character 0xffff that matches the last element of the
80063         conversion table.
80065 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80067         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
80068         fmodl commit.
80070 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80072         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
80073         values higher than 25.6283.
80075 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80077         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
80078         subnormal exponent extraction and add some __builtin_expect.
80079         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
80080         Fix for subnormal mantissa calculation.
80082 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
80084         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
80085         cpu2 is -1 and errno is not ENOSYS.
80087 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
80089         [BZ #14117]
80090         * sysdeps/i386/i486/bits/string.h: Renamed to ...
80091         * sysdeps/x86/bits/string.h: This.
80092         * sysdeps/x86_64/bits/string.h: Removed.
80094         * sysdeps/i386/i486/bits/string.h: Define inline functions only
80095         if not compiling for x86-64, but compiling for >= i486.
80097         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
80098         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
80100         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
80101         New macro from Linux kernel 3.4.0.
80102         (FP_XSTATE_MAGIC2): Likewise.
80103         (FP_XSTATE_MAGIC2_SIZE): Likewise.
80104         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
80105         (struct _fpx_sw_bytes): New struct.
80106         (struct _xsave_hdr): Likewise.
80107         (struct _ymmh_state): Likewise.
80108         (struct _xstate): Likewise.
80110         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80111         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
80112         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
80113         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
80114         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
80115         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
80117         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80118         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80119         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80120         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80121         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80122         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
80124 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80126         [BZ #13743]
80127         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80128         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80129         (sysdep_headers): Include sys/platform/ppc.h.
80130         * sysdeps/powerpc/test-gettimebase.c: Test for
80131         __ppc_get_timebase() to catch future ISA opcode/insn changes.
80132         * manual/Makefile (appendices): Include platform.texi.
80133         * manual/contrib.texi (Contributors): Update @node pointers.
80134         * manual/maint.texi (Maintenance): Likewise.
80135         (Platform): New node.
80136         * manual/platform.texi: New file.  Document the new features.
80138 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
80139             Jakub Jelinek  <jakub@redhat.com>
80141         [BZ #14188]
80142         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80143         where __builtin_expect is unavailable.
80145 2012-06-03  David S. Miller  <davem@davemloft.net>
80147         * stdlib/longlong.h: Updated from GCC.
80149 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
80151         [BZ #14042]
80152         * sysdeps/powerpc/powerpc32/mcount.c: New file.
80153         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80154         __mcount_internal.
80155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80156         (GLIBC_2.16): Likewise.
80158 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80160         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80162 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80165         (default-abi): New variable.
80166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80167         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80168         variable.
80169         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80170         Likewise.
80171         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80172         Likewise.
80173         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80174         Likewise.
80176         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80177         definition.  Document in comment.
80179 2012-06-01  David S. Miller  <davem@davemloft.net>
80181         * stdlib/longlong.h: Updated from GCC.
80183 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80185         [BZ #14117]
80186         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80187         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80188         sys/debugreg.h sys/io.h here.
80189         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80190         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80191         sys/io.h.
80192         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80193         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80194         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80195         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80196         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80197         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80199         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80200         Define only if __x86_64__ is defined.
80202 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80204         [BZ #14048]
80205         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80206         Use int64_t for variable i.
80207         * math/libm-test.inc (fmod_test): Add more tests.
80209         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80210         z computation is not scheduled after fetestexcept.
80211         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80212         Use math_force_eval instead of asm to ensure calculation scheduled
80213         before exception test.
80214         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80215         Ensure a1 + u.d computation is not scheduled after fetestexcept.
80217 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
80219         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80220         computation is not scheduled after fetestexcept.
80222 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80224         [BZ #14117]
80225         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80226         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80228 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80230         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80231         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80233 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80235         [BZ #14117]
80236         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80237         <bits/wordsize.h>.
80238         (__WCHAR_MIN): Support __WORDSIZE == 64.
80239         (__WCHAR_MAX): Likewise.
80241         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80242         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80244         [BZ #14183]
80245         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80246         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80248         [BZ #14117]
80249         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80250         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80252         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80253         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80255         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80256         Defined to 1 if __x86_64__ isn't defined.
80257         (_STAT_VER_LINUX_OLD): New.
80258         (st_atime): Remove duplicate.
80259         (st_mtime): Likewise.
80260         (st_ctime): Likewise.
80262 2012-05-31  David S. Miller  <davem@davemloft.net>
80264         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80265         entries.
80267 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
80269         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80270         gen-libm-test.pl.
80272         [BZ #14132]
80273         * elf/dl-reloc.c: Include <_itoa.h>.
80274         (_dl_reloc_bad_type): Remove use of INTUSE.
80275         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80276         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80277         * stdio-common/psiginfo.c (psiginfo): Likewise.
80278         * stdio-common/psignal.c (psignal): Likewise.
80279         * string/strsignal.c (strsignal): Likewise.
80280         * include/signal.h (_sys_siglist): Declare hidden proto.
80281         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
80282         INTVARDEF with libc_hidden_data_def.
80283         * stdio-common/itoa-udigits.c: Likewise.
80284         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80285         (_itoa_lower_digits_internal): Remove declaration.
80286         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80287         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80288         (_sys_sigabbrev_internal): Remove aliases.
80289         (_sys_siglist): Define hidden alias.
80291 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
80293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80294         bits/sysctl.h.
80296 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80298         [BZ #14117]
80299         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80300         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80302         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80303         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80304         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80305         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80306         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80307         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80309         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80310         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80311         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80313         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80314         with __addr.
80315         (insw): Likewise.
80316         (insl): Likewise.
80317         (outsb): Likewise.
80318         (outsw): Likewise.
80319         (outsl): Likewise.
80321         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80322         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80323         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80325         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80326         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80327         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80328         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80329         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80330         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80332         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80333         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80335         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80336         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80338         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80339         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80340         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80342         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80343         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80344         to ...
80345         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80347         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80348         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80349         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80351         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80352         for x86-64.
80353         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80355 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
80357         * math/math.h (M_El): Use two more decimal places.
80358         (M_LOG2El): Likewise.
80359         (M_LOG10El): Likewise.
80360         (M_LN2l): Likewise.
80361         (M_LN10l): Likewise.
80362         (M_PIl): Likewise.
80363         (M_PI_2l): Likewise.
80364         (M_PI_4l): Likewise.
80365         (M_1_PIl): Likewise.
80366         (M_2_PIl): Likewise.
80367         (M_2_SQRTPIl): Likewise.
80368         (M_SQRT2l): Likewise.
80369         (M_SQRT1_2l): Likewise.
80371 2012-05-31  David S. Miller  <davem@davemloft.net>
80373         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80374         values between float registers.
80375         * sysdeps/sparc/sparc64/memset.S: Likewise.
80376         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80378 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
80380         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80381         -D_FORTIFY_SOURCE=1.
80382         (CPPFLAGS-tst-longjmp_chk.c): Define.
80383         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80384         (CPPFLAGS-tst-longjmp_chk2.c): Define.
80385         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80386         CFLAGS-tst-wchar-h.c.
80388 2012-05-31  Marek Polacek  <polacek@redhat.com>
80390         [BZ #14132]
80391         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80392         __endmntent_internal): Remove declaration.
80393         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80394         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80395         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80397 2012-05-30  David S. Miller  <davem@davemloft.net>
80399         * sysdeps/sparc/sparc32/soft-fp/q_util.c
80400         (___Q_simulate_exceptions): Use real FP ops rather than writing
80401         into the %fsr.
80402         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80403         Likewise.
80405 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80407         [BZ #14117]
80408         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80409         * sysdeps/x86/bits/xtitypes.h: This.
80411         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80412         * sysdeps/x86/bits/wordsize.h: This.
80414         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80415         * sysdeps/x86/bits/huge_vall.h: This.
80417         * sysdeps/i386/bits/select.h: Removed.
80418         * sysdeps/x86_64/bits/select.h: Renamed to ...
80419         * sysdeps/x86/bits/select.h: This.
80421         * sysdeps/i386/bits/setjmp.h: Removed.
80422         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80423         * sysdeps/x86/bits/setjmp.h: This.
80425         * sysdeps/i386/bits/mathdef.h: Removed.
80426         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80427         * sysdeps/x86/bits/mathdef.h: This.
80429 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
80431         [BZ #14132]
80432         * include/sys/socket.h (__connect_internal)
80433         (__libc_sa_len_internal): Remove declaration.
80434         (__connect, __libc_sa_len): Declare hidden_proto.
80435         (SA_LEN): Remove use of INTUSE.
80436         * socket/connect.c: Add libc_hidden_def.
80437         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80438         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80439         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80440         alias.
80441         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80442         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80443         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80444         of adding _internal alias.
80446 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80448         [BZ #14117]
80449         * sysdeps/i386/bits/link.h: Removed.
80450         * sysdeps/i386/bits/linkmap.h: Likewise.
80451         * sysdeps/x86_64/bits/link.h: Renamed to ...
80452         * sysdeps/x86/bits/link.h: This.
80453         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80454         * sysdeps/x86/bits/linkmap.h: This.
80456         * sysdeps/i386/bits/endian.h: Removed.
80457         * sysdeps/x86_64/bits/endian.h: Renamed to ...
80458         * sysdeps/x86/bits/endian.h: This.
80460         * sysdeps/i386/bits/byteswap.h: Removed.
80461         * sysdeps/i386/bits/byteswap-16.h: Likewise.
80462         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80463         * sysdeps/x86/bits/byteswap.h: This.
80464         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80465         * sysdeps/x86/bits/byteswap-16.h: This.
80466         * sysdeps/i386/Implies: Add x86.
80467         * sysdeps/x86_64/Implies: Likewise.
80469 2012-05-30  David S. Miller  <davem@davemloft.net>
80471         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80472         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80473         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80474         (FP_TRAPPING_EXCEPTIONS): Define.
80475         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80476         (FP_TRAPPING_EXCEPTIONS): Define.
80477         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80478         subnormals only when inexact has been signalled or underflow
80479         exceptions are enabled.
80480         (_FP_PACK_CANONICAL): Likewise.
80482 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80484         [BZ #14183]
80485         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80486         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80488 2012-05-30  Richard Henderson  <rth@twiddle.net>
80490         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80491         with #ifndef NOT_IN_libc.
80493         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
80494         marked to avoid plt entry.
80496 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80498         [BZ #14112]
80499         * Makeconfig (default-abi): New macro.
80500         (abi-includes): Likewise.
80501         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
80502         $(abi-$(default-abi)-lib-soname) for soname if defined.
80503         ($(common-objpfx)gnu/lib-names.stmp): Generate from
80504         abi-variants.
80505         * Makefile (installed-stubs): Likewise.
80506         * include/stubs-biarch.h: Removed.
80507         * scripts/lib-names.awk: Only handle one library at a time.
80508         * scripts/soversions.awk: Remove WORDSIZE support.
80509         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80510         entries.
80511         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80512         Removed.
80513         (syscall-list-default-condition): Likewise.
80514         (syscall-list-default-condition): Likewise.
80515         (syscall-list-includes): Likewise.
80516         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80517         syscall-list-* with abi-*.  Handle undefined abi-variants.
80518         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80519         * sysdeps/unix/sysv/linux/i386/Implies: New file.
80520         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80521         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80522         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80523         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80524         Removed.
80525         (syscall-list-32-options): Likewise.
80526         (syscall-list-32-condition): Likewise.
80527         (syscall-list-64-options): Likewise.
80528         (syscall-list-64-condition): Likewise.
80529         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80530         macro.
80531         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80532         Renamed to ...
80533         (abi-*): This.
80534         (abi-64-ld-soname): New macro.
80535         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80536         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80537         Renamed to ...
80538         (abi-*): This.
80539         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80540         * sysdeps/x86_64/x32/shlib-versions: Likewise.
80542 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
80544         * sysdeps/unix/sysv/linux/kernel-features.h
80545         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80546         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80547         include <kernel-features.h>.
80548         [!__NR_ftruncate64]: Remove conditional code.
80549         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80550         [__NR_ftruncate64]: Make code unconditional.
80551         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80552         * sysdeps/unix/sysv/linux/truncate64.c: Do not
80553         include <kernel-features.h>.
80554         [!__NR_ftruncate64]: Remove conditional code.
80555         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80556         [__NR_ftruncate64]: Make code unconditional.
80557         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80559         include <kernel-features.h>.
80560         [!__NR_ftruncate64]: Remove conditional code.
80561         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80562         [__NR_ftruncate64]: Make code unconditional.
80563         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80565         include <kernel-features.h>.
80566         [!__NR_ftruncate64]: Remove conditional code.
80567         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80568         [__NR_ftruncate64]: Make code unconditional.
80569         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80571         * configure.in (libc_cv_fpie): Weaken to a compile test using
80572         LIBC_TRY_CC_OPTION.
80573         * configure: Regenerated.
80575 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80581         Refreshed.
80582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80588         Refreshed.
80590 2012-05-27  David S. Miller  <davem@davemloft.net>
80592         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80593         (___Q_zero): New.
80594         (__Q_simulate_exceptions): Return void.  Change to simulate
80595         exceptions by writing into the %fsr.
80596         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80597         (__Qp_handle_exceptions): Likewise.
80598         (numbers): Delete.
80599         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80600         __Qp_handle_exceptions.
80601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80602         __Qp_handle_exceptions.
80603         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80604         as unused and give dummy FP_RND_NEAREST initializer.
80605         (FP_INHIBIT_RESULTS): Define.
80606         (___Q_simulate_exceptions): Update declaration.
80607         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80608         formatting.
80609         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80610         as unused and give dummy FP_RND_NEAREST initializer.
80611         (__Qp_handle_exceptions): Update declaration.
80612         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80613         formatting.
80615 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
80617         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80618         the temporary FPU control word.
80619         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80620         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80621         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80622         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80623         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80624         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80625         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80626         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80627         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80628         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80629         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80631 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80633         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80634         fields.
80636 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
80638         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80639         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80640         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80641         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80642         Likewise.
80643         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80644         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80645         Likewise.
80647 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
80649         * po/h.po: Update from translation team.
80651 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
80653         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80655         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80656         handling of denormals.
80657         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80658         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80659         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80660         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80661         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80662         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80663         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80664         Likewise.
80666 2012-05-26  Marek Polacek  <polacek@redhat.com>
80668         [BZ #14152]
80669         * math/libm-test.inc (fma_test): Don't always expect underflow
80670         exception.
80672 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80674         [BZ #12416]
80675         * elf/tst-execstack.c: Include stackinfo.h.
80676         (do_test): Adjust test case to ensure that pthread_getattr_np
80677         behaviour remains the same after marking stack executable.
80679 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80681         * sysdeps/unix/sysv/linux/kernel-features.h
80682         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80683         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80684         kernel-features.h.
80685         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80686         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80687         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80688         kernel-features.h.
80689         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80690         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80692 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
80694         * configure.in: Define the default includes to being none.
80695         * configure: Regenerated.
80697 2012-05-25  Roland McGrath  <roland@hack.frob.com>
80699         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80700         * sysdeps/x86_64/setjmp.S: Likewise.
80701         * sysdeps/i386/bsd-setjmp.S: Likewise.
80702         * sysdeps/i386/bsd-_setjmp.S: Likewise.
80703         * sysdeps/i386/setjmp.S: Likewise.
80704         * sysdeps/i386/__longjmp.S: Likewise.
80705         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80706         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80708         * include/stap-probe.h: New file.
80709         * configure.in: Handle --enable-systemtap.
80710         * configure: Regenerated.
80711         * config.h.in (USE_STAP_PROBE): New #undef.
80712         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80713         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80714         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80716 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80718         [BZ #13717]
80719         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80720         to 2.4.0 where earlier.
80721         * sysdeps/unix/sysv/linux/configure: Regenerated.
80722         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80723         <kernel-features.h>.
80724         [__ASSUME_32BITUIDS]: Make code unconditional.
80725         [!__ASSUME_32BITUIDS]: Remove conditional code.
80726         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80727         <kernel-features.h>.
80728         [__ASSUME_32BITUIDS]: Make code unconditional.
80729         [!__ASSUME_32BITUIDS]: Remove conditional code.
80730         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80731         [__ASSUME_32BITUIDS]: Make code unconditional.
80732         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80733         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80734         <kernel-features.h>.
80735         [__ASSUME_32BITUIDS]: Make code unconditional.
80736         [!__ASSUME_32BITUIDS]: Remove conditional code.
80737         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80738         <kernel-features.h>.
80739         [__ASSUME_32BITUIDS]: Make code unconditional.
80740         [!__ASSUME_32BITUIDS]: Remove conditional code.
80741         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80742         <kernel-features.h>.
80743         [__ASSUME_32BITUIDS]: Make code unconditional.
80744         [!__ASSUME_32BITUIDS]: Remove conditional code.
80745         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80746         <kernel-features.h>.
80747         [__ASSUME_32BITUIDS]: Make code unconditional.
80748         [!__ASSUME_32BITUIDS]: Remove conditional code.
80749         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80750         <kernel-features.h>.
80751         [__ASSUME_32BITUIDS]: Make code unconditional.
80752         [!__ASSUME_32BITUIDS]: Remove conditional code.
80753         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80754         <kernel-features.h>.
80755         [__ASSUME_32BITUIDS]: Make code unconditional.
80756         [!__ASSUME_32BITUIDS]: Remove conditional code.
80757         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80758         <kernel-features.h>.
80759         [__ASSUME_32BITUIDS]: Make code unconditional.
80760         [!__ASSUME_32BITUIDS]: Remove conditional code.
80761         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80762         <kernel-features.h>.
80763         [__ASSUME_32BITUIDS]: Make code unconditional.
80764         [!__ASSUME_32BITUIDS]: Remove conditional code.
80765         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80766         <kernel-features.h>.
80767         [__ASSUME_32BITUIDS]: Make code unconditional.
80768         [!__ASSUME_32BITUIDS]: Remove conditional code.
80769         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80770         <kernel-features.h>.
80771         [__ASSUME_32BITUIDS]: Make code unconditional.
80772         [!__ASSUME_32BITUIDS]: Remove conditional code.
80773         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80774         <kernel-features.h>.
80775         [__NR_setresgid] (__setresgid): Do not declare.
80776         [__ASSUME_32BITUIDS]: Make code unconditional.
80777         [!__ASSUME_32BITUIDS]: Remove conditional code.
80778         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80779         <kernel-features.h>.
80780         [__NR_setresuid] (__setresuid): Do not declare.
80781         [__ASSUME_32BITUIDS]: Make code unconditional.
80782         [!__ASSUME_32BITUIDS]: Remove conditional code.
80783         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.c: Do not include
80816         <kernel-features.h>.
80817         [__ASSUME_32BITUIDS]: Make code unconditional.
80818         [!__ASSUME_32BITUIDS]: Remove conditional code.
80819         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80820         <kernel-features.h>.
80821         [__ASSUME_32BITUIDS]: Make code unconditional.
80822         [!__ASSUME_32BITUIDS]: Remove conditional code.
80823         * sysdeps/unix/sysv/linux/kernel-features.h
80824         (__ASSUME_SETRESUID_SYSCALL): Remove.
80825         (__ASSUME_SETRESGID_SYSCALL): Likewise.
80826         (__ASSUME_32BITUIDS): Likewise.
80827         (__ASSUME_LDT_WORKS): Likewise.
80828         (__ASSUME_O_DIRECTORY): Likewise.
80829         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80830         architecture but not kernel version.
80831         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80832         (__ASSUME_MMAP2_SYSCALL): Likewise.
80833         (__ASSUME_STAT64_SYSCALL): Likewise.
80834         (__ASSUME_IPC64): Likewise.
80835         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80836         <kernel-features.h>.
80837         [__ASSUME_32BITUIDS]: Make code unconditional.
80838         [!__ASSUME_32BITUIDS]: Remove conditional code.
80839         * sysdeps/unix/sysv/linux/opendir.c: Do not include
80840         <kernel-features.h>.
80841         [__ASSUME_O_DIRECTORY]: Make code unconditional.
80842         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80843         132096]: Remove conditional code.
80844         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80845         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
80854         <kernel-features.h>.
80855         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80856         unconditional.
80857         (__setresgid): Do not declare.
80858         [__ASSUME_32BITUIDS]: Make code unconditional.
80859         [!__ASSUME_32BITUIDS]: Remove conditional code.
80860         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80861         <kernel-features.h>.
80862         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80863         unconditional.
80864         (__setresuid): Do not declare.
80865         [__ASSUME_32BITUIDS]: Make code unconditional.
80866         [!__ASSUME_32BITUIDS]: Remove conditional code.
80867         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80868         <kernel-features.h>.
80869         [__ASSUME_32BITUIDS]: Make code unconditional.
80870         [!__ASSUME_32BITUIDS]: Remove conditional code.
80871         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80872         <kernel-features.h>.
80873         [__ASSUME_32BITUIDS]: Make code unconditional.
80874         [!__ASSUME_32BITUIDS]: Remove conditional code.
80876 2012-05-25  Richard Henderson  <rth@twiddle.net>
80878         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80879         dl_hwcap to ifunc resolver.
80880         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80881         elf_ifunc_invoke.
80882         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80883         dl_hwcap to ifunc resolver.
80884         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80886 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80888         [BZ #14153]
80889         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80890         for |x| <= 2**-26, not 2**-57.
80891         * math/libm-test.inc (acos_test): Do not allow spurious underflow
80892         exception.
80894 2012-05-24  Jeff Law  <law@redhat.com>
80896         * stdio-common/Makefile (tests): Add bug25.
80897         * stdio-common/bug25.c: New test.
80899 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
80901         [BZ #13576]
80902         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80903         multiple of MALLOC_ALIGNMENT in size.
80904         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80906 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80908         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80909         Require >= 256.
80910         (FILENAME_MAX): Use macro-int-constant.
80911         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
80912         (_IOFBF): Use macro-int-constant.
80913         (_IOLBF): Likewise.
80914         (_IONBF): Likewise.
80915         (SEEK_CUR): Likewise.
80916         (SEEK_END): Likewise.
80917         (SEEK_SET): Likewise.
80918         (TMP_MAX): Likewise.
80919         (EOF): Use macro-int-constant.  Require < 0.
80920         (NULL): Use macro-constant.  Require == 0.
80921         (stdin): Require type to be FILE *.
80922         (stdout): Likewise.
80923         (stderr): Likewise.
80924         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80925         macro-int-constant.
80926         (EXIT_SUCCESS): Likewise.
80927         (NULL): Use macro-constant.  Require == 0.
80928         (RAND_MAX): Use macro-int-constant.
80929         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80930         [C99-based standards] (strtof): Require function.
80931         [C99-based standards] (strtold): Likewise.
80932         [C99-based standards] (strtoll): Likewise.
80933         [C99-based standards] (strtoull): Likewise.
80934         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80935         [ISO || ISO99 || ISO11] (limits.h): Likewise.
80936         [ISO || ISO99 || ISO11] (math.h): Likewise.
80937         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80938         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80939         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80941 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
80943         [BZ #14132]
80944         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80945         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80946         * intl/dgettext.c (DCGETTEXT): Likewise.
80947         * intl/gettext.c (DCGETTEXT): Likewise.
80948         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80949         * posix/regex_internal.h (gettext): Likewise.
80950         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80951         Remove declaration.
80952         * include/argz.h (__argz_count_internal)
80953         (__argz_stringify_internal): Remove declaration.
80954         (__argz_count, __argz_stringify): Declare hidden proto.
80955         * intl/dcgettext.c: Remove use of INTDEF.
80956         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80957         * string/argz-stringify.c: Likewise.
80958         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80959         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80960         Declare hidden proto.
80961         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80962         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80963         Declare hidden proto.
80964         * include/stdio.h (__asprintf_internal): Don't declare.
80965         (__asprintf): Don't define as macro.  Declare hidden proto.
80966         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
80967         (__fsetlocking): Declare hidden proto.
80968         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
80969         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
80970         hidden proto.
80971         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
80972         (_IO_setlinebuf): Remove use of INTUSE.
80973         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
80974         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
80975         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
80976         Remove declaration.
80977         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80978         (_IO_do_flush): Remove use of INTUSE.
80979         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
80980         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
80981         (_IO_adjust_column, _IO_least_wmarker)
80982         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
80983         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
80984         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
80985         (_IO_default_doallocate, _IO_wdefault_doallocate)
80986         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
80987         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
80988         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
80989         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
80990         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
80991         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
80992         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
80993         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
80994         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
80995         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
80996         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
80997         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
80998         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
80999         proto.
81000         (_IO_flush_all_internal, _IO_adjust_column_internal)
81001         (_IO_default_uflow_internal, _IO_default_finish_internal)
81002         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
81003         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
81004         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
81005         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
81006         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
81007         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
81008         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
81009         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
81010         (_IO_file_close_internal, _IO_file_close_it_internal)
81011         (_IO_file_underflow_internal, _IO_file_overflow_internal)
81012         (_IO_file_init_internal, _IO_file_attach_internal)
81013         (_IO_file_fopen_internal, _IO_file_read_internal)
81014         (_IO_file_sync_internal, _IO_file_seek_internal)
81015         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
81016         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
81017         (_IO_str_underflow_internal, _IO_str_overflow_internal)
81018         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
81019         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
81020         (_IO_list_all_internal, _IO_link_in_internal)
81021         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
81022         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
81023         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
81024         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
81025         (_IO_do_write_internal, _IO_padn_internal)
81026         (_IO_getline_info_internal, _IO_getline_internal)
81027         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
81028         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
81029         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
81030         (_IO_vfscanf_internal, _IO_vfprintf_internal)
81031         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
81032         (_IO_init_internal, _IO_un_link_internal): Don't declare.
81033         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
81034         with libc_hidden_ver, remove use of INTUSE.
81035         * libio/genops.c: Likewise.
81036         * libio/freopen.c: Likewise.
81037         * libio/freopen64.c: Likewise.
81038         * libio/iofclose.c: Likewise.
81039         * libio/iofdopen.c: Likewise.
81040         * libio/iofflush.c: Likewise.
81041         * libio/iofflush_u.c: Likewise.
81042         * libio/iofgets.c: Likewise.
81043         * libio/iofgets_u.c: Likewise.
81044         * libio/iofopen.c: Likewise.
81045         * libio/iofopncook.c: Likewise.
81046         * libio/iofread.c: Likewise.
81047         * libio/iofread_u.c: Likewise.
81048         * libio/ioftell.c: Likewise.
81049         * libio/iofwrite.c: Likewise.
81050         * libio/iogetline.c: Likewise.
81051         * libio/iogets.c: Likewise.
81052         * libio/iogetwline.c: Likewise.
81053         * libio/iopadn.c: Likewise.
81054         * libio/iopopen.c: Likewise.
81055         * libio/ioseekoff.c: Likewise.
81056         * libio/ioseekpos.c: Likewise.
81057         * libio/iosetbuffer.c: Likewise.
81058         * libio/iosetvbuf.c: Likewise.
81059         * libio/ioungetc.c: Likewise.
81060         * libio/ioungetwc.c: Likewise.
81061         * libio/iovdprintf.c: Likewise.
81062         * libio/iovsprintf.c: Likewise.
81063         * libio/iovsscanf.c: Likewise.
81064         * libio/memstream.c: Likewise.
81065         * libio/obprintf.c: Likewise.
81066         * libio/oldfileops.c: Likewise.
81067         * libio/oldiofclose.c: Likewise.
81068         * libio/oldiofdopen.c: Likewise.
81069         * libio/oldiofopen.c: Likewise.
81070         * libio/oldiopopen.c: Likewise.
81071         * libio/oldstdfiles.c: Likewise.
81072         * libio/putc.c: Likewise.
81073         * libio/setbuf.c: Likewise.
81074         * libio/setlinebuf.c: Likewise.
81075         * libio/stdfiles.c: Likewise.
81076         * libio/strops.c: Likewise.
81077         * libio/vasprintf.c: Likewise.
81078         * libio/vscanf.c: Likewise.
81079         * libio/vsnprintf.c: Likewise.
81080         * libio/vswprintf.c: Likewise.
81081         * libio/wfiledoalloc.c: Likewise.
81082         * libio/wfileops.c: Likewise.
81083         * libio/wgenops.c: Likewise.
81084         * libio/wmemstream.c: Likewise.
81085         * libio/wstrops.c: Likewise.
81086         * libio/__fpurge.c: Likewise.
81087         * libio/__fsetlocking.c: Likewise.
81088         * assert/assert.c: Likewise.
81089         * debug/fgets_chk.c: Likewise.
81090         * debug/fgets_u_chk.c: Likewise.
81091         * debug/fread_chk.c: Likewise.
81092         * debug/fread_u_chk.c: Likewise.
81093         * debug/gets_chk.c: Likewise.
81094         * debug/obprintf_chk.c: Likewise.
81095         * debug/vasprintf_chk.c: Likewise.
81096         * debug/vdprintf_chk.c: Likewise.
81097         * debug/vsnprintf_chk.c: Likewise.
81098         * debug/vsprintf_chk.c: Likewise.
81099         * malloc/mtrace.c: Likewise.
81100         * misc/error.c: Likewise.
81101         * misc/syslog.c: Likewise.
81102         * stdio-common/asprintf.c: Likewise.
81103         * stdio-common/fxprintf.c: Likewise.
81104         * stdio-common/getw.c: Likewise.
81105         * stdio-common/isoc99_fscanf.c: Likewise.
81106         * stdio-common/isoc99_scanf.c: Likewise.
81107         * stdio-common/isoc99_vfscanf.c: Likewise.
81108         * stdio-common/isoc99_vscanf.c: Likewise.
81109         * stdio-common/isoc99_vsscanf.c: Likewise.
81110         * stdio-common/printf-prs.c: Likewise.
81111         * stdio-common/printf_fp.c: Likewise.
81112         * stdio-common/printf_fphex.c: Likewise.
81113         * stdio-common/printf_size.c: Likewise.
81114         * stdio-common/putw.c: Likewise.
81115         * stdio-common/scanf.c: Likewise.
81116         * stdio-common/sprintf.c: Likewise.
81117         * stdio-common/tmpfile.c: Likewise.
81118         * stdio-common/vfprintf.c: Likewise.
81119         * stdio-common/vfscanf.c: Likewise.
81120         * stdlib/strfmon_l.c: Likewise.
81121         * sunrpc/openchild.c: Likewise.
81122         * sunrpc/xdr_stdio.c: Likewise.
81123         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81124         * sysdeps/mach/hurd/tmpfile.c: Likewise.
81126 2012-05-24  Roland McGrath  <roland@hack.frob.com>
81128         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81130         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81131         in the third column, to generate for the shared library an IFUNC
81132         that uses _dl_vdso_vsym.
81133         * Makerules (COMPILE.c, compile-stdin.c): New variables.
81134         * Makeconfig (object-suffixes-noshared): New variable.
81136         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81137         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81138         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81139         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81141         [BZ #14132]
81142         * include/sys/time.h (__gettimeofday): Remove macro.
81143         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81144         * time/gettimeofday.c (__gettimeofday): Remove #undef.
81145         Remove INTDEF.
81146         (__gettimeofday): Add libc_hidden_def.
81147         (gettimeofday): Add libc_hidden_weak.
81148         * sysdeps/mach/gettimeofday.c: Likewise.
81149         * sysdeps/posix/gettimeofday.c: Likewise.
81150         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81151         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81152         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81153         (__gettimeofday_internal): Remove strong_alias.
81154         (__gettimeofday): Add libc_hidden_def.
81155         (gettimeofday): Add libc_hidden_weak.
81156         * sysdeps/unix/syscalls.list (gettimeofday):
81157         Remove __gettimeofday_internal alias.
81159 2012-05-24  Daniel Jacobowitz  <drow@false.org>
81160             H.J. Lu  <hongjiu.lu@intel.com>
81162         [BZ #12495]
81163         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81164         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81165         (largebin_index_32_big): New.
81166         (largebin_index): Use it for 16-byte alignment.
81167         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
81168         correction with front_misalign.
81170 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
81172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81174         Likewise.
81175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81176         Likewise.
81177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81178         Likewise.
81179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81180         Likewise.
81181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81182         Likewise.
81183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81184         Likewise.
81185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81186         Likewise.
81187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81188         Likewise.
81189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81190         Likewise.
81191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81192         Likewise.
81193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81194         Likewise.
81195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81196         Likewise.
81198         * scripts/data/c++-types-x32-linux-gnu.data: New file.
81199         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81201 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
81203         [BZ #10846]
81204         [BZ #14036]
81205         * math/libm-test.inc (exp_test): Add test from bug 14036.
81206         (pow_test): Add test from bug 10846.
81208         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81209         and other flags.
81210         (special_function): Do not include flags in test name.
81211         (parse_args): Likewise.
81212         * sysdeps/i386/fpu/libm-test-ulps: Update.
81213         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81214         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81215         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81218         * math/gen-libm-test.pl (%beautify): Add entries for underflow
81219         exceptions.
81220         * math/libm-test.inc ("Philosophy"): Update comment about
81221         exception testing.
81222         (UNDERFLOW_EXCEPTION): New macro.
81223         (UNDERFLOW_EXCEPTION_OK): Likewise.
81224         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81225         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81226         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81227         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81228         (INVALID_EXCEPTION_OK): Update value.
81229         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81230         (OVERFLOW_EXCEPTION_OK): Likewise.
81231         (IGNORE_ZERO_INF_SIGN): Likewise.
81232         (test_exceptions): Handle underflow exceptions.
81233         (acos_test): Update for underflow exception expectations.
81234         (cexp_test): Likewise.
81235         (clog_test): Likewise.
81236         (clog10_test): Likewise.
81237         (csqrt_test): Likewise.
81238         (ctan_test): Likewise.
81239         (ctanh_test): Likewise.
81240         (exp_test): Likewise.
81241         (exp10_test): Likewise.
81242         (exp2_test): Likewise.
81243         (expm1_test): Likewise.
81244         (fma_test): Likewise.
81245         (j0_test): Likewise.
81246         (jn_test): Likewise.
81247         (nexttoward_test): Likewise.
81248         (pow_test): Likewise.
81249         (scalbn_test): Likewise.
81250         (scalbln_test): Likewise.
81251         (tan_test): Likewise.
81252         (y1_test): Likewise.
81253         * sysdeps/i386/fpu/libm-test-ulps: Update.
81254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81256 2012-05-23  David S. Miller  <davem@davemloft.net>
81258         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81259         (__libc_sigaction): Remove unused local variables.
81261 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81263         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81265 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
81267         mktime: avoid signed integer overflow
81268         * time/mktime.c (__mktime_internal): Do not mishandle the case
81269         where diff == INT_MIN.
81271         mktime: simplify computation of average
81272         * time/mktime.c (ranged_convert): Use new time_t_avg function
81273         instead of rolling our own (probably-slower) code.
81275         mktime: do not assume signed right shift propagates sign bit
81276         * time/mktime.c (isdst_differ): New static function.
81277         (__mktime_internal): No need to normalize tm_isdst now.
81278         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81279         tm_isdst values.
81281         mktime: merge another wrapv change from gnulib
81282         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81283         from some compilers.
81285         mktime: remove incorrect attempt at unusual arithmetics
81286         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81287         The code didn't really work on such machines anyway.
81288         (TYPE_MINIMUM): Assume two's complement.
81289         (twos_complement_arithmetic): Verify that long_int and time_t
81290         are two's complement (or unsigned, in the latter case).
81292         mktime: check signed shifts on long_int and time_t, too
81293         * time/mktime.c (SHR): Check that shifts work as desired
81294         on the types long_int and time_t too, as SHR is used on
81295         such types.
81297         mktime: do not assume 'long' is wide enough
81298         * time/mktime.c (verify): Move decl up.
81299         (long_int): New type.
81300         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81301         to remove assumption in the code that 'long' is wide enough to
81302         store year values.  This assumption is not true on x32 and on
81303         some non-glibc platforms.
81305         mktime: merge wrapv change from gnulib
81306         * time/mktime.c (WRAPV): New macro.
81307         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81308         (guess_time_tm, __mktime_internal): Do not assume that signed
81309         integer overflow wraps around; modern compilers generate code
81310         where this assumption is no longer valid.
81312 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81314         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81315         Replace "jmp L(pseudo_end)" with "ret".
81316         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81317         Likewise.
81319 2012-05-23  Andreas Jaeger  <aj@suse.de>
81321         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81322         * sysdeps/unix/sysv/linux/poll.c: Remove file.
81324 2012-05-23  Andreas Jaeger  <aj@suse.de>
81325             Maximilian Attems  <max@stro.at>
81327         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81328         New macros.
81330 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81332         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81333         code so that pseudo_end is just ret and the stack pointer is
81334         correct also for static library in error case.
81336 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
81338         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81339         move to syscalls.list.
81340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81345         * manual/install.texi (Running make install): Do not mention Linux
81346         kernel version for which pt_chown is not needed.
81347         (Linux): Do not mention problems with nscd with 2.0 kernels.
81348         * INSTALL: Regenerated.
81350 2012-05-23  Andreas Jaeger  <aj@suse.de>
81352         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81353         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81354         macro.
81355         * sysdeps/unix/sysv/linux/s390/bits/mman.h
81356         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81357         * sysdeps/unix/sysv/linux/sh/bits/mman.h
81358         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81359         * sysdeps/unix/sysv/linux/i386/bits/mman.h
81360         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81361         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81362         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81363         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81364         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81365         * sysdeps/unix/sysv/linux/bits/in.h
81366         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81368 2012-05-22  Roland McGrath  <roland@hack.frob.com>
81370         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81371         (PREPARE_VERSION): Just use assert instead, it will be elided
81372         under [NDEBUG] anyway.
81374 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81376         * sysdeps/unix/sysv/linux/Makefile: Include
81377         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81378         (sysdep_routines): Remove sysctl.
81379         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81380         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81381         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81382         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81383         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81385 2012-05-22  Andreas Jaeger  <aj@suse.de>
81387         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81388         that pseudo_end is just ret and the stack pointer is correct also
81389         for static library in error case.
81391 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
81393         [BZ #14122]
81394         * nss/nsswitch.c (defconfig_entries): New variable.
81395         (__nss_database_lookup): Don't leak defconfig entries.
81396         (nss_parse_service_list): Don't leak on error paths.
81397         (free_database_entries): New function.
81398         (free_defconfig): New function.
81399         (free_mem): Move common code to free_database_entries.
81401 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81403         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81404         Add arch_prctl.
81405         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81407         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81408         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81410         New macro.
81411         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81412         (INTERNAL_SYSCALL_TYPES): Likewise.
81413         (LOAD_ARGS_TYPES_[1-6]): Likewise.
81414         (LOAD_REGS_TYPES_[1-6]): Likewise.
81415         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81416         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81418 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81420         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81421         copysignl for GLIBC_2_0.
81422         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81423         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81424         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81425         logbl for GLIBC_2_0.
81426         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81427         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81429 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81431         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81432         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81434         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81435         Use "neg %eax".
81437         * time/mktime.c: Update copyright years.
81439 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
81441         mktime: merge comment-quoting-style change from gnulib
81442         * time/mktime.c: Quote 'like this' in comments.
81443         The GNU coding standards suggest that we no longer quote `like this',
81444         as "`" and "'" are typically rendered asymmetrically nowadays.
81445         The typical gnulib style is to quote 'like this' when quoting
81446         code, and "like this" when quoting English.
81448         * time/mktime.c (compile-command): Add "-I.".
81450         mktime: merge mktime-internal.h change from gnulib
81451         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81453         mktime: merge time_r change from gnulib
81454         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81456         mktime: merge DEBUG change from gnulib
81457         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81458         case system <time.h> has a #define.
81460         mktime: merge <sys/types.h> change from gnulib
81461         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81462         since <time.t> is now guaranteed to define time_t.
81464         mktime: merge HAVE_CONFIG_H change from gnulib
81465         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81467 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81469         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81470         Use "neg %eax".
81472         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81473         __rlim_t cast.
81474         (struct rusage): Use anonymous union to pad each field to
81475         __syscall_slong_t.
81477 2012-05-21  David S. Miller  <davem@davemloft.net>
81479         * Makefules (o-iterator): Remove .s cases.
81480         (compile-command.s): Delete.
81481         (COMPILE.s): Delete.
81482         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81484 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
81486         * configure.in (libc_cv_predef_stack_protector): Only consider
81487         "foobar" and "__stack_chk_fail" lines in libc_undefs.
81488         * configure: Regenerated.
81490 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81492         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81493         New macro.  Use R*LP on int and pointer.
81494         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81495         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81496         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81497         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81499         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81500         [__WORDSIZE_TIME64_COMPAT32] instead of
81501         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81502         (struct utmp): Likewise.
81503         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81504         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81505         Renamed to ...
81506         (__WORDSIZE_TIME64_COMPAT32): This.
81507         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81508         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81509         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81510         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81511         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81512         (__WORDSIZE_TIME64_COMPAT32): New macro.
81514 2012-05-21  Andreas Jaeger  <aj@suse.de>
81516         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81517         only if [SHARED]. Add prototype for __wcschr_ia32.
81519 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81521         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81522         of %rbp unmolested in the jmp_buf while mangling the low bits.
81523         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81524         unmolested high bits of %rbp while demangling the low bits.
81525         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81527 2012-05-21  Andreas Jaeger  <aj@suse.de>
81529         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81530         * sunrpc/svc_simple.c: Use it for registerrpc.
81531         * sunrpc/xcrypt.c: Use it for passwd2des.
81533         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81535 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81537         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81538         Don't define if [__SYSCALL_WORDSIZE != 32].
81539         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81540         New macro.
81542 2012-05-21  Bruno Haible  <bruno@clisp.org>
81543             Andreas Jaeger  <aj@suse.de>
81545         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81546         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81547         inptr and inend for must_buffer_ch.
81548         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81549         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81550         * stdio-common/Makefile (tests): Remove bug15.
81551         (bug15-ENV): Remove macro.
81552         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81553         anymore.
81555 2012-05-19  Andreas Jaeger  <aj@suse.de>
81556             Roland McGrath  <roland@hack.frob.com>
81558         * manual/contrib.texi: Completely rewritten. It contains now an
81559         alphabetical list of contributors and their contributions.
81561 2012-05-21  Richard Henderson  <rth@twiddle.net>
81563         * misc/getauxval.c (__getauxval): Use unsigned long int.
81564         * misc/sys/auxv.h: Include <sys/cdefs.h>.
81565         (getauxval): Use unsigned long int.
81567 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81569         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81571 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81573         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81574         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81575         __alignof__ (long double).
81577 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81581 2012-05-20  Richard Henderson  <rth@twiddle.net>
81583         * misc/getauxval.c: New file.
81584         * misc/sys/auxv.h: New file.
81585         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81586         (routines): Add getauxval.
81587         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81588         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81589         * elf/dl-sysdep.c (_dl_auxv): Remove.
81590         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81591         * elf/dl-support.c (_dl_auxv): New variable.
81592         (_dl_aux_init): Initialize it.
81593         * manual/startup.texi (Auxiliary Vector): New node.
81594         * sysdeps/generic/bits/hwcap.h: New file.
81595         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81596         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
81597         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81598         * sysdeps/sparc/sysdep.h: ... here.  Include it.
81599         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81600         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81602         Update.
81603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81606         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81612 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81616 2012-05-19  David S. Miller  <davem@davemloft.net>
81618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81620 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81622         [BZ #14123]
81623         * math/s_ccosh.c: Include <float.h>
81624         (__ccosh): Avoid internal overflow calculating sinh and cosh
81625         values before multiplying by sin and cos values.
81626         * math/s_ccoshf.c: Likewise.
81627         * math/s_ccoshl.c: Likewise.
81628         * math/s_csin.c: Likewise.
81629         * math/s_csinf.c: Likewise.
81630         * math/s_csinl.c: Likewise.
81631         * math/s_csinh.c: Likewise.
81632         * math/s_csinhf.c: Likewise.
81633         * math/s_csinhl.c: Likewise.
81634         * math/libm-test.inc (ccos_test): Add more tests.
81635         (ccosh_test): Likewise.
81636         (csin_test): Likewise.
81637         (csinh_test): Likewise.
81638         * sysdeps/i386/fpu/libm-test-ulps: Update.
81639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81641 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
81643         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81644         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81646         * sysdeps/x86_64/x32/_itoa.h: Add comment.
81648 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81650         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81651         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81652         * sysdeps/powerpc/soft-fp/Versions: Likewise.
81653         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81654         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81655         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81656         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81657         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81658         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81659         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81660         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81661         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81662         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81663         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81664         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81665         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81666         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81667         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81668         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81669         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81670         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81671         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81672         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81673         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81674         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81675         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81676         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81677         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81678         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81679         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81680         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81682 2012-05-18  Andreas Jaeger  <aj@suse.de>
81684         * csu/.gitignore: Delete.
81686 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81688         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81689         (timex): Use __syscall_slong_t.
81691 2012-05-18  Andreas Jaeger  <aj@suse.de>
81692             Carlos O'Donell  <carlos_odonell@mentor.com>
81694         * manual/install.texi (Configuring and compiling): Update
81695         description about files modified in the source directory.
81696         * INSTALL: Regenerated.
81698 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81700         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81701         value.  Use "or" to set return value to -1.
81702         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81703         negate return value.
81705 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81707         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81708         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81709         failure if the compiler has Graphite support disabled.
81710         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81711         Likewise.
81712         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81713         (CFLAGS-memmove.c): Likewise.
81714         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81715         Likewise.
81717 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81719         * sysdeps/x86_64/x32/_itoa.h: New file.
81721         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81722         getdents system call only if kernel and user dirents have the
81723         same d_ino and d_off.
81725         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81726         LLONG_MAX != LONG_MAX.
81727         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81728         (_fitoa_word): Likewise.
81730         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81731         years.
81732         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81733         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81734         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81736         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81737         include <bits/wordsize.h>.  Check __x86_64__ instead of
81738         __WORDSIZE.
81739         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81740         if __x86_64__ is defined.  Use anonymous union on fpstate.
81742         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81743         anonymous union.
81745 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
81747         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81748         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81749         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81750         Refer to _rtld_local_ro instead of _rtld_global_ro.
81751         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81752         Likewise.
81753         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81754         Likewise.
81755         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81756         Likewise.
81757         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81758         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81759         of _rtld_global, and rtld_progname instead of _dl_argv[0].
81761         [BZ #10882]
81762         * sysdeps/powerpc/powerpc32/dl-machine.c
81763         (__elf_machine_runtime_setup) [PROF]: Don't reference
81764         _dl_prof_resolve.
81766 2012-05-18  Andreas Jaeger  <aj@suse.de>
81768         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81769         function only available for GCCs before 3.4 since GCC 3.4
81770         introduced a builtin.
81771         (lrint): Likewise.
81772         (llrintf): Likewise.
81773         (llrint): Likewise.
81774         (fmaxf): Likewise.
81775         (fmax): Likewise.
81776         (fminf): Likewise.
81777         (fmin): Likewise.
81778         (rint): Likewise.
81779         (rintf): Likewise.
81780         (nearbyint): Likewise.
81781         (nearbyintf): Likewise.
81782         (ceil): Likewise.
81783         (ceilf): Likewise.
81784         (floor): Likewise.
81785         (floorf): Likewise.
81787 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81789         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81790         on both fields and cast pointer to __syscall_ulong_t.
81792         * bits/types.h (__fsword_t): New type.
81793         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81794         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81795         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81796         (__FSWORD_T_TYPE): Likewise.
81797         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81798         (__FSWORD_T_TYPE): Likewise.
81799         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81800         (__FSWORD_T_TYPE): Likewise.
81801         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81802         (__FSWORD_T_TYPE): Likewise.
81803         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81804         __SWORD_TYPE with __fsword_t.
81805         (statfs64): Likewise.
81807 2012-05-17  David S. Miller  <davem@davemloft.net>
81809         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81811 2012-05-17  Andreas Jaeger  <aj@suse.de>
81813         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81814         warning.
81816 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81818         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81820 2012-05-17  Andreas Jaeger  <aj@suse.de>
81822         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81823         when it is used.
81825 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81827         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81829 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81831         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81832         * sysdeps/x86_64/tst-mallocalign1.c: New file.
81834 2012-05-17  Andreas Jaeger  <aj@suse.de>
81835             Carlos O'Donell  <carlos_odonell@mentor.com>
81837         [BZ #14059]
81838         * sysdeps/x86_64/multiarch/init-arch.h
81839         (bit_YMM_Usable): Rename to...
81840         (bit_AVX_Usable): ... this.
81841         (bit_FMA4_Usable): New macro.
81842         (bit_XMM_state): New macro.
81843         (bit_YMM_state): New macro.
81844         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81845         [__ASSEMBLER__] (index_AVX_Usable): ... this.
81846         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81847         (CPUID_OSXSAVE): New macro.
81848         (CPUID_AVX): New macro.
81849         (CPUID_FMA4): New macro.
81850         (index_YMM_Usable): Rename to...
81851         (index_AVX_Usable): ... this.
81852         (HAS_AVX): Use HAS_ARCH_FEATURE.
81853         (HAS_FMA4): Likewise.
81854         (HAS_YMM_USABLE): Remove.
81855         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81856         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81857         are present.
81858         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81859         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81860         * sysdeps/x86_64/multiarch/Makefile: Likewise.
81861         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81862         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81864 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81866         * math/libm-test.c: Support platforms without multiple rounding modes.
81867         * math/bug-nextafter.c: Support platforms without FP exceptions.
81868         * math/bug-nexttoward.c: Likewise.
81869         * math/test-fenv.c: Likewise.
81870         * math/test-misc.c: Likewise.
81871         * stdlib/bug-getcontext.c: Likewise.
81873 2012-05-17  Andreas Jaeger  <aj@suse.de>
81875         * manual/examples/search.c (critter_cmp): Change signature to
81876         avoid warnings.
81877         * manual/string.texi (Collation Functions): Likewise.
81879 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81881         * bits/types.h: Fold copyright years.
81882         * bits/typesizes.h: Likewise.
81883         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81884         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81885         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81886         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81887         * time/time.h: Likewise.
81889 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
81891         [BZ #208]
81892         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81893         in instead of returning them.  Return void.
81894         (__libc_mallinfo): Accumulate over all arenas.
81895         (__malloc_stats): Adjust for change in int_mallinfo interface.
81897 2012-05-16  Roland McGrath  <roland@hack.frob.com>
81899         [BZ #10375]
81900         * configure.in (NM): Add AC_CHECK_TOOL for it.
81901         (libc_extra_cflags): New substituted variable.
81902         Check for -fstack-protector being used implicitly.
81903         * configure: Regenerated.
81904         * config.make.in (config-extra-cflags): New variable,
81905         gets @libc_extra_cflags@.
81906         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81908         [BZ #10375]
81909         * configure.in: Check for _FORTIFY_SOURCE being predefined.
81910         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81911         * configure: Regenerated.
81912         * config.make.in (CPPUNDEFS): New substituted variable.
81913         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81914         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81915         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81917 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81919         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81920         (mq_attr): Use __syscall_slong_t.
81922 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81924         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81925         Check __x86_64__ instead of __WORDSIZE.
81926         (_STAT_VER_LINUX): Likewise.
81927         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
81928         __syscall_ulong_t and __syscall_slong_t.
81929         (stat64): Likewise.
81931 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81933         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81935 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81937         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81939 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81941         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81942         __syscall_ulong_t.
81944         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81945         include <bits/wordsize.h>.  Check __x86_64__ instead of
81946         __WORDSIZE.
81947         (greg_t): Use "__extension__ long long int" if __x86_64__ is
81948         defined.
81949         (mcontext_t): Replace "unsigned long" with "unsigned long long".
81951         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81952         include <bits/wordsize.h>.  Check __x86_64__ instead of
81953         __WORDSIZE.
81954         (user_regs_struct): Use "__extension__ unsigned long long"
81955         instead of "unsigned long" if __x86_64__ is defined.
81956         (user): Likewise.  Pad after pointer field if __ILP32__ is
81957         defined.
81959 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
81961         * configure.in (makeinfo): Require version 4.5 or later.  Allow
81962         versions 5 to 9.
81963         * configure: Regenerated.
81964         * manual/install.texi (texinfo): Increase version requirement to
81965         4.5 or later.
81966         * INSTALL: Regenerated.
81968         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81970 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81972         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
81974         * sysdeps/x86_64/x32/ffs.c: New file.
81976         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
81977         __syscall_ulong_t.
81978         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
81979         defined.  Use __syscall_ulong_t.
81980         (shminfo): Use __syscall_ulong_t.
81981         (shm_info): Likewise.
81983         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
81984         __syscall_ulong_t.
81986         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
81987         <bits/wordsize.h>.
81988         (msgqnum_t): Use __syscall_ulong_t.
81989         (msglen_t): Likewise.
81990         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
81991         __syscall_ulong_t.
81993         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
81994         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81996         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
81998         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
81999         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
82001         * sysvipc/sys/msg.h (msgbuf): Replace long int with
82002         __syscall_slong_t.
82004         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
82005         include <bits/wordsize.h>.  Check __x86_64__ instead of
82006         __WORDSIZE.
82008         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
82009         "unsigned long long int" if __x86_64__ is defined.
82010         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
82012         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
82013         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
82014         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
82016         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
82017         <stdint.h>.
82018         (GET_PC): Cast to uintptr_t first.
82019         (GET_FRAME): Likewise.
82020         (GET_STACK): Likewise.
82022         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
82023         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
82024         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
82025         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
82026         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
82027         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
82028         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
82029         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
82030         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
82031         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
82032         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
82033         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
82034         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
82035         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
82036         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
82037         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
82038         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
82039         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
82040         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
82041         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
82042         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
82043         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
82044         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
82045         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
82046         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
82047         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
82048         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
82049         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
82050         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
82052 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
82054         * Makerules (+depfiles): Also collect depfiles from .oS in
82055         $(extra-objs).
82056         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
82057         .oS, $(libnldbl-routines)).
82059         * Makerules (native-compile-mkdep-flags): Define.
82060         * sunrpc/Makefile (extra-objs): Add $(addprefix
82061         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
82062         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
82063         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
82064         calling $(make-target-directory).
82066 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82068         * bits/types.h (__snseconds_t): Removed.
82069         * time/time.h (struct timespec): Replace __snseconds_t with
82070         __syscall_slong_t.
82071         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
82072         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
82073         Likewise.
82074         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82075         (__SNSECONDS_T_TYPE): Likewise.
82076         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82077         (__SNSECONDS_T_TYPE): Likewise.
82078         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82079         (__SNSECONDS_T_TYPE): Likewise.
82081 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82083         * sysdeps/mach/hurd/bits/typesizes.h
82084         (__SYSCALL_SLONG_TYPE): New macro.
82085         (__SYSCALL_ULONG_TYPE): Likewise.
82087 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82089         * bits/types.h (__syscall_slong_t): New type.
82090         (__syscall_ulong_t): Likewise.
82092         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
82093         (__SYSCALL_ULONG_TYPE): Likewise.
82094         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82095         (__SYSCALL_SLONG_TYPE): Likewise.
82096         (__SYSCALL_ULONG_TYPE): Likewise.
82097         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82098         (__SYSCALL_SLONG_TYPE): Likewise.
82099         (__SYSCALL_ULONG_TYPE): Likewise.
82100         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82101         (__SYSCALL_SLONG_TYPE): Likewise.
82102         (__SYSCALL_ULONG_TYPE): Likewise.
82104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82106         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
82107         Add sigaltstack-offsets.sym.
82108         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
82109         <sigaltstack-offsets.h>.
82110         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
82111         longjmp_msg pointer.
82112         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
82113         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
82114         signal stack.
82115         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
82117 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82119         * elf/stackguard-macros.h: Remove file.
82120         * sysdeps/generic/stackguard-macros.h: New file.
82121         * sysdeps/i386/stackguard-macros.h: Likewise.
82122         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82123         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82124         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82125         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82126         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82127         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82128         * sysdeps/x86_64/stackguard-macros.h: Likewise.
82129         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82130         <elf/stackguard-macros.h>.
82132         [BZ #14109]
82133         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82134         __aligned__ in attribute.
82135         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82136         (gregset_t): Likewise.
82138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82140         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82141         * sysdeps/x86_64/64/Implies-after: Here.  New file.
82142         * sysdeps/x86_64/x32/Implies-after: New file.
82144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82146         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82147         and access return value for _dl_profile_fixup.  Use R10_LP to
82148         load frame size.
82150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82152         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
82154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82156         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82157         * sysdeps/x86_64/x32/sysdep.h: New file.
82159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82161         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82162         * sysdeps/x86_64/setjmp.S: Likewise.
82164 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82166         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82167         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82168         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82169         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82170         remove unused global constant.
82172 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
82174         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82175         include of <not-cancel.h>.
82177 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82179         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82181 2012-05-15  Jeff Law  <law@redhat.com>
82182             Andreas Jaeger  <aj@suse.de>
82184         [BZ #13594]
82185         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82186         out from...
82187         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82188         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82189         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82190         code changing __hst_map_handle.map.
82192 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82194         * configure.in (sysnames): Look for Implies-before and Implies-after
82195         files.
82196         * configure: Regenerated.
82198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82200         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82201         8-byte data alignment with LP_SIZE alignment.
82203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82205         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82206         into R10_LP.
82208 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82210         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82214         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82215         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82216         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82217         Likewise.
82218         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82222         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82223         (stackinfo_sub_sp): Likewise.
82225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82227         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82228         RAX_LP.
82230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82232         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82233         into R*_LP.
82235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82237         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82238         sizes into R*_LP.
82240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82242         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82246         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82247         into R11_LP and load __x86_64_shared_cache_size_half into
82248         R8_LP.
82250 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82252         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82253         R8_LP.
82255 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82257         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82258         logb for POWER7.
82259         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82260         logbf for POWER7.
82261         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82262         logbl for POWER7.
82263         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82264         powerpc32/power7/fpu/s_logb.c via #include.
82265         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82266         powerpc32/power7/fpu/s_logbf.c via #include.
82267         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82268         powerpc32/power7/fpu/s_logbl.c via #include.
82270 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82272         * README.libm: Remove file.
82274 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82276         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82277         count for x32.  Use R*_LP and omit operand-size suffix.
82279 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82281         * shlib-versions: Move x86_64-.*-linux.* entries to ...
82282         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
82283         * sysdeps/x86_64/x32/shlib-versions: New file.
82285 2012-05-14  Roland McGrath  <roland@hack.frob.com>
82287         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82288         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82289         Use _dl_fatal_printf instead.
82291 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82293         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82294         set if not set by the user.  Do not allow for being unset.
82295         * sysdeps/unix/sysv/linux/configure: Regenerated.
82297 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82299         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82300         the `q' suffix from lea and replace .quad with ASM_ADDR.
82302 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82304         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82305         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
82306         instead of $17.
82307         (PTR_DEMANGLE): Likewise.
82309 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82311         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82312         (LP_OP): Likewise.
82313         (ASM_ADDR): Likewise.
82314         (RAX_LP): Likewise.
82315         (RBP_LP): Likewise.
82316         (RBX_LP): Likewise.
82317         (RCX_LP): Likewise.
82318         (RDI_LP): Likewise.
82319         (RSI_LP): Likewise.
82320         (RSP_LP): Likewise.
82321         (R8_LP): Likewise.
82322         (R9_LP): Likewise.
82323         (R10_LP): Likewise.
82324         (R10_LP): Likewise.
82325         (R11_LP): Likewise.
82326         (R12_LP): Likewise.
82327         (R13_LP): Likewise.
82328         (R14_LP): Likewise.
82329         (R15_LP): Likewise.
82331 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82333         * sysdeps/x86_64/x32/dl-machine.h: New file.
82335 2012-05-14  Andreas Jaeger  <aj@suse.de>
82337         * manual/Makefile (subdir): Remove export of subdir.
82338         (all): Remove target.
82339         (.PHONY): Remove all from list.
82340         (mkinstalldirs): Remove.
82341         (.PHONY): Remove installdirs from list.
82342         ($(inst_infodir)/libc.info): Use make-target-directory.
82343         (installdirs): Remove.
82344         (subdir_%): Remove.
82345         (glibc-targets): Remove.
82346         (lib): Remove.
82347         (stubs): Remove.
82348         ($(objpfx)stubs ../po/manual.pot): Remove.
82349         ($(objpfx)stamp%): Remove.
82350         (make-target-directory): Remove.
82351         (subdir_install): Remove.
82352         (routines): Remove.
82353         (aux): Remove.
82354         (sources): Remove.
82355         (objects): Remove.
82356         (headers): Remove.
82358         [BZ #13750]
82359         * manual/.gitignore: Remove, it's not needed anymore.
82360         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82361         all files in it.
82362         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82363         directory.
82364         (texis): Renamed to $(objpfx)texis.
82365         (texis-path): New, contains path to generated files.
82366         (chapters.%): Use texis-path for complete path, add extra argument
82367         libc-texinfo.sh.
82368         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82369         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82370         (summary,texi, stamp-summary): Use complete path of
82371         files. Generate files in build dir.
82372         (dir-add.texi): Build in build dir.
82373         (libm-err.texi,stamp-libm-err): Likewise.
82374         (version.texi, stamp-version): Likewise.
82375         (.%c.texi): Likewise.
82376         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82377         (mostlyclean): Remove target.
82378         (realclean): Remove target.
82379         (generated): Add new variable with contents from mostlyclean and
82380         realclean, remove entries duplicated in common-mostlyclean, add
82381         stamp-libm-err and stamp-version.
82382         (generated-dirs): Add libc directory.
82383         ($(inst_infodir)/libc.info): Install files from build dir.
82385         * manual/install.texi (Configuring and compiling): Adjust since
82386         the info files are not part of the tar ball anymore.
82388 2012-05-14  Andreas Jaeger  <aj@suse.de>
82390         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82391         variable.
82393 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82395         [BZ #13717]
82396         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82397         to 2.2.0 where earlier.
82398         * sysdeps/unix/sysv/linux/configure: Regenerated.
82399         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82400         Remove conditional code.
82401         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82402         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82403         Remove conditional code.
82404         [!__NR_lchown]: Likewise.
82405         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82406         [__NR_lchown]: Likewise.
82407         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82408         comment referencing __ASSUME_LCHOWN_SYSCALL.
82409         * sysdeps/unix/sysv/linux/i386/sigaction.c
82410         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82411         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82412         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82413         Remove conditional code.
82414         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82415         (__protocol_available): Remove #if 0 code.
82416         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82417         conditional code.
82418         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82419         * sysdeps/unix/sysv/linux/kernel-features.h
82420         (__ASSUME_GETCWD_SYSCALL): Don't define.
82421         (__ASSUME_REALTIME_SIGNALS): Likewise.
82422         (__ASSUME_PREAD_SYSCALL): Likewise.
82423         (__ASSUME_PWRITE_SYSCALL): Likewise.
82424         (__ASSUME_POLL_SYSCALL): Likewise.
82425         (__ASSUME_LCHOWN_SYSCALL): Likewise.
82426         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82427         non-SPARC.
82428         (__ASSUME_SIOCGIFNAME): Don't define.
82429         (__ASSUME_MSG_NOSIGNAL): Likewise.
82430         (__ASSUME_SENDFILE): Define unconditionally.
82431         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82432         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82433         conditional code.
82434         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82435         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82436         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82437         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82438         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82439         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82440         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82442         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82443         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82445         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82446         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82448         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82449         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82451         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82452         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82454         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82455         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82457         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82458         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82460         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82461         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82463         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82464         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82465         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82466         Remove conditional code.
82467         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82468         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82469         Remove conditional code.
82470         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82471         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82472         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82473         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82474         Remove conditional code.
82475         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82476         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82477         Remove conditional code.
82478         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82479         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82480         Remove conditional code.
82481         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82482         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82483         Remove conditional code.
82484         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82485         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82486         Remove conditional code.
82487         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82488         * sysdeps/unix/sysv/linux/sh/pwrite64.c
82489         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82490         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82491         * sysdeps/unix/sysv/linux/sigaction.c
82492         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82493         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82494         * sysdeps/unix/sysv/linux/sigpending.c
82495         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82496         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82497         * sysdeps/unix/sysv/linux/sigprocmask.c
82498         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82499         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82500         * sysdeps/unix/sysv/linux/sigsuspend.c
82501         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82502         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82503         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82504         (__libc_missing_rt_sigs): Remove.
82505         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82506         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82507         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82508         Remove conditional code.
82509         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82510         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82511         return 1.
82512         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82513         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82514         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82515         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82517 2012-05-14  Andreas Jaeger  <aj@suse.de>
82519         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82520         it's not used in glibc.
82521         (__coshm1): Likewise.
82522         (__acosh1p): Likewise.
82523         (__sgn): Likewise.
82525         * manual/string.texi (Copying and Concatenation): Add missing
82526         variable in concat example.
82527         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82529 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82531         [BZ #14103]
82532         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82533         __builtin_clzl with __builtin_clzll.
82535 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82537         [BZ #14104]
82538         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82539         libc_freeres_ptr.
82541 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82543         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82544         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82545         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82546         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82548 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
82550         * NEWS: Update ia64 info.
82552 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
82554         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82555         used as bcopy.
82557 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
82559         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82560         * sysdeps/unix/syscalls.list (dup3): Likewise.
82561         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82562         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82564 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82566         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82567         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82569 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82571         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82572         thread pointer.
82573         (TLS_IE): Use mov/add instead of movq/addq to load thread
82574         pointer.
82575         (TLS_GD_PREFIX): New.
82576         (TLS_GD): Use it.
82578 2012-05-11  David S. Miller  <davem@davemloft.net>
82580         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82581         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82582         (_FPU_SETCW): Likewise.
82584 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82586         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82587         is 32-byte aligned.
82589 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
82591         [BZ #11837]
82592         * iconvdata/gb18030.c: Update tables.
82593         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
82594         characters specially.
82595         (BODY for TO_LOOP): Add encoding of missing ranges.
82597 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
82599         [BZ #13673]
82600         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82601         * sysdeps/mach/hurd/dup3.c: Likewise.
82602         * sysdeps/mach/hurd/readlinkat.c: Likewise.
82603         * sysdeps/powerpc/memmove.c:: Likewise.
82605 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82607         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82608         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82610 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82612         * elf/elf.h (R_X86_64_RELATIVE64): New.
82613         (R_X86_64_NUM): Updated.
82614         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82615         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
82616         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82617         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82618         tst-quad1pie tst-quad2pie
82619         (modules-names): Add tst-quadmod1 tst-quadmod2.
82620         ($(objpfx)tst-quad1): New dependency.
82621         ($(objpfx)tst-quad2): Likewise.
82622         ($(objpfx)tst-quad1pie): Likewise.
82623         ($(objpfx)tst-quad2pie): Likewise.
82624         * sysdeps/x86_64/tst-quad1.c: New file.
82625         * sysdeps/x86_64/tst-quad1pie.c: New file.
82626         * sysdeps/x86_64/tst-quad2.c: Likewise.
82627         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82628         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82629         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82630         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82631         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82633 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82635         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82636         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82637         * streams/stropts.h (t_scalar_t): Define type.
82639         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82640         (_PATH_PRESERVE): Set to "/var/lib".
82641         (_PATH_RWHODIR): Set to "/var/spool/rwho".
82643         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82644         instead of int.
82646         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82647         if __dir_mkfile succeeded.
82649         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82650         checking for _hurd_dtablesize.  Unlock it right after having
82651         finished _hurd_dtable allocation.
82653 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82655         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82656         * sysdeps/mach/hurd/configure: Regenerated.
82657         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82658         special-casing to...
82659         * sysdeps/gnu/configure.in: ... this new file.
82660         * sysdeps/unix/sysv/linux/configure: Regenerated.
82661         * sysdeps/gnu/configure: New generated file.
82663         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82664         for Linux: use nsec instead of usec, as well as:
82665         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82666         members of type struct timespec.
82667         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82668         New macros.
82669         (struct stat64): Likewise.
82670         (_STATBUF_ST_NSEC): New macro.
82671         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82673         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82674         __strtoul_internal rather than strtoul.
82676 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82678         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82679         and reject them.
82681 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82683         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82684         which preserves existing values.
82685         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82687 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82689         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82690         TIMEOUT values.  Return EINVAL for NFDS values either negative or
82691         greater than FD_SETSIZE.
82693 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82695         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82696         allocated, call __vm_protect to finish enabling the existing space, and
82697         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82698         allocate the remainder.
82700 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82702         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82703         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
82705 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82707         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82708         sysdeps/mach/hurd/readlink.c.
82710         * posix/tst-sysconf.c (posix_options): Only use
82711         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82712         _POSIX_SYNCHRONIZED_IO when they are defined
82713         * sysdeps/mach/hurd/bits/posix_opt.h:
82714         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82715         (_XOPEN_REALTIME): Undefine macro.
82716         (_XOPEN_REALTIME_THREADS): Undefine macro.
82717         (_XOPEN_SHM): Undefine macro.
82718         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82719         macro to -1.
82720         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82721         macro to -1.
82722         (_POSIX_ASYNC_IO): Undefine macro.
82723         (_POSIX_PRIORITIZED_IO): Undefine macro.
82724         (_POSIX_SPIN_LOCKS): Define macro to -1.
82726         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82727         SA_NODEFER, SA_RESETHAND.
82728         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82729         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82730         F_DUPFD_CLOEXEC.
82732 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82734         * elf/Makefile (pldd-modules): Define unconditionally.
82736 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82738         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82740 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82742         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82743         Return ENOENT when name is empty.
82744         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82746 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82748         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82750         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82752 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82754         Fix mlock in all cases except non-readable pages.
82755         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82756         instead of VM_PROT_ALL as parameter to __vm_wire function.
82758         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82759         (__mkdir): When path is `/', just fail with EEXIST.
82760         * sysdeps/mach/hurd/mkdirat.c: Likewise.
82762 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82764         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82765         <sys/uio.h> (for writev).
82766         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82767         and <sys/param.h> (for MIN).
82769 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82771         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82772         REQUESTED_TIME.  Properly set the remaining time and return EINTR
82773         if interrupted.
82775 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82777         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82778         Depend on against $(link-rpcuserlibs).
82780 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82782         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82783         (__libc_stack_end): Do not use attribute_relro.
82784         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82785         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82786         to libthread-provided value.
82787         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82788         attribute_relro.
82790 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82792         [BZ #3748]
82793         * bits/libc-lock.h (__libc_once_get): New macro.
82794         * sysdeps/mach/bits/libc-lock.h: Likewise.
82795         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82796         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82797         instead of using implementation details.
82799         * libio/fileops.c: Unconditionally include <kernel-features.h>.
82800         * libio/freopen.c: Likewise.
82801         * libio/freopen64.c: Likewise.
82802         * misc/syslog.c: Likewise.
82803         * nscd/connections.c: Likewise.
82804         * nscd/netgroupcache.c: Likewise.
82805         * sysdeps/posix/getcwd.c: Likewise.
82807 2012-05-10  Roland McGrath  <roland@hack.frob.com>
82809         * math/w_ilogbf.c: Add #include <limits.h>.
82811 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82813         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82814         path instead of returning without unlocking.
82816         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82817         immediate-write ioctls.
82818         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82820 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82822         * sysdeps/mach/hurd/i386/init-first.c (init): Use
82823         __builtin_frame_address instead of making assumptions about the
82824         location of the return address relative to DATA.  Force early load of
82825         the return address.
82826         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82827         __builtin_frame_address.
82829         dup3 for GNU Hurd.
82830         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82831         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
82832         implement dup3 and do some further code clean-ups.
82833         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82834         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82836 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82838         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82840         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82841         HURD_CRITICAL_END around holding _hurd_dtable_lock.
82842         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82843         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82844         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82845         d->port.lock.
82847         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82848         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
82849         when handler == SIG_ERR, not when handler != SIG_ERR.
82851 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82853         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82854         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82855         definitions.
82857         accept4 for GNU Hurd.
82858         * include/sys/socket.h (__libc_accept4): New prototype.
82859         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
82860         to implement __libc_accept4.
82861         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82862         __libc_accept4.
82863         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82865         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82866         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82867         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82868         signal-defines.sym.
82870 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82872         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82874 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82876         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82877         assertion on O_CLOEXEC flag.
82878         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82879         * hurd/intern-fd.c: Likewise.
82880         * hurd/port2fd.c: Likewise.
82882 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82884         [BZ #3906]
82885         * bits/in.h (IPV6_PKTINFO): Define new macro.
82886         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82888 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82890         [BZ #13954]
82891         [BZ #13955]
82892         [BZ #13956]
82893         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82894         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82895         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82896         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82897         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82898         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82899         * math/libm-test.inc (logb_test) : Additional logb tests.
82901 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
82902             Andreas Jaeger  <aj@suse.de>
82904         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82905         * configure: Regenerated.
82906         * config.h.in (LINK_OBSOLETE_RPC): New macro.
82907         * config.make.in (link-obsolete-rpc): New substituted variable.
82908         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82909         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82910         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82911         (shared-only-routines): Don't set it under [link-obsolete-rpc],
82912         so that libc.a contains the symbols.
82913         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82914         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82915         * sunrpc/auth_none.c: Likewise.
82916         * sunrpc/auth_unix.c: Likewise.
82917         * sunrpc/authdes_prot.c: Likewise.
82918         * sunrpc/authuxprot.c: Likewise.
82919         * sunrpc/clnt_gen.c: Likewise.
82920         * sunrpc/clnt_perr.c: Likewise.
82921         * sunrpc/clnt_raw.c: Likewise.
82922         * sunrpc/clnt_simp.c: Likewise.
82923         * sunrpc/clnt_tcp.c: Likewise.
82924         * sunrpc/clnt_udp.c: Likewise.
82925         * sunrpc/clnt_unix.c: Likewise.
82926         * sunrpc/des_crypt.c: Likewise.
82927         * sunrpc/des_soft.c: Likewise.
82928         * sunrpc/get_myaddr.c: Likewise.
82929         * sunrpc/key_call.c: Likewise.
82930         * sunrpc/key_prot.c: Likewise.
82931         * sunrpc/netname.c: Likewise.
82932         * sunrpc/pm_getmaps.c: Likewise.
82933         * sunrpc/pm_getport.c: Likewise.
82934         * sunrpc/pmap_clnt.c: Likewise.
82935         * sunrpc/pmap_prot.c: Likewise.
82936         * sunrpc/pmap_prot2.c: Likewise.
82937         * sunrpc/pmap_rmt.c: Likewise.
82938         * sunrpc/publickey.c: Likewise.
82939         * sunrpc/rpc_cmsg.c: Likewise.
82940         * sunrpc/rpc_common.c: Likewise.
82941         * sunrpc/rpc_dtable.c: Likewise.
82942         * sunrpc/rpc_prot.c: Likewise.
82943         * sunrpc/rpc_thread.c: Likewise.
82944         * sunrpc/rtime.c: Likewise.
82945         * sunrpc/svc.c: Likewise.
82946         * sunrpc/svc_auth.c: Likewise.
82947         * sunrpc/svc_raw.c: Likewise.
82948         * sunrpc/svc_run.c: Likewise.
82949         * sunrpc/svc_tcp.c: Likewise.
82950         * sunrpc/svc_udp.c: Likewise.
82951         * sunrpc/svc_unix.c: Likewise.
82952         * sunrpc/svcauth_des.c: Likewise.
82953         * sunrpc/xcrypt.c: Likewise.
82954         * sunrpc/xdr.c: Likewise.
82955         * sunrpc/xdr_array.c: Likewise.
82956         * sunrpc/xdr_float.c: Likewise.
82957         * sunrpc/xdr_intXX_t.c: Likewise.
82958         * sunrpc/xdr_mem.c: Likewise.
82959         * sunrpc/xdr_rec.c: Likewise.
82960         * sunrpc/xdr_ref.c: Likewise.
82961         * sunrpc/xdr_sizeof.c: Likewise.
82962         * sunrpc/xdr_stdio.c: Likewise.
82964 2012-05-10  Roland McGrath  <roland@hack.frob.com>
82966         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
82967         change.  Update copyright years.
82969 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
82971         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
82973 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
82974             Joseph Myers  <joseph@codesourcery.com>
82975             Paul Pluzhnikov  <ppluzhnikov@google.com>
82977         [BZ #14012]
82978         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
82979         requiring rpcgen.
82980         [cross-compiling] (extra-libs): Likewise.
82981         [cross-compiling] (extra-libs-others): Likewise.
82982         [cross-compiling] (librpcsvc-routines): Likewise.
82983         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
82984         [cross-compiling] (omit-deps): Likewise.
82985         (sunrpc-CPPFLAGS): New variable.
82986         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
82987         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
82988         (cross-rpcgen-objs): New variable.
82989         (extra-objs): Append $(cross-rpcgen-objs).
82990         ($(cross-rpcgen-objs)): New rule.
82991         ($(objpfx)cross-rpcgen): Likewise.
82992         (rpcgen-cmd): Define to use $(built-program-file).  Expand
82993         comment.
82994         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
82995         ($(objpfx)x%.stmp): Likewise.
82996         * sunrpc/proto.h [IS_IN_build] (_): Define.
82997         [IS_IN_build] (_libc_intl_domainname): Likewise.
82999 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
83001         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
83002         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
83003         and R_X86_64_TPOFF64.
83005 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
83007         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
83008         sysdeps/unix/sysv/syscalls.list.
83009         (stime): Likewise.
83010         (utime): Likewise.
83011         * sysdeps/unix/sysv/syscalls.list: Remove file.
83013 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
83015         [BZ #3440]
83016         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
83017         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
83018         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
83019         (__LC_IDENTIFICATION): Make these macros useful in #if
83020         expressions, as required by C99.
83022 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
83024         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
83025         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
83026         after this.
83028 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
83030         * stdlib/longlong.h: Updated from GCC.
83032 2012-05-09  Andreas Jaeger  <aj@suse.de>
83034         * nscd/nscd.c (run_modes): Make named enum, reorder so that
83035         default is first entry.
83036         (run_mode): Set type.
83037         (main): Remove informal message about syslog.
83038         (options): Fix typo.
83040         [BZ #14053]
83041         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
83042         to asm.
83043         (lrint): Likewise.
83044         (llrintf): Likewise.
83045         (llrint): Likewise.
83046         (rint): Likewise.
83047         (rintf): Likewise.
83048         (nearbyint): Likewise.
83049         (nearbyintf): Likewise.
83051 2012-05-09  Andreas Jaeger  <aj@suse.de>
83052             Pedro Alves  <palves@redhat.com>
83054         * nscd/nscd.c (run_mode): Use enum.
83055         (main): Cleanup coding style issue.
83057 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
83058             Andreas Jaeger  <aj@suse.de>
83060         * nscd/nscd.c (go_background): Replaced with...
83061         (run_mode): ... this.
83062         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
83063         (options): Add -F --foreground.
83064         (main): Implement it.
83065         (parse_opt): Parse it.
83067 2012-05-09  Andreas Jaeger  <aj@suse.de>
83069         [BZ #14083]
83070         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
83071         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
83072         -Wconversion warning.
83073         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
83074         Likewise.
83076 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
83078         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
83079         == 0.
83080         (LC_ALL): Use macro-int-constant.
83081         (LC_COLLATE): Likewise.
83082         (LC_CTYPE): Likewise.
83083         (LC_MESSAGES): Likewise.
83084         (LC_MONETARY): Likewise.
83085         (LC_NUMERIC): Likewise.
83086         (LC_TIME): Likewise.
83087         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
83088         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83089         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83090         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
83091         Specify type.
83092         [C99-based standards] (float_t): Expect type.
83093         [C99-based standards] (double_t): Expect type.
83094         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
83095         type.
83096         [C99-based standards] (HUGE_VALL): Likewise.
83097         [C99-based standards] (INFINITY): Likewise.
83098         [C99-based standards] (NAN): Likewise.
83099         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
83100         [C99-based standards] (FP_NAN): Likewise.
83101         [C99-based standards] (FP_NORMAL): Likewise.
83102         [C99-based standards] (FP_SUBNORMAL): Likewise.
83103         [C99-based standards] (FP_ZERO): Likewise.
83104         [C99-based standards] (FP_FAST_FMA): Use
83105         optional-macro-int-constant.  Specify type.  Require == 1.
83106         [C99-based standards] (FP_FAST_FMAF): Likewise.
83107         [C99-based standards] (FP_FAST_FMAL): Likewise.
83108         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
83109         [C99-based standards] (FP_ILOGBNAN): Likewise.
83110         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
83111         Specify type.
83112         [C99-based standards] (MATH_ERREXCEPT): Likewise.
83113         [C99-based standards] (math_errhandling): Specify type.
83114         [ISO99 || ISO11] (signgam): Do not allow.
83115         [non-C99-based standards] (copysignf): Do not allow.
83116         [non-C99-based standards] (exp2f): Likewise.
83117         [non-C99-based standards] (log2f): Likewise.
83118         [non-C99-based standards] (modff): Allow.
83119         [non-C99-based standards] (erff): Do not allow.
83120         [non-C99-based standards] (erfcf): Likewise.
83121         [non-C99-based standards] (gammaf): Likewise.
83122         [non-C99-based standards] (hypotf): Likewise.
83123         [non-C99-based standards] (j0f): Likewise.
83124         [non-C99-based standards] (j1f): Likewise.
83125         [non-C99-based standards] (jnf): Likewise.
83126         [non-C99-based standards] (lgammaf): Likewise.
83127         [non-C99-based standards] (tgammaf): Likewise.
83128         [non-C99-based standards] (y0f): Likewise.
83129         [non-C99-based standards] (y1f): Likewise.
83130         [non-C99-based standards] (ynf): Likewise.
83131         [non-C99-based standards] (isnanf): Likewise.
83132         [non-C99-based standards] (acoshf): Likewise.
83133         [non-C99-based standards] (asinhf): Likewise.
83134         [non-C99-based standards] (atanhf): Likewise.
83135         [non-C99-based standards] (cbrtf): Likewise.
83136         [non-C99-based standards] (expm1f): Likewise.
83137         [non-C99-based standards] (ilogbf): Likewise.
83138         [non-C99-based standards] (log1pf): Likewise.
83139         [non-C99-based standards] (logbf): Likewise.
83140         [non-C99-based standards] (nextafterf): Likewise.
83141         [non-C99-based standards] (remainderf): Likewise.
83142         [non-C99-based standards] (rintf): Likewise.
83143         [non-C99-based standards] (scalbf): Likewise.
83144         [non-C99-based standards] (copysignl): Likewise.
83145         [non-C99-based standards] (exp2l): Likewise.
83146         [non-C99-based standards] (log2l): Likewise.
83147         [non-C99-based standards] (modfl): Allow.
83148         [non-C99-based standards] (erfl): Do not allow.
83149         [non-C99-based standards] (erfcl): Likewise.
83150         [non-C99-based standards] (gammal): Likewise.
83151         [non-C99-based standards] (hypotl): Likewise.
83152         [non-C99-based standards] (j0l): Likewise.
83153         [non-C99-based standards] (j1l): Likewise.
83154         [non-C99-based standards] (jnl): Likewise.
83155         [non-C99-based standards] (lgammal): Likewise.
83156         [non-C99-based standards] (tgammal): Likewise.
83157         [non-C99-based standards] (y0l): Likewise.
83158         [non-C99-based standards] (y1l): Likewise.
83159         [non-C99-based standards] (ynl): Likewise.
83160         [non-C99-based standards] (isnanl): Likewise.
83161         [non-C99-based standards] (acoshl): Likewise.
83162         [non-C99-based standards] (asinhl): Likewise.
83163         [non-C99-based standards] (atanhl): Likewise.
83164         [non-C99-based standards] (cbrtl): Likewise.
83165         [non-C99-based standards] (expm1l): Likewise.
83166         [non-C99-based standards] (ilogbl): Likewise.
83167         [non-C99-based standards] (log1pl): Likewise.
83168         [non-C99-based standards] (logbl): Likewise.
83169         [non-C99-based standards] (nextafterl): Likewise.
83170         [non-C99-based standards] (remainderl): Likewise.
83171         [non-C99-based standards] (rintl): Likewise.
83172         [non-C99-based standards] (scalbl): Likewise.
83173         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83174         [non-C99-based standards] (FP_*): Do not allow.
83175         [C99-based standards] (FP_*): Change to
83176         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83177         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83178         allow.
83179         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83180         (SIG_ERR): Likewise.
83181         [X/Open-based standards] (SIG_HOLD): Likewise.
83182         (SIG_IGN): Likewise.
83183         (SIGABRT): Use macro-int-constant.  Specify type.  Require
83184         positive value.
83185         (SIGFPE): Likewise.
83186         (SIGILL): Likewise.
83187         (SIGINT): Likewise.
83188         (SIGSEGV): Likewise.
83189         (SIGTER): Likewise.
83190         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83191         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83192         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83193         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83194         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83195         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83196         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83197         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83198         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83199         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83200         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83201         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83202         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83203         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83204         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83205         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83206         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83207         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83208         [X/Open-based standards] (SIGTRAP): Likewise.
83209         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83210         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83211         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83212         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83213         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83214         allow.
83216 2012-05-08  Ian Wienand  <ianw@vmware.com>
83218         [BZ #14080]
83219         * time/tzset.c (__tzset_parse_tz): Update default rules for
83220         daylight time changes in the Energy Policy Act of 2005.
83222 2012-05-09  Andreas Jaeger  <aj@suse.de>
83224         [BZ #13983]
83225         * elf/ldconfig.c (parse_conf): Change string to make clear that
83226         ldconfig only issued a warning if ld.so.conf does not exist.
83228 2012-05-08  David S. Miller  <davem@davemloft.net>
83230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83231         movxtod instead of popping the value on the stack.
83233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83235 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
83237         * config.h.in: Add HAVE_ARM_PCS_VFP.
83239 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
83241         [BZ #13979]
83242         * include/features.h: Warn if user requests __FORTIFY_SOURCE
83243         checking but the checks are disabled for any reason.
83245 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
83247         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83248         and ELF64_R_TYPE with ELFW(R_TYPE).
83250 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
83252         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83253         (ulimit): Likewise.
83255         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83256         (settimeofday): Likewise.
83258 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
83260         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
83261         a struct th_u2 inside the union, and move tu_block/tu_code into
83262         a new th_u3 union of tu_block/tu_code inside of that.  Move
83263         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
83264         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
83265         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83266         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83267         (th_stuff): Change to th_u1.tu_stuff.
83268         (th_data): Define.
83269         (th_msg): Change to th_u1.th_u2.tu_data.
83271 2012-05-07  David S. Miller  <davem@davemloft.net>
83273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83275         [BZ #14074]
83276         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83277         (SETUP_PIC_REG): Use it.
83278         (SETUP_PIC_REG_LEAF): Use it.
83280 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
83282         [BZ #13885]
83283         [BZ #13923]
83284         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83285         USE_AS_EXPM1L.
83286         (EXPL_FINITE): Likewise.
83287         (FLDLOG): Likewise.
83288         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83289         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83290         e_expl.S.
83291         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83292         USE_AS_EXPM1L.
83293         (EXPL_FINITE): Likewise.
83294         (FLDLOG): Likewise.
83295         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83296         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83297         e_expl.S.
83298         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
83299         test of -max_value argument for long double.
83300         * sysdeps/i386/fpu/libm-test-ulps: Update.
83301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83303 2012-05-06  David S. Miller  <davem@davemloft.net>
83305         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83306         quad soft-float symbols whose references which are compiler
83307         generated.
83308         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83310 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
83312         [BZ #13884]
83313         [BZ #13914]
83314         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83315         USE_AS_EXP10L.
83316         (EXPL_FINITE): Likewise.
83317         (FLDLOG): Likewise.
83318         (c0): Likewise.
83319         (c1): Likewise.
83320         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83321         Adjust comments for base varying.
83322         (__expl_finite): Change alias to EXPL_FINITE.
83323         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83324         e_expl.S.
83325         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83326         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83327         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83328         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83329         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83330         USE_AS_EXP10L.
83331         (EXPL_FINITE): Likewise.
83332         (FLDLOG): Likewise.
83333         (c0): Likewise.
83334         (c1): Likewise.
83335         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83336         Adjust comments for base varying.
83337         (__expl_finite): Change alias to EXPL_FINITE.
83338         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
83339         tests for bugs.
83340         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83342         [BZ #14064]
83343         * math/libm-test.inc (check_float_internal): Correct ulp
83344         calculation for subnormal expected results.
83346 2012-05-06  Andreas Jaeger  <aj@suse.de>
83348         * Makeconfig (+math-flags): New, set to -frounding-math.
83349         (+cflags): Add +math-flags so that all of glibc gets compiled with
83350         it.
83352         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83354 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
83356         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83357         Disable one test.
83359         [BZ #13787]
83360         [BZ #13922]
83361         [BZ #14036]
83362         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83363         (__ieee754_expl): Allow for and saturate large arguments.
83364         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83365         (u_threshold): Likewise.
83366         (__exp): Call __ieee754_exp before checking for overflow and
83367         underflow.
83368         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83369         (u_threshold): Likewise.
83370         (__expf): Call __ieee754_expf before checking for overflow and
83371         underflow.
83372         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83373         (u_threshold): Likewise.
83374         (__expl): Call __ieee754_expl before checking for overflow and
83375         underflow.
83376         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83377         (__ieee754_expl): Allow for and saturate large arguments.
83378         * math/libm-test.inc (exp_test): Add another test.  Do not allow
83379         missing overflow exception on overflow.
83380         (expm1_test): Do not allow missing overflow exception on overflow.
83382         * sysdeps/i386/fpu/e_expl.c: Move to ...
83383         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
83384         rather than using inline asm.
83385         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83386         * sysdeps/x86_64/fpu/e_expl.S: Copy from
83387         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83389         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83390         (nice): Likewise.
83391         (poll): Likewise.
83392         (signal): Likewise.
83393         (time): Likewise.
83394         (times): Likewise.
83396 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83398         * sysdeps/unix/syscalls.list (adjtime): Add entry from
83399         sysdeps/unix/common/syscalls.list.
83400         (fchmod): Likewise.
83401         (fchown): Likewise.
83402         (ftruncate): Likewise.
83403         (getrusage): Likewise.
83404         (gettimeofday): Likewise.
83405         (setpgid): Likewise.
83406         (setregid): Likewise.
83407         (setreuid): Likewise.
83408         (sigaction): Likewise.
83409         (truncate): Likewise.
83410         (vhangup): Likewise.
83411         * sysdeps/unix/common/syscalls.list: Remove file.
83412         * sysdeps/unix/bsd/Implies: Don't include unix/common.
83413         * sysdeps/unix/sysv/linux/Implies: Likewise.
83415 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
83417         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83419         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83420         Moved to ...
83421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83422         Here.
83423         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83424         to ...
83425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83426         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83427         to ...
83428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83429         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83430         to ...
83431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83432         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83433         to ...
83434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83435         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83436         to ...
83437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83438         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83439         to ...
83440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83441         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83442         to ...
83443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83444         Here.
83445         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83446         to ...
83447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83448         Here.
83449         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83450         to ...
83451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83452         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83453         Moved to ...
83454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83455         Here.
83456         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83457         to ...
83458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83460 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83462         * sysdeps/unix/common/bits/dirent.h: Remove file.
83463         * sysdeps/unix/common/bits/fcntl.h: Likewise.
83465         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83466         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83467         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83468         * sysdeps/unix/bsd/isatty.c: Likewise.
83469         * sysdeps/unix/bsd/tcdrain.c: Likewise.
83470         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83471         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83473 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83475         [BZ #13563]
83476         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83477         long double comparison inaccuracies.
83478         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83481 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
83483         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83484         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83486 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83488         [BZ #14049]
83489         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83490         nonzero digits before rounding a hex value.
83491         * stdlib/tst-strtod.c (tests): Add another test.
83493 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83495         * sysdeps/s390/fpu/libm-test-ulps: Update.
83497 2012-05-03  Andreas Jaeger  <aj@suse.de>
83499         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83500         does not get optimized out.
83501         (malloc_opt_barrier): New.
83503 2012-05-03  Andreas Jaeger  <aj@suse.de>
83504             Roland McGrath  <roland@hack.frob.com>
83506         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83507         intermediate file deletion.
83508         (generated): Add .symlist files.
83510 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
83512         [BZ #13775]
83513         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83514         Redirect under this condition.
83515         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83516         [__USE_GNU] (__dprintf_chk): Not under this condition.
83517         [__USE_GNU] (__vdprintf_chk): Likewise.
83518         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83519         under this condition.
83520         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83521         [__USE_XOPEN2K8] (dprintf): Define under this condition.
83522         [__USE_XOPEN2K8] (vdprintf): Likewise.
83523         [__USE_GNU] (__dprintf_chk): Not under this condition.
83524         [__USE_GNU] (__vdprintf_chk): Likewise.
83525         [__USE_GNU] (dprintf): Likewise.
83526         [__USE_GNU] (vdprintf): Likewise.
83528 2012-05-03  Roland McGrath  <roland@hack.frob.com>
83530         * elf/Makefile (common-generated): Set this instead of generated for
83531         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
83532         $(all-built-dso)-derived lists.
83534 2012-05-03  Andreas Jaeger  <aj@suse.de>
83536         * sysdeps/i386/fpu/libm-test-ulps: Update.
83538         * FAQ: Removed.
83539         * FAQ.in: Likewise.
83540         * scripts/gen-FAQ.pl: Likewise.
83541         * manual/install.texi (Installation): Point to online location of
83542         FAQ.
83543         * Makefile (files-for-dist): Remove FAQ.
83544         (FAQ): Remove.
83546 2012-05-02  Allan McRae  <allan@archlinux.org>
83548         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83549         (LDFLAGS-reldepmod5.so): Likewise.
83550         (LDFLAGS-reldep6mod1.so): Likewise.
83551         (LDFLAGS-reldep6mod4.so): Likewise.
83552         (LDFLAGS-reldep8mod3.so): Likewise.
83553         (LDFLAGS-unload4mod1.so): Likewise.
83554         (LDFLAGS-unload4mod2.so): Likewise.
83555         (LDFLAGS-tst-initorder): Likewise.
83556         (LDFLAGS-tst-initordera2.so): Likewise.
83557         (LDFLAGS-tst-initordera3.so): Likewise.
83558         (LDFLAGS-tst-initordera4.so): Likewise.
83559         (LDFLAGS-tst-initorderb2.so): Likewise.
83560         (LDFLAGS-noload): Likewise.
83561         (LDFLAGS-next): Likewise.
83562         (LDFLAGS-order2mod1.so): Likewise.
83563         (LDFLAGS-order2mod2.so): Likewise.
83564         (LDFLAGS-tst-initorder2): Likewise.
83565         (LDFLAGS-tst-initorder2a.so): Likewise.
83566         (LDFLAGS-tst-initorder2b.so): Likewise.
83567         (LDFLAGS-tst-initorder2c.so): Likewise.
83568         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83570 2012-05-02  David S. Miller  <davem@davemloft.net>
83572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83574 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
83576         [BZ #14055]
83577         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83579 2012-05-02  Andreas Jaeger  <aj@suse.de>
83581         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83582         since we manipulate rounding mode.
83583         (CPPFLAGS-test-idouble.c): Likewise.
83584         (CPPFLAGS-test-ifloat.c): Likewise.
83585         (CFLAGS-test-ldouble.c): Likewise.
83586         (CFLAGS-test-double.c): Likewise.
83587         (CFLAGS-test-float.c): Likewise.
83588         (CFLAGS-test-misc.c): Likewise.
83589         (CFLAGS-test-test-fenv.c): Likewise.
83591 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83593         [BZ #2550]
83594         [BZ #2570]
83595         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83596         comparisons to determine direction to adjust input.
83598 2012-05-01  Roland McGrath  <roland@hack.frob.com>
83600         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83601         output to the target.
83603         * scripts/localplt.awk: New file.
83604         * elf/Makefile ($(objpfx)check-localplt): Target removed.
83605         (check-localplt-CFLAGS): Variable removed.
83606         ($(all-built-dso:=.jmprel)): New static pattern rule.
83607         (generated): Add those targets.
83608         (localplt-built-dso): New variable.
83609         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83611         * elf/check-localplt.c: File removed.
83613         * scripts/check-execstack.awk: New file.
83614         * elf/Makefile ($(objpfx)check-execstack): Target removed.
83615         (check-execstack-CFLAGS): Variable removed.
83616         ($(objpfx)check-execstack.h): Target removed.
83617         ($(objpfx)execstack-default): New target.
83618         (generated): Add that instead of check-execstack.h.
83619         ($(all-built-dso:=.phdr)): New static pattern rule.
83620         (generated): Add those targets.
83621         * elf/check-execstack.c: File removed.
83623         * scripts/check-textrel.awk: New file.
83624         * elf/Makefile ($(objpfx)check-textrel): Target removed.
83625         (check-textrel-CFLAGS): Variable removed.
83626         (all-built-dso): Use := to define.o
83627         ($(all-built-dso:=.dyn)): New static pattern rule.
83628         (generated): Add those targets.
83629         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83630         * config.make.in (READELF): New substituted variable.
83631         * elf/check-textrel.c: File removed.
83633 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
83635         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83636         allow.
83637         * conform/data/ctype.h-data [C99-based standards] (isblank):
83638         Expect function.
83639         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83640         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83641         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83642         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83643         Specify type.  Require positive value.
83644         (EILSEQ): Likewise.
83645         (ERANGE): Likewise.
83646         [ISO || POSIX] (EILSEQ): Do not expect.
83647         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83648         Specify type.  Require positive value.
83649         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83650         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83651         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83652         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83653         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83654         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83655         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83656         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83657         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83658         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83659         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83660         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83661         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83662         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83663         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83664         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83665         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83666         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83667         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83668         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83669         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83670         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83671         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83672         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83673         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83674         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83675         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83676         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83677         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83678         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83679         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83680         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83681         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83682         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83683         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83684         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83685         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83686         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83687         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83688         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83689         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83690         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83691         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83692         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83693         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83694         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83695         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83696         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83697         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83698         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83699         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83700         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83701         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83702         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83703         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83704         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83705         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83706         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83707         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83708         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83709         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83710         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83711         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83712         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83713         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83714         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83715         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83716         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83717         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83718         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83719         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83720         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83721         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83722         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83723         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83724         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83725         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83726         Require >= 2.
83727         (FLT_ROUNDS): Expect as macro, not constant.
83728         (FLT_MANT_DIG): Use macro-int-constant.
83729         (DBL_MANT_DIG): Likewise.
83730         (LDBL_MANT_DIG): Likewise.
83731         (FLT_DIG): Likewise.
83732         (DBL_DIG): Likewise.
83733         (LDBL_DIG): Likewise.
83734         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
83735         (DBL_MIN_EXP): Likewise.
83736         (LDBL_MIN_EXP): Likewise.
83737         (FLT_MAX_EXP): Use macro-int-constant.
83738         (DBL_MAX_EXP): Likewise.
83739         (LDBL_MAX_EXP): Likewise.
83740         (FLT_MAX_10_EXP): Likewise.
83741         (DBL_MAX_10_EXP): Likewise.
83742         (LDBL_MAX_10_EXP): Likewise.
83743         (FLT_MAX): Use macro-constant.
83744         (DBL_MAX): Likewise.
83745         (LDBL_MAX): Likewise.
83746         (FLT_EPSILON): Use macro-constant.  Give upper bound.
83747         (DBL_EPSILON): Likewise.
83748         (LDBL_EPSILON): Likewise.
83749         (FLT_MIN): Likewise.
83750         (DBL_MIN): Likewise.
83751         (LDBL_MIN): Likewise.
83752         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83753         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83754         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83755         [ISO11] (FLT_HAS_SUBNORM): Likewise.
83756         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83757         [ISO11] (DBL_DECIMAL_DIG): Likewise.
83758         [ISO11] (FLT_DECIMAL_DIG): Likewise.
83759         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83760         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83761         [ISO11] (FLT_TRUE_MIN): Likewise.
83762         [ISO11] (LDBL_TRUE_MIN): Likewise.
83763         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83764         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83765         (SCHAR_MIN): Use macro-int-constant.  Specify type.
83766         (SCHAR_MAX): Likewise.
83767         (UCHAR_MAX): Likewise.
83768         (CHAR_MIN): Likewise.
83769         (CHAR_MAX): Likewise.
83770         (MB_LEN_MAX): Use macro-int-constant.
83771         (SHRT_MIN): Use macro-int-constant.  Specify type.
83772         (SHRT_MAX): Likewise.
83773         (USHRT_MAX): Likewise.
83774         (INT_MAX): Likewise.
83775         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
83776         bound negative.
83777         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83778         bound with "U".
83779         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83780         bound with "L".
83781         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
83782         bound negative.  Suffix upper bound with "L".
83783         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83784         bound with "UL".
83785         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83786         Specify type.
83787         [C99-based standards] (LLONG_MAX): Likewise.
83788         [C99-based standards] (ULLONG_MAX): Likewise.
83789         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
83790         == 0.
83791         [ISO11] (max_align_t): Require type.
83792         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83794         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83795         from $CFLAGS, without defining away __attribute__ calls.
83796         (checknamespace): Use $CFLAGS_namespace.
83798         * conform/conformtest.pl (@keywords): Only include C99 keywords
83799         for standards based on C99 or C11.
83801         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83802         Disable tests.
83803         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83804         UNIX98]: Likewise.
83806         * conform/conformtest.pl: Handle "macro-int-constant" and test for
83807         usability of symbols in #if.
83809         * conform/conformtest.pl: If macro or constant types start
83810         "promoted:", expect the symbol to be of the following type
83811         promoted by the integer promotions.
83813         * conform/conformtest.pl: Parse all "constant" and "macro" lines
83814         in one place.  Also handle "macro-constant".
83816         * conform/conformtest.pl: Only accept expected macro values with
83817         "==".  Parse all "macro" lines in one place.
83818         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83820         * conform/conformtest.pl: Handle braced types on "constant" lines
83821         instead of handling "typed-constant".
83822         * conform/data/signal.h-data: Use "constant" instead of
83823         "typed-constant".
83825         * conform/conformtest.pl: Handle "optional-" at start of lines in
83826         one place rather than duplicating several cases.  Handle each
83827         format of "macro" line with initial "optional-".
83829         * conform/conformtest.pl: Only accept expected constant or
83830         optional-constant values with "==".  Parse all "constant" lines in
83831         one place.  Parse all "optional-constant" lines in one place.
83832         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83833         * conform/data/fmtmsg.h-data: Likewise.
83834         * conform/data/netinet/in.h-data: Likewise.
83835         * conform/data/tar.h-data: Likewise.
83836         * conform/data/limits.h-data: Use "==" form on "constant" and
83837         "optional-constant" lines.
83839         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83840         Use -std=c99 for XOPEN2K.
83841         (@knownproblems): Remove.
83842         (newtoken): Don't check %isknown.
83844         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83845         Do not expect macro.
83846         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83847         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83848         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83849         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83850         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83851         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83852         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83853         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83854         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83855         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83856         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83857         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83858         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83859         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83860         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83861         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83862         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83863         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83864         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83865         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83866         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83867         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83868         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83869         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83870         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83871         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83872         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83873         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83874         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83875         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83876         [XPG3] (acosh): Likewise.
83877         [XPG3] (asinh): Likewise.
83878         [XPG3] (atanh): Likewise.
83879         [XPG3] (cbrt): Likewise.
83880         [XPG3] (expm1): Likewise.
83881         [XPG3] (ilogb): Likewise.
83882         [XPG3] (log1p): Likewise.
83883         [XPG3] (logb): Likewise.
83884         [XPG3] (nextafter): Likewise.
83885         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83886         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83887         [XPG3] (remainder): Likewise.
83888         [XPG3] (rint): Likewise.
83889         [XPG3 || XPG4 || UNIX98] (round): Likewise.
83890         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83891         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83892         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83893         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83894         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83895         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83896         [UNIX98 || XOPEN2K] (scalb): Expect.
83897         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83898         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83899         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83900         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83901         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83902         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83903         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83904         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83905         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83906         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83907         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83908         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83909         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83910         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83911         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83912         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83913         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83914         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83915         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83916         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83917         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83918         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83919         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83920         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83921         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83922         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83923         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83924         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83925         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83926         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83927         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83928         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83929         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83930         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83931         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83932         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83933         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83934         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83935         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83936         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83937         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83938         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83939         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83940         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83941         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83942         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83943         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83944         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83945         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83946         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83947         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83948         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83949         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83950         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83951         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83952         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83953         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83954         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83955         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83956         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83957         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
83958         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
83959         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
83960         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
83961         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
83962         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
83963         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
83964         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
83965         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
83966         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
83967         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
83968         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
83969         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
83970         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
83971         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
83972         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
83973         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
83974         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
83975         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
83976         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
83977         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
83978         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
83979         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
83980         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
83981         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
83982         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
83983         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
83984         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
83985         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
83986         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
83987         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
83988         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
83989         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
83990         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
83991         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
83992         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
83993         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
83994         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
83995         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
83996         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
83997         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
83998         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
83999         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
84000         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
84001         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
84002         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
84003         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
84004         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
84005         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
84006         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
84007         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
84008         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
84009         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
84010         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
84011         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
84012         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
84013         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
84014         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
84015         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
84016         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
84017         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
84018         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
84019         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
84020         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
84021         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
84022         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
84023         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
84024         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
84025         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
84026         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
84027         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
84028         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
84029         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
84030         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
84031         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
84032         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
84033         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
84035         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
84036         _XOPEN_SOURCE_EXTENDED for XPG4.
84038         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
84040         * Makeconfig (localtime): Remove variable.
84041         (inst_localtime-file): Likewise.
84043 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
84045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
84046         Update.
84047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
84048         Update.
84049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
84050         Update.
84051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
84052         Update.
84053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
84054         Update.
84055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
84056         Update.
84057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
84058         Update.
84059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
84060         Update.
84061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84062         Update.
84064 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
84066         [BZ #2550]
84067         [BZ #2570]
84068         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
84069         comparisons to determine direction to adjust input.
84070         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
84071         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
84072         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
84073         Likewise.
84074         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
84075         Likewise.
84076         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
84077         Likewise.
84078         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
84079         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
84080         Likewise.
84081         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
84082         Likewise.
84083         * math/libm-test.inc (nexttoward_test): Add more tests.
84085 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
84087         [BZ #14040]
84088         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
84089         in version GLIBC_2.1, not GLIBC_2.0.
84090         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
84091         Likewise.
84093 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
84095         [BZ #13942]
84096         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
84097         (1 - x) * (1 + x).
84098         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84099         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
84100         * math/libm-test.inc (acos_test): Add more tests.
84101         (asin_test): Likewise.
84102         * sysdeps/i386/fpu/libm-test-ulps: Update.
84103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84105         [BZ #14034]
84106         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
84107         of square root.
84108         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
84109         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84110         * math/libm-test.inc (acos_test_tonearest): New function.
84111         (acos_test_towardzero): Likewise.
84112         (acos_test_downward): Likewise.
84113         (acos_test_upward): Likewise.
84114         (asin_test_tonearest): Likewise.
84115         (asin_test_towardzero): Likewise.
84116         (asin_test_downward): Likewise.
84117         (asin_test_upward): Likewise.
84118         (main): Call the new functions.
84119         * sysdeps/i386/fpu/libm-test-ulps: Update.
84120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84122         [BZ #13884]
84123         [BZ #13924]
84124         * math/e_exp10.c: Include <float.h>.
84125         (__ieee754_exp10): Handle underflow here rather than multiplying
84126         large negative argument by M_LN10.
84127         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84128         of __ieee754_expf.
84129         * math/e_exp10l.c: Include <float.h>.
84130         (__ieee754_exp10l): Handle underflow here rather than multiplying
84131         large negative argument by M_LN10l.
84132         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
84133         spurious overflow exception on underflow.
84135 2012-04-29  Marek Polacek  <polacek@redhat.com>
84137         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84138         (__fortify_function): New macro.
84139         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84140         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84141         __extern_always_inline.
84142         * libio/bits/stdio2.h: Likewise.
84143         * libio/bits/stdio.h: Likewise.
84144         * string/string.h: Likewise.
84145         * string/bits/string3.h: Likewise.
84146         * include/stdio.h: Likewise.
84147         * stdlib/bits/stdlib.h: Likewise.
84148         * stdlib/stdlib.h: Likewise.
84149         * rt/bits/mqueue2.h: Likewise.
84150         * rt/mqueue.h: Likewise.
84151         * posix/bits/unistd.h: Likewise.
84152         * posix/unistd.h: Likewise.
84153         * io/bits/poll2.h: Likewise.
84154         * io/bits/fcntl2.h: Likewise.
84155         * io/fcntl.h: Likewise.
84156         * io/sys/poll.h: Likewise.
84157         * misc/bits/syslog.h: Likewise.
84158         * misc/bits/syslog-ldbl.h: Likewise.
84159         * misc/sys/syslog.h: Likewise.
84160         * socket/bits/socket2.h: Likewise.
84161         * socket/sys/socket.h: Likewise.
84162         * debug/tst-chk1.c: Likewise.
84163         * wcsmbs/bits/wchar2.h: Likewise.
84164         * wcsmbs/bits/wchar-ldbl.h: Likewise.
84165         * wcsmbs/wchar.h: Likewise.
84167 2012-04-29  Andreas Jaeger  <aj@suse.de>
84169         * Makerules (tests): Remove enable-check-abi protection.
84170         (check-abi-warn): Remove.
84171         (check-abi-%): Remove check-abi-warn usage.
84173         * configure.in: Remove check-abi configure option.
84174         * configure: Regenerated.
84175         * config.make.in (enable-check-abi): Remove.
84177 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
84179         [BZ #14033]
84180         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84181         double functions to double *_finite functions.
84183         [BZ #13941]
84184         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84185         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84186         LDBL_MIN_EXP.
84187         * stdio-common/Makefile (tests): Add tst-sprintf3.
84188         * stdio-common/tst-sprintf3.c: New file.
84190         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84191         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84193 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84195         * conform/conformtest.pl: Remove duplicate typed-constant
84196         handling.
84198 2012-04-28  David S. Miller  <davem@davemloft.net>
84200         * Makerules (%.abilist): Add vpath on sysdep_dirs.
84201         (check-abi-%): Remove AWK script prerequisite and explicit
84202         abilist directory.
84203         (check-abi): Rewrite to just diff the symlist with the abilist.
84204         (config-tls, config-abi-config): Delete, no longer used.
84205         (update-abi-%): Remove AWK script and explicit abilist directory.
84206         (update-abi): Rewrite to simply compare and conditionally copy the
84207         symlist and the sysdep abilist file.  Remove update-abi-config
84208         checks.
84209         * abilist/ld.abilist: Remove.
84210         * abilist/libBrokenLocale.abilist: Remove.
84211         * abilist/libanl.abilist: Remove.
84212         * abilist/libcrypt.abilist: Remove.
84213         * abilist/libdl.abilist: Remove.
84214         * abilist/librt.abilist: Remove.
84215         * abilist/libthread_db.abilist: Remove.
84216         * abilist/libutil.abilist: Remove.
84217         * scripts/extract-abilist.awk: Remove.
84218         * scripts/merge-abilist.awk: Remove.
84219         * sysdeps/generic/libcidn.abilist: New file.
84220         * sysdeps/generic/libnss_compat.abilist: New file.
84221         * sysdeps/generic/libnss_db.abilist: New file.
84222         * sysdeps/generic/libnss_dns.abilist: New file.
84223         * sysdeps/generic/libnss_files.abilist: New file.
84224         * sysdeps/generic/libnss_hesiod.abilist: New file.
84225         * sysdeps/generic/libnss_nis.abilist: New file.
84226         * sysdeps/generic/libnss_nisplus.abilist: New file.
84227         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84228         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84229         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84230         file.
84231         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84232         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84233         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84234         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84235         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84236         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84237         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84238         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84239         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84240         file.
84241         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84242         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84243         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84244         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84245         file.
84246         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84247         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84248         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84249         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84250         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84251         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84252         file.
84253         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84254         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84255         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84256         file.
84257         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84258         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84259         New file.
84260         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84261         New file.
84262         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84263         New file.
84264         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84265         New file.
84266         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84267         New file.
84268         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84269         New file.
84270         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84271         New file.
84272         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84273         New file.
84274         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84275         New file.
84276         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84277         New file.
84278         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84279         New file.
84280         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84281         New file.
84282         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84283         New file.
84284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84285         file.
84286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84287         New file.
84288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84289         New file.
84290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84291         file.
84292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84293         New file.
84294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84295         New file.
84296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84297         file.
84298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84299         New file.
84300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84301         New file.
84302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84303         New file.
84304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84305         New file.
84306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84307         New file.
84308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84309         New file.
84310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84312         file.
84313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84314         New file.
84315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84316         file.
84317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84318         file.
84319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84320         file.
84321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84322         file.
84323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84324         file.
84325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84326         New file.
84327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84328         file.
84329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84330         file.
84331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84332         New file.
84333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84334         file.
84335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84337         file.
84338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84339         New file.
84340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84341         file.
84342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84343         file.
84344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84345         file.
84346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84347         file.
84348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84349         file.
84350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84351         New file.
84352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84353         file.
84354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84355         file.
84356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84357         New file.
84358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84359         file.
84360         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84361         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84362         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84363         file.
84364         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84365         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84366         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84367         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84368         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84369         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84370         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84371         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84372         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84373         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84376         file.
84377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84378         New file.
84379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84380         file.
84381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84382         file.
84383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84384         file.
84385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84386         file.
84387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84388         file.
84389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84390         New file.
84391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84392         New file.
84393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84394         file.
84395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84396         New file.
84397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84398         file.
84399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84401         file.
84402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84403         New file.
84404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84405         file.
84406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84407         file.
84408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84409         file.
84410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84411         file.
84412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84413         file.
84414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84415         New file.
84416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84417         New file.
84418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84419         file.
84420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84421         New file.
84422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84423         file.
84425 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84427         * conform/conformtest.pl: Fix typo in handling typed-constant from
84428         allow-header.
84430 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84432         * README: Cut down references to pre-2.6 Linux kernels and
84433         Linuxthreads.  Update lists of configurations in libc and ports
84434         and sort alphabetically.  Say "or newer" with Linux kernel version
84435         requirements.
84437         * config.h.in [IS_IN_build]: Allow compiling without optimization.
84439 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
84441         [BZ #887]
84442         * math/libm-test.inc (logb_test_downward): New test to expose
84443         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84444         rounding mode.
84446 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84448         [BZ #14027]
84449         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84450         to be done.
84451         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84452         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84454 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
84456         * sysdeps/unix/i386/brk.S: Remove file.
84457         * sysdeps/unix/i386/dl-brk.S: Likewise.
84458         * sysdeps/unix/i386/pipe.S: Likewise.
84459         * sysdeps/unix/i386/sigreturn.S: Likewise.
84460         * sysdeps/unix/i386/syscall.S: Likewise.
84461         * sysdeps/unix/i386/vfork.S: Likewise.
84462         * sysdeps/unix/i386/wait.S: Likewise.
84464         * sysdeps/unix/common/tcsendbrk.c: Move to ...
84465         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84467         * configure.in (arm*-none*): Do not allow without
84468         --enable-hacker-mode.
84469         (netbsd*): Remove case setting base_os.
84470         (386bsd*): Likewise.
84471         (freebsd*): Likewise.
84472         (bsdi*): Likewise.
84473         (osf*): Likewise.
84474         (sunos*): Likewise.
84475         (ultrix*): Likewise.
84476         (newsos*): Likewise.
84477         (dynix*): Likewise.
84478         (*bsd*): Likewise.
84479         (sysv*): Likewise.
84480         (isc*): Likewise.
84481         (esix*): Likewise.
84482         (sco*): Likewise.
84483         (minix*): Likewise.
84484         (irix4*): Likewise.
84485         (irix6*): Likewise.
84486         (solaris[2-9]*): Likewise.
84487         (none): Likewise.
84488         * configure: Regenerated.
84490 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84492         [BZ #11521]
84493         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84494         overflow or cancellation in calculating denominator.
84495         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84496         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84497         down expression to avoid unexpected rounding in newer GCCs.
84498         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84500 2012-04-26  David S. Miller  <davem@davemloft.net>
84502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84503         long-double compat symbols.
84504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84518 2012-04-25  David S. Miller  <davem@davemloft.net>
84520         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84521         HWCAP_* values only after the memory barriers have been defined.
84522         (atomic_full_barrier): Define.
84523         (atomic_read_barrier): Define.
84524         (atomic_write_barrier): Define.
84526 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
84528         * shlib-versions: Add libgcc_s version information.
84529         * sysdeps/generic/libgcc_s.h: Remove.
84530         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84531         libgcc_s.h.
84532         * sysdeps/gnu/unwind-resume.c: Likewise.
84533         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84535 2012-04-25  David S. Miller  <davem@davemloft.net>
84537         * sysdeps/unix/sparc/brk.S: Delete.
84538         * sysdeps/unix/sparc/dl-brk.S: Delete.
84539         * sysdeps/unix/sparc/pipe.S: Delete.
84540         * sysdeps/unix/sparc/sysdep.S: Delete.
84541         * sysdeps/unix/sparc/sysdep.h: Delete.
84542         * sysdeps/unix/sparc/vfork.S: Delete.
84543         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84544         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84545         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84546         (ret_ERRVAL, r0, r1, MOVE): Define.
84547         (JUMPTARGET): Remove.
84548         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84549         sysdeps/unix/sparc/sysdep.h
84550         (ENTRY, END): Remove.
84551         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84553 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
84555         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84556         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84557         -DIS_IN_build.
84559         * timezone/README: Update upstream location and email address for
84560         tzcode and tzdata.
84561         * timezone/zdump.c: Update from tzcode 2012b.
84562         * timezone/zic.c: Likewise.
84564         * configure.in (libc_cv_as_needed): Remove test.
84565         * configure: Regenerated.
84566         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84567         conditional definition.
84568         [$(have-as-needed) != yes] (no-as-needed): Likewise.
84569         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84570         * config.make.in (have-as-needed): Remove variable.
84572 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
84573             Paul Pluzhnikov  <ppluzhnikov@google.com>
84575         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84576         strings correctly.
84578 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
84580         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84581         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84582         * sysdeps/sh/strlen.S: Likewise.
84584 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84586         * sysdeps/unix/fork.S: Remove file.
84587         * sysdeps/unix/i386/fork.S: Likewise.
84588         * sysdeps/unix/sparc/fork.S: Likewise.
84590         * sysdeps/unix/system.c: Remove file.
84591         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84593         * sysdeps/unix/getegid.S: Remove file.
84594         * sysdeps/unix/geteuid.S: Likewise.
84596 2012-04-24  Roland McGrath  <roland@hack.frob.com>
84598         * scripts/check-localplt.awk: New file.
84599         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84600         of diff.
84601         * scripts/data/localplt-generic.data: Add a comment.
84603         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84604         NODE when __dir_mkfile failed.
84605         * sysdeps/mach/hurd/symlinkat.c: Likewise.
84606         Reported by Ludovic CourtĂšs <ludo@gnu.org>.
84608 2012-04-24  Andreas Jaeger  <aj@suse.de>
84610         * Makerules (common-clean): Also remove gen-as-const-headers
84611         files.
84613 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84615         * Makerules (native-compile): Do not change working directory for
84616         build.  Use $(OUTPUT_OPTION) in command.
84617         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84619 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84621         [BZ #13886]
84622         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84623         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84624         * math/libm-test.inc (floor_test): Add more tests.
84625         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84627 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84629         * sysdeps/unix/getdents.c: Remove file.
84630         * sysdeps/unix/sysv/getdents.c: Likewise.
84631         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84633         * sysdeps/unix/syscalls.list (madvise): Add syscall from
84634         sysdeps/unix/mman/syscalls.list.
84635         (mmap): Likewise.
84636         (mprotect): Likewise.
84637         (msync): Likewise.
84638         (munmap): Likewise.
84639         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84640         * sysdeps/unix/mman/syscalls.list: Remove.
84641         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84643         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84644         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84645         * configure: Regenerated.
84646         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84647         $(libgcc_s_suffix).
84648         * config.make.in (libgcc_s_suffix): Remove variable.
84650 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
84652         * sysdeps/unix/sysv/gethostname.c: Move to ...
84653         * sysdeps/posix/gethostname.c: ... here.
84655         * sysdeps/unix/execve.S: Remove file.
84657         * sysdeps/unix/_exit.S: Remove file.
84659 2012-04-23  Andreas Jaeger  <aj@suse.de>
84661         [BZ #13739]
84662         * manual/Makefile: Remove make dist support, there's no
84663         need for a stand-alone documentation tar ball.
84664         (TEXI2DVI): Define always, it's not in Makeconfig.
84665         (dist): Removed.
84666         (tar-it): Removed.
84667         (edition): Removed.
84668         (glibc-doc-$(edition).tar): Removed
84669         (%.Z): Removed.
84670         (%.gz): Removed.
84671         (%.uu): Removed.
84672         (ETAGS): Remove, it's in Makeconfig.
84673         (move-if-change): Remove, it's in Makeconfig.
84675 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
84677         [BZ #13970]
84678         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84679         (strtod, strtof, strtold, strtol, strtoul, strtoq)
84680         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84681         (strtod_l, strtof_l, strtold_l): Remove __wur.
84682         It is not necessarily an error to ignore strtol's return value.
84683         One can reliably look at the stored endptr to decide whether
84684         the number had valid syntax.
84686 2012-04-21  Andreas Jaeger  <aj@suse.de>
84688         [BZ #13739]
84689         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84691 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
84693         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84694         * sysdeps/unix/sysv/Versions: Remove file.
84696 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
84698         [BZ #13927]
84699         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84701 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
84703         [BZ #7064]
84704         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84705         version from __vm86.
84707 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
84709         * sysdeps/unix/common/lxstat.c: Remove file.
84710         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84712         * sysdeps/unix/sysv/Makefile: Remove file.
84714         * sysdeps/unix/sysv/direct.h: Remove file.
84716         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84717         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84718         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84719         * sysdeps/unix/sysv/bits/signum.h: Likewise.
84720         * sysdeps/unix/sysv/bits/stat.h: Likewise.
84721         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84722         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84724         * sysdeps/unix/sysv/setrlimit.c: Remove file.
84726         * sysdeps/unix/xmknod.c: Remove file.
84727         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84729         * sysdeps/unix/sysv/settimeofday.c: Remove file.
84731         * sysdeps/unix/sysv/i386/time.S: Remove file.
84733         * sysdeps/unix/fxstat.c: Remove file.
84734         * sysdeps/unix/xstat.c: Likewise.
84735         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84737         * sysdeps/unix/sysv/sigaction.c: Remove file.
84739         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84740         (sysdep_headers): Remove variable.
84741         [termio.h not in sysdep_headers] (generated): Likewise.
84742         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84743         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84744         * sysdeps/unix/sysv/tcdrain.c: Likewise.
84745         * sysdeps/unix/sysv/tcflow.c: Likewise.
84746         * sysdeps/unix/sysv/tcflush.c: Likewise.
84747         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84748         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84749         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84750         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84751         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84753         * sysdeps/unix/siglist.c: Remove file.
84755         * sysdeps/unix/getppid.S: Remove file.
84757         * sysdeps/unix/mkdir.c: Remove file.
84758         * sysdeps/unix/rmdir.c: Likewise.
84760 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
84762         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84763         ERR_MAX value.
84764         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84765         errlist-compat value.
84767 2012-04-18  David S. Miller  <davem@davemloft.net>
84769         * sysdeps/generic/memcopy.h (reg_char): Delete.
84770         * debug/strcat_chk.c: Use char, not reg_char.
84771         * debug/strcpy_chk.c: Likewise.
84772         * debug/strncat_chk.c: Likewise.
84773         * debug/strncpy_chk.c: Likewise.
84774         * string/memchr.c: Likewise.
84775         * string/memrchr.c: Likewise.
84776         * string/rawmemchr.c: Likewise.
84777         * string/strcat.c: Likewise.
84778         * string/strchr.c: Likewise.
84779         * string/strchrnul.c: Likewise.
84780         * string/strcmp.c: Likewise.
84781         * string/strcpy.c: Likewise.
84782         * string/strncat.c: Likewise.
84783         * string/strncmp.c: Likewise.
84784         * string/strncpy.c: Likewise.
84786 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84788         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84789         __builtin_memcopy is called when src and dest ranges are known to not
84790         overlap.
84792 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84794         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84795         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84796         fwd_align_merge macro call.
84797         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84798         bwd_align_merge macro call.
84799         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84801 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84803         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84804         bwd_align_merge macros.
84805         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84806         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84807         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84809 2012-04-18  David S. Miller  <davem@davemloft.net>
84811         * sysdeps/sparc/sparc64/memcopy.h: Delete.
84813 2012-04-18  Andreas Jaeger  <aj@suse.de>
84815         [BZ #6794]
84816         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84817         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84818         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84820         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84821         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84822         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84824         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84825         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84826         Adjust for changed ldbl-128 files.
84828         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84829         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84830         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84832 2012-04-17  David S. Miller  <davem@davemloft.net>
84834         * sysdeps/sparc/sparc32/memcopy.h: Delete.
84836 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
84838         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84839         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84840         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84841         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84842         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84843         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84845 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84847         [BZ #6794]
84848         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84849         * math/libm-test.inc: Add ilogb errno and exception tests.
84850         * math/w_ilogb.c: New file: ilogb wrapper.
84851         * math/w_ilogbf.c: New file: ilogbf wrapper.
84852         * math/w_ilogbl.c: New file: ilogbl wrapper.
84853         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84854         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84855         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84856         exception being thrown with 0.0 as argument.
84857         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84858         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84859         exception being thrown with 0.0 as argument.
84860         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84861         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84862         exception being thrown with 0.0 as argument.
84863         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84864         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84865         exception being thrown with 0.0 as argument.
84866         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84867         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84868         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84869         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84870         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84871         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84872         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84873         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84874         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84876 2012-04-17  Petr Baudis  <pasky@ucw.cz>
84878         * include/sys/uio.h: Change __vector to __iovec to avoid clash
84879         with altivec.
84881 2012-04-16  Marek Polacek  <polacek@redhat.com>
84883         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84885 2012-04-16  Marek Polacek  <polacek@redhat.com>
84887         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84888         operands of fdivp instruction.
84890 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84892         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84893         * elf/tst-auditmod3b.c: Likewise.
84894         * elf/tst-auditmod4b.c: Likewise.
84895         * elf/tst-auditmod5b.c: Likewise.
84896         * elf/tst-auditmod6b.c: Likewise.
84897         * elf/tst-auditmod6c.c: Likewise.
84898         * elf/tst-auditmod7b.c: Likewise.
84899         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84900         * sysdeps/x86_64/preconfigure.in: Likewise.
84901         * sysdeps/x86_64/preconfigure: Regenerated.
84903 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84905         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84906         __ILP32__.
84908 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
84910         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84911         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84913 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
84915         [BZ #13973]
84916         * locale/iso-639.def: Fix gl language name. Spotted by
84917         Yaron Shahrabani.
84919 2012-04-12  Roland McGrath  <roland@hack.frob.com>
84921         [BZ #2074]
84922         * libio/libio.h (__io_write_fn): Update comment.
84924 2012-04-12  Petr Baudis  <pasky@ucw.cz>
84926         [BZ #2074]
84927         * stdio.texi (Hook Functions): The user provided writer function
84928         is not allowed to return -1.
84930 2012-04-11  David S. Miller  <davem@davemloft.net>
84932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84934 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
84936         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84937         Add a leading slash to rtkaio.
84939 2012-04-11  Jim Meyering  <meyering@redhat.com>
84941         [BZ #11959]
84942         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84943         It is not necessarily an error to ignore fwrite's return
84944         value.  One can reliably use ferror to test for errors after
84945         the fact.
84947 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
84949         * bits/types.h (__snseconds_t): New type.
84950         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84952         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84953         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84954         (__SNSECONDS_T_TYPE): Likewise.
84955         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84956         (__SNSECONDS_T_TYPE): Likewise.
84957         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
84958         (__SNSECONDS_T_TYPE): Likewise.
84960 2012-04-10  Andreas Jaeger  <aj@suse.de>
84962         [BZ #2636]
84963         * manual/time.texi (Processor Time): Return type of times is
84964         elapsed real time since an arbitrary point in the past.
84965         (CPU Time): Move CLK_TCK from here...
84966         (Processor Time): ...to here.  Correct description.
84967         * manual/conf.texi (Constants for Sysconf): Correct description of
84968         _SC_CLK_TCK.
84970 2012-04-10  David S. Miller  <davem@davemloft.net>
84972         [BZ #13967]
84973         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
84974         where the is a gap between DT_REL(A) and DT_JMPREL.
84976 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
84978         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
84979         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84980         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84982 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
84984         * elf/dl-support.c (_dl_inhibit_cache): New variable.
84985         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
84986         (dl_main): Handle --inhibit-cache.
84987         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
84988         _dl_inhibit_cache.
84989         * elf/dl-load.c (_dl_map_object): Use it.
84990         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
84992 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
84994         [BZ #13872]
84995         * sysdeps/i386/fpu/e_powl.S (p78): New object.
84996         (__ieee754_powl): Saturate large exponents rather than testing for
84997         overflow of y*log2(x).
84998         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84999         * math/libm-test.inc (pow_test): Do not permit spurious overflow
85000         exceptions.
85002         [BZ #11521]
85003         * math/s_ctan.c: Include <float.h>.
85004         (__ctan): Avoid internal overflow or cancellation in calculating
85005         denominator.
85006         * math/s_ctanf.c: Likewise.
85007         * math/s_ctanl.c: Likewise.
85008         * math/s_ctanh.c: Likewise.
85009         * math/s_ctanhf.c: Likewise.
85010         * math/s_ctanhl.c: Likewise.
85011         * math/libm-test.inc (ctan_test): Add more tests.
85012         (ctanh_test): Likewise.
85013         * sysdeps/i386/fpu/libm-test-ulps: Update.
85014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85016 2012-04-09  Andreas Jaeger  <aj@suse.de>
85018         [BZ #6894]
85019         * manual/filesys.texi (Directory Entries): Mention that d_namlen
85020         is an optional BSD extension.
85022         [BZ #10254]
85023         * manual/stdio.texi (Opening Streams): Document additional fopen
85024         parameters.
85026 2012-04-09  Roland McGrath  <roland@hack.frob.com>
85028         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
85029         %eax without telling the compiler.
85031 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
85033         [BZ # 13963]
85034         * manual/install.texi: Use sourceware.org.
85036 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
85038         [BZ #13873]
85039         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
85040         (__ieee754_pow): Generate overflow and underflow using huge*huge
85041         and tiny*tiny rather than just returning constant infinity or zero
85042         for large exponents.
85043         * math/libm-test.inc (pow_test): Require overflow exceptions for
85044         applicable cases of large exponents.
85046         [BZ #706]
85047         * sysdeps/i386/fpu/e_pow.S (p10): New object.
85048         (__ieee754_pow): Use iterative multiplication algorithm only for
85049         integer exponents with absolute value below 1024.  Check for odd
85050         integer exponents when using algorithm for real exponents.
85051         * math/libm-test.inc (pow_test): Add more tests.
85052         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85054 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
85056         [BZ #13705]
85057         * math/libm-test.inc (exp_test): Do not allow overflow exception
85058         on underflow test.
85060 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
85062         [BZ #13705]
85063         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
85064         instead of __kernel_standard_f.
85066 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
85068         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
85069         * sysdeps/x86_64/memset_chk.S: Likewise.
85071 2012-04-08  Andreas Jaeger  <aj@suse.de>
85073         [BZ #10153]
85074         * manual/startup.texi (Environment Access): Describe return value
85075         for putenv and setenv.
85077         [BZ #6895]
85078         * manual/filesys.texi (Directory Entries): Add description for
85079         DT_LNK.
85081         [BZ #6890]
85082         * manual/filesys.texi (Directory Entries): Clarify that it's file
85083         system not operating system in the description of DT_UNKNOWN.
85085         [BZ #6578]
85086         * manual/syslog.texi (closelog): Fix reference, it's openlog.
85088 2012-04-08  Stephen Compall  <s11@member.fsf.org>
85090         [BZ #6649]
85091         * manual/llio.texi (Opening and Closing Files): Add cross
85092         reference to explain mode argument.
85094 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
85096         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
85097         * sysdeps/x86_64/memset_chk.S: Likewise.
85099 2012-04-07  David S. Miller  <davem@davemloft.net>
85101         * elf/elf.h (R_SPARC_WDISP10): Define.
85102         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
85103         R_SPARC_SIZE32.
85104         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
85105         R_SPARC_SIZE64 and R_SPARC_H34.
85107 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
85109         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
85110         conditions and remove no longer applicable assertion.
85112 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85114         * bits/byteswap.h: Include <features.h>.
85115         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85116         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85118 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85120         * bits/byteswap.h (__bswap_16): Removed.
85121         Include <bits/byteswap-16.h> to get __bswap_16.
85122         * sysdeps/i386/bits/byteswap.h: Likewise.
85123         * sysdeps/s390/bits/byteswap.h: Likewise.
85124         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85125         * bits/byteswap-16.h: New file.
85126         * sysdeps/i386/bits/byteswap-16.h: Likewise.
85127         * sysdeps/s390/bits/byteswap-16.h: Likewise.
85128         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85129         * string/Makefile (headers): Add bits/byteswap-16.h.
85131 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85133         [BZ #13895]
85134         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85135         extra indirection.
85136         * nss/Makefile (tests-static, tests): Add tst-nss-static.
85137         * nss/tst-nss-static.c: New.
85139 2012-04-06  Robert Millan  <rmh@gnu.org>
85141         [BZ #6486]
85142         * manual/llio.texi (File Position Primitive): lseek
85143         refers to WHENCE when it really means OFFSET.
85145 2012-04-06  Andreas Jaeger  <aj@suse.de>
85147         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85148         strncmp declarations.
85150         * abilist/libc.abilist: Add __poll and __ppoll.
85152 2012-04-05  David S. Miller  <davem@davemloft.net>
85154         * scripts/check-local-headers.sh: Accept a host triplet in the
85155         path matched by the exclude regexp.
85157         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85158         definition.
85159         * sysdeps/powerpc/powerpc32/dl-machine.h
85160         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85161         * sysdeps/s390/s390-32/dl-machine.h
85162         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85163         * sysdeps/sparc/sparc32/dl-machine.h
85164         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85165         * sysdeps/sparc/sparc64/dl-machine.h
85166         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85168         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85169         lazy binding.
85170         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85171         undefined symbol errors.
85173         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85174         DT_NEEDED entries.
85176 2012-04-05  Michael Matz  <matz@suse.de>
85178         [BZ #13592]
85179         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85181 2012-04-05  Andreas Jaeger  <aj@suse.de>
85183         [BZ #13908]
85184         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85185         comment.
85187 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85189         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85190         which ROUND is no valid rounding mode.
85192 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85194         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85195         read again.
85196         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85198 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85200         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85201         an exception using FPU order intentionally.
85203 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85205         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85206         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85207         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85208         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85210 2012-04-05  Simon Josefsson  <simon@josefsson.org>
85212         [BZ #12340]
85213         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85214         EINVAL when BUFLEN is too smal.
85216 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
85218         [BZ #13553]
85219         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85220         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85222 2012-04-03  Andreas Jaeger  <aj@suse.de>
85224         [BZ #13938]
85225         * manual/setjmp.texi (System V contexts): Fix sentence.
85227         [BZ #13926]
85228         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85229         New macro for this case.
85230         [!__GNUC__] (__bswap_64): New inline function for this case.
85231         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85232         * bits/byteswap.h: Likewise.
85233         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85234         ull, guard with __GLIBC_HAVE_LONG_LONG.
85236         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85237         __GLIBC_HAVE_LONG_LONG.
85239         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85240         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85242 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85244         [BZ #13691]
85245         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85246         inptr and inend, rather than using last_ch.
85248 2012-04-02  David S. Miller  <davem@davemloft.net>
85250         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85251         * stdio-common/printf-parse.h (read_int): Change return type to
85252         'int', return -1 on INT_MAX overflow.
85253         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85254         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
85255         overflows INT_MAX.  Check for overflow of in-format-string precision
85256         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
85257         SIZE_MAX not INT_MAX for integer overflow test.
85258         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85259         skip the construct in the format string but do not record anything.
85260         * stdio-common/bug22.c: Adjust to test both width/prevision
85261         INT_MAX overflow as well as total length INT_MAX overflow.  Check
85262         explicitly for proper errno values.
85264 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
85266         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85267         CHAR_MAX.
85268         * string/test-strcmp.c [! WIDE]: Likewise.
85269         * time/tst-mktime2.c: Likewise for INT_MAX.
85270         * string/test-string.h: #include <sys/param.h> for MIN.
85272         * csu/init-first.c (__libc_init_first): Call __ctype_init.
85273         * sysdeps/i386/init-first.c (init): Likewise.
85274         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85275         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85276         * sysdeps/sh/init-first.c (init): Likewise.
85278 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
85280         * po/ru.po: Update from translation team.
85281         * po/vi.po: Likewise.
85283 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
85285         * resolv/nss_dns/dns-host.c: Merge copyright years.
85287 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85289         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85290         Optimize memcpy with prefetch if
85291         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
85292         src, dst pointers have unequal 16 byte alignments.
85294 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
85296         [BZ #13928]
85297         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85298         from a CNAME entry and return the minimum ttl for the query.
85299         (gaih_getanswer_slice): Likewise.
85301 2012-03-30  Jeff Law  <law@redhat.com>
85303         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85304         due to long keys.
85305         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85306         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85308         * resolv/nss_dns/dns-host.c: Update copyright year.
85310 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
85312         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85313         requests to save a system call.  Fix check that all bytes are sent.
85315         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85316         comments for sendmmsg.
85318 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
85320         [BZ #13691]
85321         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85322         with only 1 character between 0x0041 and 0x01b0.
85323         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85324         * wcsmbs/tst-mbsnrtowcs.c: New file.
85326 2012-03-29  David S. Miller  <davem@davemloft.net>
85328         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85329         small copies by hand.
85331 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
85333         [BZ #13761]
85334         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85335         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85336         group memberships.
85338 2012-03-28  David S. Miller  <davem@davemloft.net>
85340         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85341         that branches into memcpy.
85342         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85343         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85344         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85345         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85346         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85347         bits.
85348         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85349         implementation too.
85350         * sysdeps/sparc/mempcpy.S: New file.
85352         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85353         the IFUNC routine in the libc case.
85354         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85356         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85357         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85358         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85359         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85360         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85361         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85362         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85363         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85365         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85366         loop to 256 bytes instead of 64 bytes and fix test signedness.
85368         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85369         * sysdeps/sparc/sparc32/Makefile: rather than here...
85370         * sysdeps/sparc/sparc64/Makefile: and here.
85372 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
85374         * malloc/mallocbug.c: Avoid warnings about unused variables.
85376 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
85378         [BZ #13760]
85379         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85380         in the right place. Discard and retry query if response is
85381         larger than input buffer size.
85383 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
85385         [BZ #369]
85386         [BZ #2678]
85387         [BZ #3866]
85388         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85389         x for large integer exponent.
85390         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85391         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
85392         sign of result as needed afterwards.
85393         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85394         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85395         result for underflowing pow the same as for overflow.
85396         (__kernel_standard_l): Handle powl overflow and underflow here
85397         rather than calling __kernel_standard.
85398         * math/libm-test.inc (pow_test): Add more tests.
85400         [BZ #3868]
85401         [BZ #13879]
85402         [BZ #13910]
85403         [BZ #13911]
85404         [BZ #13912]
85405         [BZ #13913]
85406         [BZ #13915]
85407         [BZ #13916]
85408         [BZ #13917]
85409         [BZ #13918]
85410         [BZ #13919]
85411         [BZ #13920]
85412         [BZ #13921]
85413         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85414         * sysdeps/ieee754/k_standard.c: Include <float.h>.
85415         (__kernel_standard_l): New function.
85416         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85417         __kernel_standard.
85418         * math/w_acosl.c (__acosl): Likewise.
85419         * math/w_asinl.c (__asinl): Likewise.
85420         * math/w_atan2l.c (__atan2l): Likewise.
85421         * math/w_atanhl.c (__atanhl): Likewise.
85422         * math/w_coshl.c (__coshl): Likewise.
85423         * math/w_exp10l.c (__exp10l): Likewise.
85424         * math/w_exp2l.c (__exp2l): Likewise.
85425         * math/w_fmodl.c (__fmodl): Likewise.
85426         * math/w_hypotl.c (__hypotl): Likewise.
85427         * math/w_j0l.c (__j0l, __y0l): Likewise.
85428         * math/w_j1l.c (__j1l, __y1l): Likewise.
85429         * math/w_jnl.c (__jnl, __ynl): Likewise.
85430         * math/w_lgammal.c (__lgammal): Likewise.
85431         * math/w_log10l.c (__log10l): Likewise.
85432         * math/w_log2l.c (__log2l): Likewise.
85433         * math/w_logl.c (__logl): Likewise.
85434         * math/w_powl.c (__powl): Likewise.
85435         * math/w_remainderl.c (__remainderl): Likewise.
85436         * math/w_scalbl.c (sysv_scalbl): Likewise.
85437         * math/w_sinhl.c (__sinhl): Likewise.
85438         * math/w_sqrtl.c (__sqrtl): Likewise.
85439         * math/w_tgammal.c (__tgammal): Likewise.
85440         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85441         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85442         * math/libm-test.inc (acos_test): Add more tests.
85443         (acosh_test): Likewise.
85444         (asin_test): Likewise.
85445         (atanh_test): Likewise.
85446         (exp_test): Likewise.
85447         (exp10_test): Likewise.
85448         (exp2_test): Likewise.
85449         (expm1_test): Likewise.
85450         (lgamma_test): Likewise.
85451         (log_test): Likewise.
85452         (log10_test): Likewise.
85453         (log1p_test): Likewise.
85454         (log2_test): Likewise.
85455         (pow_test): Do not allow some spurious overflow exceptions.
85456         (sqrt_test): Add more tests.
85457         (tgamma_test): Likewise.
85458         (y0_test): Likewise.
85459         (y1_test): Likewise.
85460         (yn_test): Likewise.
85462 2012-03-27  Anton Blanchard  <anton@samba.org>
85464         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85465         MAP_HUGETLB.
85466         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85467         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85468         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85470 2012-03-27  David S. Miller  <davem@davemloft.net>
85472         * conform/Makefile: Run run-conformtest.sh using $(BASH).
85474         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85475         have-as-vis3 check.
85477 2012-03-27  Andreas Jaeger  <aj@suse.de>
85479         * sysdeps/x86_64/elf/configure.in: Moved to ...
85480         * sysdeps/x86_64/configure.in: ... here.
85481         * sysdeps/x86_64/elf/start.S: Moved to ...
85482         * sysdeps/x86_64/start.S: ... here.
85483         * sysdeps/x86_64/elf/configure: Delete.
85485         * sysdeps/x86_64/configure.in: Merge contents from
85486         sysdeps/i386/configure.in (without i686 check).
85488         * sysdeps/i386/elf/Versions: Merge into ...
85489         * sysdeps/i386/Versions: ... this.
85490         * sysdeps/i386/elf/Versions: Delete file.
85491         * sysdeps/i386/elf/start.S: Moved to ...
85492         * sysdeps/i386/start.S: ...here.
85493         * sysdeps/i386/elf/configure.in: Merge into...
85494         * sysdeps/i386/configure.in: ...here.
85495         * sysdeps/i386/elf/configure.in: Delete file.
85496         * sysdeps/i386/elf/configure: Delete file.
85498         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85499         * debug/backtracesyms.c: ... here.
85500         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85501         * debug/backtracesymsfd.c: ... here.
85502         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85503         * sysdeps/generic/ifunc-sel.h: ... here.
85505         * sysdeps/unix/i386/start.c: Delete file.
85506         * sysdeps/unix/sparc/start.c: Delete file.
85507         * sysdeps/unix/start.c: Delete file.
85509         * sysdeps/sh/elf/configure.in: Moved to ...
85510         * sysdeps/sh/configure.in: ... here.
85511         * sysdeps/sh/elf/start.S: Moved to ...
85512         * sysdeps/sh/start.S: ... here.
85513         * sysdeps/sh/elf/configure: Delete file.
85515         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85516         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85517         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85518         * sysdeps/powerpc/powerpc64/entry.h: ... here.
85519         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85520         * sysdeps/powerpc/powerpc64/start.S: here.
85521         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85522         * sysdeps/powerpc/powerpc64/Makefile: ... this.
85523         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85524         * sysdeps/powerpc/powerpc64/configure.in: ... this.
85525         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85527         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85528         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85529         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85530         * sysdeps/powerpc/powerpc32/start.S: ... here.
85531         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85532         * sysdeps/powerpc/powerpc32/configure.in: ... this.
85533         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85535         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85536         * sysdeps/powerpc/ifunc-sel.h: ... here.
85537         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85538         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85540         * sysdeps/sparc/elf/configure.in: Moved to ...
85541         * sysdeps/sparc/configure.in: ... here.
85542         * sysdeps/sparc/elf/configure: Delete file.
85543         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85544         * sysdeps/sparc/sparc32/start.S: ... here.
85545         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85546         * sysdeps/sparc/sparc64/start.S: ... here.
85547         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85548         * sysdeps/sparc/sparc32/Makefile: ... this.
85549         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85550         * sysdeps/sparc/sparc64/Makefile: ... this.
85552         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85553         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85554         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85555         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85556         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85557         * sysdeps/s390/s390-32/setjmp.S: ... here.
85558         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85559         * sysdeps/s390/s390-32/configure.in: ... here.
85560         * sysdeps/s390/s390-32/elf/configure: Delete file.
85561         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85562         * sysdeps/s390/s390-32/start.S: ... here.
85564         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85565         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85566         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85567         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85568         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85569         * sysdeps/s390/s390-64/setjmp.S: ... here.
85570         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85571         * sysdeps/s390/s390-64/configure.in: ... here
85572         * sysdeps/s390/s390-64/elf/configure: Delete file.
85573         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85574         * sysdeps/s390/s390-64/start.S: ... here.
85575         * sysdeps/s390/s390-64/elf/configure: Delete.
85577         * configure.in: Remove support for elf directories in sysdeps.
85579         * configure: Regenerated.
85580         * sysdeps/i386/configure: Regenerated.
85581         * sysdeps/powerpc/powerpc32/configure: Regenerated.
85582         * sysdeps/powerpc/powerpc64/configure: Regenerated.
85583         * sysdeps/s390/s390-32/configure: Regenerated.
85584         * sysdeps/s390/s390-64/configure: Regenerated.
85585         * sysdeps/sh/configure: Regenerated.
85586         * sysdeps/sparc/configure: Regenerated.
85587         * sysdeps/x86_64/configure: Regenerated.
85589 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
85591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85593         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85594         denormal result into account.
85596 2012-03-25  Roland McGrath  <roland@hack.frob.com>
85598         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85599         Reported by Allan McRae <allan@archlinux.org>.
85601 2012-03-23  Jeff Law  <law@redhat.com>
85603         * nss/getnssent.c (__nss_getent): Fix typo.
85605 2012-03-23  David S. Miller  <davem@davemloft.net>
85607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85609 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
85611         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85612         to pad to uint64_t for each field.
85613         (dl_tls_index): Replace unsigned long with uint64_t.
85615 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
85616         Paul Pluzhnikov  <ppluzhnikov@google.com>
85618         [BZ #6528]
85619         * grp/Makefile (otherlibs): Don't set it.
85620         * inet/Makefile (otherlibs): Likewise.
85621         * login/Makefile (otherlibs): Likewise.
85622         * nscd/Makefile (otherlibs): Likewise.
85623         * posix/Makefile (otherlibs): Likewise.
85624         * pwd/Makefile (otherlibs): Likewise.
85625         * rt/Makefile (otherlibs): Likewise.
85626         * sunrpc/Makefile (otherlibs): Likewise.
85627         * nss/Makefile (otherlibs): Likewise.
85628         Add libnss_files to routines and static-only-routines.
85629         ($(objpfx)getent): Remove rule.
85630         * resolv/Makefile: Add libnss_dns and libresolv to routines and
85631         static-only-routines.
85633 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85635         [BZ #13892]
85636         * math/s_cexp.c: Include <float.h>.
85637         (__cexp): Handle exp result overflowing not necessarily
85638         overflowing both real and imaginary parts of result.
85639         * math/s_cexpf.c: Likewise.
85640         * math/s_cexpl.c: Likewise.
85641         * math/libm-test.inc (cexp_test): Add more tests.
85642         * sysdeps/i386/fpu/libm-test-ulps: Update.
85643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85645 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85647         * include/link.h (ELFW): New macro.
85648         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85649         Replace ELF64_R_TYPE with ELFW(R_TYPE).
85651 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85653         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85654         with uint64_t.
85656 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85658         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85659         declaration.
85660         (struct La_x32_retval): Likewise.
85662 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85664         * sysdeps/x86_64/preconfigure.in: New file.
85665         * sysdeps/x86_64/preconfigure: New generated file.
85667 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85669         [BZ #13824]
85670         * math/e_exp2l.c: Include <float.h>.
85671         (__ieee754_exp2l): Handle overflow and underflow cases
85672         separately.  Only pass fractional part of argument to
85673         __ieee754_expl.
85674         * math/libm-test.inc (exp2_test): Add more tests.
85676         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85677         negating x to take absolute value.
85678         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85679         Likewise.
85680         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85681         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85682         Likewise.
85683         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85684         computing low part if x was negated.
85685         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85687 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85689         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85690         la_x32_gnu_pltexit.
85691         (pltexit): Cast int_retval to ptrdiff_t.
85692         * elf/tst-auditmod3b.c: Likewise.
85693         * elf/tst-auditmod4b.c: Likewise.
85694         * elf/tst-auditmod5b.c: Likewise.
85695         * elf/tst-auditmod6b.c: Likewise.
85696         * elf/tst-auditmod6c.c: Likewise.
85697         * elf/tst-auditmod7b.c: Likewise.
85699         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85700         and x32_gnu_pltexit.
85702         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85703         __ELF_NATIVE_CLASS.
85704         (La_x32_regs): New macro.
85705         (La_x32_retval): Likewise.
85706         (la_x32_gnu_pltenter): New function prototype.
85707         (la_x32_gnu_pltexit): Likewise.
85709 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
85711         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85712         exponent.
85714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85716         * configure.in (libc_cv_cc_nofma): Check for option to disable
85717         generation of FMA instructions.
85718         * configure: Regenerate.
85719         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85720         * sysdeps/ieee754/dbl-64/Makefile: New file.
85721         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85722         Remove brandred-fma4.
85723         (CFLAGS-brandred-fma4.c): Remove.
85724         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85725         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85726         define.
85727         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85728         define.
85730 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85732         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85733         LLONG_MAX != LONG_MAX.
85734         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85735         (_fitoa_word): Likewise.
85736         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85737         LLONG_MAX != LONG_MAX.
85738         * stdio-common/_itowa.h: Include <_itoa.h>.
85739         (_itowa_word): Use _ITOA_WORD_TYPE on value.
85740         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
85741         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
85742         only if not defined.
85743         (_ITOA_WORD_TYPE): Likewise.
85744         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85745         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85747 2012-03-21  David S. Miller  <davem@davemloft.net>
85749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85751 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85753         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85754         of x86_64 when setting libc_cv_slibdir, libdir and
85755         libc_cv_localedir.
85756         * sysdeps/unix/sysv/linux/configure: Regenerated.
85758 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85760         * manual/lang.texi (Old Varargs): Remove section.
85761         (How Variadic): Update menu.
85762         (va_start): Do not mention varargs.h.
85764 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85765             Joseph Myers  <joseph@codesourcery.com>
85767         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85768         link test.
85769         * configure: Regenerated.
85771 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85773         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85774         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85775         conformtest.pl
85777 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85779         * NOTES: Remove.
85780         * Makefile (files-for-dist): Remove NOTES.
85781         (NOTES): Remove rule.
85782         * README: Don't refer to NOTES.
85783         * manual/creature.texi: Don't include macros.texi.
85784         * manual/intro.texi (creature.texi): Remove comment referring to
85785         NOTES.
85787         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85788         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85789         * configure: Regenerated.
85790         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85791         LIBC_TRY_CC_OPTION.
85792         (libc_cv_as_i686): Likewise.
85793         (libc_cv_cc_avx): Likewise.
85794         (libc_cv_cc_sse2avx): Likewise.
85795         (libc_cv_cc_fma4): Likewise.
85796         (libc_cv_cc_novzeroupper): Likewise.
85797         * sysdeps/i386/configure: Regenerated.
85799         [BZ #13883]
85800         * sysdeps/i386/fpu/s_cexp.S: Remove.
85801         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85802         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85803         * math/libm-test.inc (cexp_test): Add more tests.
85804         * sysdeps/i386/fpu/libm-test-ulps: Update.
85805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85807 2012-03-21  Allan McRae  <allan@archlinux.org>
85809         * timezone/Makefile: Do not install iso3166.tab and zone.tab
85811 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85813         [BZ #13871]
85814         * math/w_exp2.c: Do not include <float.h>.
85815         (o_threshold, u_threshold): Remove.
85816         (__exp2): Calculate result before checking finiteness and calling
85817         __kernel_standard.
85818         * math/w_exp2f.c: Likewise.
85819         * math/w_exp2l.c: Likewise.
85820         * math/libm-test.inc (exp2_test): Require overflow exception for
85821         1e6 input.
85823         [BZ #3866]
85824         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85825         range of signed 64-bit integers before using fistpll.  Remove
85826         checks for whether integers fit in mantissa bits.
85827         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85828         the range of signed 32-bit integers before using fistpl.  Remove
85829         checks for whether integers fit in mantissa bits.
85830         * sysdeps/i386/fpu/e_powl.S (p64): New object.
85831         (__ieee754_powl): Test for y outside the range of signed 64-bit
85832         integers before using fistpll.  Reduce 64-bit values to 63-bit
85833         ones as needed.
85834         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85835         divide-by-zero is raised for zero to large negative powers.
85836         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85837         (__ieee754_powl): Test for y outside the range of signed 64-bit
85838         integers before using fistpll.  Reduce 64-bit values to 63-bit
85839         ones as needed.
85840         * math/libm-test.inc (pow_test): Add more tests.
85842 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85844         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85845         <stdio-common/_itoa.h>.
85846         * debug/segfault.c: Likewise.
85847         * elf/dl-cache.c: Likewise.
85848         * elf/dl-minimal.c: Likewise.
85849         * elf/dl-misc.c: Likewise.
85850         * elf/dl-sysdep.c: Likewise.
85851         * elf/dl-version.c: Likewise.
85852         * elf/rtld.c: Likewise.
85853         * hurd/hurdsock.c: Likewise.
85854         * hurd/lookup-retry.c: Likewise.
85855         * malloc/malloc.c: Likewise.
85856         * malloc/mtrace.c: Likewise.
85857         * nscd/nscd_getgr_r.c: Likewise.
85858         * nscd/nscd_getpw_r.c: Likewise.
85859         * nscd/nscd_getserv_r.c: Likewise.
85860         * posix/getopt_init.c: Likewise.
85861         * posix/wordexp.c: Likewise.
85862         * stdio-common/_itoa.c: Likewise.
85863         * stdio-common/printf_fphex.c: Likewise.
85864         * stdio-common/vfprintf.c: Likewise.
85865         * string/_strerror.c: Likewise.
85866         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85867         * sysdeps/i386/i686/hp-timing.h: Likewise.
85868         * sysdeps/mach/_strerror.c: Likewise.
85869         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85870         * sysdeps/mach/hurd/sethostid.c: Likewise.
85871         * sysdeps/mach/hurd/xmknodat.c: Likewise.
85872         * sysdeps/mach/xpg-strerror.c: Likewise.
85873         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85874         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85875         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85876         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85877         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85878         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85879         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85880         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85881         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85882         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85883         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85884         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85885         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85886         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85887         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85888         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85889         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85890         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85891         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85892         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85893         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85895         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85897         * stdio-common/_itoa.h: Moved to ...
85898         * sysdeps/generic/_itoa.h: Here.
85900         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85902         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85903         instead of "_itoa.h" and "_itowa.h".
85904         * stdio-common/vfprintf.: Likewise.
85906 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85908         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85909         <bits/wordsize.h>.
85910         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85911         (__signbit): Likewise.
85912         (llrintf): Likewise.
85913         (llrint): Likewise.
85915 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85917         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85918         __WORDSIZE != 64.
85920 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
85922         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85923         OVERFLOW_EXCEPTION_OK.
85924         * math/libm-test.inc ("Philosophy"): Update comment about
85925         exception testing.
85926         (OVERFLOW_EXCEPTION): Define.
85927         (OVERFLOW_EXCEPTION_OK): Likewise.
85928         (INVALID_EXCEPTION_OK): Renumber.
85929         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85930         (IGNORE_ZERO_INF_SIGN): Likewise.
85931         (test_exceptions): Handle FE_OVERFLOW.
85932         (exp10_test): Expect overflow exceptions.
85933         (exp2_test): Likewise.
85934         (expm1_test): Likewise.
85935         (nextafter_test): Likewise.
85936         (pow_test): Likewise.
85937         (scalbn_test): Likewise.
85938         (scalbln_test): Likewise.
85940 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85942         * sysdeps/x86_64/bits/atomic.h
85943         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85944         64bit integer.
85945         (atomic_exchange_acq): Likewise.
85946         (__arch_exchange_and_add_body): Likewise.
85947         (__arch_add_body): Likewise.
85948         (atomic_add_negative): Likewise.
85949         (atomic_add_zero): Likewise.
85951 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85953         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85954         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85956 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85958         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
85959         Check __x86_64__ instead of __WORDSIZE.
85961 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85963         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
85965 2012-03-19  David S. Miller  <davem@davemloft.net>
85967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85969         * sysdeps/sparc/fpu/fenv_private.h: New file.
85970         * sysdeps/sparc/fpu/math_private.h: Use it.
85971         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
85972         Remove.
85973         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
85974         (libc_feholdexcept_setroundl): Remove.
85975         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
85976         Remove.
85977         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
85978         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
85980 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85982         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
85983         int64_t instead of long int.
85984         (INSERT_WORDS64): Likewise.
85986 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85988         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
85989         _Unwind_GetCFA return to _Unwind_Ptr first.
85991 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
85993         [BZ #13629]
85994         * math/s_clog.c: Include <float.h>.
85995         (__clog): Scale large or subnormal inputs.
85996         * math/s_clogf.c: Likewise.
85997         * math/s_clogl.c: Likewise.
85998         * math/s_clog10.c: Include <float.h>.
85999         (M_LOG10_2): Define.
86000         (__clog10): Scale large or subnormal inputs.
86001         * math/s_clog10f.c: Likewise.
86002         * math/s_clog10l.c: Likewise.
86003         * math/libm-test.inc (clog_test): Add more tests.
86004         (clog10_test): Likewise.
86005         * sysdeps/i386/fpu/libm-test-ulps: Update.
86006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86008         [BZ #11451]
86009         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
86010         x and y.
86011         * math/libm-test.inc (atan2_test): Add another test.
86013         * Makerules (common-objdir-compile): Remove.
86014         * sysdeps/unix/Makefile (config-generated): Do not add
86015         $(unix-generated) to variable.
86016         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
86017         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
86018         Remove rule.
86019         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
86020         Likewise.
86021         [generic bits/local_lim.h] (before-compile): Do not append to
86022         variable.
86023         [generic bits/local_lim.h] (common-generated): Likewise.
86024         [generic sys/param.h] (before-compile): Do not append to variable.
86025         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
86026         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
86027         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
86028         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
86029         include.
86030         [generic sys/param.h] (sys/param.h-includes): Remove variable.
86031         [generic sys/param.h] (sys/param.h-includes): Remove rule.
86032         [generic sys/param.h] ($(addprefix
86033         $(common-objpfx),$(sys/param.h-includes))): Likewise.
86034         [generic sys/param.h] (common-generated): Do not append to
86035         variable.
86036         [generic sys/param.h] (sysdep_headers): Likewise.
86037         [generic bits/errno.h] (before-compile): Do not append to
86038         variable.
86039         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
86040         rule.
86041         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
86042         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
86043         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
86044         [generic bits/errno.h] (common-generated): Do not append to
86045         variable.
86046         [generic bits/ioctls.h] (before-compile): Do not append to
86047         variable.
86048         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
86049         rule.
86050         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
86051         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
86052         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
86053         rule.
86054         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
86055         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
86056         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
86057         [generic bits/ioctls.h] (common-generated): Do not append to
86058         variable.
86059         [generic sys/syscall.h] (syscall.h): Remove variable.
86060         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
86061         rule.
86062         [generic sys/syscall.h] (before-compile): Do not append to
86063         variable.
86064         [generic sys/syscall.h] (common-generated): Likewise.
86065         * sysdeps/unix/errnos-tmpl.c: Remove file.
86066         * sysdeps/unix/errnos.awk: Likewise.
86067         * sysdeps/unix/ioctls-tmpl.c: Likewise.
86068         * sysdeps/unix/ioctls.awk: Likewise.
86069         * sysdeps/unix/mk-local_lim.c: Likewise.
86070         * sysdeps/unix/snarf-ioctls: Likewise.
86072 2012-03-19  Richard Henderson  <rth@twiddle.net>
86074         * sysdeps/i386/fpu/fenv_private.h: New file.
86075         * sysdeps/i386/fpu/math_private.h: Use it.
86076         (math_opt_barrier, math_force_eval): Remove.
86077         (libc_feholdexcept_setround_53bit): Remove.
86078         (libc_feupdateenv_53bit): Remove.
86079         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86080         (math_opt_barrier, math_force_eval): Remove.
86081         (libc_feholdexcept): Remove.
86082         (libc_feholdexcept_setround): Remove.
86083         (libc_fetestexcept, libc_fesetenv): Remove.
86084         (libc_feupdateenv_test): Remove.
86085         (libc_feupdateenv, libc_feholdsetround): Remove.
86086         (libc_feresetround): Remove.
86088         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
86089         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
86091         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
86092         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
86093         (libc_feupdateenv_testl): New.
86094         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
86095         (libc_feupdateenv_testf): New.
86096         (libc_feupdateenv): Use libc_feupdateenv_test.
86097         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
86098         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
86100         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
86101         (libc_feholdsetroundf, libc_feholdsetroundl): New.
86102         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
86103         (libc_feresetround_noex): New.
86104         (libc_feresetround_noexf): New.
86105         (libc_feresetround_noexl): New.
86106         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
86107         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
86108         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
86109         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
86110         SET_RESTORE_ROUND.
86111         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
86112         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
86113         (__cos): Likewise.
86114         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
86115         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
86116         SET_RESTORE_ROUND_NOEX.
86117         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86118         SET_RESTORE_ROUND_NOEXF.
86119         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86120         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86121         (libc_feholdsetroundf): New.
86122         (libc_feresetround, libc_feresetroundf): New.
86124         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86125         (libc_feholdexcept_setround_53bit): Convert from macro to function.
86126         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
86128         * sysdeps/generic/math_private.h: Include <fenv.h>.
86129         (default_libc_feholdexcept): New.
86130         (default_libc_feholdexcept_setround): New.
86131         (default_libc_fesetenv, default_libc_feupdateenv): New.
86132         (libc_feholdexcept): Only define if undefined.
86133         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86134         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86135         (libc_feholdexcept_setroundl): Likewise.
86136         (libc_feholdexcept_setround_53bit): Likewise.
86137         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86138         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86139         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86140         (libc_feupdateenv_53bit): Likewise.
86141         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86142         (libc_feholdexcept): Convert from macro to inline function.
86143         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86144         (libc_fesetenv, libc_feupdateenv): Likewise.
86146         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86147         not previously defined.
86148         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86149         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86150         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86151         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86152         * sysdeps/ieee754/flt-32/math_private.h: New file.
86153         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86154         math_private.h below SET_FLOAT_WORD.
86155         (__isnan, __isinf_ns, __finite): Remove.
86156         (__isnanf, __isinf_nsf, __finitef): Remove.
86158 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
86160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86162 2012-03-17  David S. Miller  <davem@davemloft.net>
86164         [BZ #6471]
86165         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86166         for 2.16.
86168 2012-03-16  David S. Miller  <davem@davemloft.net>
86170         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86171         warnings.
86173         [BZ #6471]
86174         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86175         properly.
86176         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86177         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86178         sysdep_routines when subdir is sysvipc.
86179         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86180         __getshmlba helper.
86182         * sysdeps/sparc/fpu/libm-test/ulps: Update.
86184 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86186         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86187         [__LP64__].
86189 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86191         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86192         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86193         (__lround): Renamed to ...
86194         (__llround): This.  Replace long int with long long int.
86195         Define lround functions as aliases of llround functions.
86196         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86198 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86200         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86201         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
86202         adresses to uintptr_t.  Replace "long int" and "unsigned long
86203         int" with "greg_t" on va_arg.
86205 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86207         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86208         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86210         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86211         Move e_machine check before EI_CLASS check.  Handle x32
86212         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86213         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86214         SKIP_EM_IA_64 and include
86215         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86217         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86218         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86219         (add_system_dir): New macro.
86221         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86222         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86224 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86226         [BZ #2551]
86227         [BZ #2552]
86228         [BZ #2553]
86229         [BZ #2554]
86230         [BZ #2562]
86231         [BZ #2563]
86232         [BZ #2565]
86233         [BZ #2566]
86234         [BZ #2576]
86235         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86236         (y0): Likewise.
86237         * math/w_j0f.c (j0f): Likewise.
86238         (y0f): Likewise.
86239         * math/w_j0l.c (__j0l): Likewise.
86240         (__y0l): Likewise.
86241         * math/w_j1.c (j1): Likewise.
86242         (y1): Likewise.
86243         * math/w_j1f.c (j1f): Likewise.
86244         (y1f): Likewise.
86245         * math/w_j1l.c (__j1l): Likewise.
86246         (__y1l): Likewise.
86247         * math/w_jn.c (jn): Likewise.
86248         (yn): Likewise.
86249         * math/w_jnf.c (jnf): Likewise.
86250         (ynf): Likewise.
86251         * math/w_jnl.c (__jnl): Likewise.
86252         (__ynl): Likewise.
86253         * math/libm-test.inc (j0_test): Add more tests.
86254         (j1_test): Likewise.
86255         (jn_test): Likewise.  Add trailing semicolon to existing test.
86256         (y0_test): Likewise.
86257         (y1_test): Likewise.
86258         * sysdeps/i386/fpu/libm-test-ulps: Update.
86259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86261         [BZ #13851]
86262         [BZ #13854]
86263         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86264         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86265         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86266         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86267         (__tanl): Set errno for infinite argument.
86268         * sysdeps/i386/fpu/mptan.c: Remove.
86269         * sysdeps/i386/fpu/s_tan.S: Likewise.
86270         * sysdeps/i386/fpu/s_tanl.S: Likewise.
86271         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86272         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86273         * math/libm-test.inc (tan_test): Add more tests and enable more
86274         tests for double and long double.
86275         * sysdeps/i386/fpu/libm-test-ulps: Update.
86276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86278 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
86280         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86281         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86283 2012-03-16  Roland McGrath  <roland@hack.frob.com>
86285         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86286         * configure.in: Use it for both main tree and add-ons.
86287         * configure: Regenerated.
86289 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86291         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86293 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86295         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86296         in comment.
86298         [BZ #13851]
86299         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86300         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86301         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86302         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86303         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86304         infinite argument.
86305         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86306         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86307         != 0 for prec == 2.
86308         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86309         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86310         * sysdeps/i386/fpu/s_cosl.S: Likewise.
86311         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86312         * sysdeps/i386/fpu/s_sinl.S: Likewise.
86313         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86314         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86315         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86316         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86317         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86318         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86319         * math/libm-test.inc (cos_test): Add more tests and enable more
86320         tests for long double.
86321         (sin_test): Likewise.
86322         (sincos_test): Likewise.
86323         * sysdeps/i386/fpu/libm-test-ulps: Update.
86324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86326 2012-03-16  David S. Miller  <davem@davemloft.net>
86328         * sysdeps/sparc/fpu/math_private.h: New file.
86330 2012-03-15  David S. Miller  <davem@davemloft.net>
86332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86333         file.
86334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86336         file.
86337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86338         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86339         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86340         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86341         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86342         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86343         sysdep routines.
86344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86346         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86347         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86349         * sysdeps/sparc/sparc-ifunc.h: New file.
86350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86351         sparc-ifunc.h
86352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86354         Likewise.
86355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86356         Likewise.
86357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86361         Likewise.
86362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86367         Likewise.
86368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86369         Likewise.
86370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86374         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86375         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86376         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86377         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86378         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86379         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86380         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86382         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86383         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86384         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86385         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86386         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86387         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86388         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86389         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86390         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86391         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86392         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86393         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86395 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86397         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86398         scaling.
86399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86401 2012-03-15  Andreas Jaeger  <aj@suse.de>
86403         [BZ #13852]
86404         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86405         ieee754/flt-32 implementation for sin, cos and sincos.
86406         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86407         * sysdeps/i386/fpu/s_cosf.S: Likewise.
86408         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86409         * sysdeps/i386/fpu/s_sinf.S: Likewise.
86410         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86411         ieee754/flt-32 implementation for tan.
86413         * math/libm-test.inc (cos_test): Enable some large input tests for
86414         float as well
86415         (sin_test): Likewise.
86416         (sincos_test): Likewise.
86417         (tan_test): Add tests for large input.
86419         * sysdeps/i386/fpu/libm-test-ulps: Update.
86421 2012-03-15  Andreas Jaeger  <aj@suse.de>
86423         [BZ #13658]
86424         * math/libm-test.inc (cos_test): Add more test cases.
86425         (sin_test): Likewise.
86426         (sincos_test): Likewise.
86428 2012-03-15  Andreas Jaeger  <aj@suse.de>
86430         [BZ #13837]
86431         * math/libm-test.inc (cos_test): Add a test case for large input
86432         value.
86433         (sin_test): Likewise.
86434         (sincos_test): Likewise.
86436 2012-03-15  Andreas Jaeger  <aj@suse.de>
86437             Joseph Myers  <joseph@codesourcery.com>
86439         [BZ #13658]
86440         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86441         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86442         * sysdeps/i386/fpu/branred.c: Likewise.
86443         * sysdeps/i386/fpu/dosincos.c: Likewise.
86444         * sysdeps/i386/fpu/mpa.c: Likewise.
86445         * sysdeps/i386/fpu/s_cos.S: Likewise.
86446         * sysdeps/i386/fpu/s_sin.S: Likewise.
86447         * sysdeps/i386/fpu/s_sincos.S: Likewise.
86448         * sysdeps/i386/fpu/sincos32.c: Likewise.
86450         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86451         Define.
86452         (libc_feupdateenv_53bit): Define.
86453         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86454         Define.
86455         (libc_feupdateenv_53bit): Define.
86457         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86458         53 bit (without extend i386 double precision).
86460         * math/libm-test.inc (sincos_test): Add tests for large input.
86461         (sin): Likewise.
86462         (cos): Likewise.
86464         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86466 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86470 2012-03-15  David S. Miller  <davem@davemloft.net>
86472         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86473         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86474         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86475         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86488         file.
86489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86491         file.
86492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86494         file.
86495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86497         file.
86498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86499         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86500         fmin/fmax sysdep routines.
86501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86503 2012-03-14  David S. Miller  <davem@davemloft.net>
86505         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86506         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86507         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86508         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86509         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86510         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86511         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86512         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86513         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86514         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86515         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86516         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86517         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86518         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86519         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86520         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86521         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86522         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86523         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86524         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86525         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86526         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86527         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86528         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86529         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86530         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86531         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86532         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86533         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86534         routines.
86535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86536         file.
86537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86539         file.
86540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86542         file.
86543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86545         file.
86546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86548         file.
86549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86551         file.
86552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86553         file.
86554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86555         file.
86556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86557         file.
86558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86559         New file.
86560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86561         file.
86562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86563         file.
86564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86566         file.
86567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86569         file.
86570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86572         file.
86573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86575         VIS3 routines.
86577         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86578         New file.
86580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86582         * sysdeps/sparc/configure.in: New file.
86583         * sysdeps/sparc/configure: Generate.
86584         * configure.in (libc_cv_sparc_as_vis3): Substitute.
86585         * configure: Regenerate.
86586         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86587         * config.make.in (have-as-vis3): New.
86588         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86589         available use -Av9d instead of -Av9a.
86590         * sysdeps/sparc/sparc64/Makefile: Likewise.
86591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86593         New file.
86594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86595         file.
86596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86597         New file.
86598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86599         file.
86600         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86601         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86602         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86603         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86604         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86606         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86607         fzeros/fnegs to load 0x80000000 into a float register instead of
86608         using the stack.
86609         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86611 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86613         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86614         bits/syscall.h.
86615         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86616         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86617         ($(inst_includedir)/bits/syscall.h): Remove rule.
86618         ($(objpfx)bits/syscall.d): Include instead of
86619         $(objpfx)syscall-list.d.
86620         (generated): Change syscall-list.h and syscall-list.d to
86621         bits/syscall.h and bits/syscall.d.
86623 2012-03-14  Roland McGrath  <roland@hack.frob.com>
86625         [BZ #13846]
86626         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86628 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86630         [BZ #13841]
86631         * math/s_csqrt.c: Include <float.h>.
86632         (__csqrt): Scale large or subnormal inputs.
86633         * math/s_csqrtf.c: Likewise.
86634         * math/s_csqrtl.c: Likewise.
86635         * math/libm-test.inc (csqrt_test): Add more tests.
86636         * sysdeps/i386/fpu/libm-test-ulps: Update.
86637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86639         [BZ #13840]
86640         * math/libm-test.inc (hypot_test): Add more tests.
86642 2012-03-13  David S. Miller  <davem@davemloft.net>
86644         [BZ #13840]
86645         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86646         double-precision for the calculation instead of scaling.
86648 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
86650         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86651         manipulate bits before adding and subtracting TWO52[sx].
86652         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86653         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86654         Likewise.
86655         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86657 2012-03-13  David S. Miller  <davem@davemloft.net>
86659         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86660         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86661         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86662         rtld-global-offsets.h
86663         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86665         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86666         large parameters.
86668         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86670         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86671         'err' in the ifdef scope in which it is actually used.
86673         * nss/nss_db/db-init.c: Include string.h
86675 2012-03-12  David S. Miller  <davem@davemloft.net>
86677         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86678         masking out of the most significant byte of random value used.
86679         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86680         Fix coding style in previous change.
86682         * sysdeps/unix/sysv/linux/kernel-features.h
86683         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86684         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86685         expression.
86686         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86687         later.
86689 2012-03-11  David S. Miller  <davem@davemloft.net>
86691         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86692         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86693         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86694         for 'resultvar' otherwise things get truncated on 64-bit.
86696         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86697         Fix masking out of the most significant byte of random value used.
86699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86701 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
86703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86705 2012-03-09  David S. Miller  <davem@davemloft.net>
86707         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86708         variables with appropriate CPP guards.
86709         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86710         from the frame pointer, not the stack pointer.  Correct layout
86711         comments.  Fix test on resulting framesize and the management of
86712         the outregs buffer for pltexit.  Preserve floating point return
86713         values across _dl_call_pltexit call.
86714         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86715         framesize and the management of the outregs buffer for pltexit.
86716         Preserve floating point return values across _dl_call_pltexit
86717         call.
86718         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86719         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86720         (la_sparc64_gnu_pltexit): New functions.
86721         (print_exit): Fix format string for return register value.
86723 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
86725         * sunrpc/Makefile (others): Add rpcgen.
86726         ($(objpfx)rpcgen): Remove special build rule and dependency on
86727         libc.
86728         * sunrpc/rpcgen.c: New file.
86730 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
86732         [BZ #13673]
86733         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86734         * stdio-common/bug-vfprintf-nargs.c: Likewise.
86735         * sysdeps/i386/crti.S: Likewise.
86736         * sysdeps/i386/crtn.S: Likewise.
86737         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86738         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86739         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86740         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86741         * sysdeps/sh/crti.S: Likewise.
86742         * sysdeps/sh/crtn.S: Likewise.
86743         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86745         [BZ #13673]
86746         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86747         with URL.
86748         * locale/programs/locfile-kw.gperf: Likewise.
86749         * locale/programs/charmap-kw.h: Regenerated.
86750         * locale/programs/locfile-kw.h: Likewise.
86752         [BZ #13673]
86753         * intl/plural.y: Replace FSF snail mail address with URL.
86754         * intl/plural.c: Regenerated.
86756 2012-03-09  Richard Henderson  <rth@twiddle.net>
86758         * include/math_private.h: Remove file.
86759         * math/math_private.h: Move file ...
86760         * sysdeps/generic/math_private.h: ... here.
86762         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86763         * sysdeps/powerpc/fpu/math_private.h: Likewise.
86764         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86766         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86767         and <math_private.h>.
86768         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86769         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86770         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86771         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86772         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86773         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86774         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86775         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86776         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86777         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86778         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86779         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86780         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86781         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86782         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86783         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86784         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86785         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86786         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86787         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86788         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86789         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86790         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86791         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86792         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86793         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86794         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86795         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86796         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86797         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86798         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86799         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86800         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86801         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86802         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86803         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86804         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86805         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86806         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86807         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86808         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86809         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86810         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86811         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86812         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86813         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86814         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86815         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86816         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86817         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86818         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86819         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86820         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86821         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86822         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86823         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86824         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86825         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86826         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86827         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86828         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86829         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86830         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86831         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86832         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86833         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86834         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86835         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86836         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86837         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86838         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86839         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86840         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86841         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86842         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86843         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86844         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86845         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86846         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86847         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86848         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86849         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86850         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86851         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86852         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86853         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86854         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86855         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86856         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86857         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86858         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86859         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86860         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86861         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86862         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86863         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86864         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86865         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86866         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86867         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86868         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86869         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86870         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86871         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86872         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86873         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86874         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86875         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86876         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86877         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86878         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86879         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86880         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86881         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86882         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86883         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86884         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86885         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86886         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86887         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86888         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86889         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86890         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86891         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86892         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86893         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86894         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86895         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86896         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86897         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86898         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86899         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86900         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86901         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86902         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86903         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86904         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86905         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86906         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86907         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86908         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86909         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86910         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86911         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86912         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86913         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86914         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86915         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86916         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86917         * sysdeps/ieee754/k_standard.c: Likewise.
86918         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86919         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86920         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86921         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86922         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86923         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86924         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86925         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86926         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86927         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86928         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86929         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86930         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86931         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86932         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86933         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86934         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86935         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86936         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86937         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86938         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86939         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86940         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86941         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86942         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86943         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86944         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86945         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86946         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86947         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86948         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86949         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86950         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86951         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86952         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86953         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86954         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86955         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86956         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86957         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86958         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
86959         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
86960         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
86961         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86962         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
86963         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86964         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86965         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86966         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86967         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86968         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86969         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
86970         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86971         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
86972         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86973         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86974         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
86975         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
86976         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86977         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86978         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86979         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
86980         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86981         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86982         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86983         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86984         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86985         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86986         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86987         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86988         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86989         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86990         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86991         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86992         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86993         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86994         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
86995         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86996         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86997         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
86998         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
86999         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
87000         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87001         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87002         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
87003         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87004         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87005         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
87006         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
87007         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87008         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
87009         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87010         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
87011         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
87012         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87013         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87014         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
87015         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
87016         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
87017         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
87018         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87019         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87020         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87021         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87022         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
87023         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87024         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87025         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
87026         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
87027         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87028         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87029         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87030         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87031         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87032         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87033         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87034         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87035         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87036         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87037         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87038         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87039         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87040         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87041         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87042         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87043         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
87044         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87045         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87046         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87047         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87048         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87049         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87050         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87051         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
87052         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87053         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87054         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
87055         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
87056         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87057         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
87058         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
87059         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87060         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
87061         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
87062         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87063         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87064         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87065         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87066         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87067         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
87068         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87069         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87070         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87071         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87072         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
87073         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
87074         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87075         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87076         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87077         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
87078         * sysdeps/ieee754/s_lib_version.c: Likewise.
87079         * sysdeps/ieee754/s_matherr.c: Likewise.
87080         * sysdeps/ieee754/s_signgam.c: Likewise.
87081         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87082         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87083         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
87084         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
87085         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
87086         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
87087         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
87088         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
87089         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
87090         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
87091         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
87092         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
87093         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87094         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87095         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
87096         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
87097         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
87098         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
87099         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
87100         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87101         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87103 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
87105         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
87106         * sunrpc/rpc_main.c: Likewise.
87107         * sunrpc/rpc_svcout.c: Likewise.
87109 2012-03-09  David S. Miller  <davem@davemloft.net>
87111         * include/math_private.h: New file.
87113 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
87115         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
87116         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87117         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87118         from <bits/socket_type.h>.
87119         (enum __socket_type): Don't define here.
87120         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87121         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87122         bits/socket_type.h.
87124         [BZ #13566]
87125         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87126         checking __USE_GNU.
87128         * Makerules ($(inst_includedir)/%.h): New rule.
87129         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87130         (install-others): Remove variable setting.
87131         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
87133 2012-03-08  Richard Henderson  <rth@twiddle.net>
87135         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87136         from macro to inline function; merge with the
87137         !__LIBC_INTERNAL_MATH_INLINES version.
87138         (__ieee754_sqrtf): Likewise.
87140         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87141         to inline function.
87142         (__rintf, __floor, __floorf): Likewise.
87144         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87145         macro to inline function.
87146         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
87148         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87149         not <math/math_private.h>.
87151 2012-03-08  David S. Miller  <davem@davemloft.net>
87153         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87154         copyright year.
87155         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
87157 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
87159         * resolv/gai_misc.c (handle_requests): Fix struct timespec
87160         normalization.
87161         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87162         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
87164 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
87166         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
87167         be defined individually, they must be defined as a block.  Define
87168         S for printing a string instead of hidint the different by using a
87169         macro for adding the 'l'.
87170         * stdio-common/tst-fphex-wide.c: Adjust.
87172 2012-03-07  Marek Polacek  <polacek@redhat.com>
87174         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87176 2012-03-08  Marek Polacek  <polacek@redhat.com>
87178         [BZ #13806]
87179         * stdio-common/Makefile (tests): Add tst-fphex-wide.
87180         * stdio-common/tst-fphex.c: Define a few macros to make the
87181         test reusable.  Use them.
87182         * stdio-common/tst-fphex-wide.c: New file.
87184 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
87186         [BZ #6911]
87187         * manual/macros.texi (gnusystems): New macro.
87188         (nongnusystems): Likewise.
87189         (gnulinuxhurdsystems): Likewise.
87190         (gnuhurdsystems): Likewise..
87191         (gnulinuxsystems): Likewise.
87192         * manual/charset.texi: Use new macros or @theglibc{} to refer to
87193         variants of the GNU system, not "GNU system".
87194         * manual/conf.texi: Likewise.
87195         * manual/errno.texi: Likewise.  Update example of errno macro
87196         expansion.
87197         * manual/filesys.texi: Likewise.
87198         (getumask): Document as specific to GNU/Hurd.
87199         * manual/install.texi: Likewise.  Reword some references to
87200         GNU/Linux.
87201         * manual/intro.texi: Likewise.
87202         * manual/io.texi: Likewise.
87203         (File Name Portability): Detail which constraints are inapplicable
87204         to all GNU systems and which are only inapplicable to GNU/Hurd.
87205         * manual/job.texi: Likewise.
87206         * manual/llio.texi: Likewise.
87207         (O_NOCTTY): Document as present on GNU/Linux.
87208         * manual/maint.texi: Likewise.
87209         * manual/memory.texi: Likewise.
87210         * manual/pattern.texi: Likewise.
87211         * manual/pipe.texi: Likewise.
87212         * manual/process.texi: Likewise.
87213         * manual/resource.texi: Likewise.
87214         (RUSAGE_CHILDREN): Remove statement about specifying a particular
87215         child on GNU/Hurd.
87216         * manual/setjmp.texi: Likewise.
87217         * manual/signal.texi: Likewise.
87218         * manual/startup.texi: Likewise.
87219         * manual/stdio.texi: Likewise.
87220         * manual/terminal.texi: Likewise.
87221         (ONLCR): Document as POSIX.
87222         (OXTABS): Document availability on GNU/Linux as XTABS.
87223         (ONOEOT): Document availability separately from other bits.
87224         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87225         * manual/time.texi: Likewise.
87226         * manual/users.texi: Likewise.
87227         * INSTALL: Regenerated.
87228         * sysdeps/gnu/errlist.c: Regenerated.
87230         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87231         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87232         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
87233         puts.
87234         * configure: Regenerated.
87236 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
87238         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87239         default includes instead of AC_HEADER_CHECK.
87240         * sysdeps/i386/configure: Regenerated.
87242         [BZ #10716]
87243         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87244         * math/s_cacoshf.c (__cacoshf): Likewise.
87245         * math/s_cacoshl.c (__cacoshl): Likewise.
87246         * math/s_casinh.c (__casinh): Set signs of result from argument.
87247         * math/s_casinhf.c (__casinhf): Likewise.
87248         * math/s_casinhl.c (__casinhl): Likewise.
87249         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87250         (casinh_test): Add more tests.
87251         * sysdeps/i386/fpu/libm-test-ulps: Update.
87252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87254 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
87256         * po/zh_TW.po: Update from translation team.
87258         * login/Makefile (distribute): Remove variable.
87259         * catgets/Makefile: Likewise.
87260         * mach/Makefile: Likewise.
87261         * malloc/Makefile: Likewise.
87262         * misc/Makefile: Likewise.
87263         * iconv/Makefile: Likewise.
87264         * nscd/Makefile: Likewise.
87265         * hurd/Makefile: Likewise.
87266         * manual/Makefile: Likewise.
87267         * locale/Makefile: Likewise.
87268         * intl/Makefile: Likewise.
87269         * conform/Makefile: Likewise.
87270         * nss/Makefile: Likewise.
87271         * time/Makefile: Likewise.
87272         * soft-fp/Makefile: Likewise.
87273         * dirent/Makefile: Likewise.
87274         * gmon/Makefile: Likewise.
87275         * po/Makefile: Likewise.
87276         * rt/Makefile: Likewise.
87277         * socket/Makefile: Likewise.
87278         * math/Makefile: Likewise.
87279         * signal/Makefile: Likewise.
87280         * debug/Makefile: Likewise.
87281         * elf/Makefile: Likewise.
87282         * timezone/Makefile: Likewise.
87283         * stdlib/Makefile: Likewise.
87284         * iconvdata/Makefile: Likewise.
87285         * sunrpc/Makefile: Likewise.
87286         * io/Makefile: Likewise.
87287         * argp/Makefile: Likewise.
87288         * inet/Makefile: Likewise.
87289         * hesiod/Makefile: Likewise.
87290         * grp/Makefile: Likewise.
87291         * csu/Makefile: Likewise.
87292         * wctype/Makefile: Likewise.
87293         * crypt/Makefile: Likewise.
87294         * libio/Makefile: Likewise.
87295         * string/Makefile: Likewise.
87296         * nis/Makefile: Likewise.
87297         * resolv/Makefile: Likewise.
87298         * stdio-common/Makefile: Likewise.
87299         * wcsmbs/Makefile: Likewise.
87300         * dlfcn/Makefile: Likewise.
87301         * posix/Makefile: Likewise.
87303         [BZ #6959]
87304         * timezone/Makefile: Don't install timezone files, just the programs
87305         and scripts.
87307 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
87309         * nss/databases.def: Add missing gshadow entry.
87311         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
87313 2012-03-06  Marek Polacek  <polacek@redhat.com>
87315         [BZ #13726]
87316         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87317         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87318         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87319         * stdio-common/tst-long-dbl-fphex.c: New file.
87321 2012-03-06  David S. Miller  <davem@davemloft.net>
87323         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87324         (set_obp_int): New function.
87325         (get_obp_int): New function.
87326         (__get_clockfreq_via_dev_openprom): Likewise.
87327         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87328         Avoid unused variable warnings on 'val' and use builtin_expect.
87329         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87330         __builtin_expect.
87331         (INLINE_CLONE_SYSCALL): Likewise.
87333 2012-03-05  David S. Miller  <davem@davemloft.net>
87335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87337 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
87339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87341         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87342         only for |x| >= 40.
87343         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87345 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
87347         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87348         Replace gettimeofday with __vdso_gettimeofday.
87350         * sysdeps/unix/sysv/linux/x86_64/init-first.c
87351         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87352         __vdso_clock_gettime and __vdso_getcpu.
87354         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87355         time with __vdso_time.
87357 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87359         * manual/lang.texi (size_t): Note types to which size_t may be
87360         equivalent with the GNU C Library, but do not describe when
87361         differences between them are significant.
87363 2012-03-05  Andreas Jaeger  <aj@suse.de>
87365         * sysdeps/i386/fpu/libm-test-ulps: Update.
87367 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87369         [BZ #3976]
87370         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87371         (__ieee754_pow): Save and restore rounding mode and use
87372         round-to-nearest for main computations.
87373         * math/libm-test.inc (pow_test_tonearest): New function.
87374         (pow_test_towardzero): Likewise.
87375         (pow_test_downward): Likewise.
87376         (pow_test_upward): Likewise.
87377         (main): Call the new functions.
87378         * sysdeps/i386/fpu/libm-test-ulps: Update.
87379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87381         [BZ #3976]
87382         * math/libm-test.inc (cosh_test_tonearest): New function.
87383         (cosh_test_towardzero): Likewise.
87384         (cosh_test_downward): Likewise.
87385         (cosh_test_upward): Likewise.
87386         (sinh_test_tonearest): Likewise.
87387         (sinh_test_towardzero): Likewise.
87388         (sinh_test_downward): Likewise.
87389         (sinh_test_upward): Likewise.
87390         (main): Call the new functions.
87391         * sysdeps/i386/fpu/libm-test-ulps: Update.
87392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87394 2012-03-05  Tom de Vries  <tom@codesourcery.com>
87396         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87397         default stack guard is set in last bytes.
87398         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87400 2012-03-05  Kees Cook  <keescook@chromium.org>
87402         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87404         [BZ #13656]
87405         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87406         possibly allocate from heap instead of stack.
87407         * stdio-common/bug-vfprintf-nargs.c: New file.
87408         * stdio-common/Makefile (tests): Add nargs overflow test.
87410 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
87412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87414 2012-03-03  Marek Polacek  <polacek@redhat.com>
87416         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87417         * math/math_private.h: Likewise.
87418         * stdlib/tst-strtod.c: Likewise.
87419         * sysdeps/i386/i486/bits/atomic.h: Likewise.
87420         * sysdeps/x86_64/bits/atomic.h: Likewise.
87422 2012-03-02  David S. Miller  <davem@davemloft.net>
87424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87428         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87429         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87430         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87431         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87433 2012-03-02  Roland McGrath  <roland@hack.frob.com>
87435         [BZ #13792]
87436         * manual/examples/README: New file, says the example source files
87437         can be used under GPL>=2.
87438         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87439         line containing just "*/".
87440         * manual/examples/add.c: Add copyright header (GPL>=2).
87441         * manual/examples/argp-ex1.c: Likewise.
87442         * manual/examples/argp-ex2.c: Likewise.
87443         * manual/examples/argp-ex3.c: Likewise.
87444         * manual/examples/argp-ex4.c: Likewise.
87445         * manual/examples/atexit.c: Likewise.
87446         * manual/examples/db.c: Likewise.
87447         * manual/examples/dir.c: Likewise.
87448         * manual/examples/dir2.c: Likewise.
87449         * manual/examples/execinfo.c: Likewise.
87450         * manual/examples/filecli.c: Likewise.
87451         * manual/examples/filesrv.c: Likewise.
87452         * manual/examples/fmtmsgexpl.c: Likewise.
87453         * manual/examples/genpass.c: Likewise.
87454         * manual/examples/inetcli.c: Likewise.
87455         * manual/examples/inetsrv.c: Likewise.
87456         * manual/examples/isockad.c: Likewise.
87457         * manual/examples/longopt.c: Likewise.
87458         * manual/examples/memopen.c: Likewise.
87459         * manual/examples/memstrm.c: Likewise.
87460         * manual/examples/mkfsock.c: Likewise.
87461         * manual/examples/mkisock.c: Likewise.
87462         * manual/examples/mygetpass.c: Likewise.
87463         * manual/examples/pipe.c: Likewise.
87464         * manual/examples/popen.c: Likewise.
87465         * manual/examples/rprintf.c: Likewise.
87466         * manual/examples/search.c: Likewise.
87467         * manual/examples/select.c: Likewise.
87468         * manual/examples/setjmp.c: Likewise.
87469         * manual/examples/sigh1.c: Likewise.
87470         * manual/examples/sigusr.c: Likewise.
87471         * manual/examples/stpcpy.c: Likewise.
87472         * manual/examples/strdupa.c: Likewise.
87473         * manual/examples/strftim.c: Likewise.
87474         * manual/examples/strncat.c: Likewise.
87475         * manual/examples/subopt.c: Likewise.
87476         * manual/examples/swapcontext.c: Likewise.
87477         * manual/examples/termios.c: Likewise.
87478         * manual/examples/testopt.c: Likewise.
87479         * manual/examples/testpass.c: Likewise.
87480         * manual/examples/timeval_subtract.c: Likewise.
87482         [BZ #13792]
87483         * manual/time.texi (Elapsed Time): Move timeval_subtract example
87484         function to ...
87485         * manual/timeval_subtract.c.texi: ... here, new file.
87487 2012-03-02  David S. Miller  <davem@davemloft.net>
87489         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87491 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
87493         [BZ #3976]
87494         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87495         (__sin): Save and restore rounding mode and use round-to-nearest
87496         for all computations.
87497         (__cos): Save and restore rounding mode and use round-to-nearest
87498         for all computations.
87499         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87500         <fenv.h>.
87501         (tan): Save and restore rounding mode and use round-to-nearest for
87502         all computations.
87503         * math/libm-test.inc (cos_test_tonearest): New function.
87504         (cos_test_towardzero): Likewise.
87505         (cos_test_downward): Likewise.
87506         (cos_test_upward): Likewise.
87507         (sin_test_tonearest): Likewise.
87508         (sin_test_towardzero): Likewise.
87509         (sin_test_downward): Likewise.
87510         (sin_test_upward): Likewise.
87511         (tan_test_tonearest): Likewise.
87512         (tan_test_towardzero): Likewise.
87513         (tan_test_downward): Likewise.
87514         (tan_test_upward): Likewise.
87515         (main): Call the new functions.
87516         * sysdeps/i386/fpu/libm-test-ulps: Update.
87517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87519         [BZ #10135]
87520         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87521         small n, then large n, before computing and testing k+n.
87522         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87523         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87524         Likewise.
87525         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87526         Likewise.
87527         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87528         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87529         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87530         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87531         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87532         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87533         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87534         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87535         * math/libm-test.inc (scalbn_test): Add more tests.
87536         (scalbln_test): Likewise.
87538         * manual/filesys.texi (mode_t): Describe constraints on size and
87539         signedness, not exact equivalence to a particular type.
87540         (ino_t): Likewise.
87541         (ino64_t): Likewise.
87542         (dev_t): Likewise.
87543         (nlink_t): Likewise.
87544         (blkcnt_t): Likewise.
87545         (blkcnt64_t): Likewise.
87546         * manual/llio.texi (off_t): Likewise.
87548         [BZ #3976]
87549         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87550         (__ieee754_exp): Save and restore rounding mode and use
87551         round-to-nearest for all computations.
87552         * math/libm-test.inc (exp_test_tonearest): New function.
87553         (exp_test_towardzero): Likewise.
87554         (exp_test_downward): Likewise.
87555         (exp_test_upward): Likewise.
87556         (main): Call the new functions.
87557         * sysdeps/i386/fpu/libm-test-ulps: Update.
87558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87560 2012-03-01  Chris Demetriou  <cgd@google.com>
87562         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87563         have predictable order.
87565 2012-03-01  David S. Miller  <davem@davemloft.net>
87567         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87569         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87570         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87571         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87572         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87574         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87575         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87576         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87578         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87579         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87580         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87581         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87582         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87586         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87587         * sysdeps/sparc/fpu/libm-test-ulps: to here.
87588         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87590         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87591         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87592         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87593         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87594         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87595         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87596         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87597         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87598         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87599         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87600         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87601         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87602         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87603         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87604         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87605         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87606         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87607         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87608         * sysdeps/sparc/elf/configure: Regenerated.
87610 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
87612         * configure.in (AS, LD): Require binutils 2.20 or later.
87613         * configure: Regenerated.
87614         * manual/install.texi (Tools for Compilation): Give binutils 2.20
87615         as required minimum version.
87616         * INSTALL: Regenerated.
87618         [BZ #2541]
87619         [BZ #4108]
87620         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87621         before squaring exponent.
87622         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87623         bottom long double and 27 bits of top long double before squaring
87624         exponent.
87625         * math/libm-test.inc (erfc_test): Add more tests.
87626         * sysdeps/i386/fpu/libm-test-ulps: Update.
87627         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87630 2012-03-01  Kai Tietz  <ktietz@redhat.com>
87632         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87633         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87634         containing bit-fields.
87635         * soft-fp/extended.h (_FP_UNION_E): Likewise.
87636         * soft-fp/single.h (_FP_UNION_S): Likewise.
87637         * soft-fp/double.h (_FP_UNION_D): Likewise.
87639 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87641         [BZ #13786]
87642         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87643         not include ../strcmp.S.
87644         [USE_AS_STRNCASECMP_L]: Likewise.
87645         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87646         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87647         * sysdeps/i386/i686/multiarch/strncase_l-c.c
87648         (__strncasecmp_l_ia32): Define as alias to
87649         __strncasecmp_l_nonascii.
87651         [BZ #5794]
87652         * math/libm-test.inc (expm1_test): Add test for bug 5794.
87653         * sysdeps/i386/fpu/libm-test-ulps: Update.
87654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87656         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87659 2012-02-29  Jeff Law  <law@redhat.com>
87661         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87662         out of bounds read.
87664 2012-02-29  Marek Polacek  <polacek@redhat.com>
87666         [BZ #13706]
87667         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87668         * elf/Makefile: Add rules to run tst-unused-dep.out.
87670 2012-02-28  David S. Miller  <davem@davemloft.net>
87672         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87673         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87674         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87675         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87676         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87677         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87679 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87681         * math/libm-test.inc (llround_test): Move one test from
87682         lround_test.  Use TEST_f_L in moved test.
87683         (lround_test): Move misplaced test to llround_test.  Add testcase
87684         from bug 2561.
87686 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
87688         * sysdeps/x86_64/fpu/e_expf.S: New file.
87689         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87691 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
87693         [BZ #13637]
87694         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87695         of remain_len that may cause incomplete multi-byte character and
87696         false match.
87697         * posix/bug-regex33.c: New file.
87698         * posix/Makefile (tests): Add bug-regex33.
87700 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
87702         * manual/macros.texi: New file.
87703         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87704         * manual/libc.texinfo: Include macros.texi.
87705         * manual/creatute.texi: Likewise.
87706         * manual/install.texi: Likewise.
87707         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87708         @glibcadj{} in references to the GNU C Library.
87709         * manual/charset.texi: Likewise.
87710         * manual/conf.texi: Likewise.
87711         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
87712         when not using those macros.
87713         * manual/creature.texi: Likewise.
87714         * manual/crypt.texi: Likewise.
87715         * manual/errno.texi: Likewise.
87716         * manual/filesys.texi: Likewise.
87717         * manual/header.texi: Likewise.
87718         * manual/install.texi: Likewise.
87719         * manual/intro.texi: Likewise.
87720         * manual/io.texi: Likewise.
87721         * manual/job.texi: Likewise.
87722         * manual/lang.texi: Likewise.
87723         * manual/libc.texiinfo: Likewise.
87724         * manual/llio.texi: Likewise.
87725         * manual/locale.texi: Likewise.
87726         * manual/maint.texi: Likewise.
87727         * manual/math.texi: Likewise.
87728         * manual/memory.texi: Likewise.
87729         * manual/message.texi: Likewise.
87730         * manual/nss.texi: Likewise.
87731         * manual/pattern.texi: Likewise.
87732         * manual/process.texi: Likewise.
87733         * manual/resource.texi: Likewise.
87734         * manual/search.texi: Likewise.
87735         * manual/setjmp.texi: Likewise.
87736         * manual/signal.texi: Likewise.
87737         * manual/socket.texi: Likewise.
87738         * manual/startup.texi: Likewise.
87739         * manual/stdio.texi: Likewise.
87740         * manual/string.texi: Likewise.
87741         * manual/sysinfo.texi: Likewise.
87742         * manual/syslog.texi: Likewise.
87743         * manual/terminal.texi: Likewise.
87744         * manual/time.texi: Likewise.
87745         * manual/users.texi: Likewise.
87746         * INSTALL: Regenerated.
87747         * NOTES: Regenerated.
87748         * sysdeps/gnu/errlist.c: Regenerated.
87750 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
87752         * include/dirent.h: Include <dirstream.h> before
87753         <dirent/dirent.h>.
87755 2012-02-28  David S. Miller  <davem@davemloft.net>
87757         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87758         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87759         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87760         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87762 2012-02-27  David S. Miller  <davem@davemloft.net>
87764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87766         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87767         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87770         frame pointer instead of stack pointer relative arg slot.
87771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87772         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87773         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87775 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
87777         [BZ #3992]
87778         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87780 2012-02-27  David S. Miller  <davem@davemloft.net>
87782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87786         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87787         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87788         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87789         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87791 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87793         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87794         later.  Allow versions 5-9.
87795         * configure: Regenerated.
87796         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87797         required minimum version and 4.6 as recommended version.  Do not
87798         mention bugs in GCC 2.7 and 2.8.
87799         * INSTALL: Regenerated.
87801 2012-02-27  David S. Miller  <davem@davemloft.net>
87803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87807         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87808         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87809         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87810         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87812         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87813         manipulate bits before adding and subtracting TWO112[sx].
87814         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87816 2012-02-27  Roland McGrath  <roland@hack.frob.com>
87818         [BZ #13775]
87819         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87820         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87821         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87822         being in POSIX, because they are in 1003.1-2008.
87824         * rt/tst-aio.c: Include <fcntl.h>.
87825         * rt/tst-aio7.c: Likewise.
87826         * rt/tst-aio64.c: Likewise.
87828         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87830 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87832         * manual/install.texi (--with-headers): Describe headers as
87833         interface headers, not private headers.
87834         (Specific advice for GNU/Linux systems): Describe use of headers
87835         from "make headers_install", not private headers from older
87836         kernels.
87837         * INSTALL: Regenerated.
87838         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87839         Change to 2.6.19.
87840         * sysdeps/unix/sysv/linux/configure: Regenerated.
87842         * manual/llio.texi (fclean): Remove documentation.
87844         * manual/Makefile (libc-texi-generated): New variable.  Include
87845         version.texi.
87846         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87847         $(libc-texi-generated), not duplicated list of files.
87848         (version.texi, stamp-version): New rules.
87849         (realclean): Remove $(libc-texi-generated), not individual files
87850         from that list.  Do not remove dir-add.texinfo.
87851         * manual/libc.texinfo: Comment out uses of edition numbers and
87852         references to printed manual.  Remove last-updated dates.
87853         (EDITION): Comment out.
87854         (ISBN): Likewise.
87855         (VERSION, UPDATED): Remove.
87856         (version.texi): Include.
87858 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
87860         * sysdeps/posix/spawni.c: Include <signal.h>.
87861         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87862         * sysdeps/pthread/aio_fsync.c: Likewise.
87864 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
87866         * conform/Makefile (tests): Run only when not cross-compiling and
87867         when fast-check is not defined.
87869         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87870         * conform/data/limits.h-data: Fixes for POSIX2008.
87871         * conform/run-conformtest.sh: Run all tests.
87872         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87873         headers.
87874         * include/bits/dlfcn.h: Likewise.
87875         * include/langinfo.h: Likewise.
87876         * include/monetary.h: Likewise.
87877         * include/sys/poll.h: Likewise.
87879         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87880         for __USE_GNU.
87881         * posix/spawn.h: Define __need_sigset_t.
87882         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87883         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87884         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
87885         to get sigevent_t only.
87886         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87887         only for __USE_GNU.
87888         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87889         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87890         process_vm_writev only for __USE_GNU.
87891         * termios/termios.h: Declare tcgetsid also for POSIX2008.
87893         * conform/Makefile: For now ignore errors from run-conformtest.
87894         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
87895         POSIX to avoid namespace pollution.  Don't prepend headers.
87896         * conform/data/aio.h-data: Fixes for POSIX testing.
87897         * conform/data/fcntl.h-data: Likewise.
87898         * conform/data/glob.h-data: Likewise.
87899         * conform/data/grp.h-data: Likewise.
87900         * conform/data/pthread.h-data: Likewise.
87901         * conform/data/pwd.h-data: Likewise.
87902         * conform/data/signal.h-data: Likewise.
87903         * conform/data/spawn.h-data: Likewise.
87904         * conform/data/stdio.h-data: Likewise.
87905         * conform/data/stdlib.h-data: Likewise.
87906         * conform/data/stropts.h-data: Likewise.
87907         * conform/data/sys/mman.h-data: Likewise.
87908         * conform/data/sys/stat.h-data: Likewise.
87909         * conform/data/sys/types.h-data: Likewise.
87910         * conform/data/sys/wait.h-data: Likewise.
87911         * conform/data/time.h-data: Likewise.
87912         * conform/data/unistd.h-data: Likewise.
87913         * conform/data/utime.h-data: Likewise.
87915         * io/sys/stat.h: fchmod was always in POSIX.
87916         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87917         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87918         * rt/aio.h: Define __need_timespec before including <time.h>.
87919         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87920         struct.  Add forward declaration of pthread_attr_t and use it in
87921         sigevent.
87922         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87923         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87924         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87925         always remove CLK_TCK definition.
87927 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
87929         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87931 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
87933         * conform/run-conformtest.sh: New file.
87934         * conform/Makefile: Run run-conformtest for tests.
87935         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
87936         support.
87938         * conform/data/uchar.h-data: New file.
87939         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87940         * conform/data/arpa/inet.h-data: Likewise.
87941         * conform/data/assert.h-data: Likewise.
87942         * conform/data/complex.h-data: Likewise.
87943         * conform/data/cpio.h-data: Likewise.
87944         * conform/data/ctype.h-data: Likewise.
87945         * conform/data/dirent.h-data: Likewise.
87946         * conform/data/dlfcn.h-data: Likewise.
87947         * conform/data/errno.h-data: Likewise.
87948         * conform/data/fcntl.h-data: Likewise.
87949         * conform/data/float.h-data: Likewise.
87950         * conform/data/fmtmsg.h-data: Likewise.
87951         * conform/data/fnmatch.h-data: Likewise.
87952         * conform/data/ftw.h-data: Likewise.
87953         * conform/data/glob.h-data: Likewise.
87954         * conform/data/grp.h-data: Likewise.
87955         * conform/data/iconv.h-data: Likewise.
87956         * conform/data/inttypes.h-data: Likewise.
87957         * conform/data/langinfo.h-data: Likewise.
87958         * conform/data/libgen.h-data: Likewise.
87959         * conform/data/limits.h-data: Likewise.
87960         * conform/data/locale.h-data: Likewise.
87961         * conform/data/math.h-data: Likewise.
87962         * conform/data/monetary.h-data: Likewise.
87963         * conform/data/mqueue.h-data: Likewise.
87964         * conform/data/ndbm.h-data: Likewise.
87965         * conform/data/net/if.h-data: Likewise.
87966         * conform/data/netdb.h-data: Likewise.
87967         * conform/data/netinet/in.h-data: Likewise.
87968         * conform/data/nl_types.h-data: Likewise.
87969         * conform/data/poll.h-data: Likewise.
87970         * conform/data/pthread.h-data: Likewise.
87971         * conform/data/pwd.h-data: Likewise.
87972         * conform/data/regex.h-data: Likewise.
87973         * conform/data/sched.h-data: Likewise.
87974         * conform/data/search.h-data: Likewise.
87975         * conform/data/semaphore.h-data: Likewise.
87976         * conform/data/setjmp.h-data: Likewise.
87977         * conform/data/signal.h-data: Likewise.
87978         * conform/data/spawn.h-data: Likewise.
87979         * conform/data/stdarg.h-data: Likewise.
87980         * conform/data/stdio.h-data: Likewise.
87981         * conform/data/stdlib.h-data: Likewise.
87982         * conform/data/string.h-data: Likewise.
87983         * conform/data/strings.h-data: Likewise.
87984         * conform/data/stropts.h-data: Likewise.
87985         * conform/data/sys/ipc.h-data: Likewise.
87986         * conform/data/sys/mman.h-data: Likewise.
87987         * conform/data/sys/msg.h-data: Likewise.
87988         * conform/data/sys/resource.h-data: Likewise.
87989         * conform/data/sys/select.h-data: Likewise.
87990         * conform/data/sys/sem.h-data: Likewise.
87991         * conform/data/sys/shm.h-data: Likewise.
87992         * conform/data/sys/socket.h-data: Likewise.
87993         * conform/data/sys/stat.h-data: Likewise.
87994         * conform/data/sys/statvfs.h-data: Likewise.
87995         * conform/data/sys/time.h-data: Likewise.
87996         * conform/data/sys/timeb.h-data: Likewise.
87997         * conform/data/sys/times.h-data: Likewise.
87998         * conform/data/sys/types.h-data: Likewise.
87999         * conform/data/sys/uio.h-data: Likewise.
88000         * conform/data/sys/un.h-data: Likewise.
88001         * conform/data/sys/utsname.h-data: Likewise.
88002         * conform/data/sys/wait.h-data: Likewise.
88003         * conform/data/syslog.h-data: Likewise.
88004         * conform/data/tar.h-data: Likewise.
88005         * conform/data/termios.h-data: Likewise.
88006         * conform/data/utime.h-data: Likewise.
88007         * conform/data/utmpx.h-data: Likewise.
88008         * conform/data/varargs.h-data: Likewise.
88009         * conform/data/wchar.h-data: Likewise.
88010         * conform/data/wctype.h-data: Likewise.
88011         * conform/data/wordexp.h-data: Likewise.
88013         * include/stropts.h: New file.
88014         * include/uchar.h: New file.
88015         * include/aio.h: Changes to allow conformtest.pl to use the headers.
88016         * include/assert.h: Likewise.
88017         * include/ctype.h: Likewise.
88018         * include/dirent.h: Likewise.
88019         * include/dlfcn.h: Likewise.
88020         * include/fcntl.h: Likewise.
88021         * include/fnmatch.h: Likewise.
88022         * include/glob.h: Likewise.
88023         * include/grp.h: Likewise.
88024         * include/libio.h: Likewise.
88025         * include/locale.h: Likewise.
88026         * include/math.h: Likewise.
88027         * include/net/if.h: Likewise.
88028         * include/netdb.h: Likewise.
88029         * include/netinet/in.h: Likewise.
88030         * include/pthread.h: Likewise.
88031         * include/pwd.h: Likewise.
88032         * include/regex.h: Likewise.
88033         * include/sched.h: Likewise.
88034         * include/search.h: Likewise.
88035         * include/setjmp.h: Likewise.
88036         * include/signal.h: Likewise.
88037         * include/stdio.h: Likewise.
88038         * include/stdlib.h: Likewise.
88039         * include/string.h: Likewise.
88040         * include/sys/cdefs.h: Likewise.
88041         * include/sys/mman.h: Likewise.
88042         * include/sys/msg.h: Likewise.
88043         * include/sys/resource.h: Likewise.
88044         * include/sys/select.h: Likewise.
88045         * include/sys/socket.h: Likewise.
88046         * include/sys/stat.h: Likewise.
88047         * include/sys/statvfs.h: Likewise.
88048         * include/sys/time.h: Likewise.
88049         * include/sys/times.h: Likewise.
88050         * include/sys/uio.h: Likewise.
88051         * include/sys/utsname.h: Likewise.
88052         * include/sys/wait.h: Likewise.
88053         * include/termios.h: Likewise.
88054         * include/time.h: Likewise.
88055         * include/ulimit.h: Likewise.
88056         * include/unistd.h: Likewise.
88057         * include/utime.h: Likewise.
88058         * include/wchar.h: Likewise.
88059         * include/wctype.h: Likewise.
88060         * include/wordexp.h: Likewise.
88062         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
88064         * time/time.h: TIME_UTC must be a macro.
88065         Make timespec_get available for ISO C11 only as well.
88067 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
88069         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
88070         Reported by Peng Haitao <penght@cn.fujitsu.com>.
88072 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88074         * configure.in: Use -o not -a in test for unsupported multi-arch.
88076 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88078         * manual/texinfo.tex: Update to version 2012-01-19.16.
88080 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88082         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
88084 2012-02-24  Roland McGrath  <roland@hack.frob.com>
88086         [BZ #13738]
88087         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
88088         * manual/fdl-1.3.texi: New file.
88089         * manual/fdl-1.1.texi: File removed.
88091         [BZ #13738]
88092         * manual/libc.texinfo (FDL_VERSION): New @set.
88093         Use it for mention of FDL in cover text.
88094         (Documentation License): Use it in @include file name.
88096 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88097             Roland McGrath  <roland@hack.frob.com>
88099         [BZ #5461]
88100         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
88101         (not LONG_LONG_MAX and LONG_LONG_MIN.
88102         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
88103         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
88104         name.
88105         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
88107 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88109         [BZ #2547]
88110         [BZ #11365]
88111         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
88112         manipulate bits before adding and subtracting TWO23[sx].
88113         * math/libm-test.inc (nearbyint_test): Add more tests.
88115 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88117         [BZ #2548]
88118         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88119         bits before adding and subtracting TWO23[sx].
88120         * math/libm-test.inc (rint_test): Add more tests.
88121         (rint_test_tonearest): Likewise.
88122         (rint_test_towardzero): Likewise.
88123         (rint_test_downward): Likewise.
88124         (rint_test_upward: Likewise.
88126 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88128         [BZ #10110]
88129         * include/stdc-predef.h: New file.  Extracted from features.h.
88130         * include/features.h: Include stdc-predef.h.
88131         * Makefile (headers): Add stdc-predef.h.
88132         * CONFORMANCE (Compiler limitations): Update.
88134 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88136         * manual/libc.texinfo (VERSION, UPDATED): Revert.
88138 2012-02-21  David S. Miller  <davem@davemloft.net>
88140         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88141         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88143 2012-02-20  David S. Miller  <davem@davemloft.net>
88145         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88146         using a normal save/restore sequence, rather than allocating a
88147         dummy stack frame just to store a frame pointer and restore.
88148         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88150 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88152         * manual/install.texi: Fix stray word in line-wrapped comment.
88154 2012-02-20  David S. Miller  <davem@davemloft.net>
88156         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88157         both binutils and gcc support GOTDATA.
88159         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88160         "rd %pc" in the PIC register setup sequences.
88162         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88163         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88164         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88165         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88166         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88167         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88168         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88169         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88170         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88171         (SYSCALL_ERROR_HANDLER): Likewise.
88172         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88173         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88174         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88175         (SYSCALL_ERROR_HANDLER): Likewise.
88177         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88178         (HAVE_GCC_GOTDATA): New.
88179         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88180         relocation support in both binutils and gcc.
88181         * sysdeps/sparc/elf/configure: Regenerate.
88183         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88184         * sysdeps/sparc/sparc32/elf/configure: Delete.
88185         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88186         * sysdeps/sparc/sparc64/elf/configure: Delete.
88187         * sysdeps/sparc/elf/configure.in: New file.
88188         * sysdeps/sparc/elf/configure: Generate.
88190         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88191         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88192         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88193         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88194         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88196 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88198         * manual/install.texi: Do not mention specific glibc version
88199         numbers.
88200         * manual/libc.texinfo (VERSION, UPDATED): Update.
88201         (@copying): Use @copyright{} and range of years.
88203 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88205         [BZ #13695]
88206         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88207         [crti.S not in sysdirs] (generated): Do not append.
88208         [crti.S not in sysdirs] (omit-deps): Likewise.
88209         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88210         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88211         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88212         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88213         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88214         Likewise.
88215         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88216         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88217         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88218         * csu/defs.awk: Remove file.
88219         * sysdeps/generic/initfini.c: Likewise.
88220         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88221         variable.
88222         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88223         Likewise.
88225 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88227         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88228         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88229         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88230         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88231         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88232         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88233         <bits/epoll.h>.
88234         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88235         (__EPOLL_PACKED): Define to empty if not defined by
88236         <bits/epoll.h>.
88237         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88238         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88239         bits/epoll.h.
88241 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88243         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88244         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88245         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88246         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88247         <bits/timerfd.h>.
88248         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88249         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88250         bits/timerfd.h.
88252 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88254         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88255         in C locale.
88256         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88257         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88258         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88261 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
88263         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88264         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88266 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
88268         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88269         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88270         defined.
88271         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88272         Likewise.
88273         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88274         entry for 2.16.
88276 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
88278         * math/w_acos.c: Use non-signaling floating-point comparisons.
88279         * math/w_acosf.c: Likewise.
88280         * math/w_acosh.c: Likewise.
88281         * math/w_acoshf.c: Likewise.
88282         * math/w_acoshl.c: Likewise.
88283         * math/w_acosl.c: Likewise.
88284         * math/w_asin.c: Likewise.
88285         * math/w_asinf.c: Likewise.
88286         * math/w_asinl.c: Likewise.
88287         * math/w_atanh.c: Likewise.
88288         * math/w_atanhf.c: Likewise.
88289         * math/w_atanhl.c: Likewise.
88290         * math/w_exp2.c: Likewise.
88291         * math/w_exp2f.c: Likewise.
88292         * math/w_exp2l.c: Likewise.
88293         * math/w_j0.c: Likewise.
88294         * math/w_j0f.c: Likewise.
88295         * math/w_j0l.c: Likewise.
88296         * math/w_j1.c: Likewise.
88297         * math/w_j1f.c: Likewise.
88298         * math/w_j1l.c: Likewise.
88299         * math/w_jn.c: Likewise.
88300         * math/w_jnf.c: Likewise.
88301         * math/w_log.c: Likewise.
88302         * math/w_log10.c: Likewise.
88303         * math/w_log10f.c: Likewise.
88304         * math/w_log10l.c: Likewise.
88305         * math/w_log2.c: Likewise.
88306         * math/w_log2f.c: Likewise.
88307         * math/w_log2l.c: Likewise.
88308         * math/w_logf.c: Likewise.
88309         * math/w_logl.c: Likewise.
88310         * math/w_sqrt.c: Likewise.
88311         * math/w_sqrtf.c: Likewise.
88312         * math/w_sqrtl.c: Likewise.
88313         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88314         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88315         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88316         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88317         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88319 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88321         [BZ #9739]
88322         * manual/string.texi (strnlen): Use correct parameter name in
88323         equivalent expression.
88325 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88327         [BZ #11174]
88328         * manual/users.texi (seteuid): Consistently use neweuid for
88329         argument name.
88331 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88333         [BZ #13704]
88334         * manual/nss.texi (Services in the NSS configuration): Correct
88335         list of services in example configuration file.
88337 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
88339         [BZ #11322]
88340         * manual/arith.texi: Remove statements about negative zero
88341         behaving identically to zero.
88343 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88345         [BZ #5993]
88346         * manual/install.texi: Do not document upgrading from libc5.
88348 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88350         [BZ #4596]
88351         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88353 2012-02-18  David S. Miller  <davem@davemloft.net>
88355         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88356         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88357         %o7 across the call.
88358         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88359         instead.
88360         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88361         SETUP_PIC_REG_LEAF.
88362         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88363         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88364         * sysdeps/sparc/crtn.S: Likewise.
88366 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
88368         * aout/Makefile: Remove.
88370 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
88372         [BZ #13058]
88373         * manual/examples/argp-ex1.c (main): Format definition in GNU
88374         style.
88375         * manual/examples/argp-ex2.c (main): Likewise.
88376         * manual/examples/argp-ex3.c (main): Likewise.
88377         * manual/examples/argp-ex4.c (main): Likewise.
88378         * manual/examples/longopt.c (main): Use new-style prototype
88379         definition.
88380         * manual/examples/strncat.c (main): Specify return type and use
88381         (void) for arguments.
88382         * manual/examples/subopt.c (main): Use char **argv argument.
88384 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88386         [BZ #5077]
88387         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88388         rounding modes.
88390 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
88392         [BZ #6907]
88393         * manual/string.texi (strchr): Change when strchrnul is
88394         recommended.
88396 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
88398         [BZ #174]
88399         * manual/locale.texi (setlocale): Document LOCPATH.
88401 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88403         [BZ #10210]
88404         * manual/process.texi (execle): Move @dots{} before last argument.
88406 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
88408         [BZ #12047]
88409         * manual/charset.texi (Generic Charset Conversion): Fix typo
88410         (LC_TYPE -> LC_CTYPE).
88412 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
88414         [BZ #5805]
88415         * manual/arith.texi (scalbn): Use @var{} on parameter names.
88416         (scalbnf): Likewise.
88417         (scalbnl): Likewise.
88418         (scalbln): Likewise.
88419         (scalblnf): Likewise.
88420         (scalblnl): Likewise.
88421         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88422         (vwarnx): Likewise.
88423         (verr): Likewise.
88424         (verrx): Likewise.
88425         * manual/filesys.texi (telldir): Use braces around return type.
88426         * manual/llio.texi (mmap): Add space after comma.
88427         (mmap64): Likewise.
88428         * manual/math.texi (jn): Use @var{} on parameter names.
88429         (jnf): Likewise.
88430         (jnl): Likewise.
88431         (yn): Likewise.
88432         (ynf): Likewise.
88433         (ynl): Likewise.
88434         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88435         line.
88436         * manual/resource.texi (ulimit): Use @dots{} instead of literal
88437         "...".
88438         (sched_get_priority_min): Remove semicolon on @deftypefun line.
88439         (sched_get_priority_max): Likewise.
88440         * manual/signal.texi (sigvec): Add space after comma.
88441         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88442         names.
88443         (if_indextoname): Likewise.
88444         (if_freenameindex): Likewise.
88445         (sendto): Use ',' instead of '.' in prototype.
88446         * manual/startup.texi (syscall): Use @dots{} instead of literal
88447         "...".
88448         * manual/stdio.texi (__fpending): Separate initial words of
88449         paragraph from @deftypefun line.
88450         * manual/syslog.texi (syslog): Use @dots{} instead of literal
88451         "...".
88452         (vsyslog): Use @var{} on parameter names.
88453         * manual/terminal.texi (stty): Use @var{} on parameter names.
88454         * manual/users.texi (getutmp): Use @var{} on parameter names.
88455         (getutmpx): Likewise.
88457 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88459         [BZ #6884]
88460         * manual/stdio.texi (fopen): Fix typos in description of
88461         ",ccs=STRING".
88463 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
88465         [BZ #4026]
88466         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88467         get clock_id definition.
88469 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
88471         [BZ #4822]
88472         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88473         (madvise): Cast every argument to void on its own.
88475 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88477         [BZ #9902]
88478         * manual/startup.texi (Exit Status): Fix typo.
88480 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88482         [BZ #10140]
88483         * manual/examples/argp-ex1.c: Include <stdlib.h>.
88484         * manual/examples/argp-ex2.c: Likewise.
88485         * manual/examples/argp-ex3.c: Likewise.
88487 2012-02-16  Richard Henderson  <rth@redhat.com>
88489         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88490         * sysdeps/s390/s390-32/initfini.c: Remove.
88491         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88492         * sysdeps/s390/s390-64/initfini.c: Remove.
88494 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
88496         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88497         compiler output for sysdeps/generic/initfini.c.
88498         * sysdeps/sh/elf/initfini.c: Remove file.
88500 2012-02-16  David S. Miller  <davem@davemloft.net>
88502         [BZ #11494]
88503         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88505         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88506         * sysdeps/sparc/crti.S: New file.
88507         * sysdeps/sparc/crtn.S: New file.
88508         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88509         * sysdeps/sparc/sparc64/Makefile: Likewise.
88511 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
88513         [BZ #3335]
88514         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88516 2012-02-15  Roland McGrath  <roland@hack.frob.com>
88518         [BZ #4822]
88519         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88521         * mach/devstream.c (cookie_io_functions_t): Macro removed.
88522         (write, read, close): Likewise.
88523         Patch by Aurelien Jarno <aurelien@aurel32.net>.
88525 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
88527         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88528         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88529         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88530         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88531         <bits/signalfd.h>.
88532         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88533         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88534         bits/signalfd.h.
88536 2012-02-14  Marek Polacek  <polacek@redhat.com>
88538         * sysdeps/x86_64/crti.S: New file.
88539         * sysdeps/x86_64/crtn.S: New file.
88540         * sysdeps/x86_64/elf/initfini.c: Remove file.
88542 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88544         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88545         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88546         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88547         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88548         <bits/inotify.h>.
88549         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88550         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88551         bits/inotify.h.
88553 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88555         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88556         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88557         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88558         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88559         <bits/eventfd.h>.
88560         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88561         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88562         bits/eventfd.h.
88564 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
88566         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88567         __feraiseexcept instead of feraiseexcept.
88569         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88570         nanosleep invocations.
88571         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88572         strings, and add error checking for a nanosleep invocations.
88574 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
88576         Replace FSF snail mail address with URLs, as per GNU coding standards.
88577         Most of the snail mail addresses were wrong anyway, and omitting
88578         them makes the source code easier to maintain.  Almost all of the
88579         changes are to license notices and to locale LC_IDENTIFICATION
88580         addresses, except for this one:
88581         * manual/libc.texinfo: In "Published by", give the FSF's URL,
88582         not its snail mail address.
88584 2012-02-09  Richard Henderson  <rth@twiddle.net>
88586         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88587         of kernel-features.h.
88589         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88591 2012-02-08  Marek Polacek  <polacek@redhat.com>
88593         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88594         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88595         * sysdeps/gnu/_G_config.h: Likewise.
88596         * sysdeps/generic/_G_config.h: Likewise.
88598 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
88600         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88601         tests.
88602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88604         * sysdeps/powerpc/powerpc32/crti.S: New file.
88605         * sysdeps/powerpc/powerpc32/crtn.S: New file.
88606         * sysdeps/powerpc/powerpc64/crti.S: New file.
88607         * sysdeps/powerpc/powerpc64/crtn.S: New file.
88609         * Makeconfig (have-initfini): Don't set.
88610         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88611         * configure.in (nopic_initfini): Don't substitute.
88612         * config.h.in (HAVE_INITFINI): Don't #undef.
88613         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88614         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88616 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
88618         Support crti.S and crtn.S provided directly by architectures.
88619         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88620         [crti.S in sysdirs] (omit-deps): Likewise.
88621         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88622         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88623         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88624         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88625         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88626         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88627         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88628         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88629         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88630         compiler output for sysdeps/generic/initfini.c.
88631         * sysdeps/i386/elf/Makefile: Remove file.
88632         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88634 2012-02-07  Marek Polacek  <polacek@redhat.com>
88636         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88637         * sysdeps/gnu/_G_config.h: Likewise.
88638         * sysdeps/mach/hurd/_G_config.h: Likewise.
88640 2012-02-07  Marek Polacek  <polacek@redhat.com>
88642         * math/Makefile (tests): Add tst-CMPLX2.
88643         * math/tst-CMPLX2.c: New file.
88645 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
88647         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88649         * math/libm-test.inc (jn_test): Add missing L suffix.
88651 2012-02-06  Marek Polacek  <polacek@redhat.com>
88653         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88654         * sysdeps/i386/fpu/e_powf.S: Likewise.
88655         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88656         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88657         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88658         * sysdeps/i386/fpu/e_pow.S: Likewise.
88659         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88660         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88661         * sysdeps/i386/fpu/s_expm1.S: Likewise.
88662         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88663         * sysdeps/i386/fpu/e_log2.S: Likewise.
88664         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88665         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88666         * sysdeps/i386/fpu/e_powl.S: Likewise.
88667         * sysdeps/i386/fpu/s_log1p.S: Likewise.
88668         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88669         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88670         * sysdeps/i386/fpu/e_logl.S: Likewise.
88671         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88672         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88673         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88674         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88675         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88676         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88677         * sysdeps/i386/fpu/e_log.S: Likewise.
88678         * sysdeps/i386/fpu/s_cexp.S: Likewise.
88679         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88680         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88681         * sysdeps/i386/fpu/e_logf.S: Likewise.
88682         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88683         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88684         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88685         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88686         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88687         * sysdeps/i386/fpu/e_log10.S: Likewise.
88688         * sysdeps/i386/fpu/s_frexp.S: Likewise.
88689         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88690         * sysdeps/i386/fpu/s_asinh.S: Likewise.
88691         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88692         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88693         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88694         * sysdeps/i386/asm-syntax.h: Likewise.
88695         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88696         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88697         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88698         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88699         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88700         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88701         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88702         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88703         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88704         * sysdeps/powerpc/sysdep.h: Likewise.
88705         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88706         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88708 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88710         [BZ #411]
88711         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88713 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88715         * sysdeps/i386/sysdep.h: Include <features.h>.
88716         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88717         version.
88719 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
88721         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88722         Define.
88723         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88724         LOAD_PIC_REG_STR.
88726 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88728         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88729         (SETUP_PIC_REG): Use GET_PC_THUNK.
88730         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88731         macro.
88733 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88735         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88736         for non-PIC compilation.
88737         (SETUP_PIC_REG): Add .p2align directive.
88738         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88739         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88740         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88741         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88742         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88743         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88744         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88745         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88746         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88747         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88748         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88749         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88750         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88751         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88752         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88753         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88754         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88755         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88756         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88757         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88758         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88759         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88760         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88761         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88762         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88763         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88764         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88765         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88766         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88767         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88768         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88769         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88770         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88771         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88772         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88773         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88774         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88775         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88776         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88777         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88778         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88780 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88782         * math/tst-CMPLX.c: Include <stdio.h>.
88784 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
88786         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88787         float.
88788         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88789         * sysdeps/sparc/bits/mathdef.h: Likewise.
88791 2012-01-31  Marek Polacek  <polacek@redhat.com>
88793         * libio/libio.h: Don't define _PARAMS.
88794         * locale/programs/config.h: Don't define PARAMS.
88795         * stdlib/strtol_l.c: Likewise.
88796         (__strtol_l): Remove PARAMS from the prototype.
88798 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
88800         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
88801         names.  Just use the correct names.  Remove unnecessary wrapper
88802         functions.
88803         * malloc/arena.c: Likewise.
88804         * malloc/hooks.c: Likewise.
88806         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88807         ARENA_TEST says not to.  Simplify test for creation of a new arena.
88808         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88810 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
88812         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88813         into tail calls.
88814         (update_get_addr): New function.
88815         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88816         GET_ADDR_MODULE parameter.
88818 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88820         * crypt/cert.c: Remove __STDC__ conditionals.
88821         * crypt/crypt-entry.c: Likewise.
88822         * crypt/crypt_util.c: Likewise.
88823         * libio/filedoalloc.c: Likewise.
88824         * libio/fileops.c: Likewise.
88825         * libio/genops.c: Likewise.
88826         * libio/iofclose.c: Likewise.
88827         * libio/iofdopen.c: Likewise.
88828         * libio/iofopen.c: Likewise.
88829         * libio/iofopen64.c: Likewise.
88830         * libio/iogetdelim.c: Likewise.
88831         * libio/iopopen.c: Likewise.
88832         * libio/obprintf.c: Likewise.
88833         * libio/oldfileops.c: Likewise.
88834         * libio/oldiofclose.c: Likewise.
88835         * libio/oldiofdopen.c: Likewise.
88836         * libio/oldiofopen.c: Likewise.
88837         * libio/oldiopopen.c: Likewise.
88838         * libio/wfiledoalloc.c: Likewise.
88839         * libio/wgenops.c: Likewise.
88840         * locale/programs/xmalloc.c: Likewise.
88841         * misc/syslog.c: Likewise.
88842         * stdio-common/xbug.c: Likewise.
88843         * string/memchr.c: Likewise.
88844         * string/memcmp.c: Likewise.
88845         * string/memrchr.c: Likewise.
88846         * string/rawmemchr.c: Likewise.
88847         * sysdeps/posix/getcwd.c: Likewise.
88848         * time/strftime_l.c: Likewise.
88850 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88852         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88853         * config.make.in (config-cflags-sse2avx): Define.
88854         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88855         Fix typo.
88857 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
88859         * scripts/config.guess: Update from upstream config git repository.
88860         * scripts/config.sub: Likewise.
88862 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
88864         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88865         (EM_NUM): Update.
88866         (R_TILEPRO_*, R_TILEGX_*): New macros.
88868         * scripts/firstversions.awk: Fix bug in version range handling.
88870         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88872         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88874         * include/sys/epoll.h: New file.
88875         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88876         libc_hidden_def.
88878 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
88880         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88881         Avoid unnecessary __WORDSIZE == 64 test.
88882         (fmaxf): Use VEX format if possible.
88883         (fmax): Likewise.
88884         (fminf): Likewise.
88885         (fmin): Likewise.
88887         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88888         * math/math_private.h: Remove libc_fegetround* and
88889         libc_fesetround*.
88890         * sysdeps/i386/configure.in: Check for -msse2avx.
88891         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88892         also if SSE2AVX is defined.
88893         Remove libc_fegetround* and libc_fesetround*.
88894         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88895         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
88896         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88897         of HAS_YMM_USABLE.
88898         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88899         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88900         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88901         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88902         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88904         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88906 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88908         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88909         size is not set.
88910         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88912 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
88914         [BZ #13618]
88915         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88916         relocation.
88917         * Makeconfig (libm): Define.
88918         * elf/Makefile: Add rules to build and run tst-relsort1.
88919         * elf/tst-relsort1.c: New file.
88920         * elf/tst-relsort1mod1.c: New file.
88921         * elf/tst-relsort1mod2.c: New file.
88923 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
88925         * math/s_ldexp.c: Remove __STDC__ conditionals.
88926         * math/s_ldexpf.c: Likewise.
88927         * math/s_ldexpl.c: Likewise.
88928         * math/s_nextafter.c: Likewise.
88929         * math/s_nexttowardf.c: Likewise.
88930         * math/s_significand.c: Likewise.
88931         * math/s_significandf.c: Likewise.
88932         * math/s_significandl.c: Likewise.
88933         * math/w_jnl.c: Likewise.
88934         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88935         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88936         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88937         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88938         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88939         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88940         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88941         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88942         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88943         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88944         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88945         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88946         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88947         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88948         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88949         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88950         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88951         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88952         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88953         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88954         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88955         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88956         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88957         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
88958         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
88959         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
88960         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
88961         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
88962         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
88963         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
88964         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
88965         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
88966         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
88967         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
88968         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
88969         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
88970         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
88971         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
88972         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
88973         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
88974         * sysdeps/ieee754/k_standard.c: Likewise.
88975         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88976         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
88977         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
88978         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
88979         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
88980         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
88981         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
88982         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
88983         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88984         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
88985         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
88986         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
88987         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
88988         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
88989         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
88990         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
88991         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
88992         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
88993         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
88994         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
88995         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
88996         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
88997         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
88998         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
88999         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
89000         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
89001         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89002         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89003         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89004         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
89005         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
89006         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
89007         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
89008         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
89009         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
89010         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
89011         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
89012         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
89013         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
89014         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
89015         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
89016         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
89017         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
89018         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
89019         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
89020         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
89021         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
89022         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
89023         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
89024         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
89025         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
89026         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
89027         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
89028         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
89029         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
89030         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
89031         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
89032         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89033         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89034         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89035         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
89036         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
89037         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
89038         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
89039         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
89040         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
89041         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
89042         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
89043         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
89044         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
89045         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
89046         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
89047         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
89048         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
89049         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
89050         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
89051         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
89052         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
89053         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
89054         * sysdeps/ieee754/s_matherr.c: Likewise.
89055         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
89056         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
89057         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
89058         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
89060 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
89062         * crypt/md5.h: Remove __STDC__ conditionals.
89063         * libio/libioP.h: Likewise.
89064         * locale/programs/config.h: Likewise.
89065         * sysdeps/generic/sysdep.h: Likewise.
89066         * sysdeps/i386/asm-syntax.h: Likewise.
89067         * sysdeps/s390/asm-syntax.h: Likewise.
89068         * sysdeps/unix/sysdep.h: Likewise.
89069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
89070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
89072 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
89074         * libio/libio.h: Remove __STDC__ conditionals.
89075         * malloc/obstack.h: Likewise.
89076         * math/complex.h: Likewise.
89077         * math/math.h: Likewise.
89078         * sysdeps/generic/_G_config.h: Likewise.
89079         * sysdeps/gnu/_G_config.h: Likewise.
89080         * sysdeps/mach/hurd/_G_config.h: Likewise.
89081         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89082         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89083         * sysdeps/sparc/bits/mathdef.h: Likewise.
89085 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
89087         [BZ #13583]
89088         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
89089         Clean up HAS_* macros.
89090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
89091         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
89092         possible.
89093         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
89094         HAS_AVX.
89095         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89096         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89097         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89098         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89099         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89101 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
89103         * elf/tst-unique3.cc (gets): Remove declaration.
89104         * elf/tst-unique3lib.cc (gets): Likewise.
89105         * elf/tst-unique3lib2.cc (gets): Likewise.
89106         * elf/tst-unique4.cc (gets): Likewise.
89108 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
89110         * include/stdio.h: Add C++ protection.  Add gets declarations and
89111         definitions.
89112         * debug/tst-chk1.c: Don't declare gets here.
89113         * stdio-common/tst-gets.c: Likewise.
89115 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89117         * posix/glob: Remove directory.
89119 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89121         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
89123 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
89125         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89126         of the non-standard EPFNOSUPPORT.
89128 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89130         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89131         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89132         ANYWHERE set to 1 only on KERN_NO_SPACE error.
89134 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
89136         * wcsmbs/uchar.h: Test __STDC_VERSION__.
89138 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
89140         * nscd/aicache.c (addhstaiX): Do not cache negative results of
89141         transient errors.
89142         * nscd/grpcache.c (cache_addgr): Likewise.
89143         * nscd/hstcache.c (cache_addhst): Likewise.
89144         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89145         * nscd/pwdcache.c (cache_addpw): Likewise.
89146         * nscd/servicescache.c (cache_addserv): Likewise.
89148 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
89150         * malloc/malloc.c: Various cleanups.
89151         * malloc/hooks.c: Likewise.
89153         * stdlib/Makefile (tests): Add bug-fmtmsg1.
89154         * stdlib/bug-fmtmsg1.c: New file.
89156         * stdlib/fmtmsg.c (init): Add missing unlock.
89157         Patch by Peng Haitao <penght@cn.fujitsu.com>.
89159 2012-01-12  Marek Polacek  <polacek@redhat.com>
89161         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89162         and _GNU_SOURCE.
89164 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
89166         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89167         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89168         macro to ensure uniqueness of label name.
89169         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89170         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89172 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
89174         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89176         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89177         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89178         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89179         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89181 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
89183         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89185         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89186         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89187         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89189         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89191         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89192         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89193         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89194         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89196         * math/bits/math-finite.h: Add ldexp support.
89198 2012-01-10  Marek Polacek  <polacek@redhat.com>
89200         * locale/programs/localedef.h (show_archive_content): Add noreturn
89201         attribute.
89203 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
89205         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89207 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89209         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89211         * io/Makefile (headers): Add bits/poll2.h.
89213 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
89215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89216         typo #include statement.
89218 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89220         * include/sys/cdefs.h: Define __attribute_alloc_size.
89221         * catgets/gencat.c: Add alloc_size attribute and apply consistently
89222         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89223         * elf/pldd.c: Likewise.
89224         * iconv/iconv_charmap.c: Likewise.
89225         * iconv/iconvconfig.c: Likewise.
89226         * iconv/strtab.c: Likewise.
89227         * locale/programs/locale.c: Likewise.
89228         * locale/programs/localedef.h: Likewise.
89229         * locale/programs/simple-hash.c: Likewise.
89230         * nscd/nscd.h: Likewise.
89231         * nss/makedb.c: Likewise.
89232         * sysdeps/generic/ldconfig.h: Likewise.
89233         * locale/programs/localedef.c: Remove xmalloc prototype.
89234         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89236 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
89238         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89239         appropriate.
89241 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89243         * math/Makefile (tests): Add tst-CMPLX.
89244         * math/tst-CMPLX.c: New file.
89246         * math/complex.h (CMPLXL): Fix typo.
89248         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89249         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89250         GLIBC_2.16.
89251         * debug/tst-chk1.c: Add poll and ppoll tests.
89252         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89253         * include/sys/poll.h: Add hidden proto for ppoll.
89254         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89255         * sysdeps/mach/hurd/ppoll.c: Likewise.
89256         * io/ppoll.c: Likewise.
89257         * debug/poll_chk.c: New file.
89258         * debug/ppoll_chk.c: New file.
89259         * include/bits/poll2.h: New file.
89260         * io/bits/poll2.h: New file.
89262         [BZ #1350]
89263         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89265         * configure.in: static is always set to yes.  Remove.
89266         * config.make.in: Don't set build-static.
89267         * Makeconfig: Remove use of build-static.
89268         * dlfcn/Makefile: Likewise.
89269         * elf/Makefile: Likewise.
89270         * math/Makefile: Likewise.
89271         * misc/Makefile: Likewise.
89272         * nptl/Makefile: Likewise.
89273         * sysdeps/mach/hurd/Makefile: Likewise.
89275         * configure.in: PWD_P is not used anymore.
89276         * config.make.in: Remove PWD_P entry.
89278         * configure.in: Remove last remnants of RANLIB.
89279         No need to check for signed size_t anymore.
89280         Don't set libc_commonpagesize and libc_relro_required here for Alpha
89281         and IA-64.
89282         Remove __builtin_expect test because we require at least gcc 3.4.
89283         * aclocal.m4: Likewise.
89285         * wcsmbs/mbrtoc16.c: Implement using towc function.
89286         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89287         * wcsmbs/wcsmbsload.c: Likewise.
89288         * iconv/gconv_simple.c: Likewise.
89289         * iconv/gconv_int.h: Likewise.
89290         * iconv/gconv_builtin.h: Likewise.
89291         * iconv/iconv_prog.c: Remove CHAR16 handling.
89293         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89295         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89297         * configure.in: Remove --with-elf and --enable-bounded options.
89298         Dont set base_machine for ia64.  More non-ELF conditions removed.
89299         Remove testing and setting of leading underscore information.
89300         * config.make.in (build-bounded): Set to no.
89301         * config.h.in: Remove NO_UNDERSCORES entry.
89302         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
89303         them.
89304         * csu/start.c: Remove !NO_UNDERSCORE code.
89305         * locale/localeinfo.h: Likewise.
89306         * sysdeps/generic/machine-gmon.h: Likewise.
89307         * sysdeps/generic/sysdep.h: Likewise.
89308         * sysdeps/i386/sysdep.h: Likewise.
89309         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89310         * sysdeps/mach/sysdep.h: Likewise.
89311         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89312         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89313         * sysdeps/sh/sysdep.h: Likewise.
89314         * sysdeps/sparc/sparc32/alloca.S: Likewise.
89315         * sysdeps/unix/i386/sysdep.S: Likewise.
89316         * sysdeps/unix/sparc/start.c: Likewise.
89317         * sysdeps/unix/sparc/sysdep.S: Likewise.
89318         * sysdeps/unix/sparc/sysdep.h: Likewise.
89319         * sysdeps/unix/start.c: Likewise.
89320         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89321         * sysdeps/x86_64/sysdep.h: Likewise.
89323 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
89325         [BZ #13553]
89326         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89327         for non-gcc.
89328         * argp/argp-fmtstream.h: Use const instead __const.
89329         * argp/argp.h: Likewise.
89330         * assert/assert.h: Likewise.
89331         * bits/fenv.h: Likewise.
89332         * bits/sched.h: Likewise.
89333         * bits/sigset.h: Likewise.
89334         * bits/sigthread.h: Likewise.
89335         * catgets/nl_types.h: Likewise.
89336         * conform/data/pthread.h-data: Likewise.
89337         * crypt/crypt-private.h: Likewise.
89338         * crypt/crypt.h: Likewise.
89339         * crypt/crypt_util.c: Likewise.
89340         * ctype/ctype.h: Likewise.
89341         * debug/execinfo.h: Likewise.
89342         * debug/mbsnrtowcs_chk.c: Likewise.
89343         * debug/mbsrtowcs_chk.c: Likewise.
89344         * debug/wcsnrtombs_chk.c: Likewise.
89345         * debug/wcsrtombs_chk.c: Likewise.
89346         * debug/wcstombs_chk.c: Likewise.
89347         * dirent/dirent.h: Likewise.
89348         * dlfcn/dlfcn.h: Likewise.
89349         * elf/neededtest4.c: Likewise.
89350         * grp/grp.h: Likewise.
89351         * gshadow/gshadow.h: Likewise.
89352         * iconv/gconv.h: Likewise.
89353         * iconv/gconv_int.h: Likewise.
89354         * iconv/gconv_simple.c: Likewise.
89355         * iconv/iconv.h: Likewise.
89356         * iconv/loop.c: Likewise.
89357         * iconv/skeleton.c: Likewise.
89358         * include/aio.h: Likewise.
89359         * include/aliases.h: Likewise.
89360         * include/argz.h: Likewise.
89361         * include/arpa/inet.h: Likewise.
89362         * include/assert.h: Likewise.
89363         * include/dirent.h: Likewise.
89364         * include/dlfcn.h: Likewise.
89365         * include/execinfo.h: Likewise.
89366         * include/fcntl.h: Likewise.
89367         * include/fenv.h: Likewise.
89368         * include/glob.h: Likewise.
89369         * include/grp.h: Likewise.
89370         * include/libintl.h: Likewise.
89371         * include/mntent.h: Likewise.
89372         * include/netdb.h: Likewise.
89373         * include/pwd.h: Likewise.
89374         * include/rpc/netdb.h: Likewise.
89375         * include/sched.h: Likewise.
89376         * include/search.h: Likewise.
89377         * include/shadow.h: Likewise.
89378         * include/signal.h: Likewise.
89379         * include/stdio.h: Likewise.
89380         * include/stdlib.h: Likewise.
89381         * include/string.h: Likewise.
89382         * include/sys/socket.h: Likewise.
89383         * include/sys/stat.h: Likewise.
89384         * include/sys/statfs.h: Likewise.
89385         * include/sys/statvfs.h: Likewise.
89386         * include/sys/syslog.h: Likewise.
89387         * include/sys/time.h: Likewise.
89388         * include/sys/uio.h: Likewise.
89389         * include/time.h: Likewise.
89390         * include/unistd.h: Likewise.
89391         * include/utmp.h: Likewise.
89392         * include/wchar.h: Likewise.
89393         * include/wctype.h: Likewise.
89394         * inet/aliases.h: Likewise.
89395         * inet/arpa/inet.h: Likewise.
89396         * inet/netinet/ether.h: Likewise.
89397         * inet/netinet/in.h: Likewise.
89398         * intl/libintl.h: Likewise.
89399         * io/bits/fcntl2.h: Likewise.
89400         * io/fcntl.h: Likewise.
89401         * io/ftw.h: Likewise.
89402         * io/sys/poll.h: Likewise.
89403         * io/sys/stat.h: Likewise.
89404         * io/sys/statfs.h: Likewise.
89405         * io/sys/statvfs.h: Likewise.
89406         * io/utime.h: Likewise.
89407         * libio/bits/stdio.h: Likewise.
89408         * libio/bits/stdio2.h: Likewise.
89409         * libio/libio.h: Likewise.
89410         * libio/libioP.h: Likewise.
89411         * libio/stdio.h: Likewise.
89412         * locale/lc-ctype.c: Likewise.
89413         * locale/locale.h: Likewise.
89414         * login/utmp.h: Likewise.
89415         * malloc/arena.c: Likewise.
89416         * malloc/malloc.c: Likewise.
89417         * malloc/malloc.h: Likewise.
89418         * malloc/mcheck.c: Likewise.
89419         * malloc/mtrace.c: Likewise.
89420         * math/bits/mathcalls.h: Likewise.
89421         * math/fenv.h: Likewise.
89422         * math/math_private.h: Likewise.
89423         * misc/bits/error.h: Likewise.
89424         * misc/bits/syslog.h: Likewise.
89425         * misc/err.h: Likewise.
89426         * misc/error.h: Likewise.
89427         * misc/fstab.h: Likewise.
89428         * misc/mntent.h: Likewise.
89429         * misc/regexp.h: Likewise.
89430         * misc/search.h: Likewise.
89431         * misc/sgtty.h: Likewise.
89432         * misc/sys/mman.h: Likewise.
89433         * misc/sys/syslog.h: Likewise.
89434         * misc/sys/uio.h: Likewise.
89435         * misc/sys/xattr.h: Likewise.
89436         * misc/ttyent.h: Likewise.
89437         * nis/rpcsvc/ypclnt.h: Likewise.
89438         * nss/nss.h: Likewise.
89439         * posix/bits/unistd.h: Likewise.
89440         * posix/fnmatch.h: Likewise.
89441         * posix/glob.h: Likewise.
89442         * posix/sched.h: Likewise.
89443         * posix/spawn.h: Likewise.
89444         * posix/sys/wait.h: Likewise.
89445         * posix/unistd.h: Likewise.
89446         * posix/wordexp.h: Likewise.
89447         * pwd/pwd.h: Likewise.
89448         * resolv/netdb.h: Likewise.
89449         * resource/sys/resource.h: Likewise.
89450         * rt/aio.h: Likewise.
89451         * rt/bits/mqueue2.h: Likewise.
89452         * rt/mqueue.h: Likewise.
89453         * shadow/shadow.h: Likewise.
89454         * signal/signal.h: Likewise.
89455         * socket/send.c: Likewise.
89456         * socket/sendto.c: Likewise.
89457         * socket/sys/socket.h: Likewise.
89458         * stdio-common/printf.h: Likewise.
89459         * stdlib/bits/stdlib.h: Likewise.
89460         * stdlib/fmtmsg.h: Likewise.
89461         * stdlib/monetary.h: Likewise.
89462         * stdlib/stdlib.h: Likewise.
89463         * stdlib/ucontext.h: Likewise.
89464         * streams/stropts.h: Likewise.
89465         * string/argz.h: Likewise.
89466         * string/bits/string2.h: Likewise.
89467         * string/string.h: Likewise.
89468         * string/strings.h: Likewise.
89469         * sunrpc/rpc/auth.h: Likewise.
89470         * sunrpc/rpc/auth_des.h: Likewise.
89471         * sunrpc/rpc/clnt.h: Likewise.
89472         * sunrpc/rpc/netdb.h: Likewise.
89473         * sunrpc/rpc/pmap_clnt.h: Likewise.
89474         * sunrpc/rpc/xdr.h: Likewise.
89475         * sysdeps/generic/inttypes.h: Likewise.
89476         * sysdeps/generic/net/if.h: Likewise.
89477         * sysdeps/generic/sys/swap.h: Likewise.
89478         * sysdeps/gnu/net/if.h: Likewise.
89479         * sysdeps/gnu/utmpx.h: Likewise.
89480         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89481         * sysdeps/i386/i486/bits/string.h: Likewise.
89482         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89483         * sysdeps/s390/bits/string.h: Likewise.
89484         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89485         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89486         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89487         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89488         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89489         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89490         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89491         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89492         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89493         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89494         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89495         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89496         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89497         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89498         * sysdeps/unix/sysv/linux/readv.c: Likewise.
89499         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89500         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89501         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89502         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89503         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89504         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89505         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89506         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89507         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89508         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89509         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89510         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89511         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89512         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89513         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89514         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89515         * sysvipc/sys/ipc.h: Likewise.
89516         * sysvipc/sys/msg.h: Likewise.
89517         * sysvipc/sys/sem.h: Likewise.
89518         * sysvipc/sys/shm.h: Likewise.
89519         * termios/termios.h: Likewise.
89520         * time/sys/time.h: Likewise.
89521         * time/time.h: Likewise.
89522         * wcsmbs/bits/wchar2.h: Likewise.
89523         * wcsmbs/uchar.h: Likewise.
89524         * wcsmbs/wchar.h: Likewise.
89525         * wctype/wctype.h: Likewise.
89527         [BZ #13551]
89528         * Makeconfig: Remove all but ELF support including AIX support.
89529         * Makerules: Likewise.
89530         * config.h.in: Likewise.
89531         * config.make.in: Likewise.
89532         * configure: Likewise.
89533         * configure.in: Likewise.
89534         * csu/Makefile: Likewise.
89535         * csu/version.c: Likewise.
89536         * debug/Makefile: Likewise.
89537         * dlfcn/Makefile: Likewise.
89538         * elf/Makefile: Likewise.
89539         * extra-lib.mk: Likewise.
89540         * iconv/Makefile: Likewise.
89541         * include/libc-symbols.h: Likewise.
89542         * include/shlib-compat.h: Likewise.
89543         * resolv/Makefile: Likewise.
89544         * resolv/res_libc.c: Likewise.
89545         * rt/Makefile: Likewise.
89546         * sysdeps/i386/asm-syntax.h: Likewise.
89547         * sysdeps/i386/sysdep.h: Likewise.
89548         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89549         * sysdeps/mach/sysdep.h: Likewise.
89550         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89551         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89552         * sysdeps/s390/asm-syntax.h: Likewise.
89553         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89554         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89555         * sysdeps/sh/sysdep.h: Likewise.
89556         * sysdeps/unix/sparc/sysdep.h: Likewise.
89557         * sysdeps/wordsize-32/divdi3.c: Likewise.
89558         * sysdeps/x86_64/sysdep.h: Likewise.
89560         * argp/Versions: Remove _argp_unlock_xxx.
89562         [BZ #13559]
89563         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
89564         * abilist/libBrokenLocale.abilist: Likewise.
89565         * abilist/libanl.abilist: Likewise.
89566         * abilist/libc.abilist: Likewise.
89567         * abilist/libcrypt.abilist: Likewise.
89568         * abilist/libdl.abilist: Likewise.
89569         * abilist/libm.abilist: Likewise.
89570         * abilist/libnsl.abilist: Likewise.
89571         * abilist/libpthread.abilist: Likewise.
89572         * abilist/libresolv.abilist: Likewise.
89573         * abilist/librt.abilist: Likewise.
89574         * abilist/libthread_db.abilist: Likewise.
89575         * abilist/libutil.abilist: Likewise.
89576         * abilist/libnss_db.abilist: New file.
89578         * scripts/abilist.awk: Add support for indirect functions.
89580         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89582         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89584         * shlib-versions: Remove entries for ports architectures.
89586         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
89587         files in ports.
89588         * elf/stackguard-macros.h: Remove support for IA-64.
89589         * elf/tst-auditmod1.c: Likewise.
89590         * sysdeps/generic/ldsodefs.h: Likewise.
89592         * sysdeps/unix/sysv/linux/configure.in: Ports should define
89593         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89594         configure files.
89596         [BZ #13552]
89597         * configure.in: Remove --enable-omitfp support.
89598         * FAQ.in: Adjust.
89599         * config.make.in: Likewise.
89600         * Makeconfig: Likewise.
89601         * manual/install.texi: Likewise.
89603         In case anyone cares, the IA-64 architecture could move to ports.
89604         * sysdeps/ia64/*: Removed.
89605         * sysdeps/unix/sysv/linux/ia64/*: Removed.
89606         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89608         [BZ #13555]
89609         * configure.in: Remove entries for unsupported architectures.
89611         [BZ #13533]
89612         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89613         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
89614         routines.
89615         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89616         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89617         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
89618         fall back to using wcrtomb.
89619         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89620         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
89621         renaming.
89622         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89623         * wcsmbs/tst-c16c32-1.c: New file.
89625         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89626         local variable.
89628         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89630         * elf/tst-unique3.cc: Add explicit declaration of gets.
89631         * elf/tst-unique3lib.cc: Likewise.
89632         * elf/tst-unique3lib2.cc: Likewise.
89633         * elf/tst-unique4.cc: Likewise.
89635         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89637 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
89639         [BZ #13566]
89640         * assert/assert.h (static_assert): Don't define for C++.
89641         * libio/stdio.h (gets): Do declare for C++ <= C++11.
89642         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89644 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
89646         * iconv/loop.c (single loop): Fix assertion in storing of
89647         remaining bytes.
89649         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89651 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
89653         * posix/getconf.c: Update copyright year.
89654         * nss/getent.c: Likewise.
89655         * nss/makedb.c: Likewise.
89656         * iconv/iconvconfig.c: Likewise.
89657         * iconv/iconv_prog.c: Likewise.
89658         * elf/ldconfig.c: Likewise.
89659         * elf/pldd.c: Likewise.
89660         * elf/sotruss.ksh: Likewise.
89661         * catgets/gencat.c: Likewise.
89662         * csu/version.c: Likewise.
89663         * elf/ldd.bash.in: Likewise.
89664         * elf/sprof.c (print_version): Likewise.
89665         * locale/programs/locale.c: Likewise.
89666         * locale/programs/localedef.c: Likewise.
89667         * login/programs/pt_chown.c: Likewise.
89668         * nscd/nscd.c (print_version): Likewise.
89669         * debug/xtrace.sh: Likewise.
89670         * malloc/memusage.sh: Likewise.
89671         * malloc/mtrace.pl: Likewise.
89672         * debug/catchsegv.sh: Likewise.
89674 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
89676         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89677         pure attribute.
89679 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
89681         [BZ #13533]
89682         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89683         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89684         transformations.
89685         * iconv/gconv_int.h: Likewise.
89686         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89687         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89688         from libc for GLIBC_2.16.
89689         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89690         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89691         * wcsmbs/uchar.h: Really define mbstate_t.
89692         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89693         * wcsmbs/c16rtomb.c: New file.
89694         * wcsmbs/mbrtoc16.c: New file.
89695         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89696         for C/POSIX locale.
89697         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89698         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89700         * wcsmbs/wchar.h: Add missing __restrict.
89702 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89704         [BZ #13532]
89705         * time/Makefile (routines): Add timespec_get.
89706         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89707         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
89708         timespec for ISO C11.
89709         * time/timespec_get.c: New file.
89710         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89711         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89713         [BZ #13531]
89714         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89715         * stdlib/stdlib.h: Declare aligned_alloc.
89716         * Versions.def: Add GLIBC_2.16 for libc.
89717         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89719         [BZ 13527]
89720         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89721         ISO C11.
89723         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89724         code.
89726         [BZ #13528]
89727         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89729         [BZ #13529]
89730         * assert/assert.h (static_assert): Define.
89732         * version.h: Update for 2.16 development version.
89734         [BZ #13526]
89735         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89736         _ISOC11_SOURCE.
89738         * version.h (RELEASE): Bump for 2.15 release.
89739         * include/features.h (__GLIBC_MINOR__): Bump to 15.
89741         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89742         Patch by Marek Polacek <mpolacek@redhat.com>.
89744         * bits/byteswap.h: Protect long long constants with __extension__.
89745         * sysdeps/i386/bits/byteswap.h: Likewise.
89746         * sysdeps/ia64/bits/byteswap.h: Likewise.
89747         * sysdeps/s390/bits/byteswap.h: Likewise.
89748         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89750 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89752         [BZ #13540]
89753         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89754         destination buffer.
89755         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89757 2011-12-23  Marek Polacek  <polacek@redhat.com>
89759         * elf/dl-addr.c (determine_info): Add inline keyword.
89760         * elf/tst-auditmod4b.c (check_avx): Likewise.
89761         * elf/tst-auditmod6b.c (check_avx): Likewise.
89762         * elf/tst-auditmod6c.c (check_avx): Likewise.
89763         * elf/tst-auditmod7b.c (check_avx): Likewise.
89765 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89767         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89768         !__SSE_MATH__.
89770 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89772         [BZ #13540]
89773         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89774         processing for last bytes.
89776 2011-08-06  Bruno Haible  <bruno@clisp.org>
89778         [BZ #13061]
89779         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89780         U+0385, not to U+1FEE.
89782         [BZ #13062]
89783         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89784         entry for U+00A5 U+0301.
89786 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89788         [BZ #13166]
89789         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89790         buffer for the output is too small.
89792         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89793         optimization.
89795         [BZ #13185]
89796         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89797         SSE flags if possible.
89799 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89801         [BZ #13540]
89802         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89803         processing for last bytes.
89805 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
89807         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89808         (syscall-list-default-options, syscall-list-default-condition)
89809         (syscall-list-includes): Define.
89810         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89811         list of ABIs and options and #if conditions for each ABI.  Do not
89812         handle common syscalls between ABIs specially.
89813         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89814         Remove.
89815         (syscall-list-variants, syscall-list-32bit-options)
89816         (syscall-list-32bit-condition, syscall-list-64bit-options)
89817         (syscall-list-64bit-condition): Define.
89818         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89819         (syscall-list-variants, syscall-list-32bit-options)
89820         (syscall-list-32bit-condition, syscall-list-64bit-options)
89821         (syscall-list-64bit-condition): Define.
89822         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89823         Remove.
89824         (syscall-list-variants, syscall-list-32bit-options)
89825         (syscall-list-32bit-condition, syscall-list-64bit-options)
89826         (syscall-list-64bit-condition): Define.
89827         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89828         Remove.
89829         (syscall-list-variants, syscall-list-32bit-options)
89830         (syscall-list-32bit-condition, syscall-list-64bit-options)
89831         (syscall-list-64bit-condition): Define.
89833 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89835         * locale/iso-639.def: Add brx entry.
89837         [BZ #13328]
89838         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89839         Proposed by Mariusz_Cukr <marcukr@op.pl>.
89841         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89842         __feraiseexcept_renamed.
89844 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89846         [BZ #13538]
89847         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89848         EPOLLET with unsigned values.
89849         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89850         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89852         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89853         to large cancellation.
89854         * math/s_cacoshf.c: Likewise.
89855         * math/s_cacoshl.c: Likewise.
89857 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
89859         [BZ #13305]
89860         [BZ #12786]
89861         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89862         * math/s_cacoshf.c: Likewise.
89863         * math/s_cacoshl.c: Likewise.
89865 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89867         [BZ #13439]
89868         * iconv/gconv.h: Define __GCONV_SWAP.
89869         * iconvdata/unicode.c: The swap bit must be stored in __flags.
89870         * iconvdata/utf-16.c: Likewise.
89871         * iconvdata/utf-32.c: Likewise.
89873 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
89875         [BZ #13524]
89876         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89877         numerator after shifting it by one limb.
89879 2011-12-19  Rafael Ăvila de EspĂ­ndola  <rafael.espindola@gmail.com>
89881         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89882         under [__USE_EXTERN_INLINES].
89884 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89886         [BZ #13446]
89887         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89889 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89891         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89892         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89893         optimized code.
89894         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89895         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89896         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89897         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89898         for strncasecmp/strncasecmp_l compilation.
89899         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89900         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89902 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
89904         [BZ #13484]
89905         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89906         of __asm__.
89908 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89910         [BZ #13506]
89911         * time/tzfile.c (__tzfile_read): Check values from file header.
89913 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
89915         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89916         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89917         * powerpc/powerpc32/dl-start.S: Likewise.
89918         * powerpc/powerpc32/elf/start.S: Likewise.
89919         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89920         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89921         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89922         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89923         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89924         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89925         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89926         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89927         * powerpc/powerpc32/fpu/s_round.S: Likewise.
89928         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89929         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89930         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89931         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89932         * powerpc/powerpc32/memset.S: Likewise.
89933         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89934         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89935         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89936         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89937         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89938         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89939         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89940         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89941         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89942         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89943         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89944         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89945         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89947 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89949         * math/libm-test.inc: Added more nearbyint tests.
89950         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89951         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89952         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89953         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89955 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
89957         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
89958         FD_CLOEXEC.
89960 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89962         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
89963         Add wcscpy-ssse3 wcscpy-c.
89964         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
89965         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
89966         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
89967         * sysdeps/x86_64/wcschr.S: New file.
89968         * sysdeps/x86_64/wcsrchr.S: New file.
89969         * string/test-strcmp.c: Remove checking of wcscmp function for
89970         wrong alignments.
89971         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
89972         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
89973         wcsrchr-sse2 wcsrchr-c.
89974         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
89975         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
89976         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
89977         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
89978         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
89979         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
89980         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
89981         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
89982         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
89983         * wcsmbc/wcschr.c (WCSCHR): New macro.
89985 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89987         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
89988         * wcsmbs/test-wcsrchr.c: New file.
89989         * string/test-strrchr.c: Add wcsrchr support.
89990         (WIDE): New macro.
89991         * wcsmbs/test-wcscpy.c: New file.
89992         * string/test-strcpy.c: Add wcscpy support.
89993         (WIDE): New macro.
89995 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
89997         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
89998         the inner loop.
90000 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
90002         [BZ #13472]
90003         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
90005 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
90007         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
90008         Minor optimizations.
90010         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
90011         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
90012         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
90014 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
90016         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
90017         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
90018         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
90019         for gcc to avoid warnings.
90020         * inet/Makefile (tests): Add tst-checks.
90021         * inet/tst-checks.c: New file.
90023         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
90024         warning.
90026         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
90027         __wmemcmp_sse2.
90029         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
90030         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
90032         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
90034 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
90036         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
90037         problem.
90039         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
90041 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
90043         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
90044         conditional on GCC version.
90045         (__arch_compare_and_exchange_val_8_acq)
90046         (__arch_compare_and_exchange_val_16_acq)
90047         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
90048         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
90049         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
90051 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
90053         * sysdeps/sh/backtrace.c: New file.
90055 2011-12-02  Andreas Schwab  <schwab@redhat.com>
90057         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
90058         parenthesis.
90060 2011-12-01  Andreas Schwab  <schwab@redhat.com>
90062         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
90063         falling back to utime.
90065 2011-11-30  Andreas Schwab  <schwab@redhat.com>
90067         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
90068         expectations for float.
90070 2011-11-29  Andreas Schwab  <schwab@redhat.com>
90072         * locale/weight.h (findidx): Add parameter len.
90073         * locale/weightwc.h (findidx): Likewise.
90074         * posix/fnmatch_loop.c (FCT): Adjust caller.
90075         * posix/regcomp.c (build_equiv_class): Likewise.
90076         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
90077         * posix/regexec.c (check_node_accept_bytes): Likewise.
90078         * string/strcoll_l.c (STRCOLL): Likewise.
90079         * string/strxfrm_l.c (STRXFRM): Likewise.
90081 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
90083         * Makefile.in: Remove CVSOPT handling.
90084         * configure.in: Remove use of AC_REVISION.
90085         * iconvdata/Makefile (distribute): No need to filter out CVS.
90086         * scripts/list-sources.sh: Remove CVS, subversion and monotone
90087         handling.
90089 2011-11-16  Andreas Schwab  <schwab@redhat.com>
90091         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
90092         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
90093         [USE_AS_STRNCASECMP_L]: Likewise.
90094         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
90095         NO_TLS_DIRECT_SEG_REFS.
90096         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
90097         Fix argument offsets for non-PIC.
90098         [USE_AS_STRNCASECMP_L]: Likewise.
90099         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
90100         NO_TLS_DIRECT_SEG_REFS.
90102 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
90104         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
90105         O_CLOEXEC.
90106         * locale/loadlocale.c (_nl_load_locale): Likewise.
90108 2011-11-15  Andreas Schwab  <schwab@redhat.com>
90110         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
90111         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
90112         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
90113         (SYSCALL_GETTIME): Set errno on error.
90115         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
90116         count references to noai6ai_cached.
90118 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
90120         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
90122         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90123         FD_CLOEXEC for /proc/self/maps.
90125         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90126         FD_CLOEXEC for /proc/meminfo.
90128         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90129         gai.conf.
90131         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
90132         FD_CLOEXEC for given file.
90134         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
90136         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90137         FD_CLOEXEC for /etc/hosts.
90138         (_gethtent): Likewise.
90140         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
90142         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90143         cancellation and set FD_CLOEXEC for /etc/netgroup.
90145         * nss/nss_files/files-key.c (search): Don't allow cancellation when
90146         reading /etc/publickey.
90148         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90149         allow cancellation when reading /etc/group.
90151         * nss/nss_files/files-alias.c (internal_setent): Don't allow
90152         cancellation.
90153         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
90155         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90156         when using data file.
90158         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
90160         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90161         (write_nis_obj): Use "c" and "e" in fopen.
90163         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
90165         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90167         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90169         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90171         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90172         locale.alias.
90174         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90176         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90178         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90180         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90181         file parsing and set FD_CLOEXEC.
90183 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90185         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90187 2011-11-14  Andreas Schwab  <schwab@redhat.com>
90189         * malloc/arena.c (arena_get2): Don't call reused_arena when
90190         _int_new_arena failed.
90192 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90194         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90195         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90196         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90197         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90198         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90199         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90200         to compile strcasecmp and strncasecmp.
90201         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90202         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90204         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90206 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
90208         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90209         locale-defines.sym to gen-as-const-headers.
90210         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90211         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90212         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90213         to compile strcasecmp and strncasecmp.
90214         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90215         strcasecmp_l and strncasecmp_l.
90216         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90217         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90218         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90219         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90220         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90221         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90222         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90223         * sysdeps/i386/i686/multiarch/strncase.S: New file.
90224         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90225         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90226         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90228 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
90230         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90231         result of SYSDEP_GETTIME_CPU to retval.
90232         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90233         parameter list to macro.  Remove trailing semicolon.  Adjust users.
90235         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90236         variable.
90238         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90239         mantissa words.
90240         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90242         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90243         from unused variable.
90245         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90246         DWARF definitions.
90247         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90248         for assembling.
90250         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90251         over namespaces.
90253         * sunrpc/rpc_prot.c (rejected): Fix case value.
90255         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90256         unsigned long long int to avoid warnings in shift.
90258         * posix/regex_internal.c (re_string_reconstruct): Actually use result
90259         of use of trans.
90260         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90261         variable tmp.
90263         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90264         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90265         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90267         * nis/nis_table.c (nis_list): Use variable of correct type for
90268         result of __follow_path call.
90270 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90272         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90273         of math functions ceil, trunc, floor, round, and sqrt, when
90274         avaliable on the platform.
90275         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90276         name clash.
90277         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90278         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90279         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90281 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
90283         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90284         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90286 2011-11-11  Roland McGrath  <roland@hack.frob.com>
90288         * include/unistd.h: Fix __readlink return type.
90289         Reported by Chris Metcalf <cmetcalf@tilera.com>.
90291 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
90293         * stdlib/ucontext.h: Undo last change for makecontext.
90295 2011-11-11  Andreas Schwab  <schwab@redhat.com>
90297         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90299         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90300         * setjmp/setjmp.h: Mark functions as non-leaf.
90301         * setjmp/bits/setjmp2.h: Likewise.
90302         * stdlib/ucontext.h: Likewise.
90304 2011-11-10  Andreas Schwab  <schwab@redhat.com>
90306         * malloc/arena.c (_int_new_arena): Don't increment narenas.
90307         (reused_arena): Don't check arena limit.
90308         (arena_get2): Atomically check arena limit.
90310 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
90312         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90313         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90315         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90316         instructions.
90318 2011-11-07  Andreas Schwab  <schwab@redhat.com>
90320         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90321         handler when locking.
90323         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90324         Fix size of allocated buffer.
90326 2011-11-04  Andreas Schwab  <schwab@redhat.com>
90328         [BZ #10103]
90329         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90330         declarations for long double functions.
90331         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90333         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90335 2011-11-03  Andreas Schwab  <schwab@redhat.com>
90337         * nscd/nscd.c (main): Don't start AVC thread until credentials are
90338         installed.
90340         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90341         is disabled.
90343 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90345         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90347 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
90349         * include/alloca.h (stackinfo_alloca_round): Define.
90350         (extend_alloca): Use it.
90351         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90352         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90353         here.
90355         * scripts/check-local-headers.sh: Ignore libaudit.h.
90357         * nscd/Makefile (extra-objs): Make recursively expanded.
90359 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
90361         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90362         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90364         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90365         * posix/tst-rfc3484-2.c: Likewise.
90366         * posix/tst-rfc3484-3.c: Likewise.
90368         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90369         process_vm_writev.
90370         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90371         process_vm_writev.
90372         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90373         process_vm_writev from libc using GLIBC_2.15 version.
90375         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90377 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
90379         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90380         stack usage.
90382 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
90384         [BZ #13367]
90385         * nss/getent.c (initgroups_keys): Show error message in case no group
90386         names are given.
90388         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90389         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90390         __bump_nl_timestamp.
90391         * nscd/connections (nscd_init): When host database is served open
90392         netlink socket and request notification about configuration changes.
90393         (main_loop_poll): Track netlink file descriptor and bump timestamp
90394         in case data becomes available.
90395         (main_loop_epoll): Likewise.
90396         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90397         (database_pers_head): Add extra_data fileds.
90398         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90399         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90400         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90401         Adjust caller.
90402         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90403         in6ai data, call __free_in6ai.
90404         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90405         Add -DHAVE_NETLINK.
90406         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
90407         interface information.  Reuse previous data if netlink timestamp
90408         is not changed.
90409         (__bump_nl_timestamp): New function.
90410         (__free_in6ai): New function.
90412 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
90414         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90415         close_not_cancel_no_status here.
90416         (__check_pf): Reorganize code a bit to not call close twice if OOM.
90418 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90420         [BZ #13276]
90421         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90422         return value.
90424         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90425         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90426         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90428 2011-07-03  Andreas Jaeger  <aj@suse.de>
90430         [BZ #10709]
90431         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90432         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90433         * math/libm-test.inc (sin_test): Add test case.
90435 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90437         [BZ #13337]
90438         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90439         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90441         * elf/chroot_canon.c (chroot_canon): Cleanups.
90443         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90445         [BZ #13335]
90446         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90447         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90449         * string/test-strchr.c: Make usable for strchrnul testing.
90450         * string/test-strchrnul.c: New file.
90451         * string/Makefile (strop-tests): Add strchrnul.
90453         * po/it.po: Update from translation team.
90454         * po/es.po: Likewise.
90456 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
90458         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90459         the three constants needed as parameters.  Drop the others.
90460         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90461         __m128i_strloadu_tolower.
90462         Create and initialize variable zero and use it in all the places
90463         where _mm_setzero_si128 was used.
90465         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90466         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90467         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90468         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90469         anymore.
90470         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90471         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90472         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90473         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90474         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90475         __mpranred, __mptan.
90476         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90477         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90478         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90479         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90480         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90481         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90482         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90483         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90484         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90486 2011-10-28  Andreas Schwab  <schwab@redhat.com>
90488         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90489         redefine if SHARED.
90490         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90492         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90493         wide char related routines to wcsmbs subdir.
90495 2011-10-27  Andreas Schwab  <schwab@redhat.com>
90497         [BZ #13344]
90498         * misc/sys/cdefs.h (__THROWNL): Define.
90499         * posix/unistd.h: Use __THREADNL instead of __THREAD
90500         for memory synchronization functions.
90502 2011-10-26  Roland McGrath  <roland@hack.frob.com>
90504         [BZ #13349]
90505         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90506         doesn't exist.
90507         * manual/stdio.texi (Obstack Streams): Node removed.
90509 2011-10-26  Andreas Schwab  <schwab@redhat.com>
90511         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90512         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90513         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90515         * math/math_private.h (math_force_eval): Allow non-addressable
90516         arguments.
90517         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90519 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90521         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90522         file is not needed.
90524         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90525         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90526         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90527         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90528         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90529         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90530         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90531         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90532         Add AVX variants.
90533         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90534         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90535         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90536         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90537         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90538         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90539         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90540         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90541         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90542         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90543         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90544         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90545         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90546         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90547         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90548         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90549         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90550         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90551         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90553         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90554         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
90556         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90557         place.  Use VEX encoding when compiling for AVX.
90559 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90561         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90562         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90564         * string/test-strchr.c (do_test): Don't generate NUL bytes.
90566 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90568         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90569         useless if() expression.
90570         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90571         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90572         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90573         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90574         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90575         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90576         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90577         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90578         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90579         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90580         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90581         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90582         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90583         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90584         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90585         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90586         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90587         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90588         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90590         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90592 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90594         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90595         condition.
90596         * elf/dl-fini.c (_dl_sort_fini): Likewise.
90598 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90600         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90601         .text section.  Avoid duplicate constants.
90602         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90603         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90604         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90605         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90606         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90607         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90608         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90609         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90610         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90611         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90612         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90613         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90614         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90615         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90616         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90617         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90618         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90619         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90620         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90621         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90622         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90623         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90624         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90625         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90626         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90627         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90628         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90629         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90630         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90631         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90632         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90633         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90634         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90635         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90636         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90637         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90638         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90639         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90640         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90641         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90642         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90643         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90644         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90645         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90646         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90648 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
90650         * sysdeps/x86_64/dla.h: Move to ...
90651         * sysdeps/x86_64/fpu/dla.h: ...here.
90652         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90653         situations.  Use __builtin_fma only for gcc 4.6 and up.
90655         * config.make.in: Add have-mfma4 entry.
90656         * configure.in: Substitute libc_cv_cc_fma4.
90657         * math/Makefile (dbl-only-routines): Add sincostab.
90658         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90659         Use __sincostab not sincos.
90660         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90661         name is a macro.
90662         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90663         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90664         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90665         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
90666         using __copysign.
90667         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
90668         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
90669         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90670         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90671         and __inv.
90672         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90673         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90674         __copysign.
90675         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
90676         define aliases when function name is a macro.
90677         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90678         sysdeps/ieee754/dbl-64/sincos.tbl.
90679         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90680         fma4-enabled routines.
90681         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90682         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90683         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90684         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90685         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90686         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90687         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90688         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90689         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90690         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90691         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90692         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90693         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90694         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90695         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90696         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90697         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90698         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90699         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90700         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90701         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90702         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90703         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90704         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90705         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90706         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90707         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90708         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90709         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90710         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90712         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90713         rename.
90714         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90715         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90716         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90717         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90718         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90719         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90720         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90721         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90723 2011-10-24  Andreas Schwab  <schwab@redhat.com>
90725         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90727 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90729         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90731         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90732         prediction.
90733         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90735         * string/strnlen.c: Don't define STRNLEN, reverse logic.
90736         Remove unused variable magic_bits.
90737         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90739         * string/strnlen.c: Define and use STRNLEN macro.
90740         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90741         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90742         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90743         * wcsmbs/wcslen.c: Define and use WCSLEN.
90744         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90745         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90746         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90747         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90748         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90749         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90750         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90752 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90754         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90755         strnlen-sse2-no-bsf.
90756         Rename strlen-no-bsf to strlen-sse2-no-bsf.
90757         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90758         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90759         Add strnlen support.
90760         (USE_AS_STRNLEN): New macro.
90761         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90762         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90763         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90764         * sysdeps/x86_64/wcslen.S: New file.
90766 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
90768         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90769         XMM-moves are used for copying on small sizes.
90771 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90773         * wcsmbs/Makefile (strop-tests): Add wcschr.
90774         * wcsmbs/test-wcschr.c: New file.
90775         * string/test-strchr.c: Update.
90776         Add wcschr support.
90777         (WIDE): New macro.
90779 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90781         * wcsmbs/Makefile (strop-tests): Add wcslen.
90782         * wcsmbs/test-wcslen.c: New file.
90783         * string/test-strlen.c: Update.
90784         Add wcslen support.
90785         (WIDE): New macro.
90787 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90789         * po/it.po: Update from translation team.
90791 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90793         * sysdeps/x86_64/wcscmp.S: Update.
90794         Fix wrong comparison semantics.
90795         wcscmp shall use signed comparison not unsigned.
90796         Don't use substraction to avoid overflow bug.
90797         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90798         * wcsmbc/wcscmp.c: Likewise.
90799         * string/test-strcmp.c: Likewise.
90800         Add new tests to check cases with negative values.
90802 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90804         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90805         * sysdeps/x86_64/dla.h: ...here.  New file.
90806         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90807         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90808         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90809         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90810         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90811         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90812         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90813         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90814         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90816 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
90818         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90819         __ynl_finite aliases.
90821 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90823         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90825         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90826         define DLA_FMA.
90827         [DLA_FMA] (EMULV): Use DLA_FMA.
90828         [DLA_FMA] (MUL12): Use EMULV.
90829         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90830         that are not needed.
90831         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90832         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90833         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90834         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90835         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90836         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90837         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90839 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
90841         * math/s_nan.c: Undef __nan.
90842         * math/s_nanf.c: Undef __nanf.
90843         * math/s_nanl.c: Undef __nanl.
90844         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90845         "math_private.h".
90847 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90849         * math/s_catan.c: Add branch predictions.
90850         * math/s_catanf.c: Likewise.
90851         * math/s_catanh.c: Likewise.
90852         * math/s_catanhf.c: Likewise.
90853         * math/s_catanhl.c: Likewise.
90854         * math/s_catanl.c: Likewise.
90855         * math/s_cexp.c: Likewise.
90856         * math/s_cexpf.c: Likewise.
90857         * math/s_cexpl.c: Likewise.
90858         * math/s_clog.c: Likewise.
90859         * math/s_clog10.c: Likewise.
90860         * math/s_clog10f.c: Likewise.
90861         * math/s_clog10l.c: Likewise.
90862         * math/s_clogf.c: Likewise.
90863         * math/s_clogl.c: Likewise.
90864         * math/s_csqrt.c: Likewise.
90865         * math/s_csqrtf.c: Likewise.
90866         * math/s_csqrtl.c: Likewise.
90867         * math/s_ctanf.c: Likewise.
90868         * math/s_ctanh.c: Likewise.
90869         * math/s_ctanhf.c: Likewise.
90870         * math/s_ctanhl.c: Likewise.
90871         * math/s_ctanl.c: Likewise.
90873         * math/math_private.h: Define __nan, __nanf, __nanl.
90874         * math/s_cacosh.c: Include <math_private.h>.
90875         * math/s_cacoshl.c: Likewise.
90876         * math/s_casinh.c: Likewise.
90877         * math/s_casinhf.c: Likewise.
90878         * math/s_casinhl.c: Likewise.
90879         * math/s_ccos.c: Rely entire on ccosh.
90880         * math/s_ccosf.c: Rely entire on ccoshf.
90881         * math/s_ccosl.c: Rely entirely on ccoshl.
90882         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
90883         Remove tests for FE_INVALID.
90884         * math/s_ccoshf.c: Likewise.
90885         * math/s_ccoshl.c: Likewise.
90886         * math/s_csin.c: Likewise.
90887         * math/s_csinf.c: Likewise.
90888         * math/s_csinh.c Likewise.
90889         * math/s_csinhf.c: Likewise.
90890         * math/s_csinhl.c: Likewise.
90891         * math/s_csinl.c: Likewise.
90892         * math/s_ctan.c: Likewise.
90893         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90894         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90895         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90897 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
90899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90900         compilation problems.
90902         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90903         __builtin_expect.
90905 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
90907         * sysdeps/i386/configure.in: Test for -mfma4 option.
90908         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90909         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90910         COMMON_CPUID_INDEX_80000001.
90911         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90912         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90913         use it if FMA3 is not supported.
90914         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90916         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90917         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90919 2011-10-20  Andreas Schwab  <schwab@redhat.com>
90921         [BZ #12892]
90922         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90923         it would create a cycle with a link time dependency.
90925 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
90927         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90928         instruction.
90929         * string/Makefile (strop-tests): Add rawmemchr.
90930         * string/test-rawmemchr.c: New file.
90932         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90933         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
90934         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
90935         when compiling str{,n}casecmp and when AVX is available.  Hook up
90936         new optimized code in initializers.
90938 2011-10-19  Andreas Schwab  <schwab@redhat.com>
90940         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90941         __feraiseexcept instead of feraiseexcept.
90943 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
90945         * math/math_private.h: Define defaults for libc_fetestexcept and
90946         libc_feupdateenv.
90947         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90948         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90949         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90950         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90951         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90952         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90953         libc_fetestexcept and libc_feupdateenv.
90955         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90956         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90957         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
90958         * sysdeps/x86_64/fpu/math_private.h: Define special version of
90959         libc_feholdexcept_setround.
90961         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
90962         Add s_nearbyint-c and s_nearbyintf-c.
90963         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
90964         nearbyintf inlines.
90965         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
90966         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
90967         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
90968         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
90970         * math/math_private.h: Define defaults for libc_fegetround,
90971         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
90972         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
90973         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
90974         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
90975         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
90976         standard functions.
90977         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90978         Remove comments and hacks for old compiler versions.
90979         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90980         libc_fegetround, libc_fesetround, libc_feholdexcept, and
90981         libc_feholdexceptl.
90983 2011-10-18  Andreas Schwab  <schwab@redhat.com>
90985         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
90986         (__feraiseexcept_renamed): Add __NTH.
90987         (feraiseexcept): Add __NTH.  Rename local variables to fix
90988         namespace violations.
90990 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
90992         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
90994         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
90996         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
90997         recently added interfaces.
90998         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
91000         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
91001         about macro parameter expansion.
91003         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
91004         __NO_MATH_INLINES is defined.  Cleanups.
91006         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
91007         and __floorf is target has SSE4.1.
91008         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
91009         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
91010         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
91011         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
91013         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
91014         name.
91015         (floorf): Likewise.
91017         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
91019 2011-10-17  Andreas Schwab  <schwab@redhat.com>
91021         * misc/sys/cdefs.h: Fix last change.
91023         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
91024         database lookup.
91026 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
91028         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
91030         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
91031         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
91032         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
91033         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
91034         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
91035         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
91036         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
91037         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
91038         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
91039         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
91040         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
91041         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
91042         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
91043         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
91044         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
91045         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
91046         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
91047         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
91048         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
91049         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
91050         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
91051         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
91053         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
91054         ceil, ceilf, floor, floorf.
91056         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
91057         Perform IRELATIVE relocations last.
91059         * elf/do-rel.h: Add another parameter nrelative, replacing the
91060         local variable with the same name.  Change name of the function
91061         to end in Rel or Rela (uppercase).
91062         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
91063         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
91064         elf_dynamic_do_##reloc function.
91066 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
91068         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
91069         is sufficient, at least on modern CPUs.
91071         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
91073         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
91074         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
91076         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
91077         __expl_finite.
91078         * math/bits/math-finite.h: Add entries for exp.
91079         * math/e_expl.c: Add __*_finite alias.
91080         * sysdeps/i386/fpu/e_exp.S: Likewise.
91081         * sysdeps/i386/fpu/e_expf.S: Likewise.
91082         * sysdeps/i386/fpu/e_expl.c: Likewise.
91083         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
91084         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91085         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
91086         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
91087         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
91088         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
91089         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
91091         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
91092         is sufficient, at least on modern CPUs.
91094         * ctype/ctype-info.c (__ctype_init): Define.
91095         * include/ctype.h (__ctype_init): Declare.
91096         (__ctype_b_loc): The variable is always initialized.
91097         (__ctype_toupper_loc): Likewise.
91098         (__ctype_tolower_loc): Likewise.
91099         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
91100         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
91102 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
91104         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
91106         * configure.in: Also look in $cxxmachine/include for C++ system
91107         headers.
91109 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91111         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
91112         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
91113         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
91114         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
91115         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
91116         (USE_AS_WMEMCMP): New macro.
91117         Fixing indents.
91118         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91119         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91120         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91121         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91122         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91123         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91124         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91125         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91126         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91127         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91128         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91129         (USE_AS_WMEMCMP): New macro.
91130         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91131         * sysdeps/string/test-memcmp.c: Update.
91132         Fix simple_wmemcmp.
91133         Add new tests.
91134         * wcsmbs/wmemcmp.c: Update.
91135         (WMEMCMP): New macro.
91136         Fix overflow bug.
91138 2011-10-12  Andreas Jaeger  <aj@suse.de>
91140         [BZ #13268]
91141         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
91143 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
91145         * libio/iofwide.c (do_length): Avoid warning.
91147         * ctype/ctype.h (__isctype_f): Add missing __THROW.
91149 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
91151         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
91153         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91154         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91155         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91156         * sysdeps/i386/i686/fpu/e_log.S: New file.
91157         * sysdeps/i386/i686/fpu/e_logf.S: New file.
91158         * sysdeps/i386/i686/fpu/e_logl.S: New file.
91160         * ctype/ctype.h: Add support for inlined isXXX functions when
91161         compiling C++ code.
91163 2011-10-14  Andreas Schwab  <schwab@redhat.com>
91165         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91167         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91169 2011-10-13  Roland McGrath  <roland@hack.frob.com>
91171         [BZ #13291]
91172         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91174 2011-10-13  Andreas Schwab  <schwab@redhat.com>
91176         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91177         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91178         feraiseexcept.
91180         * sysdeps/x86_64/memrchr.S: Check for zero size.
91182         * string/stratcliff.c: Add memrchr tests.
91184 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91186         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91187         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91188         rawmemchr-sse2 rawmemchr-sse2-bsf.
91189         * sysdeps/i386/i686/multiarch/memchr.S: New file.
91190         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91191         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91192         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91193         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91194         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91195         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91196         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91197         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91198         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91199         * string/memrchr.c (MEMRCHR): New macro.
91201 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
91203         Add integration with gcc's -ffinite-math-only and optimize wrapper
91204         functions in libm.
91205         * Versions.def: Define GLIBC_2.15 version for libm.
91206         * math/Makefile (headers): Add bits/math-finite.h.
91207         * math/bits/math-finite.h: New file.
91208         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91209         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91210         * math/e_acoshl.c: Add __*_finite alias.
91211         * math/e_acosl.c: Likewise.
91212         * math/e_asinl.c: Likewise.
91213         * math/e_atan2l.c: Likewise.
91214         * math/e_atanhl.c: Likewise.
91215         * math/e_coshl.c: Likewise.
91216         * math/e_exp10.c: Likewise.
91217         * math/e_exp10f.c: Likewise.
91218         * math/e_exp10l.c: Likewise.
91219         * math/e_exp2l.c: Likewise.
91220         * math/e_fmodl.c: Likewise.
91221         * math/e_gammal_r.c: Likewise.
91222         * math/e_hypotl.c: Likewise.
91223         * math/e_j0l.c: Likewise.
91224         * math/e_j1l.c: Likewise.
91225         * math/e_jnl.c: Likewise.
91226         * math/e_lgammal_r.c: Likewise.
91227         * math/e_log10l.c: Likewise.
91228         * math/e_log2l.c: Likewise.
91229         * math/e_logl.c: Likewise.
91230         * math/e_powl.c: Likewise.
91231         * math/e_sinhl.c: Likewise.
91232         * math/e_sqrtl.c: Likewise.
91233         * math/e_scalb.c: Completely rewritten and optimized.
91234         * math/e_scalbf.c: Likewise.
91235         * math/e_scalbl.c: Likewise.
91236         * math/w_acos.c: Likewise.
91237         * math/w_acosf.c: Likewise.
91238         * math/w_acosl.c: Likewise.
91239         * math/w_acosh.c: Likewise.
91240         * math/w_acoshf.c: Likewise.
91241         * math/w_acoshl.c: Likewise.
91242         * math/w_asin.c: Likewise.
91243         * math/w_asinf.c: Likewise.
91244         * math/w_asinl.c: Likewise.
91245         * math/w_atan2.c: Likewise.
91246         * math/w_atan2f.c: Likewise.
91247         * math/w_atan2l.c: Likewise.
91248         * math/w_atanh.c: Likewise.
91249         * math/w_atanhf.c: Likewise.
91250         * math/w_atanhl.c: Likewise.
91251         * math/w_exp10.c: Likewise.
91252         * math/w_exp10f.c: Likewise.
91253         * math/w_exp10l.c: Likewise.
91254         * math/w_fmod.c: Likewise.
91255         * math/w_fmodf.c: Likewise.
91256         * math/w_fmodl.c: Likewise.
91257         * math/w_j0.c: Likewise.
91258         * math/w_j0f.c: Likewise.
91259         * math/w_j0l.c: Likewise.
91260         * math/w_j1.c: Likewise.
91261         * math/w_j1f.c: Likewise.
91262         * math/w_j1l.c: Likewise.
91263         * math/w_jn.c: Likewise.
91264         * math/w_jnf.c: Likewise.
91265         * math/w_log.c: Likewise.
91266         * math/w_logf.c: Likewise.
91267         * math/w_logl.c: Likewise.
91268         * math/w_log10.c: Likewise.
91269         * math/w_log10f.c: Likewise.
91270         * math/w_log10l.c: Likewise.
91271         * math/w_log2.c: Likewise.
91272         * math/w_log2f.c: Likewise.
91273         * math/w_log2l.c: Likewise.
91274         * math/w_pow.c: Likewise.
91275         * math/w_powf.c: Likewise.
91276         * math/w_powl.c: Likewise.
91277         * math/w_remainder.c: Likewise.
91278         * math/w_remainderf.c: Likewise.
91279         * math/w_remainderl.c: Likewise.
91280         * math/w_scalb.c: Likewise.
91281         * math/w_scalbf.c: Likewise.
91282         * math/w_scalbl.c: Likewise.
91283         * math/w_sqrt.c: Likewise.
91284         * math/w_sqrtf.c: Likewise.
91285         * math/w_sqrtl.c: Likewise.
91286         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91287         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
91288         used.
91289         * math/math_private.h: Declare __kernel_standard_f.
91290         * math/w_cosh.c: Remove cruft and optimize a bit.
91291         * math/w_coshf.c: Likewise.
91292         * math/w_coshl.c: Likewise.
91293         * math/w_exp2.c: Likewise.
91294         * math/w_exp2f.c: Likewise.
91295         * math/w_exp2l.c: Likewise.
91296         * math/w_hypot.c: Likewise.
91297         * math/w_hypotf.c: Likewise.
91298         * math/w_hypotl.c: Likewise.
91299         * math/w_lgamma.c: Likewise.
91300         * math/w_lgamma_r.c: Likewise.
91301         * math/w_lgammaf.c: Likewise.
91302         * math/w_lgammaf_r.c: Likewise.
91303         * math/w_lgammal.c: Likewise.
91304         * math/w_lgammal_r.c: Likewise.
91305         * math/w_sinh.c: Likewise.
91306         * math/w_sinhf.c: Likewise.
91307         * math/w_sinhl.c: Likewise.
91308         * math/w_tgamma.c: Likewise.
91309         * math/w_tgammaf.c: Likewise.
91310         * math/w_tgammal.c: Likewise.
91311         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91312         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91313         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91314         Minor optimizations.  Pretty printing.  Remove cruft.
91315         * sysdeps/i386/fpu/e_acosf.S: Likewise.
91316         * sysdeps/i386/fpu/e_acosh.S: Likewise.
91317         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91318         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91319         * sysdeps/i386/fpu/e_acosl.c: Likewise.
91320         * sysdeps/i386/fpu/e_asin.S: Likewise.
91321         * sysdeps/i386/fpu/e_asinf.S: Likewise.
91322         * sysdeps/i386/fpu/e_atan2.S: Likewise.
91323         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91324         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91325         * sysdeps/i386/fpu/e_atanh.S: Likewise.
91326         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91327         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91328         * sysdeps/i386/fpu/e_exp10.S: Likewise.
91329         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91330         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91331         * sysdeps/i386/fpu/e_exp2.S: Likewise.
91332         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91333         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91334         * sysdeps/i386/fpu/e_fmod.S: Likewise.
91335         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91336         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91337         * sysdeps/i386/fpu/e_hypot.S: Likewise.
91338         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91339         * sysdeps/i386/fpu/e_log.S: Likewise.
91340         * sysdeps/i386/fpu/e_log10.S: Likewise.
91341         * sysdeps/i386/fpu/e_log10f.S: Likewise.
91342         * sysdeps/i386/fpu/e_log10l.S: Likewise.
91343         * sysdeps/i386/fpu/e_log2.S: Likewise.
91344         * sysdeps/i386/fpu/e_log2f.S: Likewise.
91345         * sysdeps/i386/fpu/e_log2l.S: Likewise.
91346         * sysdeps/i386/fpu/e_logf.S: Likewise.
91347         * sysdeps/i386/fpu/e_logl.S: Likewise.
91348         * sysdeps/i386/fpu/e_pow.S: Likewise.
91349         * sysdeps/i386/fpu/e_powf.S: Likewise.
91350         * sysdeps/i386/fpu/e_powl.S: Likewise.
91351         * sysdeps/i386/fpu/e_remainder.S: Likewise.
91352         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91353         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91354         * sysdeps/i386/fpu/e_scalb.S: Likewise.
91355         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91356         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91357         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91358         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91359         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91360         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91361         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91362         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91363         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91364         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91365         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91366         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91367         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91368         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91369         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91370         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91371         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91372         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91373         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91374         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91375         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91376         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91377         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91378         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91379         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91380         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91381         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91382         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91383         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91384         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91385         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91386         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91387         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91388         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91389         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91390         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91391         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91392         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91393         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91394         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91395         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91396         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91397         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91398         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91399         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91400         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91401         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91402         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91403         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91404         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91405         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91406         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91407         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91408         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91409         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91410         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91411         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91412         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91413         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91414         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91415         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91416         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91417         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91418         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91419         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91420         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91421         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91422         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91423         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91424         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91425         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91426         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91427         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91428         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91429         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91430         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91431         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91432         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91433         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91434         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91435         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91436         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91437         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91438         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91439         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91440         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91441         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91442         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91443         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91444         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91445         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91446         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91447         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91448         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91449         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91450         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91451         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91452         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91453         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91454         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91455         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91456         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91457         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91458         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91459         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91460         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91461         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91462         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91463         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91464         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91465         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91466         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91467         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91468         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91469         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91470         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
91471         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91472         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91473         (__isnanf): Likewise.
91474         (__isinf_ns): Likewise.
91475         (__isinf_nsf): Likewise.
91476         (__finite): Likewise.
91477         (__finitef): Likewise.
91478         (__ieee754_sqrt): Define as macro.
91479         (__ieee754_sqrtf): Define as macro.
91480         (__ieee754_sqrtl): Define as macro.
91481         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91482         inlined copy.
91483         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91484         __FINITE_MATH_ONLY__ consistent.
91485         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91487 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
91489         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91490         of rawmemchr.
91492         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91494 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
91496         * po/ja.po: Update from translation team.
91498 2011-10-08  Roland McGrath  <roland@hack.frob.com>
91500         * locale/programs/locarchive.c (prepare_address_space): New function.
91501         (create_archive, enlarge_archive, open_archive): Use it.
91503         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91504         inside [SHARED], where it is used.
91506         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91508         * nss/getent.c (netgroup_keys): Remove unused variable.
91509         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91511 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
91513         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91514         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91515         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91516         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91517         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91518         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91519         * math/Makefile (libm-calls): Add s_isinf_ns.
91520         * math/divtc3.c: Use __isinf_nsl instead of isinf.
91521         * math/multc3.c: Likewise.
91522         * math/s_casin.c: Likewise.
91523         * math/s_casinf.c: Likewise.
91524         * math/s_casinl.c: Likewise.
91525         * math/s_ccos.c: Likewise.
91526         * math/s_ccosf.c: Likewise.
91527         * math/s_ccosl.c: Likewise.
91528         * math/s_ctan.c: Likewise.
91529         * math/s_ctanf.c: Likewise.
91530         * math/s_ctanh.c: Likewise.
91531         * math/s_ctanhf.c: Likewise.
91532         * math/s_ctanhl.c: Likewise.
91533         * math/s_ctanl.c: Likewise.
91534         * math/w_fmod.c: Likewise.
91535         * math/w_fmodf.c: Likewise.
91536         * math/w_fmodl.c: Likewise.
91537         * math/w_remainder.c: Likewise.
91538         * math/w_remainderf.c: Likewise.
91539         * math/w_remainderl.c: Likewise.
91540         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91541         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91542         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91543         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91544         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91545         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91546         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91547         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91549         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91550         of the number.
91551         * stdio-common/printf_fphex.c: Likewise.
91552         * stdio-common/printf_size.c: Likewise.
91554         * math/e_exp10.c: Include math_private.h using <...> not "...".
91555         * math/e_exp10f.c: Likewise.
91556         * math/e_exp10l.c: Likewise.
91557         * math/e_exp2l.c: Likewise.
91558         * math/e_j0l.c: Likewise.
91559         * math/e_j1l.c: Likewise.
91560         * math/e_jnl.c: Likewise.
91561         * math/e_lgammal_r.c: Likewise.
91562         * math/e_rem_pio2l.c: Likewise.
91563         * math/e_scalb.c: Likewise.
91564         * math/e_scalbf.c: Likewise.
91565         * math/e_scalbl.c: Likewise.
91566         * math/k_cosl.c: Likewise.
91567         * math/k_sinl.c: Likewise.
91568         * math/k_tanl.c: Likewise.
91569         * math/s_cacoshf.c: Likewise.
91570         * math/s_catan.c: Likewise.
91571         * math/s_catanf.c: Likewise.
91572         * math/s_catanh.c: Likewise.
91573         * math/s_catanhf.c: Likewise.
91574         * math/s_catanhl.c: Likewise.
91575         * math/s_catanl.c: Likewise.
91576         * math/s_ccosh.c: Likewise.
91577         * math/s_ccoshf.c: Likewise.
91578         * math/s_ccoshl.c: Likewise.
91579         * math/s_cexp.c: Likewise.
91580         * math/s_cexpf.c: Likewise.
91581         * math/s_cexpl.c: Likewise.
91582         * math/s_clog.c: Likewise.
91583         * math/s_clog10.c: Likewise.
91584         * math/s_clog10f.c: Likewise.
91585         * math/s_clog10l.c: Likewise.
91586         * math/s_clogf.c: Likewise.
91587         * math/s_clogl.c: Likewise.
91588         * math/s_csin.c: Likewise.
91589         * math/s_csinf.c: Likewise.
91590         * math/s_csinh.c: Likewise.
91591         * math/s_csinhf.c: Likewise.
91592         * math/s_csinhl.c: Likewise.
91593         * math/s_csinl.c: Likewise.
91594         * math/s_csqrt.c: Likewise.
91595         * math/s_csqrtf.c: Likewise.
91596         * math/s_csqrtl.c: Likewise.
91597         * math/s_ctan.c: Likewise.
91598         * math/s_ctanf.c: Likewise.
91599         * math/s_ctanh.c: Likewise.
91600         * math/s_ctanhf.c: Likewise.
91601         * math/s_ctanhl.c: Likewise.
91602         * math/s_ctanl.c: Likewise.
91603         * math/s_ldexp.c: Likewise.
91604         * math/s_ldexpf.c: Likewise.
91605         * math/s_ldexpl.c: Likewise.
91606         * math/s_significand.c: Likewise.
91607         * math/s_significandf.c: Likewise.
91608         * math/s_significandl.c: Likewise.
91609         * math/w_acos.c: Likewise.
91610         * math/w_acosf.c: Likewise.
91611         * math/w_acosh.c: Likewise.
91612         * math/w_acoshf.c: Likewise.
91613         * math/w_acoshl.c: Likewise.
91614         * math/w_acosl.c: Likewise.
91615         * math/w_asin.c: Likewise.
91616         * math/w_asinf.c: Likewise.
91617         * math/w_asinl.c: Likewise.
91618         * math/w_atan2.c: Likewise.
91619         * math/w_atan2f.c: Likewise.
91620         * math/w_atan2l.c: Likewise.
91621         * math/w_atanh.c: Likewise.
91622         * math/w_atanhf.c: Likewise.
91623         * math/w_atanhl.c: Likewise.
91624         * math/w_cosh.c: Likewise.
91625         * math/w_coshf.c: Likewise.
91626         * math/w_coshl.c: Likewise.
91627         * math/w_dremf.c: Likewise.
91628         * math/w_exp10.c: Likewise.
91629         * math/w_exp10f.c: Likewise.
91630         * math/w_exp10l.c: Likewise.
91631         * math/w_exp2.c: Likewise.
91632         * math/w_exp2f.c: Likewise.
91633         * math/w_fmod.c: Likewise.
91634         * math/w_fmodf.c: Likewise.
91635         * math/w_fmodl.c: Likewise.
91636         * math/w_hypot.c: Likewise.
91637         * math/w_hypotf.c: Likewise.
91638         * math/w_hypotl.c: Likewise.
91639         * math/w_j0.c: Likewise.
91640         * math/w_j0f.c: Likewise.
91641         * math/w_j0l.c: Likewise.
91642         * math/w_j1.c: Likewise.
91643         * math/w_j1f.c: Likewise.
91644         * math/w_j1l.c: Likewise.
91645         * math/w_jn.c: Likewise.
91646         * math/w_jnf.c: Likewise.
91647         * math/w_jnl.c: Likewise.
91648         * math/w_lgamma.c: Likewise.
91649         * math/w_lgamma_r.c: Likewise.
91650         * math/w_lgammaf.c: Likewise.
91651         * math/w_lgammaf_r.c: Likewise.
91652         * math/w_lgammal.c: Likewise.
91653         * math/w_lgammal_r.c: Likewise.
91654         * math/w_log.c: Likewise.
91655         * math/w_log10.c: Likewise.
91656         * math/w_log10f.c: Likewise.
91657         * math/w_log10l.c: Likewise.
91658         * math/w_log2.c: Likewise.
91659         * math/w_log2f.c: Likewise.
91660         * math/w_log2l.c: Likewise.
91661         * math/w_logf.c: Likewise.
91662         * math/w_logl.c: Likewise.
91663         * math/w_pow.c: Likewise.
91664         * math/w_powf.c: Likewise.
91665         * math/w_powl.c: Likewise.
91666         * math/w_remainder.c: Likewise.
91667         * math/w_remainderf.c: Likewise.
91668         * math/w_remainderl.c: Likewise.
91669         * math/w_scalb.c: Likewise.
91670         * math/w_scalbf.c: Likewise.
91671         * math/w_scalbl.c: Likewise.
91672         * math/w_sinh.c: Likewise.
91673         * math/w_sinhf.c: Likewise.
91674         * math/w_sinhl.c: Likewise.
91675         * math/w_sqrt.c: Likewise.
91676         * math/w_sqrtf.c: Likewise.
91677         * math/w_sqrtl.c: Likewise.
91678         * math/w_tgamma.c: Likewise.
91679         * math/w_tgammaf.c: Likewise.
91680         * math/w_tgammal.c: Likewise.
91682         * po/ja.po: Update from translation team.
91684 2011-09-29  Andreas Jaeger  <aj@suse.de>
91686         [BZ #13179]
91687         * sunrpc/netname.c (netname2host): Fix logic.
91689         [BZ #6779]
91690         [BZ #6783]
91691         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91692         correctly.
91693         * math/w_remainder.c (__remainder): Likewise.
91694         * math/w_remainderf.c (__remainderf): Likewise.
91695         * math/libm-test.inc (remainder_test): Add test cases.
91697 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91699         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
91700         sdiv_qrnnd.
91702 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91704         * string/test-memcmp.c: Avoid unncessary #defines.
91705         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91707 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91709         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91710         Use new sse2 version for core i3 - i7 as it's faster
91711         than sse42 version.
91712         (bit_Prefer_PMINUB_for_stringop): New.
91713         * sysdeps/x86_64/rawmemchr.S: Update.
91714         Replace with faster SSE2 version.
91715         * sysdeps/x86_64/memrchr.S: New file.
91716         * sysdeps/x86_64/memchr.S: Update.
91717         Replace with faster SSE2 version.
91719 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
91721         * elf/dl-load.c (lose): Add cast to avoid warning.
91723 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91725         * po/ca.po: Update from translation team.
91727         * inet/getnetgrent_r.c: Hook up nscd.
91728         * nscd/Makefile (routines): Add nscd_netgroup.
91729         (nscd-modules): Add netgroupcache.
91730         (CFLAGS-netgroupcache.c): Define.
91731         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91732         (cache_search): Add const to second parameter.
91733         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91734         INNETGR.
91735         (dbs): Add netgrdb entry.
91736         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91737         (verify_persistent_db): Handle netgrdb.
91738         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91739         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91740         GETFDNETGR.
91741         (netgroup_response_header): Define.
91742         (innetgroup_response_header): Define.
91743         (datahead): Add netgroup_response_header and innetgroup_response_header
91744         elements.
91745         * nscd/nscd.conf: Add entries for netgroup cache.
91746         * nscd/nscd.h (dbtype): Add netgrdb.
91747         (_PATH_NSCD_NETGROUP_DB): Define.
91748         (netgroup_iov_disabled): Declare.
91749         (xmalloc, xcalloc, xrealloc): Move declarations here.
91750         (cache_search): Adjust prototype.
91751         Add netgroup-related prototypes.
91752         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91753         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91754         (__nscd_innetgr): Declare.
91755         * nscd/selinux.c (perms): Use access_vector_t as element type and
91756         add netgroup-related initializers.
91757         * nscd/netgroupcache.c: New file.
91758         * nscd/nscd_netgroup.c: New file.
91759         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91760         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91761         For four parameters use innetgr.
91762         * nss/nss_files/files-init.c: Add definition and callback for netgr.
91763         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91764         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91765         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91767         * nscd/connections.c (register_traced_file): Don't register file
91768         for disabled databases.
91770 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
91772         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91774         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91775         from tree and freeing node.
91777 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
91779         * nss/nsswitch.c (__nss_database_lookup): Handle
91780         nss_parse_service_list out of memory case.
91782 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
91784         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91785         out of memory case.
91787 2011-10-04  Andreas Schwab  <schwab@redhat.com>
91789         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91790         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91791         pass it down.
91792         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91793         elf_machine_rela, elf_machine_lazy_rel.
91794         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91795         (ELF_DYNAMIC_DO_REL): Likewise.
91796         (ELF_DYNAMIC_DO_RELA): Likewise.
91797         (ELF_DYNAMIC_RELOCATE): Likewise.
91798         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91799         to ELF_DYNAMIC_DO_REL.
91800         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91801         (dl_main): In trace mode always set __RTLD_NOIFUNC.
91802         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91803         elf_machine_rela.
91804         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91805         skip_ifunc, don't call ifunc function if non-zero.
91806         (elf_machine_rela): Likewise.
91807         (elf_machine_lazy_rel): Likewise.
91808         (elf_machine_lazy_rela): Likewise.
91809         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91810         (elf_machine_lazy_rel): Likewise.
91811         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91812         Likewise.
91813         (elf_machine_lazy_rel): Likewise.
91814         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91815         Likewise.
91816         (elf_machine_lazy_rel): Likewise.
91817         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91818         (elf_machine_lazy_rel): Likewise.
91819         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91820         (elf_machine_lazy_rel): Likewise.
91821         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91822         (elf_machine_lazy_rel): Likewise.
91823         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91824         (elf_machine_lazy_rel): Likewise.
91825         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91826         (elf_machine_lazy_rel): Likewise.
91827         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91828         (elf_machine_lazy_rel): Likewise.
91830 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
91832         * nss/nss_files/files-init.c (_nss_files_init): Use static
91833         initialization for all the *_traced_file variables.
91835 2011-09-28  Andreas Schwab  <schwab@redhat.com>
91837         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91839 2011-09-27  Roland McGrath  <roland@hack.frob.com>
91841         [BZ #13226]
91842         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91844 2011-09-27  Andreas Schwab  <schwab@redhat.com>
91846         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91847         Reread the line before reparsing it.
91849 2011-09-26  Andreas Schwab  <schwab@redhat.com>
91851         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91853 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
91854             Maxim Kuvyrkov  <maxim@codesourcery.com>
91855             Joseph Myers  <joseph@codesourcery.com>
91857         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91858         if needed for __stack_chk_guard.
91860 2011-09-19  Roland McGrath  <roland@hack.frob.com>
91862         * sysdeps/posix/spawni.c (script_execute): Always define it.
91863         It will be optimized away if unused.
91864         (maybe_script_execute): New function.
91865         (__spawni): Call it.
91867         * Makerules: Don't include tls.make.
91868         (config-tls): Always set to thread.
91869         * tls.make.c: File removed.
91871 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
91873         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91874         * config.make.in (CPPFLAGS-config): New substituted variable.
91876 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91878         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91880         [BZ #13192]
91881         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91882         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91884 2011-09-15  Roland McGrath  <roland@hack.frob.com>
91886         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91887         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91888         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91889         (CALL_FAIL): Likewise.
91890         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91891         (CALL_FAIL): Macro removed.
91892         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91894 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91896         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91897         for __FINITE_MATH_ONLY__ == 1.
91899 2011-09-15  Andreas Schwab  <schwab@redhat.com>
91901         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91902         __ieee754_sqrt instead of sqrt.
91903         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91904         __ieee754_sqrtf instead of sqrtf.
91905         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91906         __floorf instead of floorf.
91907         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91908         __floorf, __truncf instead of floorf, truncf.
91910 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
91912         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91914         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91915         __extern_always_inline.
91916         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91917         32-bit.
91919 2011-09-14  Andreas Schwab  <schwab@redhat.com>
91921         * elf/rtld.c (dl_main): Also relocate in dependency order when
91922         doing symbol dependency testing.
91924 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
91926         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91927         Always define `refsym'.
91929 2011-09-13  Andreas Schwab  <schwab@redhat.com>
91931         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91932         (__FD_ELT): Renamed from __FDELT.
91933         * misc/bits/select2.h (__FD_ELT): Likewise.
91934         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91935         __FD_MASK instead of __FDELT, __FDMASK.
91936         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91937         Likewise.
91938         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91939         Likewise.
91941         * elf/Makefile (gen-ldd): Fix pattern.
91943         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91944         (init_tls): Likewise.
91946 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
91948         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91950 2011-09-12  Andreas Schwab  <schwab@redhat.com>
91952         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91953         `struct cmsghdr *' instead of `void *'.
91954         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91955         Likewise.
91957 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
91959         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
91960         if non-absolute.
91961         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
91962         ldd_rewrite_script.
91964 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
91966         * configure.in: Remove --with-tls option.
91967         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
91968         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
91969         out in case it is missing.
91970         * sysdeps/ia64/elf/configure.in: Likewise.
91971         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
91972         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
91973         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
91974         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
91975         * sysdeps/sh/elf/configure.in: Likewise.
91976         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
91977         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
91978         * sysdeps/x86_64/elf/configure.in: Likewise.
91979         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
91980         * sysdeps/mach/hurd/tls.h: Likewise.
91982         [BZ #13067]
91983         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
91985         [BZ #13090]
91986         * configure.in: Fix use of AC_INIT.
91988         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
91990 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
91992         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
91993         __set_errno.
91994         * malloc/hooks.c: Likewise.
91996         [BZ #11929]
91997         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
91998         variables statically.
91999         (narenas): Initialize.
92000         (list_lock): Initialize.
92001         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
92002         initializtion of main_arena and list_lock.  Small cleanups.
92003         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
92004         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
92005         Add initializers to main_arena and mp_.
92006         (malloc_state): Remove pagesize member.  Change all users to use
92007         GLRO(dl_pagesize).
92009         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
92010         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
92011         is always initialized.
92013         * malloc/malloc.c: Removed unused configurations and dead code.
92014         * malloc/arena.c: Likewise.
92015         * malloc/hooks.c: Likewise.
92016         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
92018         * include/tls.h: Removed.  USE___THREAD must always be defined.
92019         * bits/libc-tsd.h: Don't handle !USE___THREAD.
92020         * elf/dl-libc.c: Likewise.
92021         * elf/dl-tsd.c: Likewise.
92022         * include/errno.h: Likewise.
92023         * include/netdb.h: Likewise.
92024         * include/resolv.h: Likewise.
92025         * inet/herrno-loc.c: Likewise.
92026         * inet/herrno.c: Likewise.
92027         * malloc/arena.c: Likewise.
92028         * malloc/hooks.c: Likewise.
92029         * malloc/malloc.c: Likewise.
92030         * resolv/res-state.c: Likewise.
92031         * resolv/res_libc.c: Likewise.
92032         * sysdeps/i386/dl-machine.h: Likewise.
92033         * sysdeps/ia64/dl-machine.h: Likewise.
92034         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
92035         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
92036         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
92037         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
92038         * sysdeps/sh/dl-machine.h: Likewise.
92039         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
92040         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
92041         * sysdeps/unix/i386/sysdep.S: Likewise.
92042         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
92043         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
92044         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
92045         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
92046         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
92047         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
92048         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
92049         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
92050         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
92051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
92052         * sysdeps/unix/x86_64/sysdep.S: Likewise.
92053         * sysdeps/x86_64/dl-machine.h: Likewise.
92054         * tls.make.c: Likewise.
92056         * configure.in: Remove --with-__thread option.  Make tests for
92057         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
92058         tls_model attribute fail if no support is available.  Remove
92059         USE_IN_LIBIO.
92060         * Makeconfig: Adjust for dropped configure option.  All features are
92061         now mandatory.
92062         * Makerules: Likewise.
92063         * Versions.def: Likewise.
92064         * argp/argp-fmtstream.c: Likewise.
92065         * argp/argp-fmtstream.h: Likewise.
92066         * argp/argp-help.c: Likewise.
92067         * assert/assert.c: Likewise.
92068         * config.h.in: Likewise.
92069         * config.make.in: Likewise.
92070         * configure: Likewise.
92071         * configure.in: Likewise.
92072         * csu/Versions: Likewise.
92073         * csu/init.c: Likewise.
92074         * elf/tst-audit2.c: Likewise.
92075         * elf/tst-tls10.c: Likewise.
92076         * elf/tst-tls10.h: Likewise.
92077         * elf/tst-tls11.c: Likewise.
92078         * elf/tst-tls12.c: Likewise.
92079         * elf/tst-tls14.c: Likewise.
92080         * elf/tst-tlsmod11.c: Likewise.
92081         * elf/tst-tlsmod12.c: Likewise.
92082         * elf/tst-tlsmod13.c: Likewise.
92083         * elf/tst-tlsmod13a.c: Likewise.
92084         * elf/tst-tlsmod14a.c: Likewise.
92085         * elf/tst-tlsmod15b.c: Likewise.
92086         * elf/tst-tlsmod16a.c: Likewise.
92087         * elf/tst-tlsmod16b.c: Likewise.
92088         * elf/tst-tlsmod7.c: Likewise.
92089         * elf/tst-tlsmod8.c: Likewise.
92090         * elf/tst-tlsmod9.c: Likewise.
92091         * gmon/gmon.c: Likewise.
92092         * grp/fgetgrent_r.c: Likewise.
92093         * grp/putgrent.c: Likewise.
92094         * hurd/fopenport.c: Likewise.
92095         * include/libc-symbols.h: Likewise.
92096         * include/tls.h: Likewise.
92097         * intl/gettextP.h: Likewise.
92098         * intl/loadinfo.h: Likewise.
92099         * locale/global-locale.c: Likewise.
92100         * locale/localeinfo.h: Likewise.
92101         * mach/devstream.c: Likewise.
92102         * malloc/arena.c: Likewise.
92103         * malloc/set-freeres.c: Likewise.
92104         * misc/err.c: Likewise.
92105         * misc/getttyent.c: Likewise.
92106         * misc/mntent_r.c: Likewise.
92107         * posix/getopt.c: Likewise.
92108         * posix/wordexp.c: Likewise.
92109         * pwd/fgetpwent_r.c: Likewise.
92110         * resolv/Versions: Likewise.
92111         * resolv/res_hconf.c: Likewise.
92112         * shadow/fgetspent_r.c: Likewise.
92113         * shadow/putspent.c: Likewise.
92114         * stdio-common/printf_fphex.c: Likewise.
92115         * stdio-common/tmpfile.c: Likewise.
92116         * stdlib/abort.c: Likewise.
92117         * stdlib/fmtmsg.c: Likewise.
92118         * sunrpc/auth_unix.c: Likewise.
92119         * sunrpc/clnt_perr.c: Likewise.
92120         * sunrpc/clnt_tcp.c: Likewise.
92121         * sunrpc/clnt_udp.c: Likewise.
92122         * sunrpc/clnt_unix.c: Likewise.
92123         * sunrpc/openchild.c: Likewise.
92124         * sunrpc/svc_simple.c: Likewise.
92125         * sunrpc/svc_tcp.c: Likewise.
92126         * sunrpc/svc_udp.c: Likewise.
92127         * sunrpc/svc_unix.c: Likewise.
92128         * sunrpc/xdr.c: Likewise.
92129         * sunrpc/xdr_array.c: Likewise.
92130         * sunrpc/xdr_rec.c: Likewise.
92131         * sunrpc/xdr_ref.c: Likewise.
92132         * sunrpc/xdr_stdio.c: Likewise.
92134 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92136         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92138 2011-07-03  Andreas Jaeger  <aj@suse.de>
92140         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92141         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92142         regenerate with gen-libm-tests.pl.
92144 2010-05-12  Petr Baudis  <pasky@suse.cz>
92146         [BZ #11589]
92147         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92148         around j0() zero points by switching to j1().
92149         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92150         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92151         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92152         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92154 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92156         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92157         instead of 0.
92158         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92159         instead of 0.
92160         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92161         Patch in part by Pavel Roskin <proski@gnu.org>.
92163         [BZ #13138]
92164         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92165         realloc.
92166         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
92167         Free memory block if necessary.
92169         [BZ #12847]
92170         * libio/genops.c (INTDEF): For string streams the _lock pointer can
92171         be NULL.  Don't lock in this case.
92173 2011-09-09  Roland McGrath  <roland@hack.frob.com>
92175         * elf/elf.h (ELFOSABI_GNU): New macro.
92176         (ELFOSABI_LINUX): Define to that.
92178 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
92180         * string/strncat.c (strncat): Undef the symbol in case it has been
92181         defined in bits/string.h.
92183 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92185         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92187         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92188         link map.
92190 2011-08-17  Andreas Jaeger  <aj@suse.de>
92192         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92194 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
92195             Ian Lance Taylor  <iant@google.com>
92197         * math/libm-test.inc (lround_test): New testcase.
92198         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92200 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
92202         * Makefile: Remove support for automatic cvs check-ins.
92203         * Makerules: Likewise.
92204         * config.make.in: Likewise.
92205         * configure.in: Likewise.
92206         * intl/Makefile: Likewise.
92207         * locale/Makefile: Likewise.
92208         * po/Makefile: Likewise.
92209         * posix/Makefile: Likewise.
92210         * sysdeps/gnu/Makefile: Likewise.
92211         * sysdeps/mach/hurd/Makefile: Likewise.
92212         * sysdeps/sparc/sparc32/Makefile: Likewise.
92214         [BZ #13118]
92215         * posix/Makefile (bug-regex32-ENV): Define.
92216         Patch by John Stanley <jpsinthemix@verizon.net>.
92218         * misc/Makefile (headers): Add bits/select2.h.
92219         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92220         * misc/bits/select2.h: New file.
92221         * include/bits/select2.h: New file.
92222         * debug/Makefile (routines): Add fdelt_chk.
92223         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92224         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92225         FD_ISSET.
92226         * debug/fdelt_chk.c: New file.
92228         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
92229         * wcsmbs/test-wmemcmp.c: Likewise.
92230         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92231         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92233 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92235         * string/Makefile (strop-tests): Add memcmp.
92236         * string/test-wmemcmp.c: New file.
92237         * string/test-memcmp.c: Add wmemcmp support.
92239 2011-09-08  Roland McGrath  <roland@hack.frob.com>
92241         [BZ #13153]
92242         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92243         2011-07-19 change.
92245         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92246         garbage value in a __mach_port_mod_refs call in the cases of the
92247         task-self and thread-self ports.
92249 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92251         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92253 2011-09-08  Andreas Schwab  <schwab@redhat.com>
92255         * elf/dl-load.c (lose): Check for non-null L.
92257 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92259         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92261         * elf/dl-libc.c (dlerror_run): Pass back error code from
92262         dl_catch_error.
92264         [BZ #13123]
92265         * elf/dl-load.c (lose): Free l_origin if it is valid.
92267         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92268         names.
92269         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92270         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92271         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92272         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92273         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92274         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92276 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
92278         * sysdeps/powerpc/fpu/e_hypot.c: New file.
92279         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92280         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92281         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92282         * sysdeps/powerpc/fpu/k_cosf.c: New file.
92283         * sysdeps/powerpc/fpu/k_sinf.c: New file.
92284         * sysdeps/powerpc/fpu/s_cosf.c: New file.
92285         * sysdeps/powerpc/fpu/s_sinf.c: New file.
92286         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92287         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92289 2011-08-15  Alan Modra  <amodra@gmail.com>
92291         [BZ #13092]
92292         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92293         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92294         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
92295         ppc_mcount to static-only-routines.
92296         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92297         __mcount_internal.
92298         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92299         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
92301 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
92303         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92304         for finite and infinity parameters.
92306 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
92308         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92309         and add nop instructions for throughput optimization.
92310         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92312 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
92314         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92315         aligned copy for power7 with vector-scalar instructions.
92316         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92318 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
92320         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92321         AVX check.
92323 2011-09-07  Andreas Schwab  <schwab@redhat.com>
92325         [BZ #13144]
92326         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92327         last change.
92329 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92331         * sysdeps/unix/sysv/linux/x86_64/init-first.c
92332         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92333         syscall wrapper around clock_gettime in __vdso_clock_gettime.
92334         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92335         clock_gettime.
92337 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92339         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92340         Forgot to demangle the pointer.
92342         * sysdeps/i386/sysdep.h: Define atom_text_section.
92343         * sysdeps/x86_64/sysdep.h: Likewise.
92344         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92345         section with atom_text_section.
92346         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92347         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92348         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92349         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92350         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92352         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92353         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92354         already be defined.  Change to take two parameters and don't assign
92355         result to variable.  Adjust all users.
92356         Define INTERNAL_GETTIME if not already defined.
92357         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92358         call.
92359         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92360         HAVE_CLOCK_GETTIME_VSYSCALL.
92361         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92363         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92364         gettimeofday vsyscall, just use time.
92366 2011-09-06  Andreas Schwab  <schwab@redhat.com>
92368         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92369         <errno.h>.
92371 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92373         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92374         syscall on x86-64.
92375         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92376         syscall.
92377         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92378         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92379         syscall if possible.
92381 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92383         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92384         e_ident.  Don't pass to find_mapsXX.
92385         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92387 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92389         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92390         strchr-sse2-no-bsf strrchr-sse2-no-bsf
92391         * sysdeps/x86_64/multiarch/strchr.S: Update.
92392         Check bit_slow_BSF bit.
92393         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92394         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92395         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92397 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92399         [BZ #13134]
92400         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92401         before glibc 2.15.
92402         (tryshell): Define.
92403         (__spawni): Change last parameter to be flag.  Test
92404         SPAWN_XFLAGS_USE_PATH flag to use path or not.
92405         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92406         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92407         * posix/spawni.c: Likewise.
92408         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92409         * posix/spawnp.c: Likewise.  Change normal version to use
92410         SPAWN_XFLAGS_USE_PATH.
92411         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92412         SPAWN_XFLAGS_TRY_SHELL.
92414         [BZ #13150]
92415         * posix/glob.h: Remove gcc 1.x support.
92417         [BZ #13068]
92418         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92420 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92422         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92423         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92424         strrchr-sse2-bsf
92425         * sysdeps/i386/i686/multiarch/strchr.S: New file.
92426         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92427         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92428         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92429         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92430         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92432 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92434         * sysdeps/x86_64/wcscmp.S: New file.
92436         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92437         wcscmp-c wcscmp-sse2
92438         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92439         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92440         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92441         * wcsmbs/wcscmp.c: Allow renaming.
92443 2011-09-05  David S. Miller  <davem@davemloft.net>
92445         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92446         stack slot, rather than the struct return pointer slot.
92447         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92448         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92450         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92452 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92454         * po/ja.po: Update from translation team.
92456         [BZ #13144]
92457         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92458         kernel in 64-bit binaries.
92460 2011-09-01  David S. Miller  <davem@davemloft.net>
92462         * elf/elf.h (HWCAP_SPARC_*): Move to..
92463         * sysdeps/sparc/sysdep.h: this new file and add new values.
92464         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92465         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92466         _DL_HWCAP_COUNT to 24.
92467         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92468         entries.
92469         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92470         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92471         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92472         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92473         instead of magic constants.
92474         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92476 2011-08-31  David S. Miller  <davem@davemloft.net>
92478         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92479         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92480         Reimplement to do errno handling inline.
92481         (SYSCALL_ERROR_HANDLER): New macro.
92482         (__SYSCALL_STRING): Do not do errno handling in asm.
92483         (__CLONE_SYSCALL_STRING): Delete.
92484         (__INTERNAL_SYSCALL_STRING): Delete.
92485         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92486         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92487         (PSEUDO): Reimplement to do errno handling inline.
92488         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92489         (SYSCALL_ERROR_HANDLER): New macro.
92490         (__SYSCALL_STRING): Do not do errno handling in asm.
92491         (__CLONE_SYSCALL_STRING): Delete.
92492         (__INTERNAL_SYSCALL_STRING): Delete.
92493         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92494         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92495         i386.
92496         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92497         (inline_syscall*): Add 'err' argument.
92498         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92499         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92500         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92501         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92503         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92504         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92506 2011-08-30  Andreas Schwab  <schwab@redhat.com>
92508         * elf/rtld.c (dl_main): Relocate objects in dependency order.
92510 2011-08-29  Jiri Olsa <jolsa@redhat.com>
92512         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92513         directive.
92515 2011-08-24  David S. Miller  <davem@davemloft.net>
92517         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92519 2011-08-24  Andreas Schwab  <schwab@redhat.com>
92521         * elf/Makefile: Add rules to build and run unload8 test.
92522         * elf/unload8.c: New file.
92523         * elf/unload8mod1.c: New file.
92524         * elf/unload8mod1x.c: New file.
92525         * elf/unload8mod2.c: New file.
92526         * elf/unload8mod3.c: New file.
92528         * elf/dl-close.c (_dl_close_worker): Reset private search list if
92529         it wasn't used.
92531 2011-08-23  David S. Miller  <davem@davemloft.net>
92533         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92534         subtract stack bias.
92535         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92536         %sp not %fp in calculations.
92537         (_JMPBUF_UNWINDS_ADJ): Likewise.
92539         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92540         (aio_suspend): Call it to force an exception region around the
92541         AIO_MISC_WAIT() invocation.
92543 2011-08-23  Andreas Schwab  <schwab@redhat.com>
92545         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92546         backslash.
92548 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
92550         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92551         protection macro.
92552         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92553         and <dl-machine.h>.
92554         (Elf64_FuncDesc): Remove.
92556 2011-08-22  David S. Miller  <davem@davemloft.net>
92558         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92559         sigaltstack check, add missing cfi directives.
92560         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92561         missing cfi directives, and sigaltstack handling.
92563 2011-08-16  Andreas Schwab  <schwab@redhat.com>
92565         [BZ #11724]
92566         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92567         object is seen twice.
92568         * elf/dl-fini.c (_dl_sort_fini): Likewise.
92570         * elf/Makefile (distribute): Add tst-initorder2.c.
92571         (tests): Add tst-initorder2.
92572         (modules-names): Add tst-initorder2a tst-initorder2b
92573         tst-initorder2c tst-initorder2d.  Add rules to build them.
92574         ($(objpfx)tst-initorder2.out): New rule.
92575         * elf/tst-initorder2.c: New file.
92576         * elf/tst-initorder2.exp: New file.
92578 2011-08-22  Andreas Schwab  <schwab@redhat.com>
92580         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92582         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92583         dependencies back to end of function.
92585         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92586         $(elfobjdir)/ld.so.
92588 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
92590         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92591         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92592         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92593         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92594         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92595         of __vdso_gettimeofday.
92596         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92597         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
92598         attribute_hidden.
92599         (_libc_vdso_platform_setup): Remove initialization of
92600         __vdso_gettimeofday and __vdso_time.
92602 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92604         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92605         and fgetc_unlocked.
92606         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92607         getc_unlocked.
92609         * elf/dl-open.c (add_to_global): Report additions to the global scope
92610         for LD_DEBUG=scopes.
92611         (dl_open_worker): Also print scope of newly loaded dependencies.
92612         (_dl_show_scope): Indicate if there is no scope.
92614         [BZ #13114]
92615         * stdio-common/Makefile (tests): Add bug24.
92616         * stdio-common/bug24.c: New file.
92618 2011-08-19  Andreas Jaeger  <aj@suse.de>
92620         [BZ #13114]
92621         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92622         non-existant file when using close-on-exec mode.
92624 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92626         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92627         the very first instruction.
92629         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92630         the CFI state in the end.
92631         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92632         inclusion of dl-trampoline.h.
92633         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92635 2011-08-19  Andreas Schwab  <schwab@redhat.com>
92637         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92638         expectations for long double.
92640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92641         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92643 2011-08-14  David S. Miller  <davem@davemloft.net>
92645         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92646         artificual limit depends upon the system page size.
92648 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92650         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92651         * resolv/Makefile: Define CFLAGS-libresolv.
92653 2011-08-17  Andreas Schwab  <schwab@redhat.com>
92655         * nss/makedb.c (compute_tables): Make variables used in nested
92656         function static.
92658 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92660         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92661         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92662         if buffer was too small.
92664         * elf/pldd.c (main): Attach to all threads in the process.
92665         Rewrite /proc handling to use *at functions.
92667 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
92669         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92670         specifies first scope to show.
92671         (dl_open_worker): Update callers.  Move printing scope of new
92672         object to before the relocation.
92673         * elf/rtld.c (dl_main): Update _dl_show_scope call.
92674         * sysdeps/generic/ldsodefs.h: Update declaration.
92676         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92677         string for the scope number.
92679 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
92681         * nscd/servicescache.c (cache_addserv): Make sure written is always
92682         initialized.
92684 2011-08-14  Roland McGrath  <roland@hack.frob.com>
92686         * sysdeps/i386/i486/bits/atomic.h
92687         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92688         statement expression, so as to suppress "set but not used" warning.
92689         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92691         * string/strncat.c (STRNCAT): Use prototype definition.
92693         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92694         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92695         -Iprograms here.
92696         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92697         (localedef-modules): Add localedef.
92698         (locale-modules): Add locale.
92700         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92701         * elf/rtld.c (dl_main): Invert order of assignment in last change,
92702         to avoid a warning.
92704 2011-08-14  David S. Miller  <davem@davemloft.net>
92706         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92707         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92709 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
92711         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92712         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92713         * elf/rtld.c (dl_main): Set l_name of vDSO.
92714         Call _dl_show_scope when DL_DEBUG_SCOPES.
92715         (process_dl_debug): Recognize scopes flag and also set it for all.
92716         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92717         Declare _dl_show_scope.
92719         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92720         (do_dlopen): Pass caller_dlopen to dl_open.
92721         (__libc_dlopen_mode): Initialize caller_dlopen.
92723         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92724         of libc.  Make tolower call locale-independent.  Optimize a bit by
92725         using isdigit instead of isalnum.
92726         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92728 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
92730         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92731         was a dependency or dynamically loaded.
92733 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
92735         * intl/l10nflist.c: Allow architecture-specific pop function.
92736         * sysdeps/x86_64/l10nflist.c: New file.
92738         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92739         classification.
92741 2011-08-10  Andreas Schwab  <schwab@redhat.com>
92743         * include/dirent.h: Add libc_hidden_proto for scandirat and
92744         scandirat64.  Don't declare __scandirat64.
92745         * dirent/scandirat.c: Add libc_hidden_def.
92746         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92747         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92749 2011-08-10  David S. Miller  <davem@davemloft.net>
92751         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92752         enum.
92753         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92754         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92755         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92757 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
92759         * Versions.def [libc]: Add GLIBC_2.15.
92760         * dirent/Makefile (routines): Add scandirat and scandirat64.
92761         * dirent/Versions [libc]: Export scandirat and scandirat64 for
92762         GLIBC_2.15.
92763         * dirent/dirent.h: Declare scandirat and scandirat64.
92764         * dirent/scandirat.c: New file.
92765         * dirent/scandirat64.c: New file.
92766         * sysdeps/wordsize-64/scandirat.c: New file.
92767         * sysdeps/wordsize-64/scandirat64.c: New file.
92768         * dirent/opendir.c: Define opendirat.
92769         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
92770         using scandirat.
92771         * dirent/scandir64.c: Adjust for scandir.c change.
92772         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
92773         __scandirat64, and __scandir_cancel_handler.
92774         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
92775         additional parameter and use openat instead of open (outside of ld.so).
92776         Add new __opendir as wrapper around __opendirat.
92777         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92778         here without requiring old scandirat implementation.
92780 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
92782         * dirent/scandir.c (cancel_handler): Renamed to
92783         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
92784         defined.  Adjust users.
92785         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92786         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92788 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
92790         * string/test-string.h (IMPL): Use __STRING to expand name and then
92791         stringify it.
92793         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
92794         of cleanups.
92796 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92798         * string/Makefile: Update.
92799         (strop-tests): Append strncat.
92800         * string/test-wcscmp.c: New file.
92801         New comprehensive test for wcscmp.
92802         * string/test-strcmp.c: Update.
92803         (WIDE): New define.
92805 2011-07-22  Andreas Schwab  <schwab@redhat.com>
92807         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92808         line.
92810 2011-07-26  Andreas Schwab  <schwab@redhat.com>
92812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92813         encoding to ACE if AI_IDN.
92815 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
92817         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92818         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92820 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92822         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92823         Fix overflow bug in strncat.
92824         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92826         * string/test-strncat.c: Update.
92827         Add new tests for checking overflow bugs.
92829 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92831         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92832         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92833         * sysdeps/i386/i686/multiarch/strcat.S: New file.
92834         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92835         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92836         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92837         * sysdeps/i386/i686/multiarch/strncat.S: New file.
92838         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92839         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92841         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92842         (USE_AS_STRCAT): Define.
92843         Add strcat and strncat support.
92844         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92846 2011-07-25  Andreas Schwab  <schwab@redhat.com>
92848         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92849         __n bigger than INT_MAX+1.
92850         (__strncmp_g): Likewise.
92852 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
92854         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92855         * libio/stido.h: Likewise.
92857         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92858         (AF_NFC): Define.
92859         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92860         (AF_NFC): Define.
92862         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92863         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92864         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92865         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92866         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92868         [BZ #13021]
92869         * scripts/test-installation.pl: Don't expect libnss_test1 to be
92870         installed.
92872         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92873         typo.
92874         (_dl_x86_64_save_sse): Likewise.
92876 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
92878         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92879         OSXSAVE.
92880         (_dl_x86_64_save_sse): Likewise.
92882         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92884         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92886 2011-07-21  Andreas Schwab  <schwab@redhat.com>
92888         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92889         change.
92890         (_dl_x86_64_save_sse): Use correct AVX check.
92892 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92894         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92895         bug in strncpy/strncat.
92896         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92898 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
92900         * string/tester.c (test_strcat): Add tests for different alignments
92901         of source and destination.
92902         (test_strncat): Likewise.
92904 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92906         [BZ #12852]
92907         * posix/glob.c (glob): Check passed in values before using them in
92908         expressions to avoid some overflows.
92909         (glob_in_dir): Likewise.
92911         [BZ #13007]
92912         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92913         check for AVX enablement so that we don't crash with old kernels and
92914         new hardware.
92915         * elf/tst-audit4.c: Add same checks here.
92916         * elf/tst-audit6.c: Likewise.
92918         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92920 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
92922         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92924 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92926         * po/cs.po: Update from translation team.
92927         * po/bg.po: Likewise.
92929 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
92931         * misc/sys/cdefs.h: Add support for const attribute.
92932         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92933         to gnu_dev_{major,minor,makedev} functions.
92935 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
92937         * intl/dcigettext.c (get_output_charset): Add missing bracket.
92939 2011-07-20  Andreas Schwab  <schwab@redhat.com>
92941         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92942         strlen results.
92944 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92946         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92947         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92948         register in order to avoid conflicts with the soft frame pointer
92949         being held in r11 when necessary.
92950         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92951         (INTERNAL_VSYSCALL_NCS): Likewise.
92953 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
92955         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92956         * elf/dl-fini.c (_dl_fini): Adjust caller.
92957         * elf/dl-close.c (_dl_close_worker): Likewise.
92958         * sysdeps/generic/ldsodefs.h: Adjust declaration.
92960 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
92962         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
92963         "aux_cache->nlibs < 0".
92965         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
92966         in the reload-count case.
92968 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92971         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
92972         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
92973         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
92974         * sysdeps/x86_64/multiarch/strcat.S: New file.
92975         * sysdeps/x86_64/multiarch/strncat.S: New file.
92976         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
92977         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
92978         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
92979         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
92980         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
92981         (USE_AS_STRCAT): Define.
92982         Add strcat and strncat support.
92983         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92984         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
92985         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
92986         * string/strncat.c: Update.
92987         (USE_AS_STRNCAT): Define.
92988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92989         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
92990         and i7.
92991         * sysdeps/x86_64/multiarch/init-arch.h
92992         (bit_Prefer_PMINUB_for_stringop): New.
92993         (index_Prefer_PMINUB_for_stringop): Likewise.
92994         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
92995         bit_Prefer_PMINUB_for_stringop.
92997 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
92999         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
93000         buffer64.
93001         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
93002         of casting of buffer.
93003         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
93004         buffer32 and buffer64.
93005         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
93006         writes instead of casting of buffer.
93007         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
93008         buffer32.
93009         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
93010         casting of buffer.
93012 2011-07-19  Andreas Schwab  <schwab@redhat.com>
93014         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
93016 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
93018         * nscd/nscd.c (termination_handler): Don't do anything for a database
93019         if it has not yet been initialized.
93021 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
93023         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93025 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
93027         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93029 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
93031         * po/nl.po: Update from translation team.
93032         * po/sv.po: Likewise.
93034 2011-07-16  Roland McGrath  <roland@hack.frob.com>
93036         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
93037         now disallowed by GCC.
93039         * configure.in (use-default-link): Default to yes if a test -shared
93040         link meets our qualifications.
93041         * configure: Regenerated.
93043         * config.make.in (output-format): New variable.
93044         * configure.in: Check for ld --print-output-format support.
93045         * configure: Regenerated.
93046         * Makerules ($(common-objpfx)format.lds)
93047         [$(output-format) != unknown]: Just use $(output-format),
93048         instead of the linker-script munging.
93050 2011-07-14  Roland McGrath  <roland@hack.frob.com>
93052         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
93053         of $(common-objpfx)shlib.lds.
93054         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
93056         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
93057         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
93059         * configure.in (-z relro check): Adjust test code to add a large
93060         writable data section after it.
93061         * configure: Regenerated.
93063 2011-07-11  Roland McGrath  <roland@hack.frob.com>
93065         * configure.in (-z relro check): Fix test code to make the variable
93066         truly const.
93067         * configure: Regenerated.
93069 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
93071         * nscd/nscd.h (struct traced_file): Define.
93072         (struct database_dyn): Remove inotify_descr, reset_res, and filename
93073         elements.  Add traced_files.
93074         (inotify_fd): Declare.
93075         (register_traced_file): Declare.
93076         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
93077         (inotify_fd): Export.
93078         (resolv_conf_descr): Remove.
93079         (nscd_init): Move inotify descriptor creation to main.
93080         Don't register files for notification here.
93081         (register_traced_file): New function.
93082         (invalidate_cache): Don't use reset_res to determine whether to call
93083         res_init, go through the list of registered files.
93084         (main_loop_poll): The inotify descriptors are now stored in the
93085         structures for the traced files.
93086         (main_loop_epoll): Likewise.
93087         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
93088         to __nss_disable_nscd.
93089         * nscd/cache.c (prune_cache): There is no single inotify descriptor
93090         for a database anymore.  Check the records for all the registered
93091         files instead.
93092         * nss/Makefile (libnss_files-routines): Add files-init.
93093         (libnss_db-routines): Add db-init.
93094         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
93095         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
93096         * nss/nss_db/db-init.c: New file.
93097         * nss/nss_files/files-init.c: New file.
93098         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
93099         __nss_lookup_function.
93100         (__nss_lookup_function): Call nss_load_library.
93101         (nss_load_all_libraries): New function.
93102         (__nss_disable_nscd): Take parameter with callback function for files
93103         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
93104         used for the cached services.
93105         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
93106         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
93107         options for features to all the files in nscd.
93109         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
93111 2011-07-10  Roland McGrath  <roland@hack.frob.com>
93113         * csu/elf-init.c (__libc_csu_init): Comment typo.
93115 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
93117         * po/pl.po: Update from translation team.
93118         * po/ja.po: Likewise.
93119         * po/ru.po: Likewise.
93120         * po/ko.po: Likewise.
93121         * po/fr.po: Likewise.
93123 2011-07-09  Roland McGrath  <roland@hack.frob.com>
93125         * configure.in (.ctors/.dtors header and trailer check):
93126         Use an empirical test on a built program.
93127         * configure: Regenerated.
93129         * configure.in (-z relro check): Use an empirical test on a built DSO.
93130         Detect, but do not require, on ia64.
93131         * configure: Regenerated.
93133         * configure.in (READELF): Find it with AC_CHECK_TOOL.
93134         Update tests that use readelf to use $READELF instead.
93135         * configure: Regenerated.
93137 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
93139         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93140         if the result is not used.
93142 2011-07-05  Andreas Jaeger  <aj@suse.de>
93144         [BZ #9696]
93145         * stdlib/tst-strtod.c: Add testcase.
93147 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
93149         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93150         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93151         The latter has a higher limit.  Take additional parameter to pass to
93152         the new function.
93153         (__pathconf): Pass file to __statfs_link_max.
93154         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93155         __statfs_link_max.
93156         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93157         __statfs_link_max.
93159         [BZ #12868]
93160         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93161         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93162         Handle Lustre.
93163         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93164         (__statfs_filesize_max): Likewise.
93165         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93167 2011-07-05  Andreas Jaeger  <aj@suse.de>
93169         * resolv/res_comp.c (dn_skipname): Remove unused variable.
93171 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
93173         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93174         `status' variable.
93175         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93176         Likewise.
93178 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
93180         * Makefile (strop-tests): Add strncat.
93181         * string/test-strncat.c: New file.
93183 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
93185         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93187 2011-06-21  Andreas Jaeger  <aj@suse.de>
93189         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93190         Copy rule from iconvdata/Makefile.
93192 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93194         [BZ #12922]
93195         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93196         but no long options are defined, just return 'W'.
93198 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
93200         [BZ #9696]
93201         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93203 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93205         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93206         netgroups to read.
93207         (innetgr): Likewise.
93209 2011-07-05  Roland McGrath  <roland@hack.frob.com>
93211         * config.make.in (install_root): Default to $(DESTDIR).
93213 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
93215         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93217 2011-07-02  Roland McGrath  <roland@hack.frob.com>
93219         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93221         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93222         containing directory rather than embedding absolute directory names.
93224         * scripts/check-local-headers.sh: Rewritten using awk.
93225         Match by word, not by line.  Print error messages for matches.
93226         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93228         * Makerules [shlib-lds-flags empty]:
93229         ($(common-objpfx)libc_pic.opts): New target.
93230         ($(common-objpfx)libc_pic.os.clean): New target.
93231         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93233         * config.make.in (OBJCOPY): New variable.
93234         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93235         * configure: Regenerated.
93237         * config.make.in (use-default-link): New variable.
93238         * configure.in (use_default_link): Grok --with-default-link to set it.
93239         * configure: Regenerated.
93240         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93241         (shlib-lds, shlib-lds-flags): Define to empty.
93243         * Makerules (shlib-lds): New variable.
93244         (shlib-lds-flags): New variable.
93245         (build-shlib, build-moduile, build-module-asneeded): Use it.
93246         ($(common-objpfx)libc.so): Use $(shlib-lds).
93247         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93248         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93250         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93251         DT_FLAGS/DT_FLAGS_1 with zero flags.
93253         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93254         linker script munging.
93256 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
93258         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93259         as 128-bit value.
93260         * crypt/sha512.c (sha512_process_block): Perform total addition using
93261         128-bit if possible.
93262         (__sha512_finish_ctx): Likewise.
93263         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93264         as 64-bit value.
93265         * crypt/sha256.c (SWAP64): Define.
93266         (sha256_process_block): Perform total addition using 64-bit if
93267         possible.
93268         (__sha256_finish_ctx): Likewise.
93270 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
93272         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
93273         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93274         * nscd/hstcache.c (cache_addhst): Likewise.
93275         * nscd/grpcache.c (cache_addgr): Likewise.
93276         * nscd/aicache.c (addhstaiX): Likewise.
93277         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93279 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
93281         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93282         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93283         * nscd/hstcache.c (cache_addhst): Likewise.
93284         * nscd/grpcache.c (cache_addgr): Likewise.
93285         * nscd/aicache.c (addhstaiX): Likewise.
93287 2011-07-01  Andreas Schwab  <schwab@redhat.com>
93289         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93290         domain only when needed.
93292 2011-06-30  Andreas Schwab  <schwab@redhat.com>
93294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93295         is always restored.
93297 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
93299         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93300         are re-adding the entry.
93301         * nscd/servicescache.c (cache_addserv): Likewise.
93303 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
93305         * sysdeps/generic/dl-irel.h: fix protection against multiple
93306         inclusions.
93307         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93309 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
93311         [BZ #12935]
93312         * malloc/memusage.sh: Fix quoting in message.
93313         * debug/xtrace.sh: Likewise.
93315         * configure.in: Remove support for --experimental-malloc option, make
93316         it the default.
93317         * config.make.in: Likewise.
93318         * malloc/Makefile: Likewise.
93320 2011-06-27  Andreas Schwab  <schwab@redhat.com>
93322         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93323         two-byte characters.
93325 2011-06-27  Roland McGrath  <roland@hack.frob.com>
93327         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93328         AC_CACHE_CHECK invocation.
93329         * configure: Regenerated.
93331         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93333 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
93335         [BZ #12350]
93336         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
93337         bit from old_res_options.
93339         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93341         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93342         value type for setfct.
93344 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
93346         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93347         __gettimeofday instead of gettimeofday.
93349 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
93351         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93353 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
93355         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93357         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93358         info.
93360 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93362         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93363         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93364         strcpy-sse2-unaligned strncpy-sse2-unaligned
93365         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93366         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93367         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93368         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93369         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93370         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93371         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93372         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93373         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93374         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93375         (STRCPY): Support SSE2 and SSSE3 versions.
93377 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
93379         [BZ #12874]
93380         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93381         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93382         kernels which artificially limit size of requests.
93384 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93386         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93387         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93388         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93389         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93390         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93391         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93392         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93393         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93394         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93395         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93396         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93397         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93398         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93399         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93400         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93401         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93402         Enable unaligned load optimization for Intel Core i3, i5 and i7
93403         processors.
93404         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93405         Define.
93406         (index_Fast_Unaligned_Load): Define.
93407         (HAS_FAST_UNALIGNED_LOAD): Define.
93409 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
93411         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93413 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93415         [BZ #12907]
93416         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93417         until it is clear that the information is realy needed.
93418         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93420 2011-06-22  Andreas Schwab  <schwab@redhat.com>
93422         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93424 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93426         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93427         /sys/devices/system/cpu/online if it is usable.
93429         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93430         reading the information from the /proc filesystem to once a second.
93432 2011-06-21  Andreas Jaeger  <aj@suse.de>
93434         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93435         NULL after inclusion of kernel headers.
93437 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
93439         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93440         calls to internal_setent.
93442         [BZ #12885]
93443         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93444         addresses using gethostbyname4_r ignore IPv4 addresses.
93446         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93447         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
93449         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93451 2011-06-20  David S. Miller  <davem@davemloft.net>
93453         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93454         inclusions.
93455         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93457         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93458         (elf_irel): Use it.
93459         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93460         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93461         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93462         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93463         * sysdeps/x86_64/dl-irel.h: Likewise.
93465         * elf/dl-runtime.c: Use elf_ifunc_invoke.
93466         * elf/dl-sym.c: Likewise.
93468 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93470         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
93471         need to dereference resplen2.
93473 2011-06-14  Andreas Schwab  <schwab@redhat.com>
93475         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93477 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93479         * Makeconfig: Define vardbdir and inst_vardbdir.
93480         * nss/Makefile: Add rules to install db-Makefile.
93482         * nss/nss_db/db-XXX.c: Cleanup.
93484         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93485         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93486         GLIBC_PRIVATE.
93487         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93488         * nss/makedb.c: Implement -g option to specify that value strings
93489         are generated and should not be added to table iterated over for
93490         get*ent calls.
93491         * nss/nss_db/db-initgroups.c: New file.
93493         * nss/getent.c: Add support for initgroups lookups through getgrouplist
93494         interface.
93496         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93497         (internal_getgrouplist): Adjust to name change.
93498         Update use_initgroups_entry if this is not the first call.
93499         * nss/databases.def: Add initgroups entry.
93501         * nss/makedb.c (compute_tables): Check result of multiple hash table
93502         sizes to minimize maximum chain length.
93504 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
93506         * Versions.def: Add entry for libnss_db.
93507         * shlib-versions: Likewise.
93508         * nss/Makefile: Add rules to build libnss_db.
93509         * nss/Versions: Add libnss_db information.  Organize libnss_files
93510         entries better.
93511         * nss/db-Makefile: Add gshadow support.  Change rules for the new
93512         makedb progra.  Some minor improvements to generate smaller files.
93513         * nss/nss_db/nss_db.h: Move NSS database header data structures to
93514         here from...
93515         * nss/makedb.c: ...here.
93516         Improve database format to be smaller and require less memory at
93517         runtime.
93518         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
93519         db anymore.
93520         * nss/nss_db/db-netgrp.c: Likewise.
93521         * nss/nss_db/db-open.c: Likewise.
93522         * nss/nss_files/flies-XXX.x: Adjust comments.
93523         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93524         * nss/nss_files/files-grp.c: Likewise.
93525         * nss/nss_files/files-hosts.c: Likewise.
93526         * nss/nss_files/files-network.c: Likewise.
93527         * nss/nss_files/files-proto.c: Likewise.
93528         * nss/nss_files/files-pwd.c: Likewise.
93529         * nss/nss_files/files-rpc.c: Likewise.
93530         * nss/nss_files/files-service.c: Likewise.
93531         * nss/nss_files/files-sgrp.c: Likewise.
93532         * nss/nss_files/files-spwd.c: Likewise.
93533         * nss/nss_db/db-alias.c: Removed.
93534         * nss/nss_db/dummy-db.h: Removed.
93536 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
93538         * nss/makedb.c: Rewritten to not use database library.
93539         * nss/Makefile: Update to build new makedb program.
93541 2011-06-14  Andreas Jaeger  <aj@suse.de>
93543         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93544         memset declaration.
93546 2011-06-10  Andreas Schwab  <schwab@redhat.com>
93548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93549         tmpbuf.
93551 2011-06-10  Roland McGrath  <roland@hack.frob.com>
93553         * Makerules (shlib.lds): Fail if the linker script comes out empty.
93554         * elf/Makefile ($(objpfx)ld.so): Likewise.
93556         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93557         Don't list ld.so twice in dependencies.
93559         * posix/bug-regex31.c: Include <stdlib.h>.
93561         * nscd/hstcache.c (cache_addhst): Remove unused variable.
93563         * nis/nss_compat/compat-spwd.c
93564         (getspent_next_nss_netgr): Remove unused variable.
93565         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93567         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93568         nonmembers" output to use the right array.
93570         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93572         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93574         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93575         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93576         * catgets/gencat.c (read_input_file): Likewise.
93577         * locale/programs/locarchive.c (enlarge_archive): Likewise.
93579         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93580         variable definition inside #if's controlling its use.
93582         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93584         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93586         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93588         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93589         unreachable code.
93591         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93593         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93594         * configure: Regenerated.
93596         * Makerules: Revert last change.
93597         * elf/Makefile: Likewise.
93599 2011-06-09  Roland McGrath  <roland@hack.frob.com>
93601         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93602         * elf/Makefile ($(objpfx)librtld.os): Likewise.
93603         (reloc-link): Likewise.
93605 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
93607         * elf/Makefile: Add rules to build pldd.
93608         * elf/pldd.c: New file.
93609         * elf/pldd-xx.c: New file.
93611 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
93613         * version.h: Update for 2.15 development version.
93615 2011-06-07  David S. Miller  <davem@davemloft.net>
93617         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93618         ifuncs.
93619         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93620         elf_machine_lazy_rel): Likewise.
93621         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93622         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93623         elf_machine_lazy_rel): Likewise.
93624         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93625         dl_hwcap via passed in argument.
93626         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93627         Likewise.
93629 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93631         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
93633 2011-06-06  Roland McGrath  <roland@hack.frob.com>
93635         [BZ #12849]
93636         * manual/fdl-1.1.texi: New file, verbatim from:
93637         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93638         * manual/lgpl-2.1.texi: New file, verbatim from:
93639         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93640         * manual/Makefile (licenses): New variable, list those new file names.
93641         (texis): Use it.
93642         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93644         * manual/fdl.texi: File removed.
93645         * manual/lesser.texi: File removed.
93646         * manual/libc.texinfo (Copying, Documentation License):
93647         Use new @include file names, put @appendix directive before @include.
93649 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
93651         [BZ #12841]
93652         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93653         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93654         (mq_open): Add __NTH.
93656 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
93658         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93659         Assume Intel Core i3/i5/i7 processor if AVX is available.
93661 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93663         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93664         typo.
93666 2011-05-31  Andreas Schwab  <schwab@redhat.com>
93668         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93669         memory.  Use alloca_account.  Fix memory leak when retrying.
93671 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93673         * version.h (RELEASE): Bump for 2.14 release.
93674         * include/features.h (__GLIBC_MINOR__): Bump to 14.
93676         * config.make.in (RANLIB): Remove entry.
93678 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
93680         * po/Makefile (po-sed-cmd): Add ksh to extensions.
93681         (libc.pot): Work around missing support for .ksh extension in xgettext.
93683         [BZ #12684]
93684         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93685         if both request failed.
93686         (send_dg): In case of server errors clear resplen or *resplen2.
93688         [BZ #12454]
93689         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93690         when there are multiple maps.
93691         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93692         (_dl_fini): Remove test here.
93694         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93696 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
93698         [BZ #12350]
93699         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93700         bit from old_res_options.
93701         (gaih_inet): Likewise.
93703         [BZ #11099]
93704         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93705         as signed.
93707         * resolv/res_init.c (res_setoptions): Make the code more compact.
93709         [BZ #11558]
93710         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93711         set RES_USEVC.
93713         [BZ #11634]
93714         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93716         * malloc/malloc.h: Mark malloc hook variables as deprecated.
93718         [BZ #11781]
93719         * malloc/malloc.h: Declare malloc hook variables as volatile.
93721         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93722         in last patch.
93724         [BZ #11799]
93725         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93726         raise in the comment.
93727         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93728         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93729         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93731 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
93733         [BZ #12811]
93734         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93735         grow the buffers more if it already has to be sufficient.
93736         (build_wcs_upper_buffer): Likewise.
93737         * posix/regexec.c (check_matching): Likewise.
93738         (clean_state_log_if_needed): Likewise.
93739         (extend_buffers): Don't enlarge buffers beyond size of the input
93740         buffer.
93741         Patches mostly by Emil Wojak <emil@wojak.eu>.
93742         * posix/bug-regex32.c: New file.
93743         * posix/Makefile (tests): Add bug-regex32.
93745         * locale/findlocale.c (_nl_find_locale): Return right away if
93746         _nl_explode_name failed.
93747         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93749         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93751         * debug/xtrace.sh: Unify messages.
93752         * malloc/memusage.sh: Likewise.
93754         [BZ #12813]
93755         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93756         time symbol from vDSO.  Substitute with vsyscall if not available.
93757         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93758         __vdso_time.
93760         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93761         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93762         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93763         Add sendmmsg and internal_sendmmsg.
93764         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93765         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93766         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93768         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93769         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93770         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93772 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
93774         [BZ #12813]
93775         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93776         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
93777         available.
93778         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93779         __vdso_getcpu.
93781         [BZ #12814]
93782         * iconvdata/Makefile (tests): Add bug-iconv9.
93783         * iconvdata/bug-iconv9.c: New file.
93785 2011-05-27  Andreas Schwab  <schwab@redhat.com>
93787         [BZ #12814]
93788         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93790 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
93792         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93793         (struct user_regs_struct): Change intcs field back to cs.
93795 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
93797         * po/ja.po: Update from translation team.
93799 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
93801         [BZ #12795]
93802         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93803         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93805 2011-05-20  Andreas Schwab  <schwab@redhat.com>
93807         * stdlib/longlong.h: Update from GCC.
93809 2011-05-23  Andreas Schwab  <schwab@redhat.com>
93811         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93812         parameter name.
93813         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93814         Add parameter name.
93815         (__sysconf): Pass it down.
93817 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
93819         [BZ #12671]
93820         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93821         some situations.
93822         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93823         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93824         add in in __libc_use_alloca calls.  Adjust callers.
93825         (glob): Use malloc in some situations.
93827         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93828         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93829         pltexit.
93831 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
93833         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93834         and CLOCK_BOOTTIME_ALARM.
93836         [BZ #12782]
93837         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93838         is returned.
93840         * string/_strerror.c (__strerror_r): Print negative errors as signed
93841         numbers.
93843         [BZ #12777]
93844         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93845         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93846         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93848         * configure.in: Fix typo in redirection and correct removal of test
93849         files in two cases.
93851         [BZ #12788]
93852         * locale/setlocale.c (new_composite_name): Fix test to check for
93853         identical name of all categories.
93855         [BZ #12792]
93856         * libio/filedoalloc.c (local_isatty): New function.
93857         (_IO_file_doallocate): Use local_isatty.
93858         * stdio-common/perror.c (perror): In case a new stream is used
93859         forward the stream error.
93860         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93861         error flag.
93863 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
93865         [BZ #11884]
93866         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93867         alloca.
93868         * include/alloca.h (extend_alloca_account): Define.
93870         [BZ #11857]
93871         * posix/regex.h: Fix comments with documentation of user-accessible
93872         fields after compilation and describe correct free'ing of pattern
93873         after re_compile_pattern.
93874         Patch by Reuben Thomas <rrt@sc3d.org>.
93876 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
93878         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93879         and -mno-altivec to prevent the compiler from using Altivec and/or
93880         VSX instructions when the corresponding registers are not available.
93882 2011-05-19  Andreas Schwab  <schwab@redhat.com>
93884         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93886 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
93888         * libio/freopen.c (freopen): Use __dup2, not dup2.
93889         * libio/freopen64.c (freopen64): Likewise.
93891 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
93893         [BZ #12775]
93894         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93895         * math/Makefile (tests): Add test-powl.
93896         (CFLAGS-test-powl.c): Define.
93897         * math/test-powl.c: New file.
93899 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
93901         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93903 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
93905         [BZ #11837]
93906         * iconvdata/gb18030.c: Update to GB18020-2005.
93908 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
93910         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93911         RE_SYNTAX_POSIX_AWK): Update to match recent development.
93912         Patch by Aharon Robbins <arnold@skeeve.com>.
93914         [BZ #11892]
93915         * stdlib/putenv.c (putenv): Don't always create copy of the variable
93916         on the stack.
93918         [BZ #11895]
93919         * misc/pselect.c (__pselect): Handle timeout value errors hidden
93920         through underflows.
93922         [BZ #12766]
93923         * misc/error.c (error_at_line): Ensure file_name and old_file_name
93924         point to strings before performing equality test for error_one_per_line
93925         mode.
93927         [BZ #11697]
93928         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93930         [BZ #11820]
93931         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93932         (struct user_fpregs_struct): Avoid __uint*_t types.
93934         [BZ #6420]
93935         * malloc/mtrace.c (tr_where): Add additional parameter to point to
93936         symbol info.  Use it instead of calling _dl_addr locally.
93937         (lock_and_info): New function.
93938         (tr_freehook): Call lock_and_info and pass symbol info as additional
93939         parameter to tr_where.
93940         (tr_mallochook): Likewise.
93941         (tr_reallochook): Likewise.
93942         (tr_memalignhook): Likewise.
93944         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
93945         used and couldn't be at all thread-safe.
93947 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
93949         * libio/freopen.c (freopen): Don't close old file descriptor
93950         before the new one is opened.  Instead dup the new file descriptor
93951         to the old one after the new stream is created.
93952         * libio/freopen64.c (freopen64): Likewise.
93953         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93954         * libio/fileops.c (_IO_new_file_close_it): Handle new
93955         _IO_FLAGS2_NOCLOSE flag.
93956         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93957         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
93958         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
93959         _IO_FLAGS2_NOCLOSE flag.
93960         * include/unistd.h: Add hidden_proto for dup3.
93961         Define __have_dup3.
93962         * io/dup3.c: Define hidden symbol.
93963         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
93965         [BZ #7101]
93966         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
93967         when an incomplete long option is used.
93968         * posix/tst-getopt_long1.c: New file.
93969         * posix/Makefile (tests): Add tst-getopt_long1.
93971         [BZ #10138]
93972         * scripts/config.guess: Update from autoconf-2.68.
93973         * scripts/config.sub: Likewise.
93975         [BZ #10157]
93976         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
93977         tests into ...
93978         (has_cpuclock): ...this.  New function.
93979         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
93980         macro here based on has_cpuclock code.
93982         [BZ #10149]
93983         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93984         First byte (not low byte) is now always NUL.
93985         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
93987         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93988         Use non-cancelable interfaces.
93990         [BZ #9809]
93991         * locale/iso-639.def: Add entry for Sorani.
93993         [BZ #11901]
93994         * include/stdlib.h: Move include protection to the right place.
93995         Define abort_msg_s.  Declare __abort_msg with it.
93996         * stdlib/abort.c (__abort_msg): Adjust type.
93997         * assert/assert.c (__assert_fail_base): New function.  Majority
93998         of code from __assert_fail.  Allocate memory for __abort_msg with
93999         mmap.
94000         (__assert_fail): Now call __assert_fail_base.
94001         * assert/assert-perr.c: Remove bulk of implementation.  Use
94002         __assert_fail_base.
94003         * include/assert.hL Declare __assert_fail_base.
94004         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
94005         mmap.
94006         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
94008 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
94010         [BZ #11952]
94011         [BZ #12453]
94012         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
94013         until all modules are registered in the DTV.
94014         * elf/Makefile: Add rules to build and run tst-tls19.
94015         * elf/tst-tls19.c: New file.
94016         * elf/tst-tls19mod1.c: New file.
94017         * elf/tst-tls19mod2.c: New file.
94018         * elf/tst-tls19mod3.c: New file.
94019         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
94021         [BZ #12083]
94022         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
94023         correctly.
94025         [BZ #12601]
94026         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
94027         two-byte sequence errors.
94028         * iconvdata/Makefile (tests): Add bug-iconv8.
94029         * iconvdata/bug-iconv8.c: New file.
94031         [BZ #12626]
94032         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
94033         buf2 definition.
94035         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
94037         [BZ #12432]
94038         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
94039         (dummy_getcfa): New function.
94040         (init): Get _Unwind_GetCFA address, use dummy if not found.
94041         (backtrace_helper): In recursion check, also check whether CFA changes.
94042         (__backtrace): Completely initialize arg.
94044         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
94045         storing incomplete byte sequence in state object.  Avoid testing for
94046         guaranteed too small input if we know there is enough data available.
94048 2011-05-11  Andreas Schwab  <schwab@redhat.com>
94050         * Makeconfig (+link-pie): Indent.
94051         * Rules (binaries-pie): Define if $(have-fpie) and
94052         $(build-shared).
94053         (binaries-shared): Also filter out $(binaries-pie).
94054         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
94055         * nscd/Makefile (others-pie): Add nscd.
94056         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
94057         ($(objpfx)nscd): Remove command override.
94058         * login/Makefile (others-pie): Add pt_chown.
94059         ($(objpfx)pt_chown): Remove command override.
94060         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
94061         remove command overrides.
94063 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
94065         * libio/tst_putwc.c: Fix error messages.
94067         [BZ #12724]
94068         * libio/fileops.c (_IO_new_file_close_it): Always flush when
94069         currently writing and seek to current position when not.
94070         * libio/Makefile (tests): Add bug-fclose1.
94071         * libio/bug-fclose1.c: New file.
94073 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
94075         [BZ #12511]
94076         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
94077         don't set DF_1_NODELETE here.
94078         (do_lookup_x): When entering new entry test for copy relocation
94079         and if necessary set DF_1_NODELETE flag.
94080         * elf/tst-unique4.cc: New file.
94081         * elf/tst-unique4.h: New file.
94082         * elf/tst-unique4lib.cc: New file.
94083         * elf/Makefile: Add rules to build and run tst-unique4.
94084         Patch by Piotr Bury <pbury@goahead.com>.
94086 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
94088         [BZ #12052]
94089         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
94091         [BZ #12625]
94092         * misc/mntent_r.c (addmntent): Flush the stream after the output
94094         [BZ #12393]
94095         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
94096         (is_trusted_path_normalize): Skip initial colon.  Append slash
94097         to empty buffer.  Duplicate is_trusted_path code but allow
94098         constructed patch to be prefix.
94099         (is_dst): Allow $ORIGIN followed by /.
94100         (_dl_dst_substitute): Correct clearing of check_for_trusted.
94101         Correct testing of result of is_trusted_path_normalize
94102         (decompose_rpath): Fix warning.
94104 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
94106         [BZ #11257]
94107         * grp/initgroups.c (internal_getgrouplist): When we found the service
94108         list through the initgroups entry in nsswitch.conf do not always
94109         continue on a successful lookup.  Don't always use the
94110         __nss_group_database value if it is set.
94111         * nss/nsswitch.conf (initgroups): Change action for successful db
94112         lookup to continue for compatibility.
94114 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
94116         [BZ #11532]
94117         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94118         and CP774 modules.
94119         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94120         and CP774 modules.
94121         * iconvdata/tst-tables.sh: Likewise.
94122         * iconvdata/cp770.c: New file.
94123         * iconvdata/cp771.c: New file.
94124         * iconvdata/cp772.c: New file.
94125         * iconvdata/cp773.c: New file.
94126         * iconvdata/cp774.c: New file.
94127         * iconvdata/testdata/CP770: New file.
94128         * iconvdata/testdata/CP770..UTF8: New file.
94129         * iconvdata/testdata/CP771: New file.
94130         * iconvdata/testdata/CP771..UTF8: New file.
94131         * iconvdata/testdata/CP772: New file.
94132         * iconvdata/testdata/CP772..UTF8: New file.
94133         * iconvdata/testdata/CP773: New file.
94134         * iconvdata/testdata/CP773..UTF8: New file.
94135         * iconvdata/testdata/CP774: New file.
94136         * iconvdata/testdata/CP774..UTF8: New file.
94138         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94139         END CHARMAP line.
94140         * iconvdata/gen-8bit-gap.sh: Likewise.
94141         * iconvdata/gen-8bit.sh: Likewise.
94143         * locale/iso-639.def: Add ary entry.
94145         [BZ #11258]
94146         * locale/C-translit.h.in: Add U20A1 transliteration.
94148         [BZ #12178]
94149         * locale/iso-639.def: Add wae entry.
94150         Patch by Kevin Bortis <bortis@translate-wae.ch>.
94152         [BZ #12545]
94153         * locale/programs/localedef.c (construct_output_path): Use ssize_t
94154         for n.
94156         [BZ #12711]
94157         * locale/C-translit.h.in: Add entry for U20B9.
94158         Patch by pravin.d.s@gmail.com.
94160 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
94162         [BZ #12713]
94163         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94164         ENAMETOOLONG use generic getcwd.
94165         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
94166         in rtld.  Use *stat64.
94167         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94168         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94169         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94170         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94171         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94172         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94173         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94174         __fstatat64 macros.
94175         * include/dirent.h: Add libc_hidden_proto for rewinddir.
94176         * dirent/rewinddir.c: Add libc_hidden_def.
94177         * sysdeps/mach/hurd/rewinddir.c: Likewise.
94178         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
94180         * include/dirent.h (__alloc_dir): Add flags parameter.
94181         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94182         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94183         __alloc_dir.
94184         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
94185         from fdopendir if O_CLOEXEC is already set.
94187 2011-03-15  Alan Modra  <amodra@gmail.com>
94189         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94190         l_tls_firstbyte_offset non-zero.  Save padding offset in
94191         l_tls_firstbyte_offset for later use.
94192         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94193         freeing static tls block.
94195 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
94197         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94198         where #ifdef was intended.  The intent is to prevent ARG_MAX from
94199         being defined by the kernel headers.
94201 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
94203         [BZ #12734]
94204         * resolv/resolv.h: Define RES_NOTLDQUERY.
94205         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94206         no-tld-query and set RES_NOTLDQUERY.
94207         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94208         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94209         modern BIND to search name as TLD unless forbidden.
94211 2011-05-07  Petr Baudis  <pasky@suse.cz>
94212             Ulrich Drepper  <drepper@gmail.com>
94214         [BZ #12393]
94215         * elf/dl-load.c (fillin_rpath): Move trusted path check...
94216         (is_trusted_path): ...to here.
94217         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94218         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94219         using is_trusted_path_normalize() in setuid scripts.
94221 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
94223         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94224         __BEGIN/__END_DECLS.
94226 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
94228         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94229         NSS_STATUS_NOTFOUND if no record was found.
94231 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94233         * sunrpc/Makefile (headers): Add rpc/netdb.h.
94234         (headers-not-in-tirpc): Remove rpc/netdb.h
94235         * resolv/netdb.h: Revert last change.
94237 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
94239         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94240         circular dependency between libgcc.a and libc.a.
94242 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94244         * resolv/netdb.h: Don't include <rpc/netdb.h>.
94245         * nis/Makefile: Don't install rpcsvc/*.
94246         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94247         instead of <rpc/types.h>.
94248         (MAXHOSTNAMELEN): Define.
94250 2011-05-03  Andreas Schwab  <schwab@redhat.com>
94252         * elf/ldconfig.c (add_dir): Don't crash on empty path.
94254 2011-04-28  Maciej Babinski  <mbabinski@google.com>
94256         [BZ #12714]
94257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94258         gethostbyname4_r when IPv6 results are possible.
94260 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
94262         [BZ #12723]
94263         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94264         _PC_PIPE_BUF handling.
94266 2011-04-30  Bruno Haible  <bruno@clisp.org>
94268         [BZ #12717]
94269         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94270         * resolv/netdb.h (getnameinfo): Change type of flags parameter
94271         to 'int'.
94272         * inet/getnameinfo.c (getnameinfo): Likewise.
94274 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
94276         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94277         to groups setting in database lookup.
94278         * nss/nsswitch.conf: Add initgroups entry.
94280 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
94282         [BZ #12685]
94283         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94284         mode string.
94285         Patch by Eric Blake <eblake@redhat.com>.
94287 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
94289         * sunrpc/Makefile (need-export-routines): Add svc_run.
94290         (routines): Remove svc_run.
94291         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94292         * sunrpc/clnt_perr.c (clnt_perrno): Export.
94293         * sunrpc/svc_run.c (svc_run): Likewise.
94294         * sunrpc/svc_udp.c (svcudp_create): Likewise.
94296 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
94298         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94299         problem in reallocation in last patch.
94301 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
94303         * sunrpc/Makefile: Move inclusion of Rules.
94305 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94307         * nss/nss_files/files-initgroups.c: New file.
94308         * nss/Makefile (libnss_files-routines): Add files-initgroups.
94309         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94310         _nss_files_initgroups_dyn.
94312 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
94314         * elf/elf.h (R_ARM_IRELATIVE): Define.
94316 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94318         * po/ru.po: Update from translation team.
94320 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94322         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94323         dependencies.
94325 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
94327         [BZ #12653]
94328         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94329         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94330         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94331         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94332         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94334 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
94336         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94337         differing bytes.
94338         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94339         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94340         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94342 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94344         [BZ #12420]
94345         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94346         storing it.
94347         * stdlib/bug-getcontext.c: New file.
94348         * stdlib/Makefile: Add rules to build and run bug-getcontext.
94350 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94352         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94353         instructions into .machine "z9-109".
94354         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94355         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94357 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94359         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94360         between environment variables and auxiliary vector.
94362 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
94364         * Makefile: Add rules to build linkobj/libc.so.
94365         * include/libc-symbols.h: Define libc_hidden_nolink.
94366         * include/rpc/auth.h: Mark functions which are to be hidden.
94367         * include/rpc/auth_des.h: Likewise.
94368         * include/rpc/auth_unix.h: Likewise.
94369         * include/rpc/clnt.h: Likewise.
94370         * include/rpc/des_crypt.h: Likewise.
94371         * include/rpc/key_prot.h: Likewise.
94372         * include/rpc/pmap_clnt.h: Likewise.
94373         * include/rpc/pmap_prot.h: Likewise.
94374         * include/rpc/pmap_rmt.h: Likewise.
94375         * include/rpc/rpc_msg.h: Likewise.
94376         * include/rpc/svc.h: Likewise.
94377         * include/rpc/svc_auth.h: Likewise.
94378         * include/rpc/xdr.h: Likewise.
94379         * nis/Makefile: Link all DSOs against linkobj/libc.so.
94380         * nss/Makefile: Likewise.
94381         * sunrpc/Makefile: Don't install headers.  Build library with normal
94382         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
94383         * sunrpc/auth_des.c: Hide exported symbols by default, export some
94384         for the compat linking library.  Remove use of INTDEF/INTUSE.
94385         * sunrpc/auth_none.c: Likewise.
94386         * sunrpc/auth_unix.c: Likewise.
94387         * sunrpc/authdes_prot.c: Likewise.
94388         * sunrpc/authuxprot.c: Likewise.
94389         * sunrpc/clnt_gen.c: Likewise.
94390         * sunrpc/clnt_perr.c: Likewise.
94391         * sunrpc/clnt_raw.c: Likewise.
94392         * sunrpc/clnt_simp.c: Likewise.
94393         * sunrpc/clnt_tcp.c: Likewise.
94394         * sunrpc/clnt_udp.c: Likewise.
94395         * sunrpc/clnt_unix.c: Likewise.
94396         * sunrpc/des_crypt.c: Likewise.
94397         * sunrpc/des_soft.c: Likewise.
94398         * sunrpc/get_myaddr.c: Likewise.
94399         * sunrpc/key_call.c: Likewise.
94400         * sunrpc/key_prot.c: Likewise.
94401         * sunrpc/netname.c: Likewise.
94402         * sunrpc/pm_getmaps.c: Likewise.
94403         * sunrpc/pm_getport.c: Likewise.
94404         * sunrpc/pmap_clnt.c: Likewise.
94405         * sunrpc/pmap_prot.c: Likewise.
94406         * sunrpc/pmap_prot2.c: Likewise.
94407         * sunrpc/pmap_rmt.c: Likewise.
94408         * sunrpc/publickey.c: Likewise.
94409         * sunrpc/rpc_cmsg.c: Likewise.
94410         * sunrpc/rpc_common.c: Likewise.
94411         * sunrpc/rpc_dtable.c: Likewise.
94412         * sunrpc/rpc_prot.c: Likewise.
94413         * sunrpc/rpc_thread.c: Likewise.
94414         * sunrpc/rtime.c: Likewise.
94415         * sunrpc/svc.c: Likewise.
94416         * sunrpc/svc_auth.c: Likewise.
94417         * sunrpc/svc_authux.c: Likewise.
94418         * sunrpc/svc_raw.c: Likewise.
94419         * sunrpc/svc_run.c: Likewise.
94420         * sunrpc/svc_simple.c: Likewise.
94421         * sunrpc/svc_tcp.c: Likewise.
94422         * sunrpc/svc_udp.c: Likewise.
94423         * sunrpc/svc_unix.c: Likewise.
94424         * sunrpc/svcauth_des.c: Likewise.
94425         * sunrpc/xcrypt.c: Likewise.
94426         * sunrpc/xdr.c: Likewise.
94427         * sunrpc/xdr_array.c: Likewise.
94428         * sunrpc/xdr_float.c: Likewise.
94429         * sunrpc/xdr_intXX_t.c: Likewise.
94430         * sunrpc/xdr_mem.c: Likewise.
94431         * sunrpc/xdr_rec.c: Likewise.
94432         * sunrpc/xdr_ref.c: Likewise.
94433         * sunrpc/xdr_sizeof.c: Likewise.
94434         * sunrpc/xdr_stdio.c: Likewise.
94436 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
94438         [BZ #12650]
94439         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94440         * sysdeps/ia64/dl-tls.h: Likewise.
94441         * sysdeps/powerpc/dl-tls.h: Likewise.
94442         * sysdeps/s390/dl-tls.h: Likewise.
94443         * sysdeps/sh/dl-tls.h: Likewise.
94444         * sysdeps/sparc/dl-tls.h: Likewise.
94445         * sysdeps/x86_64/dl-tls.h: Likewise.
94446         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94448 2011-03-14  Andreas Schwab  <schwab@redhat.com>
94450         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94451         rpath element also skip the following colon.
94452         (expand_dynamic_string_token): Add is_path parameter and pass
94453         down to DL_DST_REQUIRED and _dl_dst_substitute.
94454         (decompose_rpath): Call expand_dynamic_string_token with
94455         non-zero is_path.  Ignore empty rpaths.
94456         (_dl_map_object_from_fd): Call expand_dynamic_string_token
94457         with zero is_path.
94459 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
94461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94462         Make cancelable.
94464 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
94466         [BZ #12655]
94467         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94468         Patch by Filipe David Manana <fdmanana@apache.org>.
94470 2011-04-07  Andreas Schwab  <schwab@redhat.com>
94472         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94473         Maintain aligned stack.
94474         (CHECK_RSP): Remove unused macro.
94476 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
94478         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94479         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94481 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
94483         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94485         * include/features.h: Mention __USE_XOPEN2K8 in comment.
94487 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
94489         [BZ #12518]
94490         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94491         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94492         * sysdeps/x86_64/memmove.c: New file.
94493         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94494         (memcpy): Renamed to ...
94495         (__new_memcpy): This.
94496         (memcpy): Provide GLIBC_2_14 memcpy.
94497         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94498         (memcpy): Provide GLIBC_2_2_5 memcpy.
94500 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94502         [BZ #12631]
94503         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94505 2011-03-30  Andreas Schwab  <schwab@redhat.com>
94507         * misc/syncfs.c: New file.
94508         * misc/Makefile (routines): Add syncfs.
94509         * posix/unistd.h: Declare syncfs.
94510         * sysdeps/unix/syscalls.list: Add syncfs.
94512 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94514         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94515         open_by_handle_at.
94516         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94517         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94518         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94519         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94520         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94521         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94522         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94524 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94526         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94527         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94528         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94529         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94530         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94531         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94532         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94534         * io/Makefile: Compile fallocate.c, fallocate64.c, and
94535         sync_file_range.c with -fexceptions.
94536         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94537         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94538         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94539         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94540         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94541         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94542         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94543         sync_file_range as cancellation point
94544         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
94545         now a wrapper around __call_sync_file_range with cancellation handling.
94546         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94547         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
94548         function name to __call_sync_file_range.
94549         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94550         Add call_sync_file_range.
94552 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94554         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94555         bits/timex.h.
94557 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94559         * iconv/iconv.h: Fix typo in comment.
94560         * io/fcntl.h: Likewise.
94561         * libio/stdio.h: Likewise.
94562         * posix/spawn.h: Likewise.
94563         * posix/unistd.h: Likewise.
94564         * stdlib/stdlib.h: Likewise.
94565         * time/time.h: Likewise.
94566         * wcsmbs/wchar.h: Likewise.
94568         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94569         open_by_handle): Add.
94570         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94571         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
94572         Augment a few comments.
94573         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94574         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94575         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94576         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94577         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94578         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94579         open_by_handle.
94581         * io/fcntl.h (AT_EMPTY_PATH): Define.
94583 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
94585         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94586         * sysdeps/unix/sysv/linux/bits/time.h: New file.
94587         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94588         to...
94589         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
94590         * Versions.def: Add GLIBC_2.14.
94591         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94592         Export.
94594 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
94596         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94597         round counter.
94598         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94600 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
94602         [BZ #12597]
94603         * string/test-strncmp.c (do_page_test): New function.
94604         (check2): Likewise.
94605         (test_main): Call check2.
94606         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94608 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
94610         [BZ #12587]
94611         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94612         Handle cache information in CPU leaf 4.
94613         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94615 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
94617         [BZ #12583]
94618         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94619         character representation.
94620         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94622 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
94624         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94625         END(__isnan) to END(__isnanf) to match function entry point/label
94626         EALIGN(__isnanf,...).
94628 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
94630         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94632 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
94634         [BZ #12510]
94635         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94636         copy from the symbol referenced in the relocation to initialize the
94637         used variable.
94638         Patch by Piotr Bury <pbury@goahead.com>.
94639         * elf/Makefile: Add rules to build and tst-unique3.
94640         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94641         * elf/tst-unique3.cc: New file.
94642         * elf/tst-unique3.h: New file.
94643         * elf/tst-unique3lib.cc: New file.
94644         * elf/tst-unique3lib2.cc: New file.
94646         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94648 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
94650         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94651         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
94652         to _start.
94654 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
94656         * elf/dl-load.c (_dl_map_object): If we are looking for the first
94657         to-be-loaded object along a path to loader is ld.so.
94659 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94660             Ulrich Drepper  <drepper@gmail.com>
94662         * sysdeps/x86_64/memset.S: After aligning destination, code
94663         branches to different locations depending on the value of
94664         misalignment, when multiarch is enabled. Fix this.
94666 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94668         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94669         Set _x86_64_preferred_memory_instruction for AMD processsors.
94670         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94671         Set bit_Prefer_SSE_for_memop for AMD processors.
94673 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
94675         * libio/fmemopen.c (fmemopen): Optimize a bit.
94677 2011-03-03  Andreas Schwab  <schwab@redhat.com>
94679         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94681 2011-03-03  Roland McGrath  <roland@redhat.com>
94683         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94685 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
94687         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94688         __bzero_ultra1 instead of __memset_ultra1.
94690 2011-02-23  Andreas Schwab  <schwab@redhat.com>
94691             Ulrich Drepper  <drepper@gmail.com>
94693         [BZ #12509]
94694         * include/link.h (struct link_map): Add l_orig_initfini.
94695         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94696         returning unsuccessfully.
94697         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94698         close of a file loaded at startup, restore the original l_initfini
94699         list.
94700         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94701         list, store the pointer.
94702         * elf/Makefile ($(objpfx)noload-mem): New rule.
94703         (noload-ENV): Define.
94704         (tests): Add $(objpfx)noload-mem.
94705         * elf/noload.c: Include <memcheck.h>.
94706         (main): Call mtrace.  Close all opened handles.
94708 2011-02-17  Andreas Schwab  <schwab@redhat.com>
94710         [BZ #12454]
94711         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94712         dependencies are missing.
94714 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94716         Fix __if_freereq crash: Unlike the generic version which uses free,
94717         Hurd needs munmap.
94718         * sysdeps/mach/hurd/ifreq.h: New file.
94720 2011-01-27  Petr Baudis  <pasky@suse.cz>
94721             Ulrich Drepper  <drepper@gmail.com>
94723         [BZ 12445]#
94724         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94725         to extend_alloca().
94726         * stdio-common/bug23.c: New file.
94727         * stdio-common/Makefile (tests): Add bug23.
94729 2010-09-28  Andreas Schwab  <schwab@redhat.com>
94730             Ulrich Drepper  <drepper@gmail.com>
94732         [BZ #12489]
94733         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94734         before performing relro protection.  At old place add assertion
94735         to make sure nothing changed.
94737 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
94738             Glauber de Oliveira Costa  <glommer@gmail.com>
94740         * elf/elf.h: Add new ARM TLS relocs.
94742 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
94744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94745         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94746         cast from r3.
94747         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
94748         'tests' variable.
94749         * sysdeps/wordsize-64/tst-writev.c: New file.
94751 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
94753         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94754         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94755         insns in _dl_start to prevent a TOC reference before relocs are
94756         resolved.
94758 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
94760         [BZ #12469]
94761         * Makeconfig: Remove RANLIB definition.
94762         * Makerules: Don't use RANLIB.
94763         * aclocal.m4: Remove ranlib test.
94764         * configure.in: No need to check for ranlib.
94765         * elf/rtld-Rules: Don't use RANLIB.
94767 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94769         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94770         protection macro.
94771         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94772         inclusion protection macro.
94774         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94775         SIGRTMIN and SIGRTMAX and print information in that case only when
94776         SIGRTMIN is defined.
94778 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
94780         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94781         arginfo fn returning -1.
94783         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94784         and thousands string is zero terminated.
94786 2011-02-03  Andreas Schwab  <schwab@redhat.com>
94788         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94789         sysdeps/unix/sysv/linux/bits/socket.h.
94791 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94793         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94794         (__CPU_COUNT): Remove old macros.
94795         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94796         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94797         (__CPU_ALLOC, __CPU_FREE): Add macros.
94798         (__sched_cpualloc, __sched_cpufree): Add declarations.
94800 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
94802         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94803         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94804         * nscd/aicache.c (addhstaiX): Return timeout of added value.
94805         (readdhstai): Return value of addhstaiX call.
94806         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94807         (addgrbyX): Return value returned by cache_addgr.
94808         (readdgrbyname): Return value returned by addgrbyX.
94809         (readdgrbygid): Likewise.
94810         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94811         (addpwbyX): Return value returned by cache_addpw.
94812         (readdpwbyname): Return value returned by addhstbyX.
94813         (readdpwbyuid): Likewise.
94814         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94815         (addservbyX): Return value returned by cache_addserv.
94816         (readdservbyname): Return value returned by addservbyX:
94817         (readdservbyport): Likewise.
94818         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94819         (addhstbyX): Return value returned by cache_addhst.
94820         (readdhstbyname): Return value returned by addhstbyX.
94821         (readdhstbyaddr): Likewise.
94822         (readdhstbynamev6): Likewise.
94823         (readdhstbyaddrv6): Likewise.
94824         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94825         (readdinitgroups): Return value returned by addinitgroupsX.
94826         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94827         (prune_cache): Keep track of timeout value of re-added entries.
94828         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94829         * nscd/nscd.h: Adjust prototypes of readd* functions.
94831 2011-02-04  Roland McGrath  <roland@redhat.com>
94833         * nis/nis_server.c (nis_servstate): Use the right name for 0.
94834         (nis_stats): Likewise.
94835         * nis/nis_modify.c (nis_modify): Likewise.
94836         * nis/nis_remove.c (nis_remove): Likewise.
94837         * nis/nis_add.c (nis_add): Likewise.
94839         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94841         * posix/fnmatch_loop.c: Add some consts.
94843         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94845 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
94847         [BZ #12460]
94848         * config.make.in (config-cflags-novzeroupper): Define.
94849         * configure.in: Substitute libc_cv_cc_novzeroupper.
94850         * elf/Makefile (AVX-CFLAGS): Define.
94851         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94852         (CFLAGS-tst-auditmod4a.c): Likewise.
94853         (CFLAGS-tst-auditmod4b.c): Likewise.
94854         (CFLAGS-tst-auditmod6b.c): Likewise.
94855         (CFLAGS-tst-auditmod6c.c): Likewise.
94856         (CFLAGS-tst-auditmod7b.c): Likewise.
94857         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94859 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
94861         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94862         function to the callback.
94863         Patch partly by Jiri Olsa <jolsa@redhat.com>.
94865 2011-02-02  Andreas Schwab  <schwab@redhat.com>
94867         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94868         of errno.
94870 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
94872         [BZ #11724]
94873         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94874         of constructors.
94875         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94876         of destructors.
94877         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94879         [BZ #11724]
94880         * elf/Makefile: Add rules to build and run new test.
94881         * elf/tst-initorder.c: New file.
94882         * elf/tst-initorder.exp: New file.
94883         * elf/tst-initordera1.c: New file.
94884         * elf/tst-initordera2.c: New file.
94885         * elf/tst-initordera3.c: New file.
94886         * elf/tst-initordera4.c: New file.
94887         * elf/tst-initorderb1.c: New file.
94888         * elf/tst-initorderb2.c: New file.
94889         * elf/tst-order-a1.c: New file.
94890         * elf/tst-order-a2.c: New file.
94891         * elf/tst-order-a3.c: New file.
94892         * elf/tst-order-a4.c: New file.
94893         * elf/tst-order-b1.c: New file.
94894         * elf/tst-order-b2.c: New file.
94895         * elf/tst-order-main.c: New file.
94896         New test case by George Gensure <werkt0@gmail.com>.
94898 2010-10-01  Andreas Schwab  <schwab@redhat.com>
94900         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94901         decoding ACE if AI_CANONIDN.
94903 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
94905         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94907 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
94909         * version.h (RELEASE): Bump for 2.13 release.
94910         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94912         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94914         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94915         MADV_NOHUGEPAGE.
94916         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94917         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94918         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94919         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94920         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94921         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94923         * posix/getconf.c: Update copyright year.
94924         * catgets/gencat.c: Likewise.
94925         * csu/version.c: Likewise.
94926         * debug/catchsegv.sh: Likewise.
94927         * debug/xtrace.sh: Likewise.
94928         * elf/ldconfig.c: Likewise.
94929         * elf/ldd.bash.in: Likewise.
94930         * elf/sprof.c (print_version): Likewise.
94931         * iconv/iconv_prog.c: Likewise.
94932         * iconv/iconvconfig.c: Likewise.
94933         * locale/programs/locale.c: Likewise.
94934         * locale/programs/localedef.c: Likewise.
94935         * malloc/memusage.sh: Likewise.
94936         * malloc/mtrace.pl: Likewise.
94937         * nscd/nscd.c (print_version): Likewise.
94938         * nss/getent.c: Likewise.
94940         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94941         PF_CAIF, and PF_ALG.
94942         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94944 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
94946         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94947         (modules-names): Use them.
94948         (ifunc-test-modules, ifunc-pie-tests): Define.
94949         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94950         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94951         (test-extras): Likewise.
94952         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94953         $(compile-command.c).
94954         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94955         (all-built-dso): Define.
94956         (check-textrel.out, check-execstack.out): Depend on it.
94958         * configure.in: Don't override --enable-multi-arch.
94960 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
94962         [BZ #6812]
94963         * nscd/hstcache.c (tryagain): Define.
94964         (cache_addhst): Return tryagain not notfound for temporary errors.
94965         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
94966         failed.
94968 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
94970         [BZ #10563]
94971         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
94972         to make the syscall.
94973         * sysdeps/unix/sysv/linux/setgroups.c: New file.
94975         [BZ #12378]
94976         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
94977         and fall back to matching as normal character if the string ends before
94978         the matching ']' is found.  This is what POSIX requires.
94979         * posix/testfnm.c: Adjust test result.
94980         * posix/globtest.sh: Adjust test result.  Add new test.
94981         * posix/tst-fnmatch.input: Likewise.
94982         * posix/tst-fnmatch2.c: Add new test.
94984 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
94986         * elf/Makefile (check-execstack): Revert last change.  Depend on
94987         check-execstack.h.
94988         (check-execstack.h): New target.
94989         (generated): Add check-execstack.h.
94990         * elf/check-execstack.c: Include "check-execstack.h".
94991         (main): Revert last change.
94992         (handle_file): Return zero if GNU_STACK is absent and
94993         DEFAULT_STACK_PERMS doesn't include PF_X.
94995 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
94997         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
94998         in child fails because the descriptor is already closed.
94999         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
95000         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
95001         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
95003         [BZ #12397]
95004         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
95005         syscall.
95007         [BZ #10484]
95008         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
95009         temporary buffer used to handle multi lookups locally.
95010         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
95012 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
95014         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
95015         loader is ld.so.
95017 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
95019         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
95020         alignment for SSE2.
95022 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
95024         [BZ #12394]
95025         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
95026         characters.  When rounding increased number of integer digits recompute
95027         number of groups.
95028         * stdio-common/tst-grouping.c: New file.
95029         * stdio-common/Makefile: Add rules to build and run tst-grouping.
95031 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
95033         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
95034         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
95036         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
95037         void.
95038         * bits/select.h: Likewise.
95040 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
95042         * po/ja.po: Update from translation team.
95044 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
95046         [BZ #11155]
95047         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
95048         implementation just like for lxstat, fxstatat, et al.
95050 2010-12-27  Jim Meyering  <meyering@redhat.com>
95052         [BZ #12348]
95053         * posix/regexec.c (build_trtable): Return failure indication upon
95054         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
95056 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
95058         [BZ #12201]
95059         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
95060         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
95061         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
95062         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
95064         [BZ #12207]
95065         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
95067         [BZ #12204]
95068         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
95069         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
95071 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
95073         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
95074         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
95075         script has SORT_BY_INIT_PRIORITY.
95076         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
95077         NO_CTORS_DTORS_SECTIONS is defined.
95078         * elf/soinit.c: Likewise.
95079         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
95080         NO_CTORS_DTORS_SECTIONS is defined.
95081         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
95082         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
95083         * sysdeps/sh/init-first.c: Likewise.
95084         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
95086 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
95088         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
95089         always use the slow path.
95091 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
95093         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
95094         similar rule which adds the sysdep directories to the header search in
95095         order to pick up the correct platform stackinfo.h.
95096         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
95097         perform test if it is, otherwise return successfully without testing.
95098         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
95099         DEFAULT_STACK_PERMS define in stackinfo.h.
95100         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
95101         defined in stackinfo.h.
95102         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
95103         DEFAULT_STACK_PERMS defined in stackinfo.h.
95104         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
95105         * sysdeps/ia64/stackinfo.h: Likewise.
95106         * sysdeps/s390/stackinfo.h: Likewise.
95107         * sysdeps/sh/stackinfo.h: Likewise.
95108         * sysdeps/sparc/stackinfo.h: Likewise.
95109         * sysdeps/x86_64/stackinfo.h: Likewise.
95110         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
95111         PF_X for powerpc64.  Retain PF_X for powerpc32.
95113 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
95115         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
95116         accurately.
95117         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95118         GETDENTS_64BIT_ALIGNED.
95120 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
95122         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
95124 2010-12-10  Andreas Schwab  <schwab@redhat.com>
95126         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95127         _GNU_SOURCE.
95129         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95130         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95131         Remove __restrict.
95132         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95133         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
95135 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
95137         [BZ #11655]
95138         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95139         are initialized.
95141 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
95143         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
95145 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
95147         * po/it.po: Update from translation team.
95149 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
95151         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95152         unused codes.
95154 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
95156         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
95158 2010-11-24  Andreas Schwab  <schwab@redhat.com>
95160         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95161         specially.
95162         (gaih_getanswer_slice): Likewise.
95164 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
95166         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95168 2010-05-31  Petr Baudis  <pasky@suse.cz>
95170         [BZ #11149]
95171         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95172         silently even in the chroot mode.
95174 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
95176         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95177         last patch a bit.  Pretty printing
95179 2010-05-31  Petr Baudis <pasky@suse.cz>
95181         [BZ #10085]
95182         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95183         initialization of skip_initgroups_dyn.
95185 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
95187         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95188         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95190 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
95192         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95194 2010-11-11  Andreas Schwab  <schwab@redhat.com>
95196         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95197         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95198         (tst-fnmatch-ENV): Set MALLOC_TRACE.
95199         ($(objpfx)tst-fnmatch-mem): New rule.
95200         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95201         * posix/tst-fnmatch.c (main): Call mtrace.
95203 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
95205         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95206         Support Intel processor model 6 and model 0x2c.
95208 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
95210         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95211           signed comparison.
95213 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
95215         [BZ #12205]
95216         * string/test-strncasecmp.c (check_result): New function.
95217         (do_one_test): Use it.
95218         (check1): New function.
95219         (test_main): Use it.
95220         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95221         Support strcasecmp and strncasecmp.
95223 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
95225         [BZ #12194]
95226         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95227         * sysdeps/x86_64/bits/byteswap.h: Likewise.
95229 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
95231         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95232         IFUNC support.
95233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95234         memset-x86-64.
95235         * sysdeps/x86_64/multiarch/bzero.S: New file.
95236         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95237         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95238         * sysdeps/x86_64/multiarch/memset.S: New file.
95239         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95240         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95241         Set bit_Prefer_SSE_for_memop for Intel processors.
95242         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95243         Define.
95244         (index_Prefer_SSE_for_memop): Define.
95245         (HAS_PREFER_SSE_FOR_MEMOP): Define.
95247 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
95249         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95250         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95252 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
95254         [BZ #12191]
95255         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95256         (__x86_64_raw_data_cache_size_half): Likewise.
95257         (__x86_64_raw_shared_cache_size): Likewise.
95258         (__x86_64_raw_shared_cache_size_half): Likewise.
95260         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95261         (__x86_64_raw_data_cache_size_half): Likewise.
95262         (__x86_64_raw_shared_cache_size): Likewise.
95263         (__x86_64_raw_shared_cache_size_half): Likewise.
95264         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95265         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95266         and __x86_64_raw_shared_cache_size_half.  Round
95267         __x86_64_data_cache_size_half, __x86_64_data_cache_size
95268         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95269         to multiple of 256 bytes.
95271 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
95273         [BZ #12167]
95274         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95275         of inacessible symlinks.  Verify result of symlink before returning it.
95276         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95277         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95279 2010-10-28  Erich Ritz  <erichritz@gmail.com>
95281         * math/math.h (isinf): Fix typo in comment.
95283 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
95285         * po/da.po: Update from translation team.
95287 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
95289         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95290         is added to the list.
95292 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95293             Ulrich Drepper  <drepper@gmail.com>
95295         * elf/dl-object.c (_dl_new_object): Don't append the new object to
95296         the global list here.  Move code to...
95297         (_dl_add_to_namespace_list): ...here.  New function.
95298         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95299         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95300         * elf/dl-load.c (lose): Don't remove the element from the list.
95301         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95302         (_dl_map_object): Likewise.
95304 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
95306         [BZ #12159]
95307         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95308         into all bytes of SSE register.
95309         Patch by Richard Li <richardpku@gmail.com>.
95311 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
95313         [BZ #12140]
95314         * malloc/malloc.c (_int_free): Fill correct number of bytes when
95315         perturbing.
95317 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
95319         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95320         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95321         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95322         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95324         submachine.
95325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95327 2010-10-22  Andreas Schwab  <schwab@redhat.com>
95329         * include/dlfcn.h (__RTLD_SECURE): Define.
95330         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
95331         mode & __RTLD_SECURE instead.
95332         (open_path): Rename preloaded parameter to secure.
95333         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95334         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95335         * elf/dl-deps.c (openaux): Likewise.
95336         * elf/rtld.c (struct map_args): Remove is_preloaded.
95337         (map_doit): Don't use it.
95338         (dl_main): Likewise.
95339         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95340         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95342 2010-09-09  Andreas Schwab  <schwab@redhat.com>
95344         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95345         (sysd-rules-targets): Remove duplicates.
95346         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95347         rtld-%.$o dependency.
95349 2010-10-18  Andreas Schwab  <schwab@redhat.com>
95351         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95352         _dl_map_object do it.
95354 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
95356         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95357         fast fma builtins, define the macros in the C99 standard.
95358         (FP_FAST_FMAF): Likewise.
95359         (FP_FAST_FMAL): Likewise.
95360         * sysdeps/x86_64/bits/mathdef.h: Likewise.
95362         * bits/mathdef.h: Update copyright year.
95363         * sysdeps/powerpc/bits/mathdef.h: Likewise.
95365 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
95367         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95368         builtins, define the macros in the C99 standard.
95369         (FP_FAST_FMAF): Likewise.
95370         (FP_FAST_FMAL): Likewise.
95371         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95372         multiply/add.
95373         (FP_FAST_FMAF): Likewise.
95375 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
95377         [BZ #3268]
95378         * math/libm-test.inc (fma_test): Some new testcases.
95379         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95380         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95381         y and infinite z.  Do multiplication by C already in long double.
95382         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95383         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95384         y and infinite z.  Do bitwise or of inexact bit into u.d.
95385         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95386         * sysdeps/i386/fpu/s_fmaf.S: Removed.
95387         * sysdeps/i386/fpu/s_fma.S: Removed.
95388         * sysdeps/i386/fpu/s_fmal.S: Removed.
95390 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
95392         [BZ #3268]
95393         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95394         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95395         computation is not scheduled after fetestexcept.  Fix value
95396         of minimum denormal long double.
95398 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
95400         [BZ #3268]
95401         * math/libm-test.inc (fma_test): Add some more tests.
95402         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95403         correctly.
95405 2010-10-15  Andreas Schwab  <schwab@redhat.com>
95407         * scripts/data/localplt-s390-linux-gnu.data: New file.
95408         * scripts/data/localplt-s390x-linux-gnu.data: New file.
95410 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
95412         [BZ #3268]
95413         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95414         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95415         instead of dbl-64.
95416         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95417         inlines.
95418         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95419         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95420         if one of x and y is very large and the other is subnormal.
95421         * sysdeps/s390/fpu/s_fmaf.c: New file.
95422         * sysdeps/s390/fpu/s_fma.c: New file.
95423         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95424         * sysdeps/powerpc/fpu/s_fma.S: New file.
95425         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95426         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95427         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95429 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
95431         [BZ #3268]
95432         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95433         fma tests.
95434         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95435         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95436         * sysdeps/i386/i686/multiarch/s_fma.c: Include
95437         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95438         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95439         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95440         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95442 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
95444         [BZ #12078]
95445         * posix/regcomp.c (parse_branch): One more memory leak plugged.
95446         * posix/bug-regex31.input: Add test case.
95448 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95450         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95451         * posix/bug-regex31.input: New file.
95453         [BZ #12078]
95454         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95455         (parse_sub_exp): Fix last change, use postorder.
95457         * posix/bug-regex31.c: New file.
95458         * posix/Makefile: Add rules to build and run bug-regex31.
95460         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95462         [BZ #12078]
95463         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95465         [BZ #12108]
95466         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95467         to have entries in sys_siglist.
95469         [BZ #12093]
95470         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95471         be NULL.
95473 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
95475         [BZ #3268]
95476         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95477         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95478         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95479         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95480         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95481         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95482         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95483         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95484         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95485         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95486         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95487         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95488         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95489         * math/ftestexcept.c (fetestexcept): Likewise.
95490         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95491         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95492         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95493         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95494         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95495         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95496         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95498 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95500         [BZ #12107]
95501         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95502         newline.
95504 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
95506         * string/bug-strstr1.c: New file.
95507         * string/Makefile: Add rules to build and run bug-strstr1.
95509 2010-10-05  Eric Blake  <eblake@redhat.com>
95511         [BZ #12092]
95512         * string/str-two-way.h (two_way_long_needle): Always clear memory
95513         when skipping input due to the shift table.
95515 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
95517         [BZ #12005]
95518         * malloc/mcheck.c: Handle large requests.
95520         [BZ #12077]
95521         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95522         for strncmp and strncasecmp.
95523         * string/stratcliff.c: Add tests for strcmp and strncmp.
95524         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95526 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
95528         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95529         __set_fpscr.
95531 2010-09-30  Andreas Jaeger  <aj@suse.de>
95533         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95534         (CGROUP_SUPER_MAGIC): Define.
95535         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95536         Handle btrfs and cgroup file systems.
95537         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95538         Likewise.
95540 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
95542         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95543         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95545 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95547         [BZ #12067]
95548         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95549         trying to locate the ELF header.
95551 2010-09-27  Andreas Schwab  <schwab@redhat.com>
95553         [BZ #11611]
95554         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95555         Mask out sign-bit copies when constructing f_fsid.
95557 2010-09-24  Petr Baudis <pasky@suse.cz>
95559         * debug/stack_chk_fail_local.c: Add missing licence exception.
95560         * debug/warning-nop.c: Likewise.
95562 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
95564         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95565         implementing getdents64 using getdents syscall, set d_type if
95566         __ASSUME_GETDENTS32_D_TYPE.
95568 2010-09-16  Andreas Schwab  <schwab@redhat.com>
95570         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95571         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95573 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
95575         [BZ #12037]
95576         * posix/unistd.h: Undo change of feature selection for ftruncate from
95577         2010-01-11.
95579 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
95581         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95582         detection.
95584 2010-09-20  Andreas Schwab  <schwab@redhat.com>
95586         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95587         fanotify_mark.
95588         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95590 2010-09-14  Andreas Schwab  <schwab@redhat.com>
95592         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95593         variables after CHECK_SP call.
95594         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95596 2010-09-13  Andreas Schwab  <schwab@redhat.com>
95597             Ulrich Drepper  <drepper@redhat.com>
95599         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95600         re-relocationg ld.so.
95601         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95602         _dl_init_paths call.
95603         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
95604         here anymore.
95606 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
95608         * resolv/res_init.c (__res_vinit): Count the default server we added.
95610 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
95611             Ulrich Drepper  <drepper@redhat.com>
95613         [BZ #11968]
95614         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95615         (____longjmp_chk): Use %ebx for saving value across system call.
95616         Add unwind info.
95618 2010-09-06  Andreas Schwab  <schwab@redhat.com>
95620         * manual/Makefile: Don't mix pattern rules with normal rules.
95622 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
95624         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95625         operation.
95626         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95627         * libio/iofopncook.c (_IO_cookie_init): Likewise.
95628         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95629         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95630         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95631         Likewise.
95633 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
95635         [BZ #11979]
95636         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95637         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95639 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
95641         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95642         * sysdeps/x86_64/addmul_1.S: Likewise.
95643         * sysdeps/x86_64/lshift.S: Likewise.
95644         * sysdeps/x86_64/mul_1.S: Likewise.
95645         * sysdeps/x86_64/rshift.S: Likewise.
95646         * sysdeps/x86_64/sub_n.S: Likewise.
95647         * sysdeps/x86_64/submul_1.S: Likewise.
95649 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95651         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95652         Define __sched_param instead of SCHED_* and sched_param when
95653         <bits/sched.h> is included with __need_schedparam defined.
95654         * bits/sched.h [__need_schedparam]
95655         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95656         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95657         (__defined_schedparam): Define to 1.
95658         (__sched_param): New structure, identical to sched_param.
95659         (__need_schedparam): Undefine.
95661 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
95663         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95664         (epoll_create1): Declare.
95666         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95668 2010-08-31  Andreas Schwab  <schwab@redhat.com>
95670         [BZ #7066]
95671         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95672         shifting retval into place.
95674 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
95676         * nis/rpcsvc/nis.h: Update copyright notice.
95677         * nis/rpcsvc/nis.x: Likewise.
95678         * nis/rpcsvc/nis_callback.h: Likewise.
95679         * nis/rpcsvc/nis_callback.x: Likewise.
95680         * nis/rpcsvc/nis_object.x: Likewise.
95681         * nis/rpcsvc/nis_tags.h: Likewise.
95682         * nis/rpcsvc/yp.h: Likewise.
95683         * nis/rpcsvc/yp.x: Likewise.
95684         * nis/rpcsvc/ypupd.h: Likewise.
95685         * nis/yp_xdr.c: Likewise.
95686         * nis/ypupdate_xdr.c: Likewise.
95688         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
95689         mainly the body of pmap_getport.  Add parameters to specify timeouts.
95690         (pmap_getport): Use __libc_rpc_getport.
95691         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95692         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95693         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95695 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
95697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95698         fanotify_mark.
95700 2010-08-27  Roland McGrath  <roland@redhat.com>
95702         * sysdeps/i386/i686/multiarch/Makefile
95703         (CFLAGS-varshift.c): New variable.
95705 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
95707         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95708         * sysdeps/i386/i686/multiarch/varshift.c: New file.
95710         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95712         * sysdeps/x86_64/strlen.S: Minimal code improvement.
95714 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
95716         * sysdeps/x86_64/strlen.S: Unroll the loop.
95717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95718         strlen-sse2 strlen-sse2-bsf.
95719         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95720         __strlen_no_bsf if bit_Slow_BSF is set.
95721         (__strlen_sse42): Removed.
95722         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95723         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95725 2010-08-25  Roland McGrath  <roland@redhat.com>
95727         * sysdeps/x86_64/multiarch/varshift.S: File removed.
95728         * sysdeps/x86_64/multiarch/varshift.c: New file.
95729         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95730         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95731         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95732         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95734 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
95736         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95737         strlen-sse2 strlen-sse2-bsf.
95738         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95739         __strlen_sse2_bsf if bit_Slow_BSF is unset.
95740         (__strlen_sse2): Removed.
95741         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95742         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95744         bit_Slow_BSF for Atom.
95745         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95746         (index_Slow_BSF): Define.
95747         (HAS_SLOW_BSF): Define.
95749 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
95751         [BZ #10851]
95752         * resolv/res_init.c (__res_vinit): When no server address at all
95753         is given default to loopback.
95755 2010-08-24  Roland McGrath  <roland@redhat.com>
95757         * configure.in: Remove config-name.h generation.
95758         * configure: Regenerated.
95759         * config-name.in: File removed.
95760         * scripts/config-uname.sh: New file.
95761         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95762         ($(objdir)config-name.h): New target.
95764         * sunrpc/rpc_parse.h: Avoid nested comment.
95766 2010-08-24  Richard Henderson  <rth@redhat.com>
95767             Ulrich Drepper  <drepper@redhat.com>
95768             H.J. Lu  <hongjiu.lu@intel.com>
95770         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95771         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95772         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95773         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
95774         _mm_alignr_epi8 with _mm_loadu_si128.
95775         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95776         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95777         (__m128i_shift_right): Removed.
95778         * sysdeps/i386/i686/multiarch/varshift.h: New file.
95779         * sysdeps/i386/i686/multiarch/varshift.S: New file.
95780         * sysdeps/x86_64/multiarch/varshift.h: New file.
95781         * sysdeps/x86_64/multiarch/varshift.S: New file.
95783 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
95785         * configure.in: Move assembler checks to before sysdep dir checking.
95787 2010-08-20  Petr Baudis  <pasky@suse.cz>
95789         * LICENSES: Sync the sunrpc license.
95791 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
95793         * sunrpc/auth_des.c: Update copyright notice once again.
95794         * sunrpc/auth_none.c: Likewise.
95795         * sunrpc/auth_unix.c: Likewise.
95796         * sunrpc/authdes_prot.c: Likewise.
95797         * sunrpc/authuxprot.c: Likewise.
95798         * sunrpc/bindrsvprt.c: Likewise.
95799         * sunrpc/clnt_gen.c: Likewise.
95800         * sunrpc/clnt_perr.c: Likewise.
95801         * sunrpc/clnt_raw.c: Likewise.
95802         * sunrpc/clnt_simp.c: Likewise.
95803         * sunrpc/clnt_tcp.c: Likewise.
95804         * sunrpc/clnt_udp.c: Likewise.
95805         * sunrpc/clnt_unix.c: Likewise.
95806         * sunrpc/des_crypt.c: Likewise.
95807         * sunrpc/des_soft.c: Likewise.
95808         * sunrpc/get_myaddr.c: Likewise.
95809         * sunrpc/getrpcport.c: Likewise.
95810         * sunrpc/key_call.c: Likewise.
95811         * sunrpc/key_prot.c: Likewise.
95812         * sunrpc/openchild.c: Likewise.
95813         * sunrpc/pm_getmaps.c: Likewise.
95814         * sunrpc/pm_getport.c: Likewise.
95815         * sunrpc/pmap_clnt.c: Likewise.
95816         * sunrpc/pmap_prot.c: Likewise.
95817         * sunrpc/pmap_prot2.c: Likewise.
95818         * sunrpc/pmap_rmt.c: Likewise.
95819         * sunrpc/rpc/auth.h: Likewise.
95820         * sunrpc/rpc/auth_unix.h: Likewise.
95821         * sunrpc/rpc/clnt.h: Likewise.
95822         * sunrpc/rpc/des_crypt.h: Likewise.
95823         * sunrpc/rpc/key_prot.h: Likewise.
95824         * sunrpc/rpc/netdb.h: Likewise.
95825         * sunrpc/rpc/pmap_clnt.h: Likewise.
95826         * sunrpc/rpc/pmap_prot.h: Likewise.
95827         * sunrpc/rpc/pmap_rmt.h: Likewise.
95828         * sunrpc/rpc/rpc.h: Likewise.
95829         * sunrpc/rpc/rpc_des.h: Likewise.
95830         * sunrpc/rpc/rpc_msg.h: Likewise.
95831         * sunrpc/rpc/svc.h: Likewise.
95832         * sunrpc/rpc/svc_auth.h: Likewise.
95833         * sunrpc/rpc/types.h: Likewise.
95834         * sunrpc/rpc/xdr.h: Likewise.
95835         * sunrpc/rpc_clntout.c: Likewise.
95836         * sunrpc/rpc_cmsg.c: Likewise.
95837         * sunrpc/rpc_common.c: Likewise.
95838         * sunrpc/rpc_cout.c: Likewise.
95839         * sunrpc/rpc_dtable.c: Likewise.
95840         * sunrpc/rpc_hout.c: Likewise.
95841         * sunrpc/rpc_main.c: Likewise.
95842         * sunrpc/rpc_parse.c: Likewise.
95843         * sunrpc/rpc_parse.h: Likewise.
95844         * sunrpc/rpc_prot.c: Likewise.
95845         * sunrpc/rpc_sample.c: Likewise.
95846         * sunrpc/rpc_scan.c: Likewise.
95847         * sunrpc/rpc_scan.h: Likewise.
95848         * sunrpc/rpc_svcout.c: Likewise.
95849         * sunrpc/rpc_tblout.c: Likewise.
95850         * sunrpc/rpc_util.c: Likewise.
95851         * sunrpc/rpc_util.h: Likewise.
95852         * sunrpc/rpcinfo.c: Likewise.
95853         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95854         * sunrpc/rpcsvc/key_prot.x: Likewise.
95855         * sunrpc/rpcsvc/klm_prot.x: Likewise.
95856         * sunrpc/rpcsvc/mount.x: Likewise.
95857         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95858         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95859         * sunrpc/rpcsvc/rex.x: Likewise.
95860         * sunrpc/rpcsvc/rstat.x: Likewise.
95861         * sunrpc/rpcsvc/rusers.x: Likewise.
95862         * sunrpc/rpcsvc/sm_inter.x: Likewise.
95863         * sunrpc/rpcsvc/spray.x: Likewise.
95864         * sunrpc/rpcsvc/yppasswd.x: Likewise.
95865         * sunrpc/rtime.c: Likewise.
95866         * sunrpc/svc.c: Likewise.
95867         * sunrpc/svc_auth.c: Likewise.
95868         * sunrpc/svc_authux.c: Likewise.
95869         * sunrpc/svc_raw.c: Likewise.
95870         * sunrpc/svc_run.c: Likewise.
95871         * sunrpc/svc_simple.c: Likewise.
95872         * sunrpc/svc_tcp.c: Likewise.
95873         * sunrpc/svc_udp.c: Likewise.
95874         * sunrpc/svc_unix.c: Likewise.
95875         * sunrpc/svcauth_des.c: Likewise.
95876         * sunrpc/xcrypt.c: Likewise.
95877         * sunrpc/xdr.c: Likewise.
95878         * sunrpc/xdr_array.c: Likewise.
95879         * sunrpc/xdr_float.c: Likewise.
95880         * sunrpc/xdr_mem.c: Likewise.
95881         * sunrpc/xdr_rec.c: Likewise.
95882         * sunrpc/xdr_ref.c: Likewise.
95883         * sunrpc/xdr_sizeof.c: Likewise.
95884         * sunrpc/xdr_stdio.c: Likewise.
95886         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95887         handling.
95889 2010-08-19  Andreas Schwab  <schwab@redhat.com>
95891         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95893 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
95895         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95896         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95897         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95898         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95899         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95900         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95901         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95902         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95903         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95904         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95905         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95906         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95907         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95908         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95910 2010-07-26  Anton Blanchard  <anton@samba.org>
95912         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95913         * malloc/arena.c (heap_trim): Likewise.
95915 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
95917         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95918         here.  Not...
95919         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95920         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95922 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
95924         * sysdeps/i386/elf/Makefile: New file.
95926 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
95928         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95929         from fanotify_init.
95930         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95931         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95933 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
95935         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95936         of strncasecmp_l.
95937         * sysdeps/multiarch/strcmp.S: Likewise.
95939 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
95941         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95942         strncase_l-nonascii.
95943         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95944         Add strncase_l-ssse3.
95945         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95946         * sysdeps/x86_64/strcmp.S: Likewise.
95947         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95948         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95949         * sysdeps/x86_64/strncase.S: New file.
95950         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95951         * sysdeps/x86_64/strncase_l.S: New file.
95952         * string/Makefile (strop-tests): Add strncasecmp.
95953         * string/test-strncasecmp.c: New file.
95955         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95956         warning.
95958         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
95959         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
95961 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
95963         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
95965 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
95967         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
95968         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
95969         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
95971 2010-05-01  Alan Modra  <amodra@gmail.com>
95973         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
95974         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
95975         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
95976         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
95977         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
95978         tidying.  Don't tail-call __sigjmp_save for static lib.
95979         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
95980         save location.
95981         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
95982         (CALL_MCOUNT): Add eh info, and nop after bl.
95983         (TAIL_CALL_SYSCALL_ERROR): New macro.
95984         (PSEUDO_RET): Use it.
95985         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
95986         Correct save location of integer regs and cr.
95987         (_dl_profile_resolve): Correct cr save location.  Delete nops
95988         after bl when SHARED.  Reduce cfi size a little by better
95989         placement of cfi directives.
95990         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
95991         make a stack frame.  Instead use parm save area as a temp.
95992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
95993         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
95994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
95995         Don't make a stack frame for parent, use parm save area.
95996         Increase child stack frame to 112 bytes.  Don't save unused reg,
95997         and adjust reg usage.  Set up cfi on error recovery and
95998         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
95999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
96000         (__makecontext): Add dummy nop after jump to exit.
96001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
96002         Use correct parm save area and cr save, reduce stack frame.
96003         Correct cfi for possible PSEUDO_RET frame setup.
96004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
96005         Branch to local label emitted by PSEUDO_RET rather than
96006         __syscall_error.
96008 2010-08-12  Andreas Schwab  <schwab@redhat.com>
96010         [BZ #11904]
96011         * locale/programs/locale.c (print_assignment): New function.
96012         (show_locale_vars): Use it.
96014 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
96016         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
96017         field.
96018         (struct statfs64): Likewise.
96019         (_STATFS_F_FLAGS): Define.
96020         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
96021         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
96022         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
96023         (ST_VALID): Define locally.
96024         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
96025         __statvfs_getflags, use the provided value.
96026         * sysdeps/unix/sysv/linux/kernel-features.h: Define
96027         __ASSUME_STATFS_F_FLAGS.
96029         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
96031         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
96032         Add sys/fanotify.h.
96033         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
96034         fanotify_mask for GLIBC_2.13.
96035         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
96036         fanotify_init and fanotify_mark.
96037         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96038         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
96040         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
96041         Add prlimit.
96042         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
96043         prlimit64 for GLIBC_2.13.
96044         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
96045         prlimit64.
96046         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
96047         syscall.
96048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
96049         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
96050         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
96051         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
96052         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
96053         add prlimit alias.
96054         * sysdeps/unix/sysv/linux/prlimit.c: New file.
96056         [BZ #11903]
96057         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
96058         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
96060         * nss/Makefile: Add rules to build and run tst-nss-test1.
96061         * shlib-versions: Add entry for libnss_test1.
96062         * nss/nss_test1.c: New file.
96063         * nss/tst-nss-test1.c: New file.
96065         * nss/nsswitch.c (__nss_database_custom): Define new variable.
96066         (__nss_configure_lookup): Set appropriate entry in
96067         __nss_configure_lookup to true.
96068         * nss/nsswitch.h: Define enum with indeces of databases in
96069         databases and __nss_database_custom arrays.  Declare
96070         __nss_database_custom.
96071         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
96072         to avoid using nscd when custom rules are installed.
96073         * nss/getXXbyYY_r.c: Likewise.
96074         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
96076         * nss/nss_files/files-parse.c: Whitespace fixes.
96078 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
96080         [BZ #11883]
96081         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
96082         * posix/fnmatch_loop.c: Likewise.
96084 2010-07-17  Andi Kleen  <ak@linux.intel.com>
96086         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
96087         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
96088         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
96089         * Versions.def [GLIBC_2.13]: Add.
96091 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
96093         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96094         Also fail if tpwd after pwuid call is NULL.
96096 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96098         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
96099         when converting to ms.
96101 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96103         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
96104         EOPNOTSUPP errors with ENOTTY.
96105         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
96106         EOPNOTSUPP errors with ENOTTY.
96108 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
96110         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96111         Add strcasecmp_l-ssse3.
96112         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
96113         strcasecmp.
96114         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
96115         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
96116         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
96118 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
96120         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96122         * string/Makefile (strop-tests): Add strcasecmp.
96123         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96124         strcasecmp_l-nonascii.
96125         (gen-as-const-headers): Add locale-defines.sym.
96126         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96127         * sysdeps/x86_64/strcasecmp.S: New file.
96128         * sysdeps/x86_64/strcasecmp_l.S: New file.
96129         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96130         * sysdeps/x86_64/locale-defines.sym: New file.
96131         * string/test-strcasecmp.c: New file.
96133         * string/test-strcasestr.c: Test both ends of the range of characters.
96134         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
96136 2010-07-29  Roland McGrath  <roland@redhat.com>
96138         [BZ #11856]
96139         * manual/locale.texi (Yes-or-No Questions): Fix example code.
96141 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
96143         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96144         for ld.so.
96146 2010-07-27  Andreas Schwab  <schwab@redhat.com>
96148         * manual/memory.texi (Malloc Tunable Parameters): Document
96149         M_PERTURB.
96151 2010-07-26  Roland McGrath  <roland@redhat.com>
96153         [BZ #11840]
96154         * configure.in (-fgnu89-inline check): Set and substitute
96155         gnu89_inline, not libc_cv_gnu89_inline.
96156         * configure: Regenerated.
96157         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
96159 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
96161         * string/test-strnlen.c: New file.
96162         * string/Makefile (strop-tests): Add strnlen.
96163         * string/tester.c (test_strnlen): Add a few more test cases.
96164         * string/tst-strlen.c: Better error reporting.
96166         * sysdeps/x86_64/strnlen.S: New file.
96168 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
96170         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96171         lower-latency instructions.
96173 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
96175         * string/test-strcasestr.c: New file.
96176         * string/test-strstr.c: New file.
96177         * string/Makefile (strop-tests): Add strstr and strcasestr.
96178         * string/str-two-way.h: Don't undefine MAX.
96179         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96181 2010-07-21  Andreas Schwab  <schwab@redhat.com>
96183         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96184         strcasestr-nonascii.
96185         (CFLAGS-strcasestr-nonascii.c): Define.
96186         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96187         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96188         Remove unused attribute.
96190 2010-07-20  Roland McGrath  <roland@redhat.com>
96192         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96193         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
96194         ld.so.cache was broken.  With it, there is no way to disable dsocaps
96195         like LD_HWCAP_MASK can disable hwcaps.
96197 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96199         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96201 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
96203         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96204         call in strcasestr.
96205         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96206         __strcasestr_sse42_nonascii.
96207         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96208         strcasestr-nonascii.c.
96209         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96211 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
96213         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96214         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96215         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96216         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96218 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
96220         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96221         fcntl.
96223 2010-07-06  Andreas Schwab  <schwab@redhat.com>
96225         [BZ #11577]
96226         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96227         dl_signal_cerror.
96229 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
96231         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96232         _PC_PIPE_BUF using F_GETPIPE_SZ.
96234 2010-07-05  Roland McGrath  <roland@redhat.com>
96236         * manual/arith.texi (Rounding Functions): Fix rint description
96237         implicit in round description.
96239 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
96241         * elf/Makefile: Fix linking for a few tests to make recent linker
96242         happy.
96244 2010-06-30  Andreas Schwab  <schwab@redhat.com>
96246         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96247         $(common-objpfx)libc_nonshared.a.
96249 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
96251         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96252         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96253         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96254         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96255         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96256         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96257         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96258         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96273         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96274         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96275         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96276         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96277         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96278         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96279         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96280         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96281         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96282         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96283         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96284         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96300 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
96302         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96303         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
96304         * string/memmove.c (memmove): Renamed to ...
96305         (MEMMOVE): ...this.  Default to memmove.
96306         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96307         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96308         (END_CHK): Define.
96309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96310         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96311         mempcpy-ssse3-back memmove-ssse3-back.
96312         * sysdeps/x86_64/multiarch/bcopy.S: New file .
96313         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96314         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96315         * sysdeps/x86_64/multiarch/memcpy.S: New file.
96316         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96317         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96318         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96319         * sysdeps/x86_64/multiarch/memmove.c: New file.
96320         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96321         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96322         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96323         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96324         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96325         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96326         Define.
96327         (index_Fast_Copy_Backward): Define.
96328         (HAS_ARCH_FEATURE): Define.
96329         (HAS_FAST_REP_STRING): Define.
96330         (HAS_FAST_COPY_BACKWARD): Define.
96332 2010-06-21  Andreas Schwab  <schwab@redhat.com>
96334         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96335         Restore proper fallback handling.
96337 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
96339         [BZ #11701]
96340         * posix/group_member.c (__group_member): Correct checking loop.
96342         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96343         OOM in getpwuid_r correctly.  Return error number when the caller
96344         should return, otherwise -1.
96345         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96346         call returning > 0 value.
96347         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96349 2010-06-07  Andreas Schwab  <schwab@redhat.com>
96351         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96352         libc_nonshared.a from targets in modules-names.
96354 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
96356         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96357         requires it.
96359 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
96361         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96362         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96363         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96364         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96366 2010-06-02  Andreas Schwab  <schwab@redhat.com>
96368         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96370 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
96372         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96373         and F_GETPIPE_SZ.
96374         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96375         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96376         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96377         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96378         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96379         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96381 2010-06-14  Roland McGrath  <roland@redhat.com>
96383         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96385 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
96387         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96388         __REDIRECT followed by __THROW.
96389         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96390         * posix/getopt.h (getopt): Likewise.
96392 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96394         * hurd/lookup-at.c (__file_name_lookup_at): Accept
96395         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
96396         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96397         in AT_FLAGS.
96398         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96399         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96401 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
96403         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96405 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
96407         [BZ #11640]
96408         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96409         Properly check family and model.
96411 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
96413         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96415 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
96417         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96419 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
96421         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96422         symbol reference.
96424 2010-05-19  Andreas Schwab  <schwab@redhat.com>
96426         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96427         symbol reference.
96429 2010-05-21  Andreas Schwab  <schwab@redhat.com>
96431         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96432         and internal_recvmmsg.
96433         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96434         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96435         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96436         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96438         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96439         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96440         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96442 2010-05-20  Andreas Schwab  <schwab@redhat.com>
96444         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96446 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
96448         POWER7 optimizations.
96449         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96450         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96452 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
96454         * version.h: Update for 2.13 development version.
96456 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
96458         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96459         exceptions.  Return 0.
96461 2010-05-07  Roland McGrath  <roland@redhat.com>
96463         * elf/ldconfig.c (main): Add a const.
96465 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
96467         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96468         (args_options): Add no-idn option.
96469         (ahosts_keys_int): Add idn_flags to ai_flags.
96470         (parse_option): Handle 'i' option to clear idn_flags.
96472         * malloc/malloc.c (_int_free): Possible race in the most recently
96473         added check.  Only act on the data if no current modification
96474         happened.
96476 See ChangeLog.17 for earlier changes.